TWI643146B - Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same - Google Patents

Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same Download PDF

Info

Publication number
TWI643146B
TWI643146B TW105142831A TW105142831A TWI643146B TW I643146 B TWI643146 B TW I643146B TW 105142831 A TW105142831 A TW 105142831A TW 105142831 A TW105142831 A TW 105142831A TW I643146 B TWI643146 B TW I643146B
Authority
TW
Taiwan
Prior art keywords
batch
update
time
power supply
data
Prior art date
Application number
TW105142831A
Other languages
Chinese (zh)
Other versions
TW201824125A (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 TW105142831A priority Critical patent/TWI643146B/en
Publication of TW201824125A publication Critical patent/TW201824125A/en
Application granted granted Critical
Publication of TWI643146B publication Critical patent/TWI643146B/en

Links

Landscapes

  • Power Sources (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一種動態更新金融資料的方法,其適用於更新多個識別資料的金融資料,並且此方法包括接收識別資料的交易資料、暫存交易資料、以及依據一批次量以及交易資料進行相同識別資料的金融資料的批次更新。每一批次更新的進行步驟包括:依據當前的批次量從交易資料中取得一批更新資料、驅動計時單元計時更新時間、以此批更新資料更新金融資料中對應的一批金融資料、以及依據更新時間及時間閾值調整下一批次更新的批次量。藉此,具有最佳化的資料處理狀態,進而降低交易逾時事件的發生頻率,且使系統資源作最有效地利用。A method for dynamically updating financial information, which is suitable for updating financial information of a plurality of identification materials, and the method comprises: receiving transaction data of identification data, temporarily storing transaction data, and performing the same identification data according to a batch quantity and transaction data. Batch update of financial information. The steps of each batch update include: obtaining a batch of update data from the transaction data according to the current batch quantity, driving the timing unit update time, updating the corresponding batch of financial data in the financial data by using the batch update data, and The batch quantity of the next batch update is adjusted according to the update time and time threshold. Thereby, the data processing state is optimized, thereby reducing the frequency of occurrence of transaction timeout events and making the most efficient use of system resources.

Description

動態更新金融資料的方法及其處理系統以及動態調整電源配置的方法及其處理系統Method for dynamically updating financial data and processing system thereof, and method for dynamically adjusting power supply configuration and processing system thereof

本發明關於一種金融資料的資訊處理技術,特別是指一種動態更新金融資料的方法及其處理系統以及動態調整電源配置的方法及其處理系統。 The invention relates to an information processing technology for financial materials, in particular to a method for dynamically updating financial materials and a processing system thereof, and a method for dynamically adjusting power supply configuration and a processing system thereof.

現代社會交易活動頻繁,為了提供更便利的商務活動,逐漸發展出電子商務的企業經營模式。電子商務通常是在網站上進行,因此不會受到營業時間、營業地點的限制。換言之,消費者不管任何時間、任何地點,只要能連上網路,就能進行線上交易。 Modern social trading activities are frequent, and in order to provide more convenient business activities, the business model of e-commerce has gradually developed. E-commerce is usually carried out on the website, so it is not subject to business hours and business locations. In other words, consumers can conduct online transactions whenever they can connect to the Internet, regardless of time or place.

線上交易處理系統(On-LineTransactionProcessing system,OLTP system)是應用關聯式資料庫(Relational Database)來處理和/或分析每日上千萬筆交易。為了維持關聯式資料庫中金融資料的一致性及完整性,線上交易處理系統通常會設計資料鎖定(Lock)的機制,以避免交易間的金融資料產生衝突。 The On-Line Transaction Processing System (OLTP system) is a relational database (Relational Database) that processes and/or analyzes tens of millions of transactions per day. In order to maintain the consistency and integrity of financial data in the associated database, online transaction processing systems usually design a data lock mechanism to avoid conflicts in financial data between transactions.

然而,當金融資料鎖定的時間過長或鎖定的金融資料範圍過 大,可能會造成其他交易活動(例如:查詢交易內容等)暫時性封鎖(Block)。一旦金融資料進入封鎖狀態,則在前台交易處理端會觸發逾時事件的訊號。舉例來說,當某一帳戶要進行線上交易時,此筆交易因此帳戶的金融資料被鎖定而被拒絕,即無法完成線上交易。 However, when financial information is locked for too long or locked in financial information Large, may cause other trading activities (such as: query transaction content, etc.) temporarily block (Block). Once the financial data enters the blocked state, the signal of the timeout event is triggered at the foreground transaction processing end. For example, when an account is to be traded online, the transaction is therefore locked because the financial information of the account is locked, that is, the online transaction cannot be completed.

在一實施例中,一種動態更新金融資料的處理系統,其包括:儲存單元、計時單元、介面單元、暫存單元以及處理單元。處理單元連接儲存單元、計時單元、介面單元與暫存單元。儲存單元儲存多個識別資料以及此些識別資料的金融資料。計時單元計時更新時間。介面單元接收此些識別資料的交易資料。暫存單元暫存接收到的交易資料。處理單元依據一批次量以及接收到的交易資料進行相同識別資料的金融資料的批次更新。其中,於進行每一批次更新時,處理單元依據當前的批次量從交易資料中取得一批更新資料、驅動計時單元、以此批更新資料更新金融資料中對應的一批金融資料、以及依據此批次更新的更新時間及時間閾值調整下一批次更新的批次量。 In an embodiment, a processing system for dynamically updating financial information includes: a storage unit, a timing unit, an interface unit, a temporary storage unit, and a processing unit. The processing unit is connected to the storage unit, the timing unit, the interface unit and the temporary storage unit. The storage unit stores a plurality of identification materials and financial information of the identification materials. Timing unit timing update time. The interface unit receives the transaction data of the identification materials. The temporary storage unit temporarily stores the received transaction data. The processing unit performs batch update of the financial data of the same identification data according to the batch quantity and the received transaction data. Wherein, in each batch update, the processing unit obtains a batch of updated data, drives the timing unit from the transaction data according to the current batch quantity, updates the corresponding batch of financial data in the financial data by using the batch update data, and The batch quantity of the next batch update is adjusted based on the update time and time threshold of this batch update.

在一實施例中,一種動態更新金融資料的方法,其適用於更新複數個識別資料的複數筆金融資料。此方法包括接收此些識別資料的交易資料、暫存接收到的交易資料、以及依據一批次量以及交易資料進行相同識別資料的金融資料的批次更新。其中,每一批次更新的進行步驟包括依據當前的批次量從接收到的交易資料中取得一批更新資料、驅動計時單元計時更新時間、以取得的此批更新資料更新金融資料中對應的一批金融資料、以及依據此批次更新的更新時間及時間閾值調整下一批次更新的批 次量。 In one embodiment, a method of dynamically updating financial information is applicable to updating a plurality of financial materials of a plurality of identification materials. The method includes receiving transaction data of the identification data, temporarily storing the received transaction data, and batch updating the financial data of the same identification data according to the batch quantity and the transaction data. The step of performing each batch update includes obtaining a batch of update data from the received transaction data according to the current batch quantity, driving the timing unit update time of the driving unit, and updating the corresponding financial information in the batch update data obtained. Batch of financial information, and batches of the next batch of updates adjusted based on the update time and time thresholds updated by this batch The second amount.

在一實施例中,一種動態調整電源配置的處理系統,其包括:介面單元、儲存單元、計時單元、電源單元、處理單元與供電電路。介面單元接收至少一筆交易資料。儲存單元儲存多筆金融資料。計時單元計時每一批次更新的反應時間。處理單元依據接收到的各交易資料進行金融資料的批次更新。供電電路受控於處理單元並且依據供電電源提供處理系統運作所需的電力。其中,處理單元更在複數個運作時段的每一運作時段中依據每一單位時間內所有批次更新的反應時間計算每一單位時間的平均反應時間,並且依據各運作時段中各單位時間的平均反應時間與時間閾值設置接續至少一運作時段中供電電路的供電模式。於此,單位時間大於零且小於運作時段。 In an embodiment, a processing system for dynamically adjusting a power supply configuration includes: an interface unit, a storage unit, a timing unit, a power supply unit, a processing unit, and a power supply circuit. The interface unit receives at least one transaction data. The storage unit stores a plurality of financial materials. The timing unit counts the reaction time for each batch update. The processing unit performs batch update of the financial data according to the received transaction data. The power supply circuit is controlled by the processing unit and provides power required to operate the system in accordance with the power supply. The processing unit calculates the average reaction time per unit time according to the reaction time of all the batch updates in each unit time in each operation period of the plurality of operation periods, and according to the average of each unit time in each operation period. The reaction time and time threshold settings are followed by a power supply mode of the power supply circuit during at least one operating period. Here, the unit time is greater than zero and less than the operating period.

在一實施例中,一種動態調整電源配置的方法,其包括:接收至少一筆金融資料、在一供電模式下依據接收到的各交易資料進行一儲存單元中所儲存的金融資料的批次更新、計時每一批次更新的反應時間、在各運作時段中依據每一單位時間內所有批次更新的反應時間計算每一單位時間的平均反應時間、以及依據各運作時段中各平均反應時間與時間閾值設置接續至少一運作時段的供電模式。於此,單位時間大於零且小於運作時段。 In an embodiment, a method for dynamically adjusting a power configuration includes: receiving at least one piece of financial data, performing batch update of a financial data stored in a storage unit according to the received transaction data in a power supply mode, Count the reaction time of each batch update, calculate the average reaction time per unit time according to the reaction time of all batch updates in each unit time, and the average reaction time and time according to each operation period. The threshold setting is followed by a power mode for at least one operating period. Here, the unit time is greater than zero and less than the operating period.

綜上,依據本發明任一實施例之動態更新金融資料的方法及其處理系統以及動態調整電源配置的方法及其處理系統,可隨時配合外部環境的變動因素(如:網路、硬體效能等)動態地調整批次量或電源配置等系統參數,以致使處理系統具有最佳化的資料處理狀態,進而降低交易 逾時事件的發生頻率,且使系統資源作最有效地利用。 In summary, the method for dynamically updating financial data according to any embodiment of the present invention, the processing system thereof, and the method for dynamically adjusting the power configuration and the processing system thereof can be matched with external environment variation factors (eg, network and hardware performance). And so on) dynamically adjust system parameters such as batch volume or power configuration so that the processing system has an optimized data processing state, thereby reducing transactions. The frequency of occurrences of time-out events and the most efficient use of system resources.

10‧‧‧處理系統 10‧‧‧Processing system

110‧‧‧儲存單元 110‧‧‧ storage unit

120‧‧‧介面單元 120‧‧‧Interface unit

130‧‧‧暫存單元 130‧‧‧Scratch unit

140‧‧‧處理單元 140‧‧‧Processing unit

150‧‧‧計時單元 150‧‧‧Time unit

160‧‧‧供電電路 160‧‧‧Power supply circuit

170‧‧‧電源單元 170‧‧‧Power unit

20‧‧‧外部裝置 20‧‧‧External devices

S10‧‧‧接收複數個識別資料的複數筆交易資料 S10‧‧‧Multiple transaction data receiving multiple identification data

S20‧‧‧暫存接收到的交易資料 S20‧‧‧ temporary storage of received transaction data

S3‧‧‧在一供電模式下依據接收到的各交易資料進行儲存單元中所儲存的金融資料的批次更新 S3‧‧‧ Batch update of financial data stored in the storage unit based on the received transaction data in a power supply mode

S30‧‧‧依據一批次量及交易資料進行相同識別資料的金融資料的批次更新 S30‧‧‧ Batch update of financial information with the same identification data based on batch quantity and transaction data

S31‧‧‧依據當前的批次量從交易資料中取得一批更新資料 S31‧‧‧Get a batch of updated information from the transaction data based on the current batch volume

S33‧‧‧驅動計時單元計時更新時間 S33‧‧‧Drive timing unit timing update time

S34‧‧‧鎖定此批更新資料對應的識別資料 S34‧‧‧Lock the identification data corresponding to this batch of updated materials

S35‧‧‧以此批更新資料更新金融資料中對應的一批金融資料 S35‧‧‧Update the corresponding batch of financial information in the financial information with this batch of updated information

S36‧‧‧釋放被鎖定的識別資料 S36‧‧‧ Release of locked identification data

S37‧‧‧依據此批更新資料的更新時間及時間閾值調整下一批次更新的批次量 S37‧‧‧Adjust the batch quantity of the next batch update according to the update time and time threshold of the batch update data

S37'‧‧‧依據此批更新資料的更新時間及時間閾值調整供電模式與下一批次更新的批次量 S37'‧‧‧ Adjust the power supply mode and the batch quantity of the next batch update according to the update time and time threshold of the batch update data

S370‧‧‧將更新時間與時間閾值相比較 S370‧‧‧Compare update time vs. time threshold

S371‧‧‧是否超出時間閾值 S371‧‧‧ Is the time threshold exceeded?

S372‧‧‧減少下一批次更新的批次量 S372‧‧‧Reducing the batch volume of the next batch update

S372'‧‧‧減少下一批次更新的批次量且將供電電路的供電模式設置為高效能模式 S372'‧‧‧Reducing the batch quantity of the next batch update and setting the power supply mode of the power supply circuit to the high performance mode

S373‧‧‧增加下一批次更新的批次量 S373‧‧‧ Increase the batch volume of the next batch update

S373'‧‧‧增加下一批次更新的批次量且將供電電路的供電模式設置為低效能模式 S373'‧‧‧Add the batch quantity of the next batch update and set the power supply mode of the power supply circuit to low performance mode

S374‧‧‧不調整下一批次更新的批次量 S374‧‧‧Do not adjust the batch quantity of the next batch update

S374'‧‧‧不調整下一批次更新的批次量且不改變供電電路的供電模式 S374'‧‧‧ does not adjust the batch quantity of the next batch update and does not change the power supply mode of the power supply circuit

S39‧‧‧有無尚未進行更新的交易資料 S39‧‧‧Is there any transaction data that has not been updated yet?

S40‧‧‧依據批次更新的歷史記錄設置下一個運作週期的初始批次量 S40‧‧‧Set the initial batch volume for the next operational cycle based on the history of the batch update

S41‧‧‧依據一既定歷史週期內進行的批次更新中更新時間最接近時間閾值的至少一者所使用的批次量產生一初始值 S41‧‧‧ An initial value is generated based on the batch quantity used by at least one of the update time closest to the time threshold in the batch update performed in a given historical period

S43‧‧‧將下一運作週期第一次進行的批次更新所使用的批次量設置為初始值 S43‧‧‧Set the batch size used for the batch update for the first time in the next operational cycle to the initial value

S50‧‧‧計時每一批次更新的反應時間 S50‧‧‧ Timed response time for each batch update

S60‧‧‧在各運作時段中依據每一單位時間內所有批次更新的反應時間計算各單位時間的平均反應時間 S60‧‧‧ Calculate the average reaction time per unit time based on the reaction time of all batch updates per unit time during each operating period

S70‧‧‧依據各運作時段中各單位時間的平均反應時間與一時間閾值設置下一運作時段的供電模式 S70‧‧‧Set the power supply mode for the next operating period based on the average response time and the time threshold for each unit time in each operating period

S71‧‧‧將每一單位時間的平均反應時間與時間閾值比較 S71‧‧‧Compare the average response time per unit time with the time threshold

S72‧‧‧是否超出時間閾值 S72‧‧‧ Is the time threshold exceeded?

S73‧‧‧將接續至少一運作時段中的供電模式設置為高效能模式 S73‧‧‧Set the power mode in at least one operating period to the high performance mode

S74‧‧‧將接續至少一運作時段中的供電模式設置為低效能模式 S74‧‧‧Set the power mode in at least one operating period to low-performance mode

S75‧‧‧不調整接續至少一運作時段中的供電模式 S75‧‧‧ does not adjust the power supply mode during at least one operating period

圖1是依據本發明一實施例之金融資料的處理系統的功能方塊圖。 1 is a functional block diagram of a financial information processing system in accordance with an embodiment of the present invention.

圖2是依據本發明一實施例的動態更新金融資料的方法的流程圖。 2 is a flow chart of a method of dynamically updating financial information in accordance with an embodiment of the present invention.

圖3是圖2中步驟S37之一示範例的流程圖。 Figure 3 is a flow chart of an exemplary embodiment of step S37 of Figure 2.

圖4是依據本發明另一實施例的動態更新金融資料的方法的局部流程圖。 4 is a partial flow chart of a method of dynamically updating financial information in accordance with another embodiment of the present invention.

圖5是依據本發明又一實施例的動態更新金融資料的方法的流程圖。 5 is a flow chart of a method of dynamically updating financial information in accordance with yet another embodiment of the present invention.

圖6是圖5中步驟S37'之一示範例的流程圖。 Figure 6 is a flow chart of an exemplary embodiment of step S37' of Figure 5.

圖7是本發明一實施例的動態調整電源配置的方法的流程圖。 7 is a flow chart of a method of dynamically adjusting a power supply configuration in accordance with an embodiment of the present invention.

圖8是圖7中步驟S70之一示範例的流程圖。 Figure 8 is a flow chart of an exemplary embodiment of step S70 of Figure 7.

圖1是依據本發明一實施例之金融資料的處理系統的功能方塊圖。參考圖1,金融資料的處理系統(以下簡稱為處理系統10)能依據系統資源進行金融資料的動態更新。處理系統10包括儲存單元110、介面單元120、暫存單元130、處理單元140以及計時單元150。處理單元140連接至儲存單元110、介面單元120、暫存單元130與計時單元150。 1 is a functional block diagram of a financial information processing system in accordance with an embodiment of the present invention. Referring to FIG. 1, a financial data processing system (hereinafter referred to as processing system 10) can dynamically update financial information according to system resources. The processing system 10 includes a storage unit 110, an interface unit 120, a temporary storage unit 130, a processing unit 140, and a timing unit 150. The processing unit 140 is connected to the storage unit 110, the interface unit 120, the temporary storage unit 130, and the timing unit 150.

儲存單元110儲存有多個識別資料以及各識別資料的金融資料。換言之,儲存單元110儲存有多筆金融資料,並且每一筆金融資料與一識別資料相關聯。舉例來說,儲存單元110中建置有關聯式資料庫,並且關聯式資料庫中記錄有多個金融帳戶的相關資訊。其中,每一金融帳戶 的相關資訊至少包括識別資料與金融資料。 The storage unit 110 stores a plurality of identification materials and financial materials of the identification materials. In other words, the storage unit 110 stores a plurality of financial materials, and each financial data is associated with an identification material. For example, an associated database is built in the storage unit 110, and related information of multiple financial accounts is recorded in the associated database. Among them, each financial account The relevant information includes at least identification data and financial information.

圖2是依據本發明一實施例的動態更新金融資料的方法的流程圖。參照圖1及圖2,在一些實施例中,介面單元120接收多個識別資料的交易資料(步驟S10)。於此,介面單元120為處理系統10的對外介面,並且可以有線或無線方式接收來自外部裝置的交易資料。 2 is a flow chart of a method of dynamically updating financial information in accordance with an embodiment of the present invention. Referring to Figures 1 and 2, in some embodiments, the interface unit 120 receives transaction data for a plurality of identification materials (step S10). Here, the interface unit 120 is an external interface of the processing system 10, and can receive transaction data from an external device in a wired or wireless manner.

在一些實施例中,識別資料包括但不限於:姓名、生日、身分證字號、手機號碼、登入帳號、登入密碼、電子憑證、PKI金鑰、銀行帳戶、金融卡的卡號、信用卡的卡號、有價卡片的卡號或儲值卡片的卡號等其中至少一項資料;金融資料包括但不限於:使用截止年月及/或背面數字碼等、卡片驗證碼、預設密碼、信用額度、存入金額、支出金額、轉帳金額、消費金額、餘額、到期日、付費方式等其中至少一項資料。例如,若識別資料是銀行帳戶的號碼,金融資料可以是帳戶餘額,且交易資料則可以是支出金額。若識別資料是信用卡的卡號,金融資料可以是信用額度,且交易資料則可以是交易金額。 In some embodiments, the identification data includes but is not limited to: name, birthday, identity card number, mobile phone number, login account number, login password, electronic voucher, PKI key, bank account, card number of the financial card, card number of the credit card, price At least one of the card number of the card or the card number of the stored value card; the financial information includes but is not limited to: the use of the deadline year and/or the back digital code, card verification code, default password, credit limit, deposit amount, At least one of the amount of the expenditure, the amount of the transfer, the amount of the purchase, the balance, the due date, and the payment method. For example, if the identification data is the bank account number, the financial information may be the account balance, and the transaction data may be the expenditure amount. If the identification data is the card number of the credit card, the financial information may be a credit line, and the transaction data may be the transaction amount.

處理單元140經由介面單元120接收到交易資料,並且先將接收到的交易資料暫存於暫存單元130中(步驟S20)。 The processing unit 140 receives the transaction data via the interface unit 120, and temporarily stores the received transaction data in the temporary storage unit 130 (step S20).

然後,處理單元140再依據一批次量與接收到的交易資料進行相同識別資料的金融資料的批次更新(步驟S30)。換言之,處理單元140會依據一批次量與接收到的交易資料以N次批次更新來對相同識別資料的金融資料進行更新。其中,N為正整數。 Then, the processing unit 140 performs batch update of the financial data of the same identification data according to the received transaction data according to the batch amount (step S30). In other words, the processing unit 140 updates the financial data of the same identification data by N batch updates according to a batch amount and the received transaction data. Where N is a positive integer.

在步驟S30的一些實施例中,於進行每一批次更新時,處理單元140依據當前的批次量從暫存的交易資料中取得一批更新資料(步驟 S31)。換言之,處理單元140從暫存單元130中取得多筆交易資料中筆數為當前的批次量的交易資料,以作為一批更新資料。 In some embodiments of step S30, when performing each batch update, the processing unit 140 obtains a batch of updated data from the temporarily stored transaction data according to the current batch amount (steps) S31). In other words, the processing unit 140 obtains, from the temporary storage unit 130, the transaction data of the current batch quantity in the plurality of transaction data as a batch of update data.

