TWI818188B - A method and a system for a data transmission method based on asynchronous response - Google Patents
A method and a system for a data transmission method based on asynchronous response Download PDFInfo
- Publication number
- TWI818188B TWI818188B TW109127142A TW109127142A TWI818188B TW I818188 B TWI818188 B TW I818188B TW 109127142 A TW109127142 A TW 109127142A TW 109127142 A TW109127142 A TW 109127142A TW I818188 B TWI818188 B TW I818188B
- Authority
- TW
- Taiwan
- Prior art keywords
- flow rate
- data
- loading
- module
- rate
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000005540 biological transmission Effects 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 title claims abstract description 30
- 239000000284 extract Substances 0.000 claims abstract description 6
- 238000000605 extraction Methods 0.000 claims abstract description 5
- 238000012545 processing Methods 0.000 claims description 30
- 238000013075 data extraction Methods 0.000 claims description 11
- 230000007423 decrease Effects 0.000 claims description 11
- 230000002159 abnormal effect Effects 0.000 description 17
- 230000008569 process Effects 0.000 description 8
- 230000010355 oscillation Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/254—Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/26—Flow control; Congestion control using explicit feedback to the source, e.g. choke packets
- H04L47/263—Rate modification at the source after receiving feedback
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
Description
本發明涉及數據傳輸領域,尤其涉及一種基於非同步應答的傳輸數據的方法及系統 。The present invention relates to the field of data transmission, and in particular to a method and system for transmitting data based on asynchronous response.
在將數據從數據源傳輸至的數據目的端的過程中,通常使用能夠抽取數據、轉換數據的格式並將數據裝載到數據目的端的ETL(Extract-Transform-Load)系統。由於ETL 系統需要按照固定週期運行的經常發生的任務(例如,處理批量數據)並且ETL 系統對數據實時性要求不高,因此在對數據實時性要求很高的場景下難以使用傳統的ETL 系統。在傳輸數據的過程中,存在調節數據傳輸的流速的需求。一種常用的調節流速的方法是使用數據傳輸系統的系統負載作為硬指標進行調節,例如當系統負載高於某個閾值時,即禁止或降低流速,當系統負載開始降低時,則恢復流速。另一種常用的調節流速的方法是自適應限流保護方法,該方法使用數據傳輸系統的系統負載作為所控制的流速的啟動值,通過數 據傳輸系統的當前請求響應時間以及處理的請求速率來決定當前允許的流速,從而在數據傳輸系統不被拖垮的情況下提高流速,而不是一定要低於某個閾值。In the process of transmitting data from the data source to the data destination, an ETL (Extract-Transform-Load) system that can extract data, convert the format of the data, and load the data to the data destination is usually used. Since the ETL system requires recurring tasks that run on a fixed cycle (for example, processing batch data) and the ETL system does not have high requirements for real-time data, it is difficult to use traditional ETL systems in scenarios that require high real-time data. In the process of transmitting data, there is a need to adjust the flow rate of data transmission. A common method to adjust the flow rate is to use the system load of the data transmission system as a hard indicator for adjustment. For example, when the system load is higher than a certain threshold, the flow rate is disabled or reduced, and when the system load begins to decrease, the flow rate is restored. Another commonly used method to adjust the flow rate is the adaptive current limiting protection method. This method uses the system load of the data transmission system as the starting value of the controlled flow rate, which is determined by the current request response time of the data transmission system and the processed request rate. The currently allowed flow rate, allowing the data transfer system to be increased without being overwhelmed, rather than necessarily falling below a certain threshold.
為了盡可能地提高流速,還可以使用非同步應答的模式,即數據傳輸系統中的負責數據裝載的模組僅將數據發送至下游的數據目的端,無需等待具體的裝載結果,數據傳輸系統可以通過另外的模組對數據裝載的執行結果進行處理。換言之,在一個週期內裝載的數據不一定在當前週期內就能獲知該數據是否裝載成功。In order to increase the flow rate as much as possible, asynchronous response mode can also be used, that is, the module responsible for data loading in the data transmission system only sends the data to the downstream data destination without waiting for the specific loading result. The data transmission system can The execution results of data loading are processed through another module. In other words, data loaded in one cycle may not necessarily be known in the current cycle whether the data is loaded successfully.
然而,在使用非同步應答的模式的情況下,上述第一種方法由於將數據傳輸系統的系統負載作為硬指標,超過系統負載則不允許傳輸數據,因此限制了數據傳輸系統和數據目的端的處理能力,降低了數據傳輸系統的的數據傳輸量;此外,當下游的數據目的端發生故障或擴容等影響處理能力的事件時,該方法無法及時地感知並調整流速,可能導致數據傳輸系統的空閒或大批量數據丟失等異常情況。另外,對於上述第二種方法,該方法 根據數據傳輸系統的處理能力來調節流速,無法根據下游的數據目的端的處理能力來動態地控制流速,不適用數據目的端處理能力弱於數據傳輸系統處理能力的情況。However, in the case of using asynchronous response mode, the above-mentioned first method uses the system load of the data transmission system as a hard indicator. If the system load exceeds the system load, data is not allowed to be transmitted, thus limiting the processing capabilities of the data transmission system and the data destination. , reducing the data transmission volume of the data transmission system; in addition, when the downstream data destination fails or expands or other events that affect processing capabilities, this method cannot sense and adjust the flow rate in a timely manner, which may cause the data transmission system to become idle or Abnormal situations such as massive data loss. In addition, for the second method mentioned above, this method adjusts the flow rate according to the processing capacity of the data transmission system. It cannot dynamically control the flow rate according to the processing capacity of the downstream data destination. It is not applicable to the data destination whose processing capacity is weaker than that of the data transmission system. ability situation.
本發明的一方面提供一種基於非同步應答的傳輸數據的方法,包括:抽取步驟:在一週期中從第一數據端抽取並存儲所述數據;流速調節步驟:基於在所述週期的上一週期中由第二數據端反饋的裝載結果和在所述上一週期中傳輸所述數據的第一流速確定在所述週期中傳輸所述數據的第二流速;以及裝載步驟:在所述週期中根據所述第二流速將所述數據裝載到所述第二數據端。One aspect of the present invention provides a method for transmitting data based on asynchronous response, including: an extraction step: extracting and storing the data from the first data terminal in a cycle; a flow rate adjustment step: based on the previous data in the cycle. The loading result fed back by the second data terminal in the cycle and the first flow rate of transmitting the data in the previous cycle determine the second flow rate of transmitting the data in the cycle; and the loading step: in the cycle Loading the data to the second data port according to the second flow rate.
本發明的另一方面提供一種基於非同步應答的傳輸數據的方法,包括:抽取步驟:在一週期中從第一數據端抽取第一數據,將所述第一數據存儲在第一隊列中;流速調節步驟:基於在所述週期的上一週期中由第二數據端反饋的第一裝載結果和在所述上一週期傳輸所述數據的第一流速確定在所述週期中傳輸所述數據的第二流速;以及裝載步驟:在所述週期中根據所述第二流速將所述第一隊列內的所述第一數據和第二隊列內的第二數據裝載到所述第二數據端。Another aspect of the present invention provides a method for transmitting data based on asynchronous responses, including: an extraction step: extracting first data from a first data terminal in one cycle, and storing the first data in a first queue; Flow rate adjustment step: determining to transmit the data in the cycle based on the first loading result fed back by the second data terminal in the previous cycle of the cycle and the first flow rate for transmitting the data in the previous cycle. a second flow rate; and a loading step: loading the first data in the first queue and the second data in the second queue to the second data terminal according to the second flow rate in the cycle .
本發明的又一方面提供一種基於非同步應答的傳輸數據的系統,包括:數據抽取模組,其用於在一週期中從第一數據端抽取並存儲所述數據;流速調節模組,其用於基於在所述週期的上一週期中由第二數據端反饋的裝載結果和在所述上一週期中傳輸所述數據的第一流速確定在所述週期中傳輸所述數據的第二流速;和數據裝載模組,其用於在所述週期中根據所述第二流速將所述數據裝載到所述第二數據端。Another aspect of the present invention provides a system for transmitting data based on asynchronous response, including: a data extraction module, which is used to extract and store the data from the first data terminal in one cycle; a flow rate adjustment module, which For determining a second flow rate for transmitting the data in the cycle based on the loading result fed back by the second data terminal in the previous cycle of the cycle and the first flow rate for transmitting the data in the previous cycle. flow rate; and a data loading module configured to load the data to the second data port according to the second flow rate during the cycle.
本發明的又一方面提供一種基於非同步應答的傳輸數據的系統,包括:數據抽取模組,其用於在一週期中從第一數據端抽取第一數據,將所述第一數據存儲在第一隊列中;流速調節模組,其用於基於在所述週期的上一週期中由第二數據端反饋的第一裝載結果和在所述上一週期傳輸所述數據的第一流速確定在所述週期中傳輸所述數據的第二流速;以及數據裝載模組,其用於在所述週期中根據所述第二流速將所述第一隊列內的所述第一數據和第二隊列內的第二數據裝載到所述第二數據端。Another aspect of the present invention provides a system for transmitting data based on asynchronous response, including: a data extraction module, which is used to extract the first data from the first data terminal in one cycle, and store the first data in In the first queue; a flow rate adjustment module configured to determine the first flow rate based on the first loading result fed back by the second data terminal in the previous cycle of the cycle and the first flow rate for transmitting the data in the previous cycle. a second flow rate for transmitting the data in the period; and a data loading module configured to load the first data and the second data in the first queue according to the second flow rate in the period. The second data in the queue is loaded into the second data terminal.
本發明的又一方面提供了一種計算機可讀介質,其上存儲有計算機可讀指令,所述計算機可讀指令被計算機執行時能夠執行根據本發明實施例所述的方法。Yet another aspect of the present invention provides a computer-readable medium having computer-readable instructions stored thereon. The computer-readable instructions, when executed by a computer, can perform the method according to the embodiment of the present invention.
本發明的實施例能夠在非同步應答的情況下、根據反饋的裝載結果自動調節數據傳輸系統的流速,從而在保證數據目的端不被壓垮且減少數據丟失的前提條件下盡可能地提高數據傳輸系統的吞吐量。Embodiments of the present invention can automatically adjust the flow rate of the data transmission system according to the feedback loading results in the case of asynchronous responses, thereby improving data as much as possible on the premise of ensuring that the data destination is not overwhelmed and reduces data loss. The throughput of the transmission system.
上述說明僅是本發明技術方案的概述,為了能夠更清楚瞭解本發明的技術手段,而可依照說明書的內容予以實施,並且為了讓本發明的上述和其它 目的、特徵和優點能夠更明顯易懂,以下特舉本發明的具體實施方式。The above description is only an overview of the technical solution of the present invention. In order to have a clearer understanding of the technical means of the present invention, it can be implemented according to the content of the description, and in order to make the above and other objects, features and advantages of the present invention more obvious and understandable. , the specific embodiments of the present invention are listed below.
下面將參考若干示例性實施方式來描述本發明的原理和精神。應當理解,給出這些實施方式僅僅是為了使本領域技術人員能夠更好地理解進而實現本發明,而並非以任何方式限制本發明的範圍。相反,提供這些實施方式是為了使本公開更加透徹和完整,並且能夠將本公開的範圍完整地傳達給本領域的技術人員。The principles and spirit of the invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are only provided to enable those skilled in the art to better understand and implement the present invention, but are not intended to limit the scope of the present invention in any way. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
下面結合附圖對本發明的具體實施方式進行詳細描述。Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
圖1 示出了根據本發明的實施例的數據傳輸系統的示意圖。Figure 1 shows a schematic diagram of a data transmission system according to an embodiment of the present invention.
如圖1 所示,該系統包括五個模組:數據抽取模組、數據裝載模組、非同步應答處理模組、定時掃描模組以及流速調節模組。該系統還包括待裝載數據隊列、待重載數據隊列和待確認數據 Map。As shown in Figure 1, the system includes five modules: data extraction module, data loading module, asynchronous response processing module, timing scanning module and flow rate adjustment module. The system also includes a data queue to be loaded, a data queue to be reloaded, and a data map to be confirmed.
數據抽取模組可以從數據源抽取數據,將數據轉換格式後存入待裝載數據隊列,若隊列已滿則等待。在本文中,一個數據能夠代表一個業務,每個數據的大小可以不同。The data extraction module can extract data from the data source, convert the data into a format and store it in the data queue to be loaded. If the queue is full, it will wait. In this article, one data can represent a business, and the size of each data can be different.
數據裝載模組可以從待裝載數據隊列中取出數據,並通過流速調節模組判斷當前是否可以向數據目的端裝載數據。數據裝載模組還可以包括正常數據裝載模組和失敗數據裝載模組,其分別用於裝載待裝載數據隊列和待重載數據隊列中的數據。在每次裝載數據時,數據裝載模組可以同時將數據存儲在待確認數據Map 中。在一些實施例中,待確認數據Map 是一種數據存儲結構,其可以用於臨時存儲從數據裝載模組轉存的數據。待確認數據Map中的Key字段存儲數據的身份標識,Value字段存儲數據的值。The data loading module can retrieve data from the data queue to be loaded, and determine whether the data can currently be loaded to the data destination through the flow rate adjustment module. The data loading module may also include a normal data loading module and a failed data loading module, which are respectively used to load data in the data queue to be loaded and the data queue to be reloaded. Each time data is loaded, the data loading module can simultaneously store the data in the data map to be confirmed. In some embodiments, the data to be confirmed Map is a data storage structure that can be used to temporarily store data transferred from the data loading module. The Key field in the data Map to be confirmed stores the identity of the data, and the Value field stores the value of the data.
非同步應答處理模組可以處理數據目的端反饋的處理結果(即被裝載的數據的裝載結果,該結果為成功或失敗),並統計成功或失敗的數據的量。對於處理結果為成功的數據,非同步應答處理模組可以直接從待確認數據Map 刪除該數據。對於處理結果為失敗的數據,非同步應答處理模組可以將 裝載失敗的數據從待確認數據 Map 發送到待重載數據隊列,以待被數據裝載模組裝載。如果某數據裝載失敗的次數超過預定次數(即,重裝載次數上限),則丟棄該數據。The asynchronous response processing module can process the processing result fed back by the data destination (i.e., the loading result of the loaded data, which is success or failure), and count the amount of successful or failed data. For data whose processing result is successful, the asynchronous response processing module can directly delete the data from the data to be confirmed Map. For data whose processing result is failed, the asynchronous response processing module can send the data with failed loading from the data map to be confirmed to the data queue to be reloaded to be loaded by the data loading module. If the number of times a certain data load fails exceeds a predetermined number of times (that is, the upper limit of reload times), the data is discarded.
定時掃描模組可以通過掃描待確認數據Map 來統計超過一定時長仍未收到數據目的端的處理結果的數據(即未收到應答的超時數據),並將該數據從待確認數據 Map 發送到待重載數據隊列。定時掃描模組還可以通過掃描非同步應答處理模組中保存的、來自數據目的端的處理結果來計算當前週期內所統計的數據裝載的成功率,並將成功率發送到流速調節模組。The scheduled scanning module can scan the data map to be confirmed to count the data that has not received the processing result of the data destination for more than a certain period of time (that is, the timeout data for which no response has been received), and send the data from the data map to be confirmed. to the data queue to be reloaded. The timing scanning module can also calculate the statistical data loading success rate in the current cycle by scanning the processing results from the data destination stored in the asynchronous response processing module, and send the success rate to the flow rate adjustment module.
流速調節模組可以通過調整數據傳輸系統的TPS(Transaction Per Second,每秒業務處理量,例如每秒處理的交易的筆數)來實現流速控制。首先,可以設置一個最理想情況下的最大 TPS 值作為流速上限值,根據當前週期內數據裝載的成功率提高或降低數據傳輸系統的流速(TPS 值),從而實現系統的流速調節。The flow rate adjustment module can achieve flow rate control by adjusting the TPS (Transaction Per Second, business processing volume per second, such as the number of transactions processed per second) of the data transmission system. First, you can set a maximum TPS value under the most ideal situation as the upper limit of the flow rate, and increase or decrease the flow rate (TPS value) of the data transmission system according to the success rate of data loading in the current cycle, thereby realizing the flow rate adjustment of the system.
在圖2 中示出了數據抽取模組可以採用的用於抽取數據的方法。如圖2 所示,該方法包括如下步驟:Figure 2 shows the methods that the data extraction module can use to extract data. As shown in Figure 2, the method includes the following steps:
(1)數據抽取模組從數據源抽取數據,並將數據按統一格式進行轉換;(1) The data extraction module extracts data from the data source and converts the data into a unified format;
(2)若此時待裝載隊列未滿,則將轉換完格式的數據直接存入其中,然後繼續執行步驟(1),否則執行步驟(3);(2) If the queue to be loaded is not full at this time, the converted format data will be directly stored in it, and then step (1) will continue, otherwise step (3) will be executed;
(3)若待裝載隊列此時已滿,針對當前數據累加一次發送失敗次數, 如發送失敗次數未超過發送失敗次數的上限,則數據抽取模組休眠預定時間後重新執行步驟(2),否則將數據丟棄,開始重新執行步驟(1)。(3) If the queue to be loaded is full at this time, the number of transmission failures will be accumulated once for the current data. If the number of transmission failures does not exceed the upper limit of the number of transmission failures, the data extraction module will sleep for a predetermined time and re-execute step (2), otherwise Discard the data and start step (1) again.
在圖3 中示出了數據裝載模組可以採用的裝載數據的方法的時序圖。如圖3 所示,數據裝載模組可以從待裝載數據隊列中獲取轉換完格式的數據。在獲取到待裝載的數據後,為保證當前數據傳輸系統的流速不超過允 許的流速上限值,數據裝載模組需要向流速調節模組申請允許裝載數據的令牌,只有獲取到令牌後,才能夠向數據目的端發送待被裝載的數據。Figure 3 shows a sequence diagram of a method for loading data that can be used by the data loading module. As shown in Figure 3, the data loading module can obtain the converted format data from the data queue to be loaded. After obtaining the data to be loaded, in order to ensure that the flow rate of the current data transmission system does not exceed the allowed flow rate upper limit, the data loading module needs to apply to the flow rate adjustment module for a token that allows loading of data. Only after obtaining the token , the data to be loaded can be sent to the data destination.
流速調節模組在接收到關於令牌的申請時,檢查當前是否仍有可用的令牌,若暫無可用令牌則掛起該申請,等待新令牌生成。流速調節模組可以週期性地生成或清除令牌,例如,在每個週期結束時清空剩餘令牌,同 時生成數量與當前系統允許的流速上限值對應的令牌(例如,流速上限值是1000,這例如意味著每秒最多可以處理1000 個數據(例如,1000 筆交易),則流速調節模組可以生成1000 個令牌以允許處理1000 個數據)。該流速上限值會根據數據目的端的數據裝載的狀態進行更新。通過修改一個週期內允許的令牌數,可以實現系統流速的動態調整。When the flow rate adjustment module receives an application for a token, it checks whether there are still available tokens. If there are no available tokens, it suspends the application and waits for new tokens to be generated. The flow rate adjustment module can generate or clear tokens periodically, for example, clear the remaining tokens at the end of each cycle, and generate a number of tokens corresponding to the flow rate upper limit allowed by the current system (for example, the flow rate upper limit is 1000, which means for example that up to 1000 data can be processed per second (for example, 1000 transactions), then the flow rate adjustment module can generate 1000 tokens to allow 1000 data to be processed). The upper limit of the flow rate is updated based on the data loading status of the data destination. By modifying the number of tokens allowed in a cycle, the system flow rate can be dynamically adjusted.
圖 4 示出了根據本發明的實施例的用於調節流速的方法的時序圖。該方法涉及非同步應答處理模組、定時掃描模組以及流速調節模組。該方法可以執行的操作包括統計數據目的端的處理結果、統計超時未應答的數據、計算當前週期內裝載成功率以及更新系統允許的流速上限。Figure 4 shows a timing diagram of a method for adjusting flow rate according to an embodiment of the invention. The method involves an asynchronous response processing module, a timing scanning module and a flow rate adjustment module. The operations that this method can perform include statistics on the processing results of the data destination, statistics on timeout unanswered data, calculation of the loading success rate in the current cycle, and updating the upper limit of the flow rate allowed by the system.
非同步應答處理模組用於接收數據目的端反饋的裝載結果,對相應的數 據進行處理(即,將裝載成功的數據從待確認數據 Map 中刪除,或將裝載失敗的數據或未收到應答的超時數據發送到待重載數據隊列中),同時根據反饋的裝載結果更新裝載成功計數器或裝載失敗計數器的值。The asynchronous response processing module is used to receive the loading results fed back by the data destination and process the corresponding data (that is, delete the successfully loaded data from the data map to be confirmed, or delete the loaded data that failed or no response was received) The timeout data is sent to the data queue to be reloaded), and at the same time, the value of the load success counter or load failure counter is updated according to the feedback load result.
定時掃描模組可以在每個週期進行掃描,計算當前週期內數據目的端裝載數據(該數據是在之前的週期中應當由數據目的端裝載的數據,也可 以稱為歷史數據)的成功率,以此觸發流速調節模組來調節流速。對於計算成功率,定時掃描模組可以首先統計當前週期內所有未收到應答的超時數據量(例如存儲在超時數據計數器中),然後獲取當前時刻數據裝載成功計數器與裝載失敗計數器的值,根據如下公式來計算成功率:The scheduled scanning module can scan in each cycle and calculate the success rate of loading data by the data destination in the current cycle (this data is the data that should be loaded by the data destination in the previous cycle, which can also be called historical data). This triggers the flow rate adjustment module to adjust the flow rate. For calculating the success rate, the scheduled scan module can first count the amount of all timeout data that has not received a response in the current cycle (for example, stored in the timeout data counter), and then obtain the values of the data loading success counter and loading failure counter at the current moment. , calculate the success rate according to the following formula:
其中,S 為當前週期內數據裝載的成功率,Cs 與Cf 分別為當前裝載成功計數器和裝載失敗計數器的值,Ct 為當前未收到應答的超時數據計數器的值。在S 計算完成後立刻清空各計數器的值,以確保不會對下個週期的計算產生干擾。Among them, S is the success rate of data loading in the current cycle, Cs and Cf are the values of the current loading success counter and loading failure counter respectively, and Ct is the value of the timeout data counter for which no response has been received. Clear the value of each counter immediately after the S calculation is completed to ensure that there will be no interference with the calculation of the next cycle.
該調節流速的方法可以歸納如下:This method of adjusting flow rate can be summarized as follows:
(1)根據數據目的端的處理能力,配置可接受的流速上限Tmax;(1) Configure the acceptable flow rate upper limit Tmax according to the processing capability of the data destination;
(2)如果在當前週期內、從數據目的端反饋的數據裝載的成功率低於可接受的成功率下限值,則根據固定步長下調數據傳輸系統的流速,如果流速低於流速下限,則將流速下限作為實際的流速(根據確定的流速值生成與其對應的令牌的數量),若下調前的流速已達到可接受的流速下限, 不再下調系統流速,需人工介入排查;(2) If the success rate of data loading fed back from the data destination in the current cycle is lower than the acceptable lower limit of success rate, the flow rate of the data transmission system is reduced according to a fixed step size. If the flow rate is lower than the lower limit of the flow rate, Then the lower limit of the flow rate is used as the actual flow rate (the number of corresponding tokens is generated based on the determined flow rate value). If the flow rate before the reduction has reached the acceptable lower limit of the flow rate, the system flow rate will no longer be reduced, and manual intervention is required for investigation;
(3)如果在當前週期內的數據裝載的成功率大於成功率調整閾值(其大於成功率下限值)且當前系統流速小於Tmax,那麼可以根據固定步長上調流速,如果流速高於流速上限,則將流速上限作為實際的流速(根據確定的流速值生成與其對應的令牌的數量),若上調前的流速已達到Tmax,不再上調系統流速值;(3) If the success rate of data loading in the current cycle is greater than the success rate adjustment threshold (which is greater than the lower limit of the success rate) and the current system flow rate is less than Tmax, then the flow rate can be increased according to a fixed step size. If the flow rate is higher than the upper limit of the flow rate , then the upper limit of the flow rate is regarded as the actual flow rate (the number of corresponding tokens is generated based on the determined flow rate value). If the flow rate before the increase has reached Tmax, the system flow rate value will no longer be increased;
(4)如果成功率大於成功率下限值且小於成功率調整閾值,並且流速小於Tmax,則認為數據傳輸系統與下游系統(即數據目的端)均處於穩定狀態,無需調整數據傳輸系統的流速;(4) If the success rate is greater than the lower limit of the success rate and less than the success rate adjustment threshold, and the flow rate is less than Tmax, it is considered that both the data transmission system and the downstream system (i.e., the data destination) are in a stable state, and there is no need to adjust the flow rate of the data transmission system. ;
(5)若數據傳輸系統的流速維持在Tmax ,且計算出的成功率始終大於等於成功率調整閾值,嘗試上調Tmax;若上調Tmax 後成功率立刻下降,則恢復先前的Tmax 值,在一定週期內(例如,當天)不再嘗試上調Tmax;(5) If the flow rate of the data transmission system is maintained at Tmax, and the calculated success rate is always greater than or equal to the success rate adjustment threshold, try to increase Tmax; if the success rate drops immediately after increasing Tmax, restore the previous Tmax value, and in a certain period No more attempts to increase Tmax will be made during the day (for example, on the same day);
(6)若數據目的端發生擴容時,可以通過人工將Tmax 修改為與擴容後的處理能力相適應的流速上限值;(6) If the data destination is expanded, Tmax can be manually modified to the upper limit of the flow rate that is compatible with the expanded processing capacity;
(7)若計算出的成功率大於等於成功率調整閾值並且數據傳輸系統上調流速後,計算出的成功率又低於成功率下限值,使得數據傳輸系統下調流速,而且先上調流速又下調流速的過程又持續多次,那麼這可能代表計算得出的Tmax 不符合當前現狀,需人工介入排查,例如可以人工降低Tmax 的值。(7) If the calculated success rate is greater than or equal to the success rate adjustment threshold and the data transmission system increases the flow rate, the calculated success rate is lower than the lower limit of the success rate, causing the data transmission system to decrease the flow rate, and first increase the flow rate and then decrease it. If the flow rate process continues multiple times, this may mean that the calculated Tmax does not meet the current status and requires manual intervention. For example, the Tmax value can be manually reduced.
下面將描述實現上述調節流速的方法的一個實施例。首先,定義各參數,其含義如下:An embodiment of the method for realizing the above-mentioned adjustment of flow rate will be described below. First, define each parameter, its meaning is as follows:
Tmax:理想狀態下,數據目的端可承載的最大TPS(即流速上限),其可由系統運維人員手動配置與修改;Tmax: Under ideal conditions, the maximum TPS (i.e., the upper limit of flow rate) that the data destination can carry, which can be manually configured and modified by system operation and maintenance personnel;
Tmin:數據目的端可接受的最低TPS,低於此值時需人工介入排查;Tmin: The lowest TPS acceptable by the data destination. If it is lower than this value, manual intervention is required;
Smin:數據目的端允許的數據裝載的最小成功率;Smin: The minimum success rate of data loading allowed by the data destination;
Sadp:TPS 上調時可接受的最低成功率(即成功率調整閾值),僅當前成功率大於或等於該值時可嘗試上調TPS 的值;Sadp: The lowest acceptable success rate when TPS is increased (i.e., the success rate adjustment threshold). Only when the current success rate is greater than or equal to this value can you try to increase the value of TPS;
st:TPS 調節步長,即單次上調或下調TPS 的值;st: TPS adjustment step size, that is, the value of a single upward or downward adjustment of TPS;
Tcur:數據目的端當前允許的TPS 值,其數據傳輸系統啟動時可以任意配置Tcur,使得Tcur 不大於Tmax 。Tcur: The TPS value currently allowed by the data destination. Tcur can be configured arbitrarily when the data transmission system is started, so that Tcur is not greater than Tmax.
此外,本文將一次連續的TPS 上調和下調或一次連續的TPS 下調和上調定義為一次震盪過程,若持續地發生震盪,說明Tmax 取值與數據目的端的當前狀態不符合,需提醒運維人員進行排查和確認,必要時需要修改Tmax的取值。In addition, this article defines a continuous TPS increase and decrease or a continuous TPS decrease and increase as a oscillation process. If the oscillation continues, it means that the Tmax value does not match the current status of the data destination, and the operation and maintenance personnel need to be reminded. Check and confirm, and modify the value of Tmax if necessary.
基於此,可以例如使用標誌位 UD 記錄各個調節操作:Based on this, the individual adjustment operations can be recorded, for example, using the flag UD:
UD=00:未調節;UD=10:上調TPS;UD=01:下調TPSUD=00: Unadjusted; UD=10: Increase TPS; UD=01: Decrease TPS
另外使用UDp 記錄上一次流速調節操作。例如,可以通過計算UD|UDp(或運算)來表示是否發生震盪現象(比如UD|UDp=11,表示發生了一次震盪),使用Ccon 記錄連續震盪次數,使用Mcon 表示可接受的最大連續震盪次數。In addition, use UDp to record the last flow rate adjustment operation. For example, you can calculate UD|UDp (or operation) to indicate whether oscillation occurs (for example, UD|UDp=11, indicating that a oscillation occurred), use Ccon to record the number of continuous oscillations, and use Mcon to indicate the maximum acceptable number of continuous oscillations. .
基於上述定義,調節流速的方法的具體實現方式如下:Based on the above definition, the specific implementation method of adjusting the flow rate is as follows:
● 當S≥Sadp 且Tcur <Tmax 時,此時UD=10,那麼更新Tcur+=st,計算UD|UDp:● When S≥Sadp and Tcur <Tmax, then UD=10, then update Tcur+=st and calculate UD|UDp:
若UD|UDp=11,修改Ccon+=1,UDp=10;If UD|UDp=11, modify Ccon+=1, UDp=10;
若 UD|UDp!=11,修改 Ccon=0,UDp=10。If UD|UDp!=11, modify Ccon=0 and UDp=10.
●當S≥Sadp 且Tcur =Tmax 時,Tcur 保持不變,修改Ccon=0,UDp=00●When S≥Sadp and Tcur =Tmax, Tcur remains unchanged, modify Ccon=0, UDp=00
●當S≤Smin 且Tcur >Tmin 時,此時UD=01,更新Tcur-=st,計算UD|UDp:●When S≤Smin and Tcur>Tmin, then UD=01, update Tcur-=st, and calculate UD|UDp:
若UD|UDp=11,修改Ccon+=1,UDp=01;If UD|UDp=11, modify Ccon+=1, UDp=01;
若UD|UDp!=11,修改Ccon=0,UDp=01。If UD|UDp!=11, modify Ccon=0 and UDp=01.
●當S≤Smin 且Tcur =Tmin 時,Tcur 保持不變,修改 Ccon=0,UDp=00,需發出告警,以提示人工介入排查;●When S≤Smin and Tcur =Tmin, Tcur remains unchanged, modify Ccon=0, UDp=00, and an alarm needs to be issued to prompt manual intervention;
●當Smin<S<Sadp 時,Tcur 保持不變,修改Ccon=0,UDp=00。●When Smin<S<Sadp, Tcur remains unchanged, modify Ccon=0, UDp=00.
每次調節流速的算法執行完成時,首先根據更新後的數據目的端允許的TPS 值生成對應的令牌數,同時檢查Ccon。若Ccon≥Mcon,則說明數據傳輸系統連續震盪次數超過上限值,即Tmax 的取值不適合當前的數據目的端,因此數據傳輸系統會發出告警以提醒運維人員介入排查。Each time the flow rate adjustment algorithm is executed, the corresponding number of tokens is first generated based on the updated TPS value allowed by the data destination, and Ccon is checked at the same time. If Ccon≥Mcon, it means that the number of continuous oscillations of the data transmission system exceeds the upper limit, that is, the value of Tmax is not suitable for the current data destination. Therefore, the data transmission system will issue an alarm to remind operation and maintenance personnel to intervene.
為了減少異常數據(其包括裝載失敗的數據和未收到應答的超時數據),非同步應答處理模組或定時掃描模組會將異常數據發送至待重載數據隊列中,並通過數據裝載模組中的失敗數據重裝模組重新裝載該異常數據。In order to reduce abnormal data (including data that failed to load and timeout data that did not receive a response), the asynchronous response processing module or the scheduled scanning module will send the abnormal data to the data queue to be reloaded, and load it through the data Failed data reloading in the module The module reloads the abnormal data.
圖 5 示出了根據本發明的實施例的用於處理異常數據的方法的流程圖。用於處理異常數據的方法如下:Figure 5 shows a flowchart of a method for processing abnormal data according to an embodiment of the present invention. The methods used to handle abnormal data are as follows:
(1)非同步應答處理模組在接收到處理結果後進行判斷,結果為成功時,直接從待確認數據Map 中移除該數據,流程結束;否則進入步驟(2);(1) The asynchronous response processing module makes a judgment after receiving the processing result. When the result is successful, the data is directly removed from the data map to be confirmed, and the process ends; otherwise, proceed to step (2);
(2)結果不為成功時,更新失敗次數,如果失敗次數超過上限值,直接從待確認數據 Map 中移除該數據,並報出異常(例如發出告警),否則進入步驟(3);(2) When the result is not successful, update the number of failures. If the number of failures exceeds the upper limit, directly remove the data from the data map to be confirmed and report an exception (such as issuing an alarm), otherwise proceed to step (3);
(3)如果此時待重載數據隊列不滿,則將數據直接轉存入待重載數據隊列中,否則記作轉存失敗,直接更新其失敗次數,繼續執行步驟(4);(3) If the data queue to be reloaded is not full at this time, the data will be directly transferred to the data queue to be reloaded. Otherwise, it will be recorded as a transfer failure, and the number of failures will be directly updated, and step (4) will be continued;
(4)如果數據失敗次數超過失敗上限,直接丟棄該數據並報出異常。(4) If the number of data failures exceeds the upper limit of failures, the data will be discarded directly and an exception will be reported.
否則將其繼續存放在待確認數據 Map 中,等待一段時間後進入步驟(3)。Otherwise, it will continue to be stored in the data map to be confirmed, wait for a period of time and then enter step (3).
從圖1 和圖5 可以看出,處理異常數據的方法還可以通過裝載隔離來降低異常數據對系統的影響性,即使用正常數據裝載模組負責待裝載數據隊列中的數據的處理,使用失敗數據裝載模組負責待重載數據隊列中的數據的處理,兩個模組並行執行。基於此,可以將流速調節模組計算出的當前系統或數據目的端允許的TPS 值Tcur 細分成正常數據裝載TPS(記為Tnor)和異常數據裝載TPS(記為Tuno),不同的裝載模組請求各自的裝載令牌,從而實現正常數據和異常數據的裝載隔離,具體的方法如下:As can be seen from Figure 1 and Figure 5, the method of processing abnormal data can also reduce the impact of abnormal data on the system through load isolation, that is, the normal data loading module is used to process the data in the data queue to be loaded, and the use fails The data loading module is responsible for processing the data in the data queue to be reloaded, and the two modules execute in parallel. Based on this, the TPS value Tcur allowed by the current system or data destination calculated by the flow rate adjustment module can be subdivided into normal data loading TPS (denoted as Tnor) and abnormal data loading TPS (denoted as Tuno). Different loading modules Request respective load tokens to achieve load isolation of normal data and abnormal data. The specific method is as follows:
(1)如果成功率不為100%,則將成功率與當前流速相乘以作為正常數據裝載的流速,將當前流速的剩餘部分作為異常數據裝載的流速,並更新異常數據的流速在當前流速中的佔比,以供數據傳輸系統在後續週期中使用。具體實現方法可以例如是:(1) If the success rate is not 100%, multiply the success rate and the current flow rate as the flow rate for normal data loading, use the remaining part of the current flow rate as the flow rate for abnormal data loading, and update the flow rate for abnormal data at the current flow rate proportion for the data transmission system to use in subsequent cycles. The specific implementation method can be, for example:
S≠100%時,Tnor= Tcur*S,Tuno=Tcur*(1-S);更新RP = Tuno/ Tcur。When S≠100%, Tnor= Tcur*S, Tuno=Tcur*(1-S); update R P = Tuno/ Tcur.
(2)如果成功率為100%,則異常數據裝載的流速是待重載數據隊列中的數據的個數、和上述佔比與當前流速的乘積中的最小值。因此,正常 數據裝載的流速是當前流速與異常數據裝載的流速的差。可以更新異常數據的流速在當前流速中的佔比,以供數據傳輸系統在後續週期中使用。具體實現方法可以例如是:(2) If the success rate is 100%, the flow rate of abnormal data loading is the minimum value of the number of data in the data queue to be reloaded and the product of the above proportion and the current flow rate. Therefore, the flow rate for normal data loading is the difference between the current flow rate and the flow rate for abnormal data loading. The proportion of the flow rate of abnormal data in the current flow rate can be updated for use by the data transmission system in subsequent cycles. The specific implementation method can be, for example:
S=100%時,Tuno=min(Lw RP * Tcur) ,Tnor= Tcur-Tuno,更新RP = Tuno/ Tcur。When S=100%, Tuno=min(L w R P * Tcur), Tnor= Tcur-Tuno, update R P = Tuno/ Tcur.
其中,S 為當前週期內數據裝載成功率,Rp 為上一週期內異常數據裝載TPS 在系統總TPS 中的佔比,Lu 為待重載數據隊列中數據的個數(例如,交易的筆數)。Among them, S is the data loading success rate in the current cycle, Rp is the proportion of abnormal data loading TPS in the total system TPS in the previous cycle, and Lu is the number of data in the data queue to be reloaded (for example, the number of transactions ).
可以以一種或多種程序設計語言的任意組合來編寫用於執行本發明操作的程序代碼,所述程序設計語言包括面向對象的程序設計語言—諸如Java、C++等,還包括常規的過程式程序設計語言—諸如“C”語言或類似的程序設計語言。程序代碼可以完全地在用戶計算設備上執行、部分地在用戶設備上執行、部分在用戶計算設備上執行、或者完全在遠程計算設備或服務器上執行。在涉及遠程計算設備的情形中,遠程計算設備可以通過任 意種類的網絡——包括局域網(LAN)或廣域網(WAN)—連接到用戶計算設備,或者,可以連接到外部計算設備(例如利用因特網服務提供商來通過因特網連接)。Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., as well as conventional procedural programming. Language—such as "C" or a similar programming language. The program code may execute entirely on the user's computing device, partly on the user's computing device, partly on the user's computing device, or entirely on a remote computing device or server. In situations involving remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., utilizing an Internet service provider to connect via the Internet).
此外,儘管在附圖中以特定順序描述了本發明方法的操作,但是,這並非要求或者暗示必須按照該特定順序來執行這些操作,或是必須執行全部所示的操作才能實現期望的結果。附加地或備選地,可以省略某些步驟,將多個步驟合併為一個步驟執行,和/或將一個步驟分解為多個步驟執行。Furthermore, although the operations of the methods of the present invention are depicted in a particular order in the drawings, this does not require or imply that the operations must be performed in that particular order, or that all of the illustrated operations must be performed to achieve desired results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step for execution, and/or one step may be broken down into multiple steps for execution.
應當注意,儘管在上文的詳細描述中提及了實現上述方法的若干軟件裝置/模組及子裝置/模組,但是這種劃分並非強制性的。實際上,根據本發明的實施方式,上文描述的兩個或更多裝置的特徵和功能可以在一個裝置/模組中具體化。反之,上文描述的一個裝置/模組的特徵和功能可以進一步劃分為由多個裝置/模組來具體化。It should be noted that although several software devices/modules and sub-devices/modules for implementing the above method are mentioned in the above detailed description, this division is not mandatory. In fact, according to embodiments of the present invention, the features and functions of two or more devices described above may be embodied in one device/module. Conversely, the features and functions of one device/module described above may be further divided into being embodied by multiple devices/modules.
雖然已經參考若干具體實施方式描述了本發明的精神和原理,但是應該理解,本發明並不限於所公開的具體實施方式,對各方面的劃分也不意味著這些方面中的特徵不能組合以進行受益,這種劃分僅是為了表述的方20 便。本發明旨在涵蓋所附權利要求的精神和範圍內所包括的各種修改和等同佈置。Although the spirit and principles of the invention have been described with reference to a number of specific embodiments, it should be understood that the invention is not limited to the specific embodiments disclosed, nor does the division into aspects mean that features in these aspects cannot be combined. Benefit, this division is only for convenience of expression. The invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.
無。without.
[圖1]示出了根據本發明的實施例的數據傳輸系統的示意圖。 [圖2]示出了根據本發明的實施例的用於抽取數據的方法的流程圖。 [圖3]示出了根據本發明的實施例的用於裝載數據的方法的時序圖。 [圖4]示出了根據本發明的實施例的用於調節流速的方法的時序圖。 [圖5]示出了根據本發明的實施例的用於處理異常數據的方法的流程圖。[Fig. 1] shows a schematic diagram of a data transmission system according to an embodiment of the present invention. [Fig. 2] A flowchart showing a method for extracting data according to an embodiment of the present invention. [Fig. 3] A sequence diagram showing a method for loading data according to an embodiment of the present invention. [Fig. 4] A timing chart showing a method for adjusting a flow rate according to an embodiment of the present invention. [Fig. 5] A flowchart showing a method for processing abnormal data according to an embodiment of the present invention.
Claims (31)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010065609.2A CN111291104B (en) | 2020-01-20 | 2020-01-20 | Method and system for transmitting data based on asynchronous response |
CN202010065609.2 | 2020-01-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202129516A TW202129516A (en) | 2021-08-01 |
TWI818188B true TWI818188B (en) | 2023-10-11 |
Family
ID=71025480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109127142A TWI818188B (en) | 2020-01-20 | 2020-08-11 | A method and a system for a data transmission method based on asynchronous response |
Country Status (4)
Country | Link |
---|---|
CN (1) | CN111291104B (en) |
SG (1) | SG11202113121TA (en) |
TW (1) | TWI818188B (en) |
WO (1) | WO2021147304A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111291104B (en) * | 2020-01-20 | 2023-07-28 | 中国银联股份有限公司 | Method and system for transmitting data based on asynchronous response |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1169224A (en) * | 1994-12-09 | 1997-12-31 | 英国电讯有限公司 | Multi-processor environments |
TW200537314A (en) * | 2004-05-03 | 2005-11-16 | Acer Inc | Transmission rate auto-adjusted bus system and method |
US20060159030A1 (en) * | 2004-12-30 | 2006-07-20 | Guenael Strutt | System and method for managing communication links between nodes in a wireless communication network |
CN1917413A (en) * | 2005-08-18 | 2007-02-21 | 英业达股份有限公司 | Automatic method for adjusting transmission rate |
CN110191060A (en) * | 2018-02-22 | 2019-08-30 | 中兴通讯股份有限公司 | A kind of adjustment data packet sends method, apparatus, equipment and the system of code rate |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3309020B2 (en) * | 1994-06-20 | 2002-07-29 | 富士通株式会社 | Transmission throughput control apparatus and method |
CN101174986A (en) * | 2007-11-07 | 2008-05-07 | 中兴通讯股份有限公司 | Method and apparatus for dynamic feedback of load distribution |
CN105900061B (en) * | 2014-10-22 | 2018-01-16 | 华为技术有限公司 | Business method of flow control, controller and system in object storage system |
US20170324642A1 (en) * | 2016-05-04 | 2017-11-09 | Microsoft Technology Licensing, Llc | Initial and periodic slowdowns for background connections |
CN107920027B (en) * | 2016-10-08 | 2019-03-15 | 腾讯科技(深圳)有限公司 | A kind of flow control methods and device |
US10284480B2 (en) * | 2016-12-27 | 2019-05-07 | Netflix, Inc. | Packet loss tolerant transmission control protocol congestion control |
CN106850153B (en) * | 2017-03-27 | 2020-05-22 | 网宿科技股份有限公司 | Data retransmission method and system |
CN111291104B (en) * | 2020-01-20 | 2023-07-28 | 中国银联股份有限公司 | Method and system for transmitting data based on asynchronous response |
-
2020
- 2020-01-20 CN CN202010065609.2A patent/CN111291104B/en active Active
- 2020-08-11 TW TW109127142A patent/TWI818188B/en active
- 2020-08-14 SG SG11202113121TA patent/SG11202113121TA/en unknown
- 2020-08-14 WO PCT/CN2020/109083 patent/WO2021147304A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1169224A (en) * | 1994-12-09 | 1997-12-31 | 英国电讯有限公司 | Multi-processor environments |
TW200537314A (en) * | 2004-05-03 | 2005-11-16 | Acer Inc | Transmission rate auto-adjusted bus system and method |
US20060159030A1 (en) * | 2004-12-30 | 2006-07-20 | Guenael Strutt | System and method for managing communication links between nodes in a wireless communication network |
CN1917413A (en) * | 2005-08-18 | 2007-02-21 | 英业达股份有限公司 | Automatic method for adjusting transmission rate |
CN110191060A (en) * | 2018-02-22 | 2019-08-30 | 中兴通讯股份有限公司 | A kind of adjustment data packet sends method, apparatus, equipment and the system of code rate |
Also Published As
Publication number | Publication date |
---|---|
CN111291104A (en) | 2020-06-16 |
WO2021147304A1 (en) | 2021-07-29 |
TW202129516A (en) | 2021-08-01 |
CN111291104B (en) | 2023-07-28 |
SG11202113121TA (en) | 2021-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20140359084A1 (en) | Electronic device, storage medium and file transferring method | |
WO2019218480A1 (en) | Method and device for reconnecting push service | |
CN110460534B (en) | Method, device, equipment and storage medium for reporting request message | |
CN107257363B (en) | Method and system for responding request of request terminal | |
TWI818188B (en) | A method and a system for a data transmission method based on asynchronous response | |
CN111245630B (en) | Method for simultaneously upgrading multiple devices in local area network | |
CN111158878B (en) | Resource transfer request thread control method, device and storage medium | |
WO2020134755A1 (en) | Data transmission method and device | |
CN105528366A (en) | A data synchronization control method and device | |
CN114844809B (en) | Multi-factor arbitration method and device based on network heartbeat and kernel disk heartbeat | |
US20070240170A1 (en) | Computer implemented method and system for processing an event notification within a notification infrastructure of a database system using a persistent queue | |
CN110825505A (en) | Task scheduling method and device, computer equipment and storage medium | |
CN114327837A (en) | Distributed task scheduling operation system and method based on message queue | |
CN114640703A (en) | Data communication method and device, electronic equipment and storage medium | |
CN114021052A (en) | Inference service method, equipment and system | |
CN110888739B (en) | Distributed processing method and device for delayed tasks | |
CN117290099A (en) | Computing resource adjustment method and device for cloud platform | |
CN116860466A (en) | Asynchronous communication to synchronous communication method based on MQTT | |
CN117118821A (en) | Multi-data source management method based on client-server mode | |
CN113612624B (en) | Method and device for processing heartbeat between nodes | |
CN114125021B (en) | Terminal information release system based on Netty message drive | |
WO2019153482A1 (en) | Method for generating data packets in anti-money laundering operation, storage medium and server | |
CN108737460B (en) | Connection processing method and client | |
CN111629019A (en) | Method for asynchronously processing big data and high concurrency | |
CN115174440B (en) | Connectivity detection method, device, storage medium and equipment |