TWI797875B - System and method for account management - Google Patents
System and method for account management Download PDFInfo
- 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
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
Description
本發明是有關於一種帳務管理系統,特別是指一種適用於供金融機構管理金融交易的帳務管理系統。本發明還有關於一種由帳務管理系統所實施的帳務管理方法。 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
在本實施例中,該帳務伺服單元11可例如是被實施為一台能執行各種電子金融交易的伺服器設備,且該帳務伺服單元11適用於供一查詢使用端5電連接,其中,該查詢使用端5可例如是用於供任職於該銀行機構之使用者操作的一台電腦設備,但並不以此為限。
In this embodiment, the
該儲存單元12可例如是一台用於儲存數位資料的資料儲存設備,且可例如包括一或多台能被該帳務伺服單元11存取的硬碟裝置。並且,該儲存單元12儲存有一對應於金融交易業務的交易
管理資料D1,以及一對應於金融交易業務的交易紀錄資料D2。
The
更詳細地說,本實施例主要是說明該帳務管理系統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
另一方面,在本實施例中,該交易紀錄資料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
在接續於步驟S1之後的步驟S2中,該帳務伺服單元1l在該段預定期間內以平行計算(Parallel Computing)的方式執行多筆跨行交易,也就是說,該帳務伺服單元11能夠在同一時間點
同時進行兩筆以上之跨行交易的處理。其中,對於該銀行機構而言,每一筆跨行交易可以是從該跨行交易專用帳戶匯出款項的一資金匯出交易(亦即以該銀行機構為出款方),或者是以該跨行交易專用帳戶收受款項的一資金匯入交易(亦即以該銀行機構為收款方)。而且,對於在該段預定期間內被完成的每一筆跨行交易,當該帳務伺服單元11完成該筆跨行交易的執行時,該帳務管理系統1會在該交易紀錄資料D2中新增一筆對應該跨行交易的交易明細紀錄,並且將該交易明細紀錄設定為一未同步狀態。
In step S2 following step S1, the
更詳細地說,在本實施例中,每一交易明細紀錄例如包含一交易對象機構代碼、一交易序號、一交易日期、一交易金額以及一同步狀態欄位,但並不以此為限。其中,若該交易明細紀錄所對應的該跨行交易為資金匯出交易,則該交易明細紀錄所包含的交易金額便相當於一付款款項金額,反之,若該交易明細紀錄所對應的該跨行交易為資金匯入交易,則該交易明細紀錄所包含的交易金額則相當於一收款款項金額。而且,對於每一交易明細紀錄,該帳務伺服單元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
特別說明的是,在該段預定期間之內,該帳務伺服單元11僅會根據其所執行的每一筆跨行交易而在該交易紀錄資料D2
中新增對應的交易明細紀錄,而不會對該交易管理資料D1的內部帳戶餘額進行更新,更明確地說,該帳務伺服單元11在該段預定期間結束之前不會更新該交易管理資料D1的內部帳戶餘額。
It is particularly noted that, within the predetermined period, the
補充說明的是,本實施中所述的「平行計算」亦可稱作「平行處理(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
在接續於步驟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
在接續於步驟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
在本實施例中,該帳務伺服單元11執行該更新處理程序的方式如下所述。
In this embodiment, the
首先,在子步驟一中,該帳務伺服單元11根據該交易
紀錄資料D2中每一交易明細紀錄的同步狀態欄位,而從該交易紀錄資料D2中選出在該段預定期間內被產生的所有該等交易明細紀錄。更明確地說,該帳務伺服單元11例如是將該交易紀錄資料中處於該未同步狀態的所有該等交易明細紀錄(亦即當前的所有該等未同步交易明細紀錄)分別作為在該段預定期間內被產生的該等交易明細紀錄。
First, in sub-step 1, the
接著,在子步驟二中,對於在子步驟一中所選出的每一筆未同步交易明細紀錄,該帳務伺服單元11將該未同步交易明細紀錄之同步狀態欄位中的未同步代號取代為一同步中代號(例如「P」,但並不以此為限),從而將該未同步交易明細紀錄由該未同步狀態改設定為一同步中狀態。並且,為了便於說明,在此將處於該同步中狀態的所有該等交易明細紀錄分別做為本實施例中的多筆同步中交易明細紀錄。
Then, in sub-step 2, for each unsynchronized transaction detail record selected in sub-step 1, the
接著,在子步驟三中,該帳務伺服單元11將該等同步中交易明細紀錄的交易金額計算出一更新變動金額。其中,該更新變動金額的數值,係等於將該等同步中交易明細紀錄中的所有收款款項金額加總,並扣除所有付款款項金額之加總的數值。
Next, in sub-step 3, the
接著,在子步驟四中,該帳務伺服單元11根據該更新變動金額更新該交易管理資料D1的內部帳戶餘額。也就是說,該帳務伺服單元11是在該段預定期間結束時,才開始根據該預定期間
內被產生的所有該等交易明細紀錄批次性地更新該交易管理資料D1的內部帳戶餘額。並且,該帳務伺服單元11例如是將當前的內部帳戶餘額加上該更新變動金額,以完成該內部帳戶餘額的更新。
Next, in sub-step 4, the
最後,在子步驟五中,當該帳務伺服單元11完成該內部帳戶餘額的更新時,對於在子步驟二中所設定的每一筆同步中交易明細紀錄,該帳務伺服單元11將該同步中交易明細紀錄之同步狀態欄位中的同步中代號取代為一已同步代號(例如「Y」,但並不以此為限),從而將該同步中交易明細紀錄由該同步中狀態改設定為一已同步狀態,也就是將該同步中交易明細紀錄改設定為一已同步交易明細紀錄。在一些實施態樣中,子步驟五也可以與子步驟四或子步驟三同時進行。
Finally, in sub-step five, when the
在該帳務伺服單元11完成該內部帳戶餘額的更新,並將該等該同步中交易明細紀錄分別設定為該等已同步交易明細紀錄後,該更新處理程序結束。
After the
特別說明的是,在本實施例的步驟S4中,一旦該帳務伺服單元11判定該預定期間結束,該帳務伺服單元11除了開始執行該更新處理程序之外,還會因為該定時器訊號的觸發而同時開始計算下一段預定期間,並且如步驟S2所述地在下一段預定期間中執行另外一或多筆跨行交易,以及如步驟S3所述地在接收到餘額查詢指令時產生並輸出餘額查詢結果。也就是說,該帳務管理系統1會
反覆地實施該帳務管理方法,而且,只要該帳務伺服單元11在步驟S4中判定該預定期間結束,流程便會直接從步驟S1再次開始進行,且無需先等待該更新處理程序執行完成。
It is particularly noted that, in step S4 of this embodiment, once the
基於上述,若該帳務伺服單元11在步驟S4執行該更新處理程序的過程中接收到另外一或多個跨行交易請求,該帳務伺服單元11便會在該更新處理程序的執行期間內同時執行另外一或多筆跨行交易,以及在該交易紀錄資料D2中新增對應的另外一或多筆交易明細紀錄。換句話說,該帳務伺服單元11可能會一邊執行該更新處理程序,一邊在該交易紀錄資料D2中新增處於未同步狀態的交易明細紀錄。因此,值得一提的是,在本實施例中,對於在該段預定期間內被產生的該等未同步交易明細紀錄,該帳務伺服單元11在該更新處理程序中必需先將該等未同步交易明細紀錄從該未同步狀態改設定為該同步中狀態,再從該同步中狀態改設定為該已同步狀態,而不能直接將所有未同步交易明細紀錄直接從該未同步狀態更新為已同步狀態。否則,一旦該帳務伺服單元11在該更新處理程序的執行過程中有在該交易紀錄資料D2新增另外M筆未同步交易明細紀錄,則該帳務伺服單元11便會在沒有根據該M筆未同步交易明細紀錄更新該內部帳戶餘額的情況下將該M筆未同步交易明細更新為該已同步狀態,而導致該內部帳戶餘額的更新產生錯誤,所以,本實施例能讓該帳務伺服單元11在執行該更新處理程序
的同時繼續在該交易紀錄資料D2中新增未同步交易明細紀錄,且不會導致該內部帳戶餘額的更新發生錯誤。
Based on the above, if the
補充說明的是,步驟S3是當該帳務伺服單元11有接收到該餘額查詢指令時才會進行的步驟,所以,若該帳務伺服單元11在某一次實施帳務管理方法的預定期間內並未接收到餘額查詢指令,則該次帳務管理方法的流程便不會包含步驟S3。
It should be added that step S3 is a step that will be performed only when the
以上即為本實施例之帳務管理系統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)
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)
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 |
-
2021
- 2021-12-07 TW TW110145627A patent/TWI797875B/en active
Patent Citations (7)
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 |