TWI797875B - System and method for account management - Google Patents

System and method for account management Download PDF

Info

Publication number
TWI797875B
TWI797875B TW110145627A TW110145627A TWI797875B TW I797875 B TWI797875 B TW I797875B TW 110145627 A TW110145627 A TW 110145627A TW 110145627 A TW110145627 A TW 110145627A TW I797875 B TWI797875 B TW I797875B
Authority
TW
Taiwan
Prior art keywords
transaction
account
state
record
balance
Prior art date
Application number
TW110145627A
Other languages
Chinese (zh)
Other versions
TW202324261A (en
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 TW110145627A priority Critical patent/TWI797875B/en
Application granted granted Critical
Publication of TWI797875B publication Critical patent/TWI797875B/en
Publication of TW202324261A publication Critical patent/TW202324261A/en

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Devices For Checking Fares Or Tickets At Control Points (AREA)
  • Lock And Its Accessories (AREA)

Abstract

An account management system stores transaction management data and transaction record data, wherein the transaction management data includes an internal account balance. The account management system is configured to execute a plurality of financial transactions by parallel computing in a predetermined period, and to add a plurality of transaction detail records corresponding to said financial transactions to transaction record data, but without to update the internal account balance of the transaction management data. When the predetermined period ends, the account management system updates the internal account balance of the transaction management data based on all transaction detail records generated during the predetermined period.

Description

帳務管理系統及方法Account management system and method

本發明是有關於一種帳務管理系統,特別是指一種適用於供金融機構管理金融交易的帳務管理系統。本發明還有關於一種由帳務管理系統所實施的帳務管理方法。 The invention relates to an account management system, in particular to an account management system suitable for financial institutions to manage financial transactions. The present invention also relates to an account management method implemented by the account management system.

在銀行分行的資金調撥作業中,若一筆款項的匯出分行與匯入分行是分別隸屬不同的兩家銀行機構,則該筆款項的資金調撥作業便屬於金融交易中的「跨行交易」。 In the fund transfer operation of a bank branch, if the remittance branch and the remittance branch of a sum of money belong to two different banking institutions, the fund transfer operation of the money belongs to the "cross-bank transaction" in financial transactions.

在現有技術中,銀行機構通常會以一個特定帳戶統一管理跨行交易專用的資金,且銀行機構的帳務管理系統會儲存一個記錄有內部帳戶餘額的交易作業主檔。每當帳務管理系統完成一筆金融交易的執行,帳務管理系統便會在交易作業主檔中新增一筆對應的金融交易紀錄,接著更新交易作業主檔中的內部帳戶餘額,才能再繼續處理下一筆金融交易。但是,若短時間內出現了大量待處理的金融交易,現有技術中的帳務管理系統便會因為處理效能方面的限制而無法順利消化待處理的金融交易,進而導致交易執行上的 時間延遲。因此,現有技術仍存在有待改善之不便。 In the prior art, banking institutions generally use a specific account to uniformly manage funds dedicated to cross-bank transactions, and the account management system of the banking institution stores a transaction master file that records the balance of the internal account. Whenever the accounting management system completes the execution of a financial transaction, the accounting management system will add a corresponding financial transaction record in the transaction operation master file, and then update the internal account balance in the transaction operation master file before continuing to process next financial transaction. However, if there are a large number of financial transactions to be processed in a short period of time, the account management system in the prior art will not be able to smoothly digest the financial transactions to be processed due to the limitation of processing efficiency, which will lead to delays in transaction execution. time delay. Therefore, there are still inconveniences to be improved in the prior art.

因此,本發明的其中一目的,便在於提供一種能改善現有技術之不便的帳務管理系統。 Therefore, one of the objectives of the present invention is to provide an account management system that can improve the inconvenience of the prior art.

本發明帳務管理系統包含一帳務伺服單元及一與該帳務伺服單元電連接的儲存單元,該儲存單元儲存有一包含一內部帳戶餘額的交易管理資料,以及一交易紀錄資料。該帳務伺服單元用於在一段預定期間內以平行計算方式執行多筆金融交易,而且,對於在該段預定期間內被執行的每一金融交易,當該帳務伺服單元完成該金融交易的執行時,該帳務伺服單元在該交易紀錄資料中新增一筆對應該金融交易且包含一交易金額的交易明細紀錄,但不更新該交易管理資料的內部帳戶餘額,並且,當該帳務伺服單元判斷出該段預定期間結束時,該帳務伺服單元執行一更新處理程序,其中,該更新處理程序包含從該交易紀錄資料中選出在該段預定期間內被產生的所有該等交易明細紀錄,以及根據所選出之所有該等交易明細紀錄的交易金額更新該交易管理資料的內部帳戶餘額。 The account management system of the present invention comprises an account server unit and a storage unit electrically connected with the account server unit, and the storage unit stores a transaction management data including an internal account balance and a transaction record data. The account service unit is used to execute multiple financial transactions in a parallel computing manner within a predetermined period, and, for each financial transaction executed within the predetermined period, when the account service unit completes the financial transaction When executing, the account server unit adds a transaction detail record corresponding to the financial transaction and includes a transaction amount in the transaction record data, but does not update the internal account balance of the transaction management data, and, when the account server When the unit determines that the predetermined period is over, the accounting service unit executes an update processing program, wherein the update process includes selecting all the transaction detail records generated within the predetermined period from the transaction record data , and update the internal account balance of the transaction management data according to the selected transaction amounts of all such transaction detail records.

在本發明帳務管理系統的一些實施態樣中,對於在該段預定期間內被新增至該交易紀錄資料中的每一交易明細紀錄,該帳務伺服單元還將該交易明細紀錄設定為一未同步狀態,而且,該 帳務伺服單元選出在該段預定期間內被產生之該等交易明細紀錄的方式,是將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄分別作為在該段預定期間內被產生的該等交易明細紀錄,而且,該更新處理程序還包含將在該段預定期間內被產生的每一交易明細紀錄設定為一已同步狀態。 In some implementation forms of the account management system of the present invention, for each transaction detail record added to the transaction record data within the predetermined period, the account service unit also sets the transaction detail record as an unsynchronized state, and the The accounting server unit selects the detailed transaction records generated within the predetermined period by taking all the transaction detailed records in the unsynchronized state in the transaction record data as being generated within the predetermined period. The generated transaction detail records, and the update processing procedure also includes setting each transaction detail record generated within the predetermined period as a synchronized state.

在本發明帳務管理系統的一些實施態樣中,當該帳務伺服單元在該段預定期間內接收到一來自於一查詢使用端的餘額查詢指令時,該帳務伺服單元根據該交易紀錄資料中處於該未同步狀態之所有該等交易明細紀錄的交易金額以及該交易管理資料的內部帳戶餘額計算出一餘額查詢結果,並將該餘額查詢結果提供至該查詢使用端。 In some implementations of the account management system of the present invention, when the account service unit receives a balance inquiry instruction from an inquiry user within the predetermined period, the account service unit will Calculate a balance query result from the transaction amount of all the transaction detail records in the unsynchronized state and the internal account balance of the transaction management data, and provide the balance query result to the query user end.

在本發明帳務管理系統的一些實施態樣中,在該更新處理程序中,該帳務伺服單元是先將在該段預定期間內被產生的每一交易明細紀錄由該未同步狀態改設定為一同步中狀態,再由該同步中狀態改設定為該已同步狀態。 In some implementation aspects of the account management system of the present invention, in the update processing procedure, the account server unit first changes each transaction detail record generated within the predetermined period from the unsynchronized state is a synchronizing state, and then change from the synchronizing state to the synchronized state.

在本發明帳務管理系統的一些實施態樣中,每一交易明細紀錄包含一同步狀態欄位,而且,對於每一交易明細紀錄,該帳務伺服單元是藉由在該交易明細紀錄的同步狀態欄位中輸入一未同步代號而將該交易明細紀錄設定為該未同步狀態,藉由將該同步狀態欄位中的該未同步代號取代為一同步中代號而將該交易明 細紀錄設定為該同步中狀態、以及藉由將該同步狀態欄位中的該同步中代號取代為一已同步代號而將該交易明細紀錄由該未同步狀態改設定為該已同步狀態。 In some implementation forms of the account management system of the present invention, each transaction detail record includes a synchronization status field, and, for each transaction detail record, the accounting server unit Enter an unsynchronized code in the status field to set the transaction detail record as the unsynchronized state, and replace the unsynchronized code in the synchronization status field with a synchronizing code to indicate the transaction Set the detail record to the synchronizing state, and change the transaction detail record from the unsynchronized state to the synchronized state by replacing the synchronizing code in the synchronizing state field with a synchronizing code.

本發明的另一目的,在於提供一種能改善現有技術之不便的帳務管理方法。 Another object of the present invention is to provide an account management method that can improve the inconvenience of the prior art.

本發明帳務管理方法由一帳務管理系統實施,該帳務管理系統儲存有一包含一內部帳戶餘額的交易管理資料,以及一交易紀錄資料,並且,該帳務管理方法包含:(A)該帳務管理系統在一段預定期間內以平行計算方式執行多筆金融交易,而且,對於在該段預定期間內被執行的每一金融交易,當該帳務管理系統完成該金融交易的執行時,該帳務管理系統在該交易紀錄資料中新增一筆對應該金融交易且包含一交易金額的交易明細紀錄,但不更新該交易管理資料的內部帳戶餘額;(B)當該帳務管理系統判斷出該段預定期間結束時,該帳務管理系統執行一更新處理程序,其中,該更新處理程序包含從該交易紀錄資料中選出在該段預定期間內被產生的所有該等交易明細紀錄,以及根據所選出之所有該等交易明細紀錄的交易金額更新該交易管理資料的內部帳戶餘額。 The account management method of the present invention is implemented by an account management system, the account management system stores a transaction management data including an internal account balance, and a transaction record data, and the account management method includes: (A) the The account management system executes a plurality of financial transactions in parallel computing within a predetermined period, and, for each financial transaction executed within the predetermined period, when the account management system completes the execution of the financial transaction, The account management system adds a transaction detail record corresponding to the financial transaction and includes a transaction amount in the transaction record data, but does not update the internal account balance of the transaction management data; (B) when the account management system judges At the end of the predetermined period, the account management system executes an update process, wherein the update process includes selecting all the transaction detail records generated within the predetermined period from the transaction record data, and Update the internal account balance of the transaction management data according to the selected transaction amounts of all the transaction detail records.

在本發明帳務管理方法的一些實施態樣中,在步驟(A)中,對於在該段預定期間內被新增至該交易紀錄資料中的每一交易明細紀錄,該帳務管理系統還將該交易明細紀錄設定為一未同步狀 態。在步驟(B)中,該帳務管理系統選出在該段預定期間內被產生之該等交易明細紀錄的方式,是將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄分別作為在該段預定期間內被產生的該等交易明細紀錄,而且,該更新處理程序還包含將在該段預定期間內被產生的每一交易明細紀錄設定為一已同步狀態。 In some implementation forms of the account management method of the present invention, in step (A), for each transaction detail record added to the transaction record data within the predetermined period, the account management system also Set the transaction detail record as an unsynchronized state state. In step (B), the account management system selects the transaction detail records generated within the predetermined period by separately As the transaction detail records generated within the predetermined period, the update processing procedure further includes setting each transaction detail record generated within the predetermined period as a synchronized state.

在本發明帳務管理方法的一些實施態樣中,該帳務管理方法還包含介於步驟(A)及(B)之間的:(C)當該帳務管理系統在該段預定期間內接收到一來自於一查詢使用端的餘額查詢指令時,該帳務管理系統根據該交易紀錄資料中處於該未同步狀態之所有該等交易明細紀錄的交易金額以及該交易管理資料的內部帳戶餘額計算出一餘額查詢結果,並將該餘額查詢結果提供至該查詢使用端。 In some implementation aspects of the account management method of the present invention, the account management method further includes between steps (A) and (B): (C) when the account management system is within the predetermined period When receiving a balance inquiry instruction from an inquiry client, the account management system calculates based on the transaction amount of all the transaction detail records in the unsynchronized state in the transaction record data and the internal account balance of the transaction management data Generate a balance inquiry result, and provide the balance inquiry result to the inquiry user.

在本發明帳務管理方法的一些實施態樣中,在該更新處理程序中,該帳務管理系統是先將在該段預定期間內被產生的每一交易明細紀錄由該未同步狀態改設定為一同步中狀態,再由該同步中狀態改設定為該已同步狀態。 In some implementation aspects of the account management method of the present invention, in the update processing procedure, the account management system first changes each transaction detail record generated within the predetermined period from the unsynchronized state is a synchronizing state, and then change from the synchronizing state to the synchronized state.

在本發明帳務管理方法的一些實施態樣中,每一交易明細紀錄包含一同步狀態欄位,而且,對於每一交易明細紀錄,該帳務管理系統是藉由在該交易明細紀錄的同步狀態欄位中輸入一未同步代號而將該交易明細紀錄設定為該未同步狀態,藉由將該同 步狀態欄位中的該未同步代號取代為一同步中代號而將該交易明細紀錄設定為該同步中狀態、以及藉由將該同步狀態欄位中的該同步中代號取代為一已同步代號而將該交易明細紀錄由該同步中狀態改設定為該已同步狀態。 In some implementations of the account management method of the present invention, each transaction detail record includes a synchronization status field, and, for each transaction detail record, the account management system performs synchronization in the transaction detail record Enter an unsynchronized code in the status field to set the transaction detail record as the unsynchronized state, by Set the transaction detail record to the in-sync status by replacing the unsynchronized symbol in the step status field with a sync-in symbol, and by replacing the sync-in symbol in the sync status field with a synchronized symbol And change the transaction detail record from the synchronizing state to the synchronized state.

本發明之功效在於:該帳務管理系統能在該預定期間結束時根據該預定期間內被產生的所有交易明細紀錄批次性地更新該交易管理資料的內部帳戶餘額,如此一來,該帳務管理系統便能突破現有技術中「需待內部帳戶餘額更新完畢,才能處理下一筆金融交易」的限制,而能以平行計算的方式同時執行多筆金融交易,藉此大幅提高金融交易的處理效率,進而滿足短時間內出現大量待處理金融交易的效能需求,故確實能改善現有技術之不便。 The effect of the present invention is that: the account management system can update the internal account balance of the transaction management data in batches according to all transaction detail records generated within the predetermined period at the end of the predetermined period, so that the account The financial management system can break through the limitation of "the next financial transaction can only be processed after the internal account balance is updated" in the existing technology, and can execute multiple financial transactions at the same time in a parallel computing manner, thereby greatly improving the processing of financial transactions Efficiency, and then meet the performance requirements of a large number of financial transactions to be processed in a short period of time, so it can indeed improve the inconvenience of the existing technology.

1:帳務管理系統 1: Account management system

11:帳務伺服單元 11:Accounting server unit

12:儲存單元 12: storage unit

D1:交易管理資料 D1: Transaction management information

D2:交易紀錄資料 D2: Transaction record information

5:查詢使用端 5: Query the user end

S1~S4:步驟 S1~S4: steps

本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是本發明帳務管理系統之一實施例與一查詢使用端配合的一方塊示意圖;及圖2是一流程圖,用於示例性地說明該實施例如何實施一帳務管理方法。 Other features and effects of the present invention will be clearly presented in the implementation manner with reference to the drawings, wherein: Fig. 1 is a schematic block diagram of an embodiment of the account management system of the present invention cooperating with an inquiry terminal; and Fig. 2 is a flow chart, which is used to exemplarily explain how this embodiment implements an account management method.

在本發明被詳細描述之前應當注意:若未特別定義,則本專利說明書中所述的「電連接」是泛指多個電子設備/裝置/元件之間透過導電材料彼此相連而實現的「有線電連接」,以及透過無線通訊技術進行單/雙向無線信號傳輸的「無線電連接」。並且,若未特別定義,則本專利說明書中所述的「電連接」亦泛指多個電子設備/裝置/元件之間彼此直接相連而形成的「直接電連接」,以及多個電子設備/裝置/元件之間還透過其他電子設備/裝置/元件彼此間接相連而形成的「間接電連接」。 Before the present invention is described in detail, it should be noted that if there is no special definition, the "electrical connection" mentioned in this patent specification generally refers to the "wire connection" realized by connecting multiple electronic devices/devices/elements to each other through conductive materials. Electrical connection" and "radio connection" for one-way/two-way wireless signal transmission through wireless communication technology. Moreover, if not specifically defined, the "electrical connection" mentioned in this patent specification also generally refers to the "direct electrical connection" formed by direct connection between multiple electronic devices/devices/components, and multiple electronic devices/ The "indirect electrical connection" between devices/components is also indirectly connected to each other through other electronic devices/devices/components.

參閱圖1,本發明帳務管理系統1之一實施例例如是由一銀行機構所管理,而且,該帳務管理系統1包含一帳務伺服單元11,以及一與該帳務伺服單元11電連接的儲存單元12。 Referring to Fig. 1, one embodiment of the account management system 1 of the present invention is, for example, managed by a banking institution, and the account management system 1 includes an account service unit 11, and an electronic service unit 11 connected to the account service unit. Connected storage unit 12.

在本實施例中,該帳務伺服單元11可例如是被實施為一台能執行各種電子金融交易的伺服器設備,且該帳務伺服單元11適用於供一查詢使用端5電連接,其中,該查詢使用端5可例如是用於供任職於該銀行機構之使用者操作的一台電腦設備,但並不以此為限。 In this embodiment, the account service unit 11 can be, for example, implemented as a server device capable of performing various electronic financial transactions, and the account service unit 11 is suitable for being electrically connected to an inquiry terminal 5, wherein , the inquiry terminal 5 can be, for example, a computer device used for operation by a user working in the banking institution, but it is not limited thereto.

該儲存單元12可例如是一台用於儲存數位資料的資料儲存設備,且可例如包括一或多台能被該帳務伺服單元11存取的硬碟裝置。並且,該儲存單元12儲存有一對應於金融交易業務的交易 管理資料D1,以及一對應於金融交易業務的交易紀錄資料D2。 The storage unit 12 can be, for example, a data storage device for storing digital data, and can include, for example, one or more hard disk devices that can be accessed by the accounting server unit 11 . And, the storage unit 12 stores a transaction corresponding to the financial transaction service Management data D1, and a pair of transaction record data D2 corresponding to the financial transaction business.

更詳細地說,本實施例主要是說明該帳務管理系統1如何對金融交易業務中的「跨行交易」進行帳務管理,所以,在本實施例中,該交易管理資料D1例如是被作為一對應於該銀行機構的跨行交易清算戶主檔,而且,該交易管理資料D1例如包含一最近帳務日基準日期,以及一對應於一跨行交易專用帳戶的內部帳戶餘額,但並不以此為限。其中,該跨行交易專用帳戶例如是歸屬於該銀行機構本身且由該銀行機構本身進行管理,並且,該跨行交易專用帳戶例如是該銀行機構在金融機構監管單位(即中央銀行)所開立,而專門用於存放該銀行機構在跨行交易業務方面所使用的資金(亦即要匯出至其他銀行的資金,以及從其他銀行所收受的資金)。特別說明的是,在本實施例中,該跨行交易專用帳戶所對應的內部帳戶餘額例如相當於該銀行機構的一跨行交易清算餘額,也相當於該銀行機構的一存放央行餘額,而且,根據金融機構監管單位對各銀行實施的管理規範,該銀行機構必須維持該存放央行餘額(相當於該跨行交易清算餘額)高於一預定許可金額(例如0元),該帳務伺服單元11才能夠正常地執行與其他銀行機構之間的電子跨行交易。然而,補充說明的是,在本實施例的實際實施態樣中,該預定許可金額可例如是被該銀行機構設定為高於0元的其他金額數值(例如20億,但不以此為限),以使該銀行機構能在該內部帳 戶餘額高於0元但低於特定的資金水位時發動資金調撥作業,從而達成對該內部帳戶餘額之資金水位的自主管理。 In more detail, this embodiment mainly explains how the account management system 1 performs account management on "cross-bank transactions" in the financial transaction business. Therefore, in this embodiment, the transaction management data D1 is, for example, used as One corresponds to the inter-bank transaction clearing account master file of the banking institution, and the transaction management data D1 includes, for example, a reference date of the latest account date, and an internal account balance corresponding to a special account for inter-bank transactions, but it is not used as a limit. Wherein, the special account for cross-bank transactions is, for example, owned and managed by the banking institution itself, and the special account for cross-bank transactions is, for example, opened by the banking institution in a financial institution supervisory unit (ie, the central bank), It is specially used to deposit the funds used by the banking institution in the inter-bank transaction business (that is, the funds to be remitted to other banks and the funds received from other banks). It is particularly noted that, in this embodiment, the internal account balance corresponding to the special account for cross-bank transactions is, for example, equivalent to an inter-bank transaction clearing balance of the banking institution, and is also equivalent to a deposit balance of the central bank of the banking institution, and, according to According to the management regulations implemented by the financial institution supervisory unit on each bank, the banking institution must maintain the balance deposited by the central bank (equivalent to the balance of the inter-bank transaction clearing) higher than a predetermined allowable amount (such as 0 yuan), and the account server unit 11 can Execute electronic cross-bank transactions with other banking institutions normally. However, it is supplemented that, in the actual implementation of this embodiment, the predetermined permitted amount can be, for example, set by the banking institution to be higher than 0 yuan other amount value (such as 2 billion, but not limited to this ) to enable the banking institution to When the account balance is higher than 0 yuan but lower than a specific fund level, the fund transfer operation is initiated, so as to achieve independent management of the fund level of the internal account balance.

另一方面,在本實施例中,該交易紀錄資料D2例如是被作為一對應於該銀行機構的跨行交易清算戶明細檔,而且,該交易紀錄資料D2例如是用於記錄該銀行機構所處理的歷史跨行交易資訊,但並不以此為限。 On the other hand, in this embodiment, the transaction record data D2 is, for example, used as an inter-bank transaction clearing account detail file corresponding to the banking institution, and the transaction record data D2 is, for example, used to record the transactions processed by the banking institution. Historical cross-bank transaction information, but not limited thereto.

配合參閱圖2,以下示例性地詳細說明本實施例的該帳務管理系統1如何實施一帳務管理方法。 With reference to FIG. 2 , how the account management system 1 of this embodiment implements an account management method will be described in detail below.

首先,在步驟S1中,該帳務伺服單元11例如受一定時器訊號(Clock signal)所觸發地計算一段由當前時間點所起算的預定期間。其中,該定時器訊號可例如是由該帳務伺服單元11本身所產生的一週期性脈波,而且,該預定期間的起始點可例如為該定時器訊號之一當前週期的起始點。另一方面,該預定期間所對應的一預設時間長度例如是被實施為十分鐘。然而,在其他實施態樣中,該帳務伺服單元11亦可例如是以計時的方式來計算該預定期間,且該預定期間的預設時間長度亦可根據跨行交易發生的頻率被實施為更短或更長的時間長度,而並不以本實施例為限。 First, in step S1, the account service unit 11 is triggered by a timer signal (Clock signal), for example, to calculate a predetermined period from the current time point. Wherein, the timer signal can be, for example, a periodic pulse wave generated by the account service unit 11 itself, and the starting point of the predetermined period can be, for example, the starting point of a current cycle of the timer signal . On the other hand, a preset time length corresponding to the predetermined period is, for example, implemented as ten minutes. However, in other implementations, the account service unit 11 can also calculate the predetermined period by timing, for example, and the preset time length of the predetermined period can also be implemented to be more accurate according to the frequency of cross-bank transactions. Short or longer length of time, but not limited by this embodiment.

在接續於步驟S1之後的步驟S2中,該帳務伺服單元1l在該段預定期間內以平行計算(Parallel Computing)的方式執行多筆跨行交易,也就是說,該帳務伺服單元11能夠在同一時間點 同時進行兩筆以上之跨行交易的處理。其中,對於該銀行機構而言,每一筆跨行交易可以是從該跨行交易專用帳戶匯出款項的一資金匯出交易(亦即以該銀行機構為出款方),或者是以該跨行交易專用帳戶收受款項的一資金匯入交易(亦即以該銀行機構為收款方)。而且,對於在該段預定期間內被完成的每一筆跨行交易,當該帳務伺服單元11完成該筆跨行交易的執行時,該帳務管理系統1會在該交易紀錄資料D2中新增一筆對應該跨行交易的交易明細紀錄,並且將該交易明細紀錄設定為一未同步狀態。 In step S2 following step S1, the account service unit 11 executes multiple cross-bank transactions in the manner of parallel computing (Parallel Computing) within the predetermined period, that is to say, the account service unit 11 can same time Simultaneously carry out the processing of two or more cross-bank transactions. Among them, for the banking institution, each inter-bank transaction can be a fund remittance transaction (that is, the banking institution is the payer) that remits money from the special account for the inter-bank transaction, or it is a transaction dedicated to the inter-bank transaction. A funds transfer transaction (ie, with the banking institution as the payee) in which the account receives money. Moreover, for each cross-bank transaction completed within the predetermined period, when the account service unit 11 completes the execution of the cross-bank transaction, the account management system 1 will add a new one in the transaction record data D2. Corresponding to the transaction detail record of the cross-bank transaction, and setting the transaction detail record to an unsynchronized state.

更詳細地說,在本實施例中,每一交易明細紀錄例如包含一交易對象機構代碼、一交易序號、一交易日期、一交易金額以及一同步狀態欄位,但並不以此為限。其中,若該交易明細紀錄所對應的該跨行交易為資金匯出交易,則該交易明細紀錄所包含的交易金額便相當於一付款款項金額,反之,若該交易明細紀錄所對應的該跨行交易為資金匯入交易,則該交易明細紀錄所包含的交易金額則相當於一收款款項金額。而且,對於每一交易明細紀錄,該帳務伺服單元11將該交易明細紀錄設定為該未同步狀態的方式,例如是在該交易明細紀錄的同步狀態欄位中輸入一未同步代號(例如「N」,但並不以此為限)。 More specifically, in this embodiment, each transaction detail record includes, for example, a transaction object organization code, a transaction serial number, a transaction date, a transaction amount, and a synchronization status field, but it is not limited thereto. Wherein, if the inter-bank transaction corresponding to the transaction detail record is a fund remittance transaction, the transaction amount contained in the transaction detail record is equivalent to the amount of a payment; otherwise, if the inter-bank transaction corresponding to the transaction detail record If it is a fund transfer transaction, the transaction amount included in the transaction detail record is equivalent to the amount of a received payment. Moreover, for each transaction detail record, the account service unit 11 sets the transaction detail record to the unsynchronized state, for example, inputting an unsynchronized code (such as " N", but not limited thereto).

特別說明的是,在該段預定期間之內,該帳務伺服單元11僅會根據其所執行的每一筆跨行交易而在該交易紀錄資料D2 中新增對應的交易明細紀錄,而不會對該交易管理資料D1的內部帳戶餘額進行更新,更明確地說,該帳務伺服單元11在該段預定期間結束之前不會更新該交易管理資料D1的內部帳戶餘額。 It is particularly noted that, within the predetermined period, the account service unit 11 will only record in the transaction record data D2 according to each cross-bank transaction performed by it. Add corresponding transaction detail records in the account, but will not update the internal account balance of the transaction management data D1, more specifically, the account service unit 11 will not update the transaction management data before the end of the predetermined period D1's internal account balance.

補充說明的是,本實施中所述的「平行計算」亦可稱作「平行處理(Parallel Processing)」、「並行處理」或者「並發計算」。另一方面,該帳務伺服單元11在該段預定期間中例如是根據其所接收到的多個跨行交易請求而對應地分別執行該等跨行交易,然而,該等跨行交易請求的實際態樣,以及該帳務伺服單元11如何判斷是否准予每一跨行交易請求並非本專利說明書之重點,故不在此詳述其細節。 It should be added that the "parallel computing" mentioned in this implementation may also be called "parallel processing (Parallel Processing)", "parallel processing" or "concurrent computing". On the other hand, the account service unit 11 executes the cross-bank transactions correspondingly, for example, according to the multiple cross-bank transaction requests it receives during the predetermined period. However, the actual appearance of the cross-bank transaction requests , and how the account service unit 11 judges whether to grant each inter-bank transaction request is not the focus of this patent specification, so its details will not be described in detail here.

在接續於步驟S1之後的步驟S3中,當該帳務伺服單元11在該段預定期間內接收到一來自於該查詢使用端5的餘額查詢指令時,該帳務伺服單元11從該交易紀錄資料D2中選出當前在該段預定期間內被產生的所有該等交易明細紀錄,並根據所選出之所有該等交易明細紀錄的交易金額以及該交易管理資料D1的內部帳戶餘額計算出一餘額查詢結果,並將該餘額查詢結果提供至該查詢使用端5,以供該查詢使用端5將該餘額查詢結果輸出。更詳細地說,該帳務伺服單元11選出當前在該段預定期間內被產生之所有該等交易明細紀錄的方式,是將該交易紀錄資料D2中處於該未同步狀態的所有該等交易明細紀錄分別作為在該段預定期間內被產生的 該等交易明細紀錄。而且,若將處於該未同步狀態的每一交易明細紀錄作為一未同步交易明細紀錄,則該帳務伺服單元11計算出該餘額查詢結果的方式,例如是將該交易管理資料D1的內部帳戶餘額扣除該等未同步交易明細紀錄中的所有付款款項金額並加上該等未同步交易明細紀錄中的所有收款款項金額,從而計算出該餘額查詢結果。如此一來,即便該帳務伺服單元11在該段預定期間中不會更新該交易管理資料D1的內部帳戶餘額,但該帳務伺服單元11仍能在接收到餘額查詢指令後提供最新且正確的餘額查詢結果至該查詢使用端5,而有利於該銀行機構即時對該內部帳戶餘額(也就是該銀行機構的存放央行餘額)進行控管,以避免內部帳戶餘額低於預定許可金額。 In step S3 following step S1, when the account service unit 11 receives a balance inquiry instruction from the inquiry user terminal 5 within the predetermined period, the account service unit 11 retrieves from the transaction record From the data D2, select all such detailed transaction records currently generated within the predetermined period, and calculate a balance query based on the transaction amount of all the selected transaction detailed records and the internal account balance of the transaction management data D1 result, and provide the balance query result to the query user terminal 5 for the query user terminal 5 to output the balance query result. In more detail, the method for the accounting server unit 11 to select all the transaction detail records currently generated within the predetermined period is to use all the transaction detail records in the unsynchronized state in the transaction record data D2 Records are recorded as being generated during the predetermined period Detailed records of such transactions. Moreover, if each transaction detail record in the unsynchronized state is regarded as an unsynchronized transaction detail record, the method for the account service unit 11 to calculate the balance inquiry result is, for example, to use the internal account of the transaction management data D1 The balance query result is calculated by deducting all payment amounts in the unsynchronized transaction detail records from the balance and adding all payment amounts in the unsynchronized transaction detail records. In this way, even if the account service unit 11 does not update the internal account balance of the transaction management data D1 during the predetermined period, the account service unit 11 can still provide the latest and correct account balance after receiving the balance inquiry instruction. The result of the balance inquiry is sent to the inquiry terminal 5, which is beneficial for the banking institution to control the internal account balance (that is, the bank institution's deposit central bank balance) in real time, so as to prevent the internal account balance from being lower than the predetermined allowable amount.

在接續於步驟S2及步驟S3之後的步驟S4中,一旦該定時器訊號當前的週期結束,該帳務伺服單元11例如受該定時器訊號所觸發地判定該預定期間結束。並且,當該帳務伺服單元11判斷出該段預定期間結束時,該帳務伺服單元11執行一更新處理程序,藉此更新該內部帳戶餘額以及該段預定期間內被產生之該等交易明細紀錄的狀態。 In step S4 following step S2 and step S3, once the current period of the timer signal ends, the accounting server unit 11 determines that the predetermined period ends, for example, triggered by the timer signal. And, when the account service unit 11 judges that the predetermined period ends, the account service unit 11 executes an update processing program, thereby updating the internal account balance and the transaction details generated during the predetermined period The state of the record.

在本實施例中,該帳務伺服單元11執行該更新處理程序的方式如下所述。 In this embodiment, the accounting server unit 11 executes the update processing procedure as follows.

首先,在子步驟一中,該帳務伺服單元11根據該交易 紀錄資料D2中每一交易明細紀錄的同步狀態欄位,而從該交易紀錄資料D2中選出在該段預定期間內被產生的所有該等交易明細紀錄。更明確地說,該帳務伺服單元11例如是將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄(亦即當前的所有該等未同步交易明細紀錄)分別作為在該段預定期間內被產生的該等交易明細紀錄。 First, in sub-step 1, the account service unit 11 according to the transaction The synchronization state field of each transaction detail record in the record data D2, and select all such transaction detail records generated within the predetermined period from the transaction record data D2. More specifically, the accounting server unit 11, for example, takes all the transaction detail records in the unsynchronized state in the transaction record data (that is, all the current unsynchronized transaction detail records) as the Detailed records of such transactions generated within a predetermined period.

接著,在子步驟二中,對於在子步驟一中所選出的每一筆未同步交易明細紀錄,該帳務伺服單元11將該未同步交易明細紀錄之同步狀態欄位中的未同步代號取代為一同步中代號(例如「P」,但並不以此為限),從而將該未同步交易明細紀錄由該未同步狀態改設定為一同步中狀態。並且,為了便於說明,在此將處於該同步中狀態的所有該等交易明細紀錄分別做為本實施例中的多筆同步中交易明細紀錄。 Then, in sub-step 2, for each unsynchronized transaction detail record selected in sub-step 1, the account service unit 11 replaces the unsynchronized code in the synchronization state column of the unsynchronized transaction detail record with A synchronizing code (such as "P", but not limited to this), so as to change the unsynchronized transaction detail record from the unsynchronized state to a synchronizing state. Moreover, for the convenience of description, all the detailed transaction records in the synchronizing state are referred to as multiple synchronous transaction detail records in this embodiment.

接著,在子步驟三中,該帳務伺服單元11將該等同步中交易明細紀錄的交易金額計算出一更新變動金額。其中,該更新變動金額的數值,係等於將該等同步中交易明細紀錄中的所有收款款項金額加總,並扣除所有付款款項金額之加總的數值。 Next, in sub-step 3, the accounting server unit 11 calculates an updated variable amount from the transaction amounts recorded in the transaction details in synchronization. Wherein, the numerical value of the updated variable amount is equal to the sum of all received payment amounts in the transaction detail records being synchronized and deducted from the summed value of all paid payment amounts.

接著,在子步驟四中,該帳務伺服單元11根據該更新變動金額更新該交易管理資料D1的內部帳戶餘額。也就是說,該帳務伺服單元11是在該段預定期間結束時,才開始根據該預定期間 內被產生的所有該等交易明細紀錄批次性地更新該交易管理資料D1的內部帳戶餘額。並且,該帳務伺服單元11例如是將當前的內部帳戶餘額加上該更新變動金額,以完成該內部帳戶餘額的更新。 Next, in sub-step 4, the account service unit 11 updates the internal account balance of the transaction management data D1 according to the updated variable amount. That is to say, the account service unit 11 starts to pay according to the predetermined period at the end of the predetermined period. All the transaction detail records generated within batch update the internal account balance of the transaction management data D1. Moreover, the accounting server unit 11, for example, adds the updated variable amount to the current internal account balance to complete the update of the internal account balance.

最後,在子步驟五中,當該帳務伺服單元11完成該內部帳戶餘額的更新時,對於在子步驟二中所設定的每一筆同步中交易明細紀錄,該帳務伺服單元11將該同步中交易明細紀錄之同步狀態欄位中的同步中代號取代為一已同步代號(例如「Y」,但並不以此為限),從而將該同步中交易明細紀錄由該同步中狀態改設定為一已同步狀態,也就是將該同步中交易明細紀錄改設定為一已同步交易明細紀錄。在一些實施態樣中,子步驟五也可以與子步驟四或子步驟三同時進行。 Finally, in sub-step five, when the account service unit 11 completes the update of the internal account balance, for each synchronous transaction detail record set in sub-step two, the account service unit 11 will synchronize the In the synchronization state field of the transaction detail record, replace the synchronization code with a synchronized code (such as "Y", but not limited to this), so that the synchronization transaction detail record is changed from the synchronization state to the setting It is a synchronized state, that is, the transaction detail record in synchronization is changed to a synchronized transaction detail record. In some implementation aspects, sub-step five can also be performed simultaneously with sub-step four or sub-step three.

在該帳務伺服單元11完成該內部帳戶餘額的更新,並將該等該同步中交易明細紀錄分別設定為該等已同步交易明細紀錄後,該更新處理程序結束。 After the account server unit 11 finishes updating the internal account balance and sets the synchronizing transaction detail records as the synchronized transaction detail records respectively, the updating process ends.

特別說明的是,在本實施例的步驟S4中,一旦該帳務伺服單元11判定該預定期間結束,該帳務伺服單元11除了開始執行該更新處理程序之外,還會因為該定時器訊號的觸發而同時開始計算下一段預定期間,並且如步驟S2所述地在下一段預定期間中執行另外一或多筆跨行交易,以及如步驟S3所述地在接收到餘額查詢指令時產生並輸出餘額查詢結果。也就是說,該帳務管理系統1會 反覆地實施該帳務管理方法,而且,只要該帳務伺服單元11在步驟S4中判定該預定期間結束,流程便會直接從步驟S1再次開始進行,且無需先等待該更新處理程序執行完成。 It is particularly noted that, in step S4 of this embodiment, once the account service unit 11 determines that the predetermined period is over, the account service unit 11 will not only start to execute the update process, but will also respond to the timer signal start to calculate the next predetermined period at the same time, and execute another one or more cross-bank transactions in the next predetermined period as described in step S2, and generate and output the balance when receiving the balance inquiry instruction as described in step S3 search result. That is to say, the account management system 1 will Repeatedly implement the accounting management method, and as long as the accounting server unit 11 judges that the predetermined period is over in step S4, the process will directly start again from step S1 without waiting for the update processing program to be executed first.

基於上述,若該帳務伺服單元11在步驟S4執行該更新處理程序的過程中接收到另外一或多個跨行交易請求,該帳務伺服單元11便會在該更新處理程序的執行期間內同時執行另外一或多筆跨行交易,以及在該交易紀錄資料D2中新增對應的另外一或多筆交易明細紀錄。換句話說,該帳務伺服單元11可能會一邊執行該更新處理程序,一邊在該交易紀錄資料D2中新增處於未同步狀態的交易明細紀錄。因此,值得一提的是,在本實施例中,對於在該段預定期間內被產生的該等未同步交易明細紀錄,該帳務伺服單元11在該更新處理程序中必需先將該等未同步交易明細紀錄從該未同步狀態改設定為該同步中狀態,再從該同步中狀態改設定為該已同步狀態,而不能直接將所有未同步交易明細紀錄直接從該未同步狀態更新為已同步狀態。否則,一旦該帳務伺服單元11在該更新處理程序的執行過程中有在該交易紀錄資料D2新增另外M筆未同步交易明細紀錄,則該帳務伺服單元11便會在沒有根據該M筆未同步交易明細紀錄更新該內部帳戶餘額的情況下將該M筆未同步交易明細更新為該已同步狀態,而導致該內部帳戶餘額的更新產生錯誤,所以,本實施例能讓該帳務伺服單元11在執行該更新處理程序 的同時繼續在該交易紀錄資料D2中新增未同步交易明細紀錄,且不會導致該內部帳戶餘額的更新發生錯誤。 Based on the above, if the account service unit 11 receives another one or more cross-bank transaction requests during the execution of the update processing program in step S4, the account service unit 11 will simultaneously Execute another one or more inter-bank transactions, and add another corresponding one or more transaction detail records in the transaction record data D2. In other words, the accounting server unit 11 may add an unsynchronized transaction detail record to the transaction record data D2 while executing the updating process. Therefore, it is worth mentioning that, in this embodiment, for the unsynchronized transaction detail records generated within the predetermined period, the accounting server unit 11 must first update the unsynchronized transaction records in the update process Synchronized transaction detail records are changed from the unsynchronized state to the synchronizing state, and then changed from the synchronizing state to the synchronized state, instead of directly updating all unsynchronized transaction detail records from the unsynchronized state to the synchronized state sync status. Otherwise, once the account service unit 11 adds another M unsynchronized transaction detail records to the transaction record data D2 during the execution of the update processing program, the account service unit 11 will not perform the transaction according to the M In the case of updating the internal account balance by updating the unsynchronized transaction detail records, the M unsynchronized transaction details are updated to the synchronized state, which causes an error in the update of the internal account balance. Therefore, this embodiment can make the account Servo unit 11 is executing the update processing program At the same time, continue to add unsynchronized transaction detail records in the transaction record data D2, and will not cause errors in updating the balance of the internal account.

補充說明的是,步驟S3是當該帳務伺服單元11有接收到該餘額查詢指令時才會進行的步驟,所以,若該帳務伺服單元11在某一次實施帳務管理方法的預定期間內並未接收到餘額查詢指令,則該次帳務管理方法的流程便不會包含步驟S3。 It should be added that step S3 is a step that will be performed only when the account service unit 11 receives the balance inquiry instruction. Therefore, if the account service unit 11 implements the account management method within a predetermined period If the balance inquiry instruction is not received, the flow of the account management method does not include step S3.

以上即為本實施例之帳務管理系統1如何實施該帳務管理方法的示例說明。補充說明的是,雖然本實施例主要是以跨行交易為例地說明該帳務管理系統1如何實施該帳務管理方法,但在其他的實施例中,該帳務管理系統1及該帳務管理方法亦可被應用於其他種類的金融交易,例如同一銀行機構的不同分行之間的匯款/轉帳交易(即聯行往來交易)。所以,該帳務管理系統1所能應用的金融交易類型並不以本實施例所述的跨行交易為限。 The above is an illustration of how the account management system 1 of this embodiment implements the account management method. It should be added that although this embodiment mainly uses cross-bank transactions as an example to illustrate how the account management system 1 implements the account management method, in other embodiments, the account management system 1 and the account The management method can also be applied to other types of financial transactions, such as remittance/transfer transactions between different branches of the same banking institution (ie interbank transactions). Therefore, the types of financial transactions applicable to the account management system 1 are not limited to the inter-bank transactions described in this embodiment.

綜上所述,藉由實施該帳務管理方法,該帳務管理系統1能在該預定期間結束時根據處於未同步狀態的所有交易明細紀錄批次性地更新該交易管理資料D1的內部帳戶餘額,如此一來,該帳務管理系統1便能突破現有技術中「需待內部帳戶餘額更新完畢,才能處理下一筆跨行交易」的限制,而能以平行計算的方式同時執行多筆跨行交易,藉此大幅提高跨行交易的處理效率,進而滿足短時間內出現大量待處理跨行交易的效能需求,故確實能達成本 發明之目的。 To sum up, by implementing the account management method, the account management system 1 can update the internal account of the transaction management data D1 in batches according to all transaction detail records in the unsynchronized state at the end of the predetermined period In this way, the account management system 1 can break through the limitation of "the next inter-bank transaction needs to be updated after the internal account balance is updated" in the prior art, and can execute multiple inter-bank transactions at the same time in a parallel computing manner , so as to greatly improve the processing efficiency of cross-bank transactions, and then meet the performance requirements of a large number of cross-bank transactions to be processed in a short period of time, so the cost can indeed be achieved purpose of the invention.

惟以上所述者,僅為本發明之實施例而已,當不能以此限定本發明實施之範圍,凡是依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 But what is described above is only an embodiment of the present invention, and should not limit the scope of the present invention. All simple equivalent changes and modifications made according to the patent scope of the present invention and the content of the patent specification are still within the scope of the present invention. Within the scope covered by the patent of the present invention.

1:帳務管理系統 1: Account management system

11:帳務伺服單元 11:Accounting server unit

12:儲存單元 12: storage unit

D1:交易管理資料 D1: Transaction management information

D2:交易紀錄資料 D2: Transaction record data

5:查詢使用端 5: Query the user end

Claims (6)

一種帳務管理系統,包含:一帳務伺服單元;及一儲存單元,與該帳務伺服單元電連接,且儲存有一包含一內部帳戶餘額的交易管理資料,以及一交易紀錄資料,其中,該內部帳戶餘額為一銀行機構的跨行交易清算餘額,該交易紀錄資料用於記錄該銀行機構所處理的歷史跨行交易;其中,該帳務伺服單元用於:在一段預定期間內以平行計算方式執行多筆跨行的金融交易,而且,對於在該段預定期間內被執行的每一金融交易,當該帳務伺服單元完成該金融交易的執行時,該帳務伺服單元在該交易紀錄資料中新增一筆對應該金融交易且包含一交易金額的交易明細紀錄,且將該交易明細紀錄設定為一未同步狀態,但不更新該交易管理資料的內部帳戶餘額;當該帳務伺服單元判斷出該段預定期間結束時,該帳務伺服單元執行一更新處理程序,其中,該更新處理程序包含:將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄分別作為在該段預定期間內被產生的該等交易明細紀錄;將在該段預定期間內被產生的每一交易明細紀錄由該未同步狀態改設定為一同步中狀態; 根據處於該同步中狀態之所有該等交易明細紀錄的交易金額更新該交易管理資料的內部帳戶餘額;以及將處於該同步中狀態的每一交易明細紀錄由該同步中狀態改設定為一已同步狀態。 An account management system, comprising: an account service unit; and a storage unit, electrically connected to the account service unit, and storing a transaction management data including an internal account balance, and a transaction record data, wherein the The internal account balance is the clearing balance of inter-bank transactions of a banking institution, and the transaction record data is used to record the historical inter-bank transactions processed by the banking institution; wherein, the account service unit is used for: performing parallel calculation within a predetermined period Multiple inter-bank financial transactions, and, for each financial transaction executed within the predetermined period, when the account service unit completes the execution of the financial transaction, the account service unit will add a new Add a transaction detail record corresponding to the financial transaction and including a transaction amount, and set the transaction detail record to an unsynchronized state, but do not update the internal account balance of the transaction management data; when the accounting server unit judges that the At the end of a predetermined period, the accounting server unit executes an update process, wherein the update process includes: all the transaction detail records that are in the unsynchronized state in the transaction record data are respectively regarded as within the predetermined period the transaction detail records generated within the predetermined period; change each transaction detail record generated within the predetermined period from the unsynchronized state to a synchronous state; Update the internal account balance of the transaction management data according to the transaction amount of all the transaction detail records in the synchronizing state; and change each transaction detail record in the synchronizing state from the synchronizing state to a synchronized state state. 如請求項1所述的帳務管理系統,其中,當該帳務伺服單元在該段預定期間內接收到一來自於一查詢使用端的餘額查詢指令時,該帳務伺服單元根據該交易紀錄資料中處於該未同步狀態之所有該等交易明細紀錄的交易金額以及該交易管理資料的內部帳戶餘額計算出一餘額查詢結果,並將該餘額查詢結果提供至該查詢使用端。 The account management system as described in claim 1, wherein, when the account service unit receives a balance inquiry instruction from an inquiry user within the predetermined period, the account service unit, according to the transaction record data Calculate a balance query result from the transaction amount of all the transaction detail records in the unsynchronized state and the internal account balance of the transaction management data, and provide the balance query result to the query user end. 如請求項1所述的帳務管理系統,其中,每一交易明細紀錄包含一同步狀態欄位,而且,對於每一交易明細紀錄,該帳務伺服單元是藉由在該交易明細紀錄的同步狀態欄位中輸入一未同步代號而將該交易明細紀錄設定為該未同步狀態,藉由將該同步狀態欄位中的該未同步代號取代為一同步中代號而將該交易明細紀錄設定為該同步中狀態、以及藉由將該同步狀態欄位中的該同步中代號取代為一已同步代號而將該交易明細紀錄由該未同步狀態改設定為該已同步狀態。 The account management system as described in Claim 1, wherein each transaction detail record includes a synchronization status field, and, for each transaction detail record, the account service unit is synchronized with the transaction detail record Enter an unsynchronized code in the status field to set the transaction detail record as the unsynchronized state, and set the transaction detail record as the unsynchronized state by replacing the unsynchronized code in the synchronization state field with a synchronizing code The synchronizing state, and changing the transaction detail record from the unsynchronized state to the synchronized state by replacing the synchronizing code in the synchronizing state field with a synchronizing code. 一種帳務管理方法,由一帳務管理系統實施,該帳務管理系統儲存有一包含一內部帳戶餘額的交易管理資料,以及一交易紀錄資料,該內部帳戶餘額為一銀行機構的跨行交易清算餘額,該交易紀錄資料用於記錄該銀行機 構所處理的歷史跨行交易,並且,該帳務管理方法包含:(A)該帳務管理系統在一段預定期間內以平行計算方式執行多筆跨行的金融交易,而且,對於在該段預定期間內被執行的每一金融交易,當該帳務管理系統完成該金融交易的執行時,該帳務管理系統在該交易紀錄資料中新增一筆對應該金融交易且包含一交易金額的交易明細紀錄,且將該交易明細紀錄設定為一未同步狀態,但不更新該交易管理資料的內部帳戶餘額;及(B)當該帳務管理系統判斷出該段預定期間結束時,該帳務管理系統執行一更新處理程序,其中,該更新處理程序包含:將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄分別作為在該段預定期間內被產生的該等交易明細紀錄;將在該段預定期間內被產生的每一交易明細紀錄由該未同步狀態改設定為一同步中狀態;根據處於該同步中狀態之所有該等交易明細紀錄的交易金額更新該交易管理資料的內部帳戶餘額;以及將處於該同步中狀態的每一交易明細紀錄由該同步中狀態改設定為一已同步狀態。 An account management method, implemented by an account management system, the account management system stores a transaction management data including an internal account balance, and a transaction record data, the internal account balance is the inter-bank transaction settlement balance of a banking institution , the transaction record data is used to record the bank machine The historical inter-bank transactions processed by the institution, and the account management method includes: (A) the account management system executes a plurality of inter-bank financial transactions in a parallel computing manner within a predetermined period, and, for the predetermined period For each financial transaction executed within the account management system, when the account management system completes the execution of the financial transaction, the account management system will add a transaction detail record corresponding to the financial transaction and including a transaction amount in the transaction record data , and set the transaction detail record to an unsynchronized state, but do not update the internal account balance of the transaction management data; and (B) when the account management system determines that the predetermined period is over, the account management system Executing an update processing procedure, wherein the update processing procedure includes: taking all the transaction detail records in the unsynchronized state in the transaction record data as the transaction detail records generated within the predetermined period; Change each transaction detail record generated within the predetermined period from the unsynchronized state to a synchronizing state; update the internal transaction management data according to the transaction amount of all such transaction detail records in the synchronizing state account balance; and changing each transaction detail record in the synchronizing state from the synchronizing state to a synchronizing state. 如請求項4所述的帳務管理方法,還包含介於步驟(A)及(B)之間的:(C)當該帳務管理系統在該段預定期間內接收到一來自於一查詢使用端的餘額查詢指令時,該帳務管 理系統根據該交易紀錄資料中處於該未同步狀態之所有該等交易明細紀錄的交易金額以及該交易管理資料的內部帳戶餘額計算出一餘額查詢結果,並將該餘額查詢結果提供至該查詢使用端。 The account management method as described in claim 4, further comprising between steps (A) and (B): (C) when the account management system receives a query from an inquiry within the predetermined period When using the balance query instruction on the end, the account management The management system calculates a balance query result based on the transaction amount of all the transaction detail records that are in the unsynchronized state in the transaction record data and the internal account balance of the transaction management data, and provides the balance query result to the query user end. 如請求項4所述的帳務管理方法,其中,每一交易明細紀錄包含一同步狀態欄位,而且,對於每一交易明細紀錄,該帳務管理系統是藉由在該交易明細紀錄的同步狀態欄位中輸入一未同步代號而將該交易明細紀錄設定為該未同步狀態,藉由將該同步狀態欄位中的該未同步代號取代為一同步中代號而將該交易明細紀錄設定為該同步中狀態、以及藉由將該同步狀態欄位中的該同步中代號取代為一已同步代號而將該交易明細紀錄由該同步中狀態改設定為該已同步狀態。 The account management method as described in claim 4, wherein each transaction detail record includes a synchronization status field, and, for each transaction detail record, the account management system uses the synchronization of the transaction detail record Enter an unsynchronized code in the status field to set the transaction detail record as the unsynchronized state, and set the transaction detail record as the unsynchronized state by replacing the unsynchronized code in the synchronization state field with a synchronizing code The synchronizing state, and changing the transaction detail record from the synchronizing state to the synchronizing state by replacing the synchronizing code in the synchronizing state column with a synchronizing code.
TW110145627A 2021-12-07 2021-12-07 System and method for account management TWI797875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110145627A TWI797875B (en) 2021-12-07 2021-12-07 System and method for account management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110145627A TWI797875B (en) 2021-12-07 2021-12-07 System and method for account management

Publications (2)

Publication Number Publication Date
TWI797875B true TWI797875B (en) 2023-04-01
TW202324261A TW202324261A (en) 2023-06-16

Family

ID=86945181

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110145627A TWI797875B (en) 2021-12-07 2021-12-07 System and method for account management

Country Status (1)

Country Link
TW (1) TWI797875B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182898A (en) * 2014-08-13 2014-12-03 中国银行股份有限公司 Additional recording method of on-line transaction during night mode for bank system
CN108256994A (en) * 2018-01-04 2018-07-06 中国银行股份有限公司 The generation method and device of bank's account
CN110610414A (en) * 2019-09-19 2019-12-24 中国银行股份有限公司 Data processing method and system
TWM597441U (en) * 2019-11-12 2020-06-21 臺灣銀行股份有限公司 Interbank business fund system
CN113450160A (en) * 2021-07-13 2021-09-28 中国银行股份有限公司 Active budget updating method and device
CN113627934A (en) * 2021-08-11 2021-11-09 中国银行股份有限公司 Transaction data acquisition method and related equipment
TWM625590U (en) * 2021-12-07 2022-04-11 玉山商業銀行股份有限公司 Account management system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182898A (en) * 2014-08-13 2014-12-03 中国银行股份有限公司 Additional recording method of on-line transaction during night mode for bank system
CN108256994A (en) * 2018-01-04 2018-07-06 中国银行股份有限公司 The generation method and device of bank's account
CN110610414A (en) * 2019-09-19 2019-12-24 中国银行股份有限公司 Data processing method and system
TWM597441U (en) * 2019-11-12 2020-06-21 臺灣銀行股份有限公司 Interbank business fund system
CN113450160A (en) * 2021-07-13 2021-09-28 中国银行股份有限公司 Active budget updating method and device
CN113627934A (en) * 2021-08-11 2021-11-09 中国银行股份有限公司 Transaction data acquisition method and related equipment
TWM625590U (en) * 2021-12-07 2022-04-11 玉山商業銀行股份有限公司 Account management system

Also Published As

Publication number Publication date
TW202324261A (en) 2023-06-16

Similar Documents

Publication Publication Date Title
JP7254120B2 (en) Blockchain payment processing method, device, device and medium
US10986177B2 (en) Systems and methods of self-forking blockchain protocol
CN110276614B (en) Updating method and device of account splitting account
JP2011527057A (en) Buffered bookkeeping
CN107038560B (en) System, method and device for executing payment service
US11087371B2 (en) Blockchain-based invoice creation method apparatus, and electronic device
CN111400356B (en) Data query method, device and equipment
CN106874130A (en) The processing method of distributed transaction in a kind of micro services framework
WO2020258666A1 (en) Distributed system and data processing method
CN112052285A (en) Accounting management method, system and medium for service data
CN112907344A (en) Accounting data processing method and device, electronic equipment and storage medium
TWM625590U (en) Account management system
US20220076217A1 (en) Decentralized Token Swapping Method with Low Slippage Point and High Liquidity
CA2993086A1 (en) Interbank clearing method and system
TWI797875B (en) System and method for account management
CN107316245A (en) Expense adjusts method and system
CN111400283A (en) Data processing method, system, electronic equipment and storage medium
US20230222602A1 (en) Systems and methods for immutable historic records from cloud storage systems
JP2019521442A (en) Method and device to facilitate payment entity expansion
CN110389752A (en) A kind of financial business logical code implementation method separated with mathematical logic
CN110008271A (en) Micro services affairs based on single database submit method
EP4348441A1 (en) Systems and methods for ensuring quality of search system data
US20200202437A1 (en) Blockchain-based settlement method, apparatus, and electronic device
CN112634006A (en) Account checking processing method and device, electronic equipment and storage medium
CN112116469A (en) Memory-based multi-exchange full-service clearing system and method