於此批更新資料開始進行更新時,處理單元140驅動計時單元150計時更新時間(步驟S33),並且以取得的此批更新資料更新金融資料中對應的一批金融資料(步驟S35)。換言之,處理單元140會控制計時單元150計時此批更新資料從開始更新到完成更新所耗費的時間(即,更新時間)。 When the batch update data starts to be updated, the processing unit 140 drives the timing unit 150 to count the update time (step S33), and updates the corresponding batch of financial data in the financial data with the obtained batch update data (step S35). In other words, the processing unit 140 controls the timing unit 150 to count the time (ie, update time) taken by the batch update data from the start of the update to the completion of the update.

舉例來說,在步驟S33的一示範例中,若金融資料為帳戶餘額且交易資料為支出金額,處理單元140將相同識別資料的帳戶餘額與支出金額相減以得到新的帳戶餘額。當新的帳戶餘額為正數時,處理單元140將新的帳戶餘額存回至儲存單元110中,即以新的帳戶餘額取代儲存單元110中原本儲存的帳戶餘額(相同識別資料)。當新的帳戶餘額為負數時,處理單元140不變更儲存單元110中原本儲存的帳戶餘額(相同識別資料)並經由介面單元120送出此交易(此識別資料的支出金額)的拒絕交易訊號。在步驟S33的另一示範例中,若金融資料是信用額度且交易資料是交易金額,處理單元140將相同識別資料的信用額度與交易金額相減以得到新的信用額度(即,剩餘信用額度)。當新的信用額度為正數時,處理單元140將新的信用額度存回至儲存單元110中,即以新的信用額度取代儲存單元110中原本儲存的信用額度(相同識別資料)。當新的信用額度為負數時,處理單元140不變更儲存單元110中原本儲存的信用額度(相同識別資料)並經由介面單元120送出此交易(此識別資料的交易金額)的拒絕交易訊號。 For example, in an example of step S33, if the financial information is an account balance and the transaction data is an expense amount, the processing unit 140 subtracts the account balance of the same identification data from the expenditure amount to obtain a new account balance. When the new account balance is positive, the processing unit 140 saves the new account balance back to the storage unit 110, that is, replaces the originally stored account balance (same identification data) in the storage unit 110 with the new account balance. When the new account balance is negative, the processing unit 140 does not change the account balance (same identification data) originally stored in the storage unit 110 and sends the rejection transaction signal of the transaction (the amount of expenditure of the identification data) via the interface unit 120. In another example of step S33, if the financial information is a credit line and the transaction data is a transaction amount, the processing unit 140 subtracts the credit amount of the same identification data from the transaction amount to obtain a new credit line (ie, the remaining credit line). ). When the new credit line is a positive number, the processing unit 140 stores the new credit line back into the storage unit 110, that is, replaces the originally stored credit line (same identification data) in the storage unit 110 with a new credit line. When the new credit limit is negative, the processing unit 140 does not change the credit amount (same identification data) originally stored in the storage unit 110 and sends the rejection transaction signal of the transaction (the transaction amount of the identification data) via the interface unit 120.

於此批更新資料完成更新時,處理單元140可以依據此批次更新的更新時間以及時間閾值(以下稱第一時間閾值)調整下一批次更新的批次量(步驟S37)。然後,處理單元140確認暫存單元130中是否還有尚未進行更新的交易資料(步驟S39)。若有尚未進行更新的交易資料,處理單元140返回執行步驟S31,即以新的批次量接續取得下一批更新資料(步驟S31)並接續執行後續步驟。若無尚未進行更新的交易資料,處理單元140即完成金融資料的批次更新作業。在一些實施例中,處理單元140每次取得更新資料時會記錄取出位置(在暫存單元130中或儲存單元110中)或標記暫存單元130中作為此批更新資料的交易資料。 When the batch update data is updated, the processing unit 140 may adjust the batch amount of the next batch update according to the update time of the batch update and the time threshold (hereinafter referred to as the first time threshold) (step S37). Then, the processing unit 140 confirms whether there is any transaction material in the temporary storage unit 130 that has not been updated (step S39). If there is transaction data that has not been updated, the processing unit 140 returns to step S31, that is, the next batch of update data is successively acquired in a new batch amount (step S31) and subsequent steps are performed. If there is no transaction data that has not been updated, the processing unit 140 completes the batch update operation of the financial data. In some embodiments, the processing unit 140 records the transaction location (in the temporary storage unit 130 or in the storage unit 110) or the token temporary storage unit 130 as transaction data of the batch update data each time the update data is acquired.

舉例來說,假設接收到的交易資料有1萬筆且當前的批次量為500筆,處理單元140依據當前的批次量取出1萬筆交易資料中的第1至500筆作為一批更新資料(第一批更新資料),並以此批更新資料進行對應的金融資料的更新作業,且於此批更新資料完成時,依據此次更新作業的處理狀態(更新時間以及第一時間閾值)調整批次量。若處理單元140依據此次更新作業的處理狀態將批次量調整為750筆,處理單元140則接續依據當前的批次量取出1萬筆交易資料中的第501至1250筆作為一批更新資料(第二批更新資料),並以此批更新資料進行對應的金融資料的更新作業,且於此批更新資料完成更新時,依據此次更新作業的處理狀態(更新時間以及第一時間閾值)調整批次量。依此類推之,直至所有交易資料都被取出過(進行更新作業)。 For example, if there is 10,000 received transaction data and the current batch size is 500, the processing unit 140 extracts 1 to 500 of the 10,000 transaction data as a batch update according to the current batch amount. The data (the first batch of updated materials), and the batch of updated data to update the corresponding financial data, and when the batch of updated data is completed, according to the processing status of the update operation (update time and first time threshold) Adjust the batch amount. If the processing unit 140 adjusts the batch amount to 750 according to the processing status of the update job, the processing unit 140 successively extracts 501 to 1250 of the 10,000 transaction data as a batch of updated data according to the current batch amount. (The second batch of updated materials), and update the data to update the corresponding financial data, and when the batch update data is updated, according to the processing status of the update operation (update time and first time threshold) Adjust the batch amount. And so on, until all transaction data has been taken out (for update operations).

在一些實施例中,在此批更新資料開始進行更新(步驟S35)之前,處理單元140可先鎖定此批更新資料對應的識別資料,即限制此些 識別資料的交易事件(步驟S34)。並且,於以此批更新資料更新對應的金融資料的過程中,對應的識別資料均保持鎖定狀態。然後,於以此批更新資料更新對應的金融資料的更新作業完成時,處理單元140再釋放被鎖定的識別資料(步驟S36)。換言之,於識別資料為鎖定狀態時,若處理系統10又接收到其他外部裝置傳來的鎖定狀態之識別資料的交易資料(以下稱為額外的交易資料),處理系統10則不會依據此些額外的交易資料進行對應的金融資料的更新作業,即拒絕此些額外的交易資料的交易。 In some embodiments, before the batch update data starts to be updated (step S35), the processing unit 140 may first lock the identification data corresponding to the batch update data, that is, limit the A transaction event identifying the material (step S34). Moreover, in the process of updating the corresponding financial data by using the batch update data, the corresponding identification data remains locked. Then, upon completion of the update operation of updating the corresponding financial data by the batch update data, the processing unit 140 releases the locked identification data again (step S36). In other words, when the identification data is in the locked state, if the processing system 10 receives the transaction data of the identification data of the locked state from other external devices (hereinafter referred to as additional transaction data), the processing system 10 does not rely on the information. The additional transaction data is used to update the corresponding financial data, that is, the transaction of rejecting the additional transaction materials.

圖3是圖2中步驟S37的一示範例的流程圖。參照圖1至3,在步驟S37的一些實施例中,於此批更新資料完成更新時,處理單元140將此批次更新所耗費的更新時間與第一時間閾值相比較(步驟S370),以判斷更新時間是否超出第一時間閾值(步驟S371)。當更新時間超出第一時間閾值且大於第一時間閾值(即更新開始後經歷第一時間閾值時此批更新資料仍有尚未進行更新的資料)時,處理單元140減少下一批次更新資料的批次量(步驟S372)。當更新時間超出第一時間閾值且小於第一時間閾值(即更新開始後在達第一時間閾值之前此批更新資料已完成更新)時,處理單元140則增加下一批次更新的批次量(步驟S373)。反之,當更新時間未超出第一時間閾值時,處理單元140可不調整下一批次更新的批次量(步驟S374)。 Figure 3 is a flow chart of an exemplary embodiment of step S37 of Figure 2. Referring to FIGS. 1 to 3, in some embodiments of step S37, when the batch update data is updated, the processing unit 140 compares the update time consumed by the batch update with the first time threshold (step S370), It is judged whether or not the update time exceeds the first time threshold (step S371). When the update time exceeds the first time threshold and is greater than the first time threshold (ie, the batch update data still has data that has not been updated when the first time threshold is experienced after the start of the update), the processing unit 140 decreases the next batch of update data. The batch amount (step S372). When the update time exceeds the first time threshold and is less than the first time threshold (ie, the batch update data has been updated before the first time threshold is reached after the start of the update), the processing unit 140 increases the batch amount of the next batch update. (Step S373). Conversely, when the update time does not exceed the first time threshold, the processing unit 140 may not adjust the batch amount of the next batch update (step S374).

在一些實施例中,第一時間閾值可為一既定數值(單一限制數值),例如0.5秒。此時,更新時間超出第一時間閾值即為更新時間大於此既定數值或小於此既定數值。而更新時間未超出第一時間閾值即為更新時間等於此既定數值。在另一些實施例中,第一時間閾值可為由一上限 數值與一下限數值所構成的限制範圍,例如0.4秒~0.6秒。此時,更新時間超出第一時間閾值即為更新時間大於上限數值或小於下限數值。而更新時間未超出第一時間閾值即為更新時間小於或等於上限數值且大於或等於下限數值。 In some embodiments, the first time threshold can be a predetermined value (single limit value), such as 0.5 seconds. At this time, if the update time exceeds the first time threshold, the update time is greater than the established value or less than the predetermined value. If the update time does not exceed the first time threshold, the update time is equal to the established value. In other embodiments, the first time threshold may be an upper limit The limit range formed by the numerical value and a lower limit value, for example, 0.4 second to 0.6 second. At this time, if the update time exceeds the first time threshold, the update time is greater than the upper limit value or less than the lower limit value. If the update time does not exceed the first time threshold, the update time is less than or equal to the upper limit value and greater than or equal to the lower limit value.

在一些實施例中,批次量的增加幅度與批次量的減少幅度可以相等。在另一些實施例中,批次量的增加幅度可小於批次量的減少幅度。換言之,處理單元140對下一批次更新的批次量所減少的量大於對下一批次更新的批次量所增加的量。如此一來,於處理系統10忙碌(更新時間大於第一時間閾值)時,可快速調降更新量(批次量),藉以減少處理系統10的資源消耗以及減少識別資料鎖定的時間,進而使識別資料的使用者能順暢地進行交易。反之,於處理系統10空閒(更新時間小於第一時間閾值)時,小幅度調升更新量(批次量),藉以避免瞬間造成處理系統10忙碌,進而使識別資料的使用者無法順暢地進行交易。舉例來說,下一批次更新的批次量的減少幅度可為當前批次量的50%,即下一批次更新的批次量可為當前批次量的50%。下一批次更新的批次量的增加幅度可為當前批次量的25%,即下一批次更新的批次量可為當前批次量的125%。在一些實施例中,批次量為正整數。當處理單元140計算出的批次量的調整量不為整數時,處理單元140可取最接近且大於調整量的整數進行批次量的調整(減少批次量或增加批次量)。在另一些實施例中,當處理單元140計算出的批次量的調整量不為整數時,處理單元140可取最接近且大於調整量的整數進行批次量的減量並取最接近且小於調整值的整數進行批次量的增量。舉例來說,假設當前批次量為25(筆交易資料)且減少幅度為 當前批次量的50%,於處理單元140欲減少批次量時,處理單元140先計算出批次量的調整量為12.5,然後處理單元140以13之調整量進行批次量的減量以得到12之批次量(即下一批次更新的批次量為12)。 In some embodiments, the magnitude of the increase in the amount of the batch may be equal to the decrease in the amount of the batch. In other embodiments, the increase in the amount of the batch may be less than the reduction in the amount of the batch. In other words, the amount by which the processing unit 140 updates the batch quantity of the next batch is greater than the amount of the batch quantity updated for the next batch. In this way, when the processing system 10 is busy (the update time is greater than the first time threshold), the update amount (batch amount) can be quickly reduced, thereby reducing the resource consumption of the processing system 10 and reducing the time for identifying the data lock, thereby enabling Users who identify the data can trade smoothly. On the other hand, when the processing system 10 is idle (the update time is less than the first time threshold), the update amount (batch amount) is increased by a small amount to avoid causing the processing system 10 to be busy in an instant, thereby making the user of the identification data unable to smoothly perform. transaction. For example, the batch amount of the next batch update may be reduced by 50% of the current batch amount, that is, the batch quantity of the next batch update may be 50% of the current batch amount. The increase in the batch quantity of the next batch update can be 25% of the current batch quantity, that is, the batch quantity of the next batch update can be 125% of the current batch quantity. In some embodiments, the batch amount is a positive integer. When the adjustment amount of the batch amount calculated by the processing unit 140 is not an integer, the processing unit 140 may adjust the batch amount (reduced batch amount or increased batch amount) by taking the integer closest to and larger than the adjustment amount. In other embodiments, when the adjustment amount of the batch amount calculated by the processing unit 140 is not an integer, the processing unit 140 may take the subtraction of the batch amount and take the closest and less than the adjustment, which is the closest and larger than the integer of the adjustment amount. The integer of the value is incremented by the amount of the batch. For example, suppose the current batch size is 25 (transaction data) and the reduction is 50% of the current batch amount. When the processing unit 140 wants to reduce the batch amount, the processing unit 140 first calculates the adjustment amount of the batch amount to be 12.5, and then the processing unit 140 performs the batch amount reduction with the adjustment amount of 13 The batch size of 12 is obtained (ie the batch quantity of the next batch update is 12).

在一些實施例中,第一時間閾值可依據所需的理想反應時間預先設定並儲存在儲存單元110中。 In some embodiments, the first time threshold may be preset and stored in the storage unit 110 depending on the desired desired reaction time.

圖4是依據本發明另一實施例的動態更新金融資料的方法的局部流程圖。在一些實施例中,參照圖4,處理單元140依據批次更新的歷史記錄(各批次更新的批次量與更新時間)設置下一個運作週期的初始批次量(步驟S40)。換言之,每次批次更新完成後,處理單元140會將此次批次更新所使用的批次量與更新時間記錄在儲存單元110中,以形成批次更新的歷史記錄,即批次更新的歷史記錄包括已執行完成之各批次更新所使用的批次量與更新時間。在一些實施例中,處理單元140可依據一既定歷史週期內進行的批次更新中更新時間最接近第一時間閾值的至少一者(一次或多個批次更新)所使用的批次量產生一初始值(步驟S41)並將下一個運作週期的第一次進行的批次更新(初始批次更新)所使用的批次量(初始批次量)設置為初始值(步驟S43)。其中,既定歷史週期可為一天或多天。以一天為例,處理單元140會以當天(下一個運作週期開始前的24小時)所有批次更新的歷史記錄來設定下一個運作週期的初始批次量。再者,既定歷史週期亦可為既定天數中的特定時段。既定天數可為一天(如,當天)、二天(如,當天和前天)、三天或更多等。特定時段可以為交易尖峰時段(如,當天23:00至隔天03:00,即每日的00:00至03:00和23:00至00:00)、用餐時段(如,07:00至9:00、11:30至14:00或19:00 至22:00等)。其中,各運作週期可為24小時、48小時、或一周等。並且,運作週期的切換點可為任意時刻。以24小時為例,運作週期的切換點可例如每日00:00、每日16:00或其他時刻等。 4 is a partial flow chart of a method of dynamically updating financial information in accordance with another embodiment of the present invention. In some embodiments, referring to FIG. 4, the processing unit 140 sets the initial batch amount of the next operational cycle in accordance with the history of the batch update (the batch amount and the update time of each batch update) (step S40). In other words, after each batch update is completed, the processing unit 140 records the batch amount and update time used by the batch update in the storage unit 110 to form a history of batch update, that is, batch update. The history includes the batch size and update time used for each batch update that has been performed. In some embodiments, processing unit 140 may generate a batch amount used in accordance with at least one (one or more batch updates) of the update time in the batch update performed within a given historical period that is closest to the first time threshold. An initial value (step S41) is set to the initial value (the initial batch amount) used for the batch update (initial batch update) performed for the first time of the next operation cycle (step S43). Among them, the established historical period can be one or more days. Taking one day as an example, the processing unit 140 sets the initial batch amount for the next operational cycle with the history of all batch updates for the current day (24 hours before the start of the next operational cycle). Furthermore, the established historical period can also be a specific time period in a given number of days. The established number of days can be one day (eg, the day), two days (eg, the day and the day before), three days or more, and the like. The specific time period can be a trading peak period (eg, 23:00 to 03:00 every day, ie 00:00 to 03:00 and 23:00 to 00:00 daily), meal time (eg, 07:00) Until 9:00, 11:30 to 14:00 or 19:00 Until 22:00, etc.). Among them, each operation cycle can be 24 hours, 48 hours, or one week. Moreover, the switching point of the operation cycle can be any time. Taking 24 hours as an example, the switching point of the operation cycle may be, for example, 00:00 daily, 16:00 daily or other time.

舉例來說,當天的所有批次更新的歷史記錄如下表一所示。參照表一,假設第一時間閾值為500毫秒,處理單元140則以2500做為次一日的初始批量。 For example, the history of all batch updates for the day is shown in Table 1 below. Referring to Table 1, assuming that the first time threshold is 500 milliseconds, the processing unit 140 uses 2500 as the initial batch of the next day.

請參照回圖1,處理系統10還可包括一供電電路160與電源單元170。電源單元170連接供電電路160。供電電路160連接至處理系統10的各組件(儲存單元110、介面單元120、暫存單元130、處理單元140以及計時單元150等)。電源單元170用以提供一供電電源。供電電路160具 有多種供電模式,並且此些供電模式包括高效能(High performance)模式和低效能模式。供電電路160受控於處理單元140並以其中一種供電模式依據供電電源提供處理系統10運作所需的電力。 Referring back to FIG. 1 , the processing system 10 can further include a power supply circuit 160 and a power supply unit 170 . The power supply unit 170 is connected to the power supply circuit 160. The power supply circuit 160 is connected to various components of the processing system 10 (the storage unit 110, the interface unit 120, the temporary storage unit 130, the processing unit 140, and the timing unit 150, etc.). The power supply unit 170 is configured to provide a power supply. Power supply circuit 160 There are multiple power modes, and these power modes include High performance mode and Low performance mode. The power supply circuit 160 is controlled by the processing unit 140 and provides power required to operate the processing system 10 in accordance with the power supply in one of the power modes.

圖5是依據本發明又一實施例的動態更新金融資料的方法的流程圖。參照圖1、4及5,於此批更新資料完成更新後,處理單元140除了選擇性調整次一日的批次量,處理單元140更依據此批更新資料的更新時間及第一時間閾值設置供電模式(步驟S37’)。 5 is a flow chart of a method of dynamically updating financial information in accordance with yet another embodiment of the present invention. Referring to Figures 1, 4 and 5, after the batch update data is updated, the processing unit 140 selectively adjusts the batch amount of the next day, and the processing unit 140 further sets the update time and the first time threshold according to the batch update data. Power supply mode (step S37').

圖6是圖5中步驟S37'之一示範例的流程圖。搭配參照圖6,在步驟S37’的一實施例中,於此批更新資料完成更新時,處理單元140將此批次更新所耗費的更新時間與第一時間閾值相比較(步驟S370),以判斷更新時間是否超出第一時間閾值(步驟S371)。當更新時間超出第一時間閾值且大於第一時間閾值(即更新開始後經歷第一時間閾值時此批更新資料仍有尚未進行更新的資料)時,處理單元140減少下一批次更新資料的批次量,且將供電電路160的供電模式設置為高效能模式(步驟S372’)。當更新時間超出第一時間閾值且小於第一時間閾值(即更新開始後在達第一時間閾值之前此批更新資料已完成更新)時,處理單元140則增加下一批次更新的批次量,且將供電電路160的供電模式設置為低效能模式(步驟S373’)。反之,當更新時間未超出第一時間閾值時,處理單元140可不調整下一批次更新的批次量且不改變供電電路160的供電模式(步驟S374’)。 Figure 6 is a flow chart of an exemplary embodiment of step S37' of Figure 5. Referring to FIG. 6, in an embodiment of step S37', when the batch update data is updated, the processing unit 140 compares the update time consumed by the batch update with the first time threshold (step S370), It is judged whether or not the update time exceeds the first time threshold (step S371). When the update time exceeds the first time threshold and is greater than the first time threshold (ie, the batch update data still has data that has not been updated when the first time threshold is experienced after the start of the update), the processing unit 140 decreases the next batch of update data. The batch amount, and the power supply mode of the power supply circuit 160 is set to the high performance mode (step S372'). When the update time exceeds the first time threshold and is less than the first time threshold (ie, the batch update data has been updated before the first time threshold is reached after the start of the update), the processing unit 140 increases the batch amount of the next batch update. And the power supply mode of the power supply circuit 160 is set to the low performance mode (step S373'). Conversely, when the update time does not exceed the first time threshold, the processing unit 140 may not adjust the batch amount of the next batch update and does not change the power supply mode of the power supply circuit 160 (step S374').

舉例來說,以識別資訊為信用卡卡號、金融資料為帳戶明細且交易資料為消費資訊為例,此時在處理系統10中的儲存單元110儲存有 多個信用卡卡號及帳戶明細(例如:消費金額、幣別、消費日期、請款日期、請款單位、總信用額度、剩餘信用額度、結帳日期、授權碼等資訊)。第一時間閾值可預設為0.5秒。介面單元120收到X筆消費資訊(例如:信用卡卡號、消費金額、消費日期、請款單位等)時,處理單元140將接收到的X筆消費資訊暫存於暫存單元130中。處理單元140開始進行批次更新。在第1次批次更新中,處理單元140依據預先設置的初始批次量(以k為例)取出從暫存單元30讀出k筆消費資訊作為第一批更新資料並鎖定此些消費資訊對應的信用卡卡號。接著,處理單元140驅動計時單元150開始計時更新時間並以讀出的第一批更新資料逐一更新存放於儲存單元110中相同信用卡卡號的帳戶明細。就一筆更新資料的更新作業來說,處理單元140以消費資訊(更新資料)中的信用卡卡號找到對應相同信用卡卡號的帳戶明細,並以消費資訊中的消費金額確認找出的帳戶明細中的剩餘信用額度是否足夠。於消費金額小於或等於剩餘信用額度時,處理單元140將消費資訊中的信用卡卡號、消費金額、消費日期、請款單位等基本資訊增加至帳戶明細中,並且將帳戶明細中記錄的原始剩餘信用額度扣除消費金額以生成新的剩餘信用額度(即,帳戶明細中記錄的剩餘信用額度更新為新的剩餘信用額度)。於完成第一批更新資料中所有消費資訊的更新作業時,處理單元140控制計時單元150停止以得到第一批更新資料的更新作業所耗費的更新時間,並依據得到的更新時間與第一時間閾值(以0.5秒為例)決定是否調整批次量。換言之,當第i批更新資料的更新時間少於0.5秒時,處理單元140增加第i+1次批次更新的批次量。反之,當第N批更新資料的更新時間超過0.5秒時,處理單元140則減少第i+1次批次更 新的批次量。其中,處理單元140可於讀出更新時間後或下一批更新資料的更新作業開始前先將計時單元150歸零。於此,X為正整數、k為小於X的正整數,且i為小於X的正整數。 For example, taking the identification information as the credit card number, the financial information as the account details, and the transaction data as the consumption information, for example, the storage unit 110 in the processing system 10 stores Multiple credit card numbers and account details (for example: consumption amount, currency, consumption date, payment date, payment unit, total credit limit, remaining credit limit, checkout date, authorization code, etc.). The first time threshold can be preset to 0.5 seconds. When the interface unit 120 receives the X-pen consumption information (for example, the credit card number, the consumption amount, the purchase date, the payment unit, and the like), the processing unit 140 temporarily stores the received X-pen consumption information in the temporary storage unit 130. Processing unit 140 begins batch update. In the first batch update, the processing unit 140 reads out the k-pen consumption information from the temporary storage unit 30 as the first batch of update data and locks the consumption information according to the preset initial batch amount (for example, k). The corresponding credit card number. Next, the processing unit 140 drives the timing unit 150 to start the timing update time and update the account details of the same credit card number stored in the storage unit 110 one by one with the read first batch of update data. For an update operation of the update data, the processing unit 140 finds the account details corresponding to the same credit card number by the credit card number in the consumption information (update data), and confirms the remaining in the account details found by the consumption amount in the consumption information. Is the credit line sufficient? When the consumption amount is less than or equal to the remaining credit limit, the processing unit 140 adds basic information such as the credit card number, the consumption amount, the consumption date, the payment unit, and the like to the account details in the consumption information, and the original remaining credit recorded in the account details. The amount is deducted from the spending amount to generate a new remaining credit line (ie, the remaining credit line recorded in the account details is updated to the new remaining credit line). When the update operation of all the consumption information in the first batch of update materials is completed, the processing unit 140 controls the update time that the timing unit 150 stops to obtain the update operation of the first batch of update materials, and according to the obtained update time and the first time. The threshold (in 0.5 seconds) determines whether to adjust the batch amount. In other words, when the update time of the i-th batch of update materials is less than 0.5 seconds, the processing unit 140 increases the batch amount of the (i+1)th batch update. On the other hand, when the update time of the Nth batch of update data exceeds 0.5 seconds, the processing unit 140 reduces the i+1th batch. The new batch amount. The processing unit 140 may reset the timing unit 150 to zero after the update time is read or before the update operation of the next batch of update data begins. Here, X is a positive integer, k is a positive integer smaller than X, and i is a positive integer smaller than X.

此外,當第i批更新資料的更新時間超過0.5秒時,處理單元140還會生成高效能信號給供電電路160。然後,供電電路160響應此高效能信號提升輸出功率(即供電電路160的供電模式切換為高效能模式)。或者,當第i批更新資料的更新時間少於0.5秒時,處理單元140生成低效能信號給供電電路160。然後,供電電路160響應此低效能信號降低輸出功率(即供電電路160的供電模式切換為低效能模式)。 In addition, when the update time of the i-th batch update data exceeds 0.5 seconds, the processing unit 140 also generates a high-performance signal to the power supply circuit 160. Then, the power supply circuit 160 boosts the output power in response to the high-performance signal (ie, the power supply mode of the power supply circuit 160 is switched to the high-performance mode). Alternatively, when the update time of the i-th batch of update data is less than 0.5 seconds, the processing unit 140 generates a low-performance signal to the power supply circuit 160. Then, the power supply circuit 160 reduces the output power in response to the low performance signal (ie, the power supply mode of the power supply circuit 160 is switched to the low performance mode).

於此,處理單元140可以24小時為一個運作週期。於第t個運作週期結束時(第t+1個運作周期的一開始),處理單元140可以依據第t個運作週期中所有批次更新的歷史記錄中更新時間最接近0.5秒的一次批次更新所使用的批次量以作為第t+1個運作周期的第1次批次更新的批次量(初始批次量)。或者,處理單元140可以依據第t個運作週期中所有批次更新的歷史記錄中找出更新時間最接近0.5秒的10次批次更新所使用的批次量,並且計算出此10個批次量的平均批次量作為第t+1個運作周期第1次批次更新的批次量(初始批次量)。 Here, the processing unit 140 can be an operation cycle of 24 hours. At the end of the tth operational cycle (the beginning of the t+1th operational cycle), the processing unit 140 may perform a batch with the update time closest to 0.5 seconds in the history of all batch updates in the tth operational cycle. The batch amount used is updated to be the batch amount (initial batch amount) of the first batch update of the t+1th operation cycle. Alternatively, the processing unit 140 may find the batch quantity used for 10 batch updates with the update time closest to 0.5 seconds according to the history of all batch updates in the tth operation cycle, and calculate the 10 batches. The average batch size of the quantity is used as the batch quantity (initial batch quantity) of the first batch update of the t+1th operation cycle.

在一些實施例中,金融資料的處理系統(以下簡稱為處理系統10)還能依據系統資源進行電源配置的動態調整。圖7是依據本發明一實施例的動態調整電源配置的方法的流程圖。參照圖1及7,在一些實施例中,介面單元120接收複數筆金融資料(步驟S10),並且處理單元140將經由介面單元120接收到交易資料暫存於暫存單元130中(步驟S20)。然 後,處理單元140在一供電模式下(即供電電路160是以此供電模式進行供電)依據接收到的各交易資料進行儲存單元110中所儲存的金融資料的批次更新(步驟S3)。在步驟S3的一些實施例中,金融資料的批次更新的執行方式可如同前述實施例所述之步驟S30的執行流程。 In some embodiments, the processing system of the financial data (hereinafter referred to as the processing system 10) can also dynamically adjust the power configuration according to the system resources. 7 is a flow chart of a method of dynamically adjusting a power supply configuration in accordance with an embodiment of the present invention. Referring to FIGS. 1 and 7, in some embodiments, the interface unit 120 receives a plurality of financial materials (step S10), and the processing unit 140 temporarily stores the transaction data received in the temporary storage unit 130 via the interface unit 120 (step S20). . Of course Thereafter, the processing unit 140 performs a batch update of the financial data stored in the storage unit 110 in accordance with the received transaction data in a power supply mode (ie, the power supply circuit 160 is powered by the power supply mode) (step S3). In some embodiments of step S3, the batch update of the financial data may be performed in the same manner as the execution flow of step S30 described in the foregoing embodiment.

並且,處理單元140控制計時單元150計時每一批次更新的一反應時間(步驟S50)。其中,單位時間大於零。 And, the processing unit 140 controls the timing unit 150 to count a reaction time for each batch update (step S50). Among them, the unit time is greater than zero.

於此,處理單元140在各運作時段中依據每一單位時間內所有批次更新的反應時間計算每一單位時間的平均反應時間(步驟S60)。其中,時間區段小於運作時段且為單位時間的複數倍。 Here, the processing unit 140 calculates an average reaction time per unit time according to the reaction time of all batch updates per unit time in each operation period (step S60). The time segment is less than the operating period and is a multiple of the unit time.

然後,處理單元140會依據各運作時段中每一單位時間的平均反應時間與一時間閾值(以下稱第二時間閾值)設置接續至少一運作時段(如,下一運作時段或下二運作時段等)中供電電路160的供電模式(步驟S70)。 Then, the processing unit 140 sets the at least one operating period according to the average reaction time per unit time in each operating period and a time threshold (hereinafter referred to as a second time threshold) (eg, the next operating period or the next operating period, etc.) The power supply mode of the power supply circuit 160 (step S70).

圖8是圖7中步驟S70的一示範例的流程圖。參照圖1、7及8,在步驟S70的一些實施例中,在任一運作時段中,處理單元140將每一時間區段的平均反應時間與第二時間閾值比較(步驟S71),以確認是否超出第二時間閾值(步驟S72)。當任一時間區段的平均反應時間大於第二時間閾值(即超出第二時間閾值)時,處理單元140將接續至少一運作時段中供電電路160的供電模式設置為高效能模式(步驟S73)。當所有時間區段的平均反應時間均小於於第二時間閾值(即超出第二時間閾值)時,處理單元140將接續至少一運作時段中供電電路160的供電模式設置為低效能模式(步驟S74)。反之,當任一時間區段的平均反應時間等於 第二時間閾值且未有任一時間區段的平均反應時間大於第二時間閾值(未超出第二時間閾值)時,處理單元140可不調整接續至少一運作時段中供電電路160的供電模式(步驟S75)。在一些實施例中,於進行高效能模式的設置的運作時段的數量可於相同於於進行低效能模式的設置的運作時段的數量。然而,於進行高效能模式的設置的運作時段的數量亦可於不同於於進行低效能模式的設置的運作時段的數量。舉例來說,當任一時間區段的平均反應時間大於第二時間閾值時,處理單元140可將接續二個運作時段中供電電路160的供電模式設置為高效能模式。而當所有時間區段的平均反應時間均小於第二時間閾值時,處理單元140則是將下一運作時段中供電電路160的供電模式設置為低效能模式。在一些實施例中,在下一運作時段的供電模式已進行設置時,無論當前運作時段的比較結果(步驟S72)為何皆不調整下一運作時段的供電模式。即,步驟S73與步驟S74的設置為強制設置。 Figure 8 is a flow chart of an exemplary embodiment of step S70 of Figure 7. Referring to Figures 1, 7, and 8, in some embodiments of step S70, in any operational period, processing unit 140 compares the average reaction time for each time segment to a second time threshold (step S71) to confirm whether The second time threshold is exceeded (step S72). When the average reaction time of any time zone is greater than the second time threshold (ie, the second time threshold is exceeded), the processing unit 140 sets the power supply mode of the power supply circuit 160 in the at least one operating period to the high performance mode (step S73). . When the average reaction time of all the time segments is less than the second time threshold (ie, the second time threshold is exceeded), the processing unit 140 sets the power supply mode of the power supply circuit 160 in the at least one operating period to the low performance mode (step S74). ). Conversely, when the average reaction time of any time zone is equal to The processing unit 140 may not adjust the power supply mode of the power supply circuit 160 in the at least one operating period after the second time threshold and the average reaction time of the time period is not greater than the second time threshold (the second time threshold is not exceeded). S75). In some embodiments, the number of operational periods in which the setting of the high performance mode is performed may be the same as the number of operational periods in which the setting of the low performance mode is performed. However, the number of operational periods in which the setting of the high performance mode is performed may also be different from the number of operational periods in which the setting of the low performance mode is performed. For example, when the average reaction time of any time period is greater than the second time threshold, the processing unit 140 may set the power supply mode of the power supply circuit 160 in the two operating periods to the high performance mode. When the average reaction time of all the time segments is less than the second time threshold, the processing unit 140 sets the power supply mode of the power supply circuit 160 to the low performance mode in the next operating period. In some embodiments, when the power supply mode of the next operation period has been set, the power supply mode of the next operation period is not adjusted regardless of the comparison result of the current operation period (step S72). That is, the setting of step S73 and step S74 is a forced setting.

在一些實施例中,第二時間閾值可為一既定數值(單一限制數值),例如0.5秒。在另一些實施例中,第二時間閾值可為由一上限數值與一下限數值所構成的限制範圍,例如0.4秒~0.6秒。此時,大於第二時間閾值即為大於上限數值、小於第二時間閾值即為小於下限數值,而等於第二時間閾值即為小於或等於上限數值且大於或等於下限數值。於此,第二時間閾值可相同於前述之第一時間閾值,或者不同於前述之第一時間閾值。 In some embodiments, the second time threshold can be a predetermined value (single limit value), such as 0.5 seconds. In other embodiments, the second time threshold may be a limit range consisting of an upper limit value and a lower limit value, such as 0.4 seconds to 0.6 seconds. At this time, the second time threshold is greater than the upper limit value, and less than the second time threshold is less than the lower limit value, and the second time threshold is equal to or less than the upper limit value and greater than or equal to the lower limit value. Here, the second time threshold may be the same as the aforementioned first time threshold or different from the aforementioned first time threshold.

舉例來說,假設每一運作時段為半小時且單位時間為一分鐘。以18:00為例,處理單元140計算18:00至18:30期間每一分鐘內所進行 的所有批次更新的反應時間的平均值(即平均反應時間),然後將計算得的每一分鐘的平均反應時間與第二時間閾值(以0.5秒為例)比較。於任一分鐘的平均反應時間大於0.5秒時,處理單元140將18:30至19:00期間供電電路160的供電模式設置為高效能模式或者將18:30至19:30期間供電電路160的供電模式設置為低效能模式。於每一分鐘的平均反應時間皆小於0.5秒時,處理單元140將18:30至19:00期間供電電路160的供電模式設置為低效能模式或者將18:30至19:30期間供電電路160的供電模式設置為低效能模式。 For example, assume that each operating period is half an hour and the unit time is one minute. Taking 18:00 as an example, the processing unit 140 calculates every minute during the period from 18:00 to 18:30. The average of the reaction times for all batches updated (ie, the average reaction time), and then the calculated average reaction time per minute is compared to a second time threshold (for example, 0.5 seconds). When the average reaction time of any one minute is greater than 0.5 seconds, the processing unit 140 sets the power supply mode of the power supply circuit 160 during the period of 18:30 to 19:00 to the high performance mode or the power supply circuit 160 during the period of 18:30 to 19:30. The power mode is set to low performance mode. When the average reaction time per minute is less than 0.5 seconds, the processing unit 140 sets the power supply mode of the power supply circuit 160 to the low performance mode during the period of 18:30 to 19:00 or the power supply circuit 160 during the period of 18:30 to 19:30. The power mode is set to low performance mode.

在一些實施例中,處理單元140還可將一特定時段中供電電路160的供電模式強制設置為高效能模式,即不受前述比較結果(步驟S72)而改變。其中,特定時段可以為交易尖峰時段(如,當天23:00至隔天03:00,即每日的00:00至03:00和23:00至00:00)、用餐時段(如,07:00至9:00、11:30至14:00或19:00至22:00等)。 In some embodiments, the processing unit 140 may also force the power supply mode of the power supply circuit 160 in a certain period of time to be a high performance mode, that is, not subject to the aforementioned comparison result (step S72). Among them, the specific time period can be a trading peak period (for example, from 23:00 to 03:00 every day, that is, daily 00:00 to 03:00 and 23:00 to 00:00), and dining time (for example, 07) :00 to 9:00, 11:30 to 14:00, or 19:00 to 22:00, etc.).

需注意的是,雖然前述依序描述各步驟,但此順序並非本發明之限制,熟習相關技藝者應可瞭解在合理情況下部分步驟的執行順序可同時進行或先後對調。 It should be noted that although the foregoing steps are described in order, the order is not limited by the present invention, and those skilled in the art should understand that the order of execution of the partial steps may be performed simultaneously or sequentially in a reasonable situation.

在一些實施例中,處理單元140可以由一個或多個處理元件實現。於此,各處理元件可以是微處理器、微控制器、數位信號處理器、微型計算機、中央處理器、場編程閘陣列、可編程邏輯設備、狀態器、邏輯電路、類比電路、數位電路和/或任何基於操作指令操作信號(類比和/或數位)的裝置,但在此並不對其限制。 In some embodiments, processing unit 140 may be implemented by one or more processing elements. Here, each processing element may be a microprocessor, a microcontroller, a digital signal processor, a microcomputer, a central processing unit, a field programming gate array, a programmable logic device, a state device, a logic circuit, an analog circuit, a digital circuit, and / or any device that operates on signals (analog and/or digits) based on operational instructions, but is not limited thereto.

在一些實施例中,儲存單元110可由一個或多個儲存元件所 實現。於此,各儲存元件可以是例如各式記憶體或暫存器等,但在此並不對其限制。在一些實施例中,暫存單元130可由一個或多個暫存器所實現,但在此並不對其限制。 In some embodiments, the storage unit 110 can be comprised of one or more storage elements achieve. Here, each storage element may be, for example, a memory or a temporary storage device, but is not limited thereto. In some embodiments, the temporary storage unit 130 may be implemented by one or more registers, but is not limited thereto.

在一些實施例中,介面單元120可為一周邊裝置的連接埠或一網路模組。其中,連接埠可以是符合通用序列匯流排標準(Universal Serial Bus,USB)、並列先進附件(Parallel Advanced Technology Attachment,PATA)標準、電氣和電子工程師協會(Institute of Electrical and Electronic Engineers,IEEE)1394標準、高速周邊零件連接介面(Peripheral Component Interconnect Express,PCI Express)標準、序列先進附件(Serial Advanced Technology Attachment,SATA)標準、超高速一代(Ultra High Speed-I,UHS-I)介面標準、超高速二代(Ultra High Speed-II,UHS-II)介面標準、安全數位(Secure Digital,SD)介面標準、記憶棒(Memory Stick,MS)介面標準、多媒體儲存卡(Multi Media Card,MMC)介面標準、小型快閃(Compact Flash,CF)介面標準、整合式驅動電子介面(Integrated Device Electronics,IDE)標準或其他適合的標準的連接埠。再者,網路模組可以是能進行無線傳輸及/或有線傳輸的網路模組,例如:Wi-Fi模組、藍芽模組、乙太網路模組等,但並不限制於此。 In some embodiments, the interface unit 120 can be a connection device or a network module of a peripheral device. The connection port can be a Universal Serial Bus (USB), a Parallel Advanced Technology Attachment (PATA) standard, and an Institute of Electrical and Electronic Engineers (IEEE) 1394 standard. , High-speed Peripheral Component Interconnect Express (PCI Express) standard, Serial Advanced Technology Attachment (SATA) standard, Ultra High Speed-I (UHS-I) interface standard, Super High Speed II (Ultra High Speed-II, UHS-II) interface standard, Secure Digital (SD) interface standard, Memory Stick (MS) interface standard, Multimedia Memory Card (MMC) interface standard, Compact Flash (CF) interface standard, Integrated Device Electronics (IDE) standard or other suitable standard interface. Furthermore, the network module can be a network module capable of wireless transmission and/or wired transmission, for example, a Wi-Fi module, a Bluetooth module, an Ethernet module, etc., but is not limited to this.

在一些實施例中,前述之外部裝置可為遠端主機或刷卡機等。其中,遠端主機可為伺服器、各式電腦、行動電話、智慧型家電等。 In some embodiments, the aforementioned external device may be a remote host or a card reader or the like. Among them, the remote host can be a server, various computers, mobile phones, smart home appliances, and the like.

在一些實施例中,前述之電源單元170可為用以儲存供電電源的電池模組或用以接收外部電源以作為供電電源的電源輸入界面(如, 電源線插槽)。 In some embodiments, the foregoing power supply unit 170 may be a battery module for storing a power supply or a power input interface for receiving an external power supply as a power supply (eg, Power cord slot).

在一些實施例中,低效能模式可為平衡(Balanced)模式或省電(Power saver)模式。 In some embodiments, the low performance mode can be a Balanced mode or a Power saver mode.

綜上,依據本發明任一實施例之動態更新金融資料的方法及其處理系統以及動態調整電源配置的方法及其處理系統,可隨時配合外部環境的變動因素(如:網路、硬體效能等)動態地調整批次量或電源配置等系統參數,以致使處理系統具有最佳化的資料處理狀態,進而降低交易逾時事件的發生頻率,且使系統資源作最有效地利用。此外,還可利用歷史記錄來設定適合的初始參數,使處理系統在準備執行資料運算及更新之前已是最佳化的狀態。 In summary, the method for dynamically updating financial data according to any embodiment of the present invention, the processing system thereof, and the method for dynamically adjusting the power configuration and the processing system thereof can be matched with external environment variation factors (eg, network and hardware performance). And so on) dynamically adjust system parameters such as batch size or power configuration, so that the processing system has an optimized data processing state, thereby reducing the frequency of transaction timeout events and making the most efficient use of system resources. In addition, history can be used to set appropriate initial parameters so that the processing system is optimized before it is ready to perform data operations and updates.

Claims (26)

一種動態更新金融資料的處理系統,包括:一儲存單元,儲存複數個識別資料以及該些識別資料的複數筆金融資料;一計時單元,計時一更新時間;一介面單元,接收該些識別資料的複數筆交易資料;一暫存單元,暫存接收到的該些交易資料;以及一處理單元,連接該儲存單元、該計時單元、該介面單元與該暫存單元,依據一批次量以及該些交易資料進行相同該些識別資料的該些金融資料的批次更新;其中,於進行每一該批次更新時,該處理單元依據當前的該批次量從該些交易資料中取得一批更新資料、驅動該計時單元、以該批更新資料更新該些金融資料中對應的一批金融資料、以及依據該批更新資料的該更新時間及一時間閾值調整下一該批次更新的該批次量。 A processing system for dynamically updating financial data, comprising: a storage unit, storing a plurality of identification materials and a plurality of financial data of the identification materials; a timing unit, timing an update time; and an interface unit receiving the identification data a plurality of transaction data; a temporary storage unit temporarily storing the received transaction data; and a processing unit connecting the storage unit, the timing unit, the interface unit and the temporary storage unit, according to a batch amount and the The transaction data carries out batch update of the financial materials of the same identification data; wherein, when each batch update is performed, the processing unit obtains a batch from the transaction materials according to the current batch quantity Updating the data, driving the timing unit, updating the corresponding batch of financial materials in the financial data with the batch update data, and adjusting the batch of the next batch update according to the update time and a time threshold of the batch update data The second amount. 如請求項1所述之動態更新金融資料的處理系統,其中當該處理單元於該更新時間的長度小於該時間閾值時,該處理單元增加下一該批次更新的該批次量;以及當該處理單元於該更新時間的長度大於該時間閾值時,該處理單元減少下一該批次更新的該批次量。 The processing system for dynamically updating financial information according to claim 1, wherein when the processing unit has a length of the update time that is less than the time threshold, the processing unit increases the batch amount of the next batch update; The processing unit reduces the batch amount of the next batch update when the length of the update time is greater than the time threshold. 如請求項2所述之動態更新金融資料的處理系統,其中該批次量的增加幅度大於該批次量的減少幅度。 A processing system for dynamically updating financial information as described in claim 2, wherein the increase in the batch amount is greater than the decrease in the batch amount. 如請求項1所述之動態更新金融資料的處理系統,其中該處理單元更依據一既定歷史週期內的該些批次更新中該更新時間最接近該 時間閾值的至少一批次更新所使用的該批次量產生一初始值並將下一個運作周期的初始批次更新的批次量設置為該初始值。 The processing system for dynamically updating financial information according to claim 1, wherein the processing unit is further adapted to the update time in the batch update in a predetermined historical period. The batch amount used for at least one batch update of the time threshold produces an initial value and sets the batch amount of the initial batch update for the next operational cycle to the initial value. 如請求項1所述之動態更新金融資料的處理系統,更包括:一電源單元,儲存一供電電源;以及一供電電路,連接該儲存單元、該計時單元、該介面單元、該暫存單元、該處理單元與該電源單元,受控於該處理單元以及依據該供電電源提供該介面單元、該儲存單元、該計時單元與該處理單元運作所需的電力;其中,於每一該批次更新時,該處理單元更依據該批更新資料的該更新時間及該時間閾值配置該供電電路的供電模式。 The processing system for dynamically updating financial information according to claim 1, further comprising: a power supply unit for storing a power supply; and a power supply circuit connecting the storage unit, the timing unit, the interface unit, the temporary storage unit, The processing unit and the power supply unit are controlled by the processing unit and the power required to operate the interface unit, the storage unit, the timing unit and the processing unit according to the power supply; wherein each batch is updated The processing unit further configures the power supply mode of the power supply circuit according to the update time of the batch update data and the time threshold. 如請求項5所述之動態更新金融資料的處理系統,其中於該更新時間大於該時間閾值時,該處理單元將該供電電路的該供電模式配置為高效能模式,以及於該更新時間小於該時間閾值時,該處理單元將該供電電路的該供電模式配置為低效能模式。 The processing system for dynamically updating financial information according to claim 5, wherein when the update time is greater than the time threshold, the processing unit configures the power supply mode of the power supply circuit to a high performance mode, and the update time is less than the At the time threshold, the processing unit configures the power supply mode of the power supply circuit to a low performance mode. 如請求項1所述之動態更新金融資料的處理系統,其中該介面單元為一周邊裝置的連接埠或一網路模組。 The processing system for dynamically updating financial information according to claim 1, wherein the interface unit is a connection device of a peripheral device or a network module. 如請求項1所述之動態更新金融資料的處理系統,其中於以該批更新資料更新對應的該批金融資料的過程中,該處理單元鎖定該批更新資料對應的該些識別資料。 The processing system for dynamically updating financial information according to claim 1, wherein in the process of updating the corresponding batch of financial materials with the batch of updated materials, the processing unit locks the identification materials corresponding to the batch of updated materials. 一種動態更新金融資料的方法,適用於更新複數個識別資料的複數筆金融資料,該方法包括:接收該些識別資料的複數筆交易資料;暫存接收到的該些交易資料;以及 依據一批次量以及該些交易資料進行相同該些識別資料的該些金融資料的批次更新,其中每一該批次更新的該進行步驟包括:依據當前的該批次量從該些交易資料中取得一批更新資料;驅動一計時單元計時一更新時間;以該批更新資料更新該些金融資料中對應的一批金融資料;以及依據該批更新資料的該更新時間及一時間閾值調整下一該批次更新的該批次量。 A method for dynamically updating financial information, which is suitable for updating a plurality of financial materials of a plurality of identification materials, the method comprising: receiving a plurality of pieces of transaction data of the identification data; temporarily storing the received transaction materials; Performing batch update of the financial materials of the same identification data according to a batch quantity and the transaction materials, wherein the performing step of each batch update comprises: from the current transactions according to the current batch quantity Obtaining a batch of updated data in the data; driving a timing unit to update the time; updating the corresponding batch of financial data in the financial data with the batch of updated data; and adjusting the update time and a time threshold according to the batch of updated data The batch amount of the next batch update. 如請求項9所述之動態更新金融資料的方法,其中該調整步驟包括:當該更新時間小於該時間閾值時,增加下一該批次更新的該批次量;以及當該更新時間大於該時間閾值時,減少下一該批次更新的該批次量。 The method for dynamically updating financial information according to claim 9, wherein the adjusting step comprises: increasing the batch amount of the next batch update when the update time is less than the time threshold; and when the update time is greater than the At the time threshold, the amount of the batch that is updated for the next batch is reduced. 如請求項10所述之動態更新金融資料的方法,其中該批次量的增加幅度大於該批次量的減少幅度。 The method of dynamically updating financial information as claimed in claim 10, wherein the increase in the batch amount is greater than the decrease in the batch amount. 如請求項9所述之動態更新金融資料的方法,更包括:依據一既定歷時週期內的該些批次更新中該更新時間為最接近該時間閾值的至少一批次更新所使用的該批次量產生一初始值並將下一運作週期的初始批次更新的批次量設置為該初始值。 The method for dynamically updating financial information according to claim 9, further comprising: updating the batch used according to the batch update in the predetermined duration period that the update time is at least one batch closest to the time threshold. The secondary quantity produces an initial value and sets the batch amount of the initial batch update for the next operational cycle to the initial value. 如請求項9所述之動態更新金融資料的方法,其中每一該批次更新的該進行步驟更包括:依據該批更新資料的該更新時間及該時間閾值設置供電模式。 The method for dynamically updating financial information according to claim 9, wherein the performing step of each of the batch updates further comprises: setting a power supply mode according to the update time of the batch update data and the time threshold. 如請求項13所述之動態更新金融資料的方法,其中於該更新時間大於該時間閾值時,設置該供電模式為高效能模式;以及於該更新時間小於該時間閾值時,設置該供電模式為低效能模式。 The method for dynamically updating financial information according to claim 13, wherein when the update time is greater than the time threshold, setting the power supply mode to a high performance mode; and when the update time is less than the time threshold, setting the power supply mode to Low performance mode. 如請求項9所述之動態更新金融資料的方法,其中該接收步驟包括經由周邊裝置的連接埠或網路接收該些識別資料的該些交易資料。 The method of dynamically updating financial information as claimed in claim 9, wherein the receiving step comprises receiving the transaction materials of the identification materials via a connection or a network of the peripheral device. 如請求項9所述之動態更新金融資料的方法,其中於每一該批次更新的該進行步驟更包括:於以該批更新資料更新對應的該批金融資料的過程中,鎖定該批更新資料對應的該些識別資料。 The method for dynamically updating financial information according to claim 9, wherein the performing step of each batch update further comprises: locking the batch update in the process of updating the corresponding batch of financial materials by using the batch update data. The identification data corresponding to the data. 一種動態調整電源配置的處理系統,包括:一介面單元,接收至少一筆交易資料;一儲存單元,儲存複數筆金融資料;一計時單元,計時每一批次更新的反應時間;一電源單元,提供一供電電源;一處理單元,連接該介面單元、該儲存單元、該計時單元與該電源單元,依據接收到的各該交易資料進行該些金融資料的至少一次該批次更新;及一供電電路,連接該介面單元、該儲存單元、該計時單元、該電源單元與該處理單元,受控於該處理單元以及依據該供電電源提供該處理系統運作所需的電力; 其中,該處理單元更在複數個運作時段的每一該運作時段中依據每一單位時間內所有該批次更新的該反應時間計算各該單位時間的平均反應時間以及依據各該運作時段中各該單位時間的該平均反應時間與一時間閾值設置接續至少一該運作時段中該供電電路的供電模式,其中該單位時間大於零且小於該運作時段。 A processing system for dynamically adjusting a power supply configuration, comprising: an interface unit that receives at least one transaction data; a storage unit that stores a plurality of financial data; a timing unit that counts response times of each batch update; and a power supply unit that provides a power supply unit; a processing unit connecting the interface unit, the storage unit, the timing unit and the power supply unit, performing at least one batch update of the financial materials according to the received transaction data; and a power supply circuit Connecting the interface unit, the storage unit, the timing unit, the power supply unit and the processing unit, controlled by the processing unit and providing power required for operation of the processing system according to the power supply; Wherein, the processing unit further calculates an average reaction time of each unit time according to the reaction time of all the batch updates in each unit time in each of the operation periods of the plurality of operation periods, and according to each of the operation periods The average reaction time per unit time and a time threshold setting are subsequent to at least one power supply mode of the power supply circuit during the operation period, wherein the unit time is greater than zero and less than the operation period. 如請求項17所述之動態調整電源配置的處理系統,其中當在該運作時段中的該些平均反應時間均小於該時間閾值時,該處理單元將接續至少一該運作時段中該供電電路的該供電模式設置為低效能模式。 The processing system for dynamically adjusting a power configuration as described in claim 17, wherein the processing unit is to continue the power supply circuit in at least one of the operating periods when the average response time in the operating period is less than the time threshold This power mode is set to low performance mode. 如請求項17或18所述之動態調整電源配置的處理系統,其中當在該運作時段中的任一該平均反應時間大於該時間閾值時,該處理單元將接續至少一該運作時段中該供電電路的該供電模式設置為高效能模式。 The processing system for dynamically adjusting a power configuration as described in claim 17 or 18, wherein, when any one of the operating periods is greater than the time threshold, the processing unit continues the power supply for at least one of the operating periods This power mode of the circuit is set to the high efficiency mode. 如請求項17所述之動態調整電源配置的處理系統,其中該處理單元將一特定時段中該供電電路的該供電模式強制設置為高效能模式。 A processing system for dynamically adjusting a power configuration as described in claim 17, wherein the processing unit forcibly sets the power supply mode of the power supply circuit to a high performance mode for a specific period of time. 如請求項17所述之動態調整電源配置的處理系統,其中該介面單元為一周邊裝置的連接埠或一網路模組。 The processing system for dynamically adjusting the power configuration as described in claim 17, wherein the interface unit is a connection device of a peripheral device or a network module. 一種動態調整電源配置的方法,包括:接收至少一筆交易資料;在一供電模式下依據接收到的各該交易資料進行一儲存單元中所儲存的金融資料的批次更新;計時各該批次更新的反應時間; 在各運作時段中依據每一單位時間內所有該批次更新的該反應時間計算各該單位時間的平均反應時間,其中該單位時間大於零且小於該運作時段;以及依據各該運作時段中各該平均反應時間與一時間閾值設置接續至少一該運作時段的該供電模式。 A method for dynamically adjusting a power supply configuration includes: receiving at least one transaction data; performing a batch update of a financial data stored in a storage unit according to each received transaction data in a power supply mode; timing each batch update Reaction time Calculating, in each operation period, an average reaction time of each unit time according to the reaction time of all the batch updates in each unit time, wherein the unit time is greater than zero and less than the operation period; and according to each of the operation periods The average reaction time and a time threshold are set to follow the power supply mode for at least one of the operational periods. 如請求項22所述之動態調整電源配置的方法,其中當在該運作時段中的任一該平均反應時間大於該時間閾值時,將接續至少一該運作時段中該供電電路的該供電模式設置為高效能模式。 The method of dynamically adjusting a power configuration as described in claim 22, wherein when any one of the operating periods is greater than the time threshold, the power mode setting of the power supply circuit in at least one of the operating periods is continued For high performance mode. 如請求項22或23所述之動態調整電源配置的方法,其中當在該運作時段中的該些平均反應時間均小於該時間閾值時,將接續至少一該運作時段中的該供電模式設置為低效能模式。 The method of dynamically adjusting a power configuration as described in claim 22 or 23, wherein when the average reaction time in the operation period is less than the time threshold, the power supply mode in the at least one operation period is set to Low performance mode. 如請求項22所述之動態調整電源配置的方法,更包括:將一特定時段的該供電模式強制設置為高效能模式。 The method for dynamically adjusting the power configuration as described in claim 22, further comprising: forcibly setting the power supply mode for a specific time period to a high performance mode. 如請求項25所述之動態調整電源配置的方法,其中該特定時段為一交易尖峰時段。 A method of dynamically adjusting a power configuration as described in claim 25, wherein the particular time period is a transaction spike period.
TW105142831A 2016-12-22 2016-12-22 Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same TWI643146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105142831A TWI643146B (en) 2016-12-22 2016-12-22 Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105142831A TWI643146B (en) 2016-12-22 2016-12-22 Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same

Publications (2)

Publication Number Publication Date
TW201824125A TW201824125A (en) 2018-07-01
TWI643146B true TWI643146B (en) 2018-12-01

Family

ID=63639854

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105142831A TWI643146B (en) 2016-12-22 2016-12-22 Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same

Country Status (1)

Country Link
TW (1) TWI643146B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI690866B (en) * 2019-02-15 2020-04-11 兆豐國際商業銀行股份有限公司 System and method for robotic process automation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610902A (en) * 2001-11-01 2005-04-27 弗里塞恩公司 Method and system for updating a remote database
TW200817887A (en) * 2006-05-05 2008-04-16 Dell Products Lp Power allocation management in an information handling system
TW200939009A (en) * 2008-03-06 2009-09-16 Asustek Comp Inc Power saving system and method
CN102478952A (en) * 2010-11-29 2012-05-30 瑞昱半导体股份有限公司 Electronic device with standby mode and operating method thereof
TW201419728A (en) * 2012-11-13 2014-05-16 Wang guang fu Power saving system capable of selecting and stabilizing output voltage

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610902A (en) * 2001-11-01 2005-04-27 弗里塞恩公司 Method and system for updating a remote database
TW200817887A (en) * 2006-05-05 2008-04-16 Dell Products Lp Power allocation management in an information handling system
TW200939009A (en) * 2008-03-06 2009-09-16 Asustek Comp Inc Power saving system and method
CN102478952A (en) * 2010-11-29 2012-05-30 瑞昱半导体股份有限公司 Electronic device with standby mode and operating method thereof
TW201419728A (en) * 2012-11-13 2014-05-16 Wang guang fu Power saving system capable of selecting and stabilizing output voltage

Also Published As

Publication number Publication date
TW201824125A (en) 2018-07-01

Similar Documents

Publication Publication Date Title
WO2017156965A1 (en) Method for fingerprint unlocking and terminal
CN201035502Y (en) Safety accidental dynamic soft keyboard
WO2017101376A1 (en) Method for self-adaptively setting default payment mode and device therefor
TWI721413B (en) Change exchange method, device and server
US20180137499A1 (en) One use wearable
US20140164418A1 (en) Unique device identification among large populations of homogenous devices
US20210058233A1 (en) Electronic device providing blockchain account information and method of operating the same
US20180181187A1 (en) Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same
TWI643146B (en) Method for dynamically updating financial data and processing system using the same, and method for dynamically adjusting power configuration and processing system using the same
CN104317611B (en) Application rousing setting device and method and mobile terminal
US11544414B2 (en) Secure wake-on of a computing device
CN109191104A (en) A kind of information processing method and its equipment
WO2020038099A1 (en) Subscription risk quantization method, withholding risk quantization method, apparatuses and devices
CN112541824A (en) K-line candle drawing method and system and storage medium
EP4081969A1 (en) Method and system for transaction validation in a distributed computing system
WO2018149049A1 (en) Payment method and terminal
CN107025392B (en) Usage-based authentication system
TWI736942B (en) Biometric transaction method and biometric transaction system
TW202101351A (en) Method, transaction management device and computer-readable media for facilitating concurrent transactions
TWI587166B (en) Computer system
CN111915422A (en) Wind control model scheduling method and device, machine readable medium and equipment
CN111124718A (en) Parameter data acquisition method, parameter data processing method and device and electronic equipment
CN111047312A (en) Code scanning payment method, mobile terminal and computer readable storage medium
CN110728243A (en) Business management method, system, equipment and medium for right classification
CN202512607U (en) Novel online bank electronic password card