TWI626834B - Method for adjusting acknowledgement of download data and electronic device using same - Google Patents

Method for adjusting acknowledgement of download data and electronic device using same Download PDF

Info

Publication number
TWI626834B
TWI626834B TW105123645A TW105123645A TWI626834B TW I626834 B TWI626834 B TW I626834B TW 105123645 A TW105123645 A TW 105123645A TW 105123645 A TW105123645 A TW 105123645A TW I626834 B TWI626834 B TW I626834B
Authority
TW
Taiwan
Prior art keywords
download
data
size
reply
physical layer
Prior art date
Application number
TW105123645A
Other languages
Chinese (zh)
Other versions
TW201804747A (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 TW105123645A priority Critical patent/TWI626834B/en
Publication of TW201804747A publication Critical patent/TW201804747A/en
Application granted granted Critical
Publication of TWI626834B publication Critical patent/TWI626834B/en

Links

Landscapes

  • Communication Control (AREA)

Abstract

本發明提供一種下載資料確認回復方式調整方法及電子裝置,該電子裝置連接網路,且該電子裝置包括:獲取模組,用於獲取該電子裝置對應該網路的實體層的資源配置狀態;計算模組,用於確定下載資料確認的回復速率;判斷模組,用於根據該回復速率判斷下載資料確認的回復方式是否需要調整;以及調整模組,用於根據判斷結果調整下載資料確認的回復方式。 The present invention provides a method for adjusting a download data confirmation reply mode and an electronic device. The electronic device is connected to a network, and the electronic device includes: an acquisition module, configured to acquire a resource configuration state of the physical layer of the electronic device corresponding to the network; a calculation module, configured to determine a recovery rate of the download data confirmation; a determination module, configured to determine, according to the reply rate, whether the reply mode of the download data confirmation needs to be adjusted; and an adjustment module, configured to adjust the download data confirmation according to the judgment result Reply method.

Description

下載資料確認回復方式調整方法及電子裝置 Download data confirmation reply method adjustment method and electronic device

本發明涉及一種網路資料傳輸技術,尤其涉及一種下載資料確認回復方式調整方法及電子裝置。 The invention relates to a network data transmission technology, in particular to a method for adjusting a reply data confirmation reply mode and an electronic device.

移動資料於傳輸過程中,電子裝置一般下載一個資料包後回復一個下載資料確認(ACK,也就是acknowledgement),當上載鏈路和下載鏈路的頻寬存在明顯差距時,上載鏈路的頻寬可能不夠回應下載資料ACK,而導致下載資料ACK傳輸持續延遲(pending),只夠送一定量的下載資料ACK,從而限制了下載速度。例如,假設下載速度(100M bps)為每秒可下載100個資料包,但上載速度(1M bps)為每秒只夠回傳30個下載資料ACK,則下載的傳送端會被下載資料ACK回復的速度所限制,變成每秒只能傳送30個資料包,其他資料包則需在視窗等待下載資料ACK方能進行下載。 During the transmission of the mobile data, the electronic device generally downloads a data packet and then replies with a download data acknowledgement (ACK, which is an acknowledgement). When there is a significant gap between the bandwidth of the upload link and the download link, the bandwidth of the upload link is used. It may not be enough to respond to the download data ACK, which causes the download data ACK transmission to continue to be delayed, and only enough to send a certain amount of download data ACK, thereby limiting the download speed. For example, suppose the download speed (100M bps) is 100 packets per second, but the upload speed (1M bps) is only enough to return 30 download data ACKs per second, then the downloaded transmitter will be replied with the downloaded data ACK. The speed is limited to only 30 packets per second. Other packets need to be downloaded in the window to download the data.

鑒於以上內容,有必要提供一種可根據上載鏈路及下載鏈路的負荷狀態動態調整下載資料確認回復方式的方法。 In view of the above, it is necessary to provide a method for dynamically adjusting the download data confirmation reply mode according to the load status of the upload link and the download link.

另,有必要提供一種使用上述方法的電子裝置。 In addition, it is necessary to provide an electronic device using the above method.

一種電子裝置,該電子裝置連接網路且該電子裝置包括:獲取模組,用於獲取該電子裝置對應該網路的實體層的資源配置狀態;計算模組,用於計算該實體層的下載鏈路的傳輸量,計算每個下載資料包封裝到該實體層的大小,計算該實體層的上載鏈路的傳輸量,計算每個下載資料確認封裝到該實體層的大小;根據該下載鏈路的傳輸量,該每個下載資料包的大小,該上載鏈路的傳輸量以及該下載資料確認的大小,確定下載資料確認的回復速率;判斷模組,用於根據該回復速率判斷下載資料確認的回復方式是否需要調整;以及調整模組,用於根據判斷結果調整下載資料確認的回復方式。 An electronic device, the electronic device is connected to a network, and the electronic device includes: an acquisition module, configured to acquire a resource configuration state of the physical layer of the electronic device corresponding to the network; and a calculation module, configured to calculate the download of the physical layer The transmission amount of the link, calculating the size of each download data packet encapsulated to the physical layer, calculating the transmission amount of the upload link of the physical layer, and calculating the size of each download data to be encapsulated into the physical layer; according to the download chain The transmission amount of the road, the size of each download data packet, the transmission amount of the upload link and the size of the download data confirmation, determine the recovery rate of the download data confirmation; the determination module is configured to determine the download data according to the recovery rate Whether the confirmed reply mode needs to be adjusted; and the adjustment module is used to adjust the reply mode of the download data confirmation according to the judgment result.

一種下載資料確認回復方式調整方法,用於連接網路的電子裝置,該方法包括:獲取步驟,獲取該電子裝置對應該網路的實體層的資源配置狀態;計算步驟,計算該實體層下載鏈路的傳輸量,計算每個下載資料包封裝到該實體層的大小,計算該實體層上載鏈路的傳輸量,計算每個下載資料確認封裝到該實體層的大小;根據該下載鏈路的傳輸量,該每個下載資料包的大小,該上載鏈路的傳輸量以及該下載資料確認的大小,確定下載資料確認的回復速率;判斷步驟,根據該回復速率判斷下載資料確認的回復方式是否需要調整;以及調整步驟,根據判斷結果調整下載資料確認的回復方式。 A method for adjusting a reply data confirmation method for connecting to an electronic device of a network, the method comprising: obtaining a step of acquiring a resource configuration state of a physical layer corresponding to the network of the electronic device; calculating a step of calculating the physical layer download chain The amount of transmission of the road, calculating the size of each download packet encapsulated into the physical layer, calculating the transmission amount of the upload link of the physical layer, and calculating the size of each downloaded data to be encapsulated into the physical layer; according to the download link The amount of transmission, the size of each download packet, the transmission amount of the upload link, and the size of the download data confirmation, determine the recovery rate of the download data confirmation; the determining step, determining whether the reply mode of the download data confirmation is based on the reply rate Need to adjust; and adjustment steps, according to the judgment results to adjust the response method of the download data confirmation.

本發明的下載資料確認回復方式調整方法及電子裝置根據上載鏈路和下載鏈路能夠負荷的資料包數量及下載資料ACK的數量動態地調整下載資料ACK的回復方式,針對多個下載資料包回復一個下載資料ACK,從而解決因上載鏈路和下載鏈路頻寬極度不平衡而引起的下載資料ACK延遲等資料傳輸問題。 The method for adjusting the download data confirmation reply mode of the present invention and the electronic device dynamically adjust the reply mode of the download data ACK according to the number of data packets that can be loaded by the upload link and the download link and the number of downloaded data ACK, and reply to multiple download data packets. A download data ACK is used to solve the problem of data transmission such as download data ACK delay caused by the extreme imbalance of the upload link and the download link bandwidth.

1‧‧‧電子裝置 1‧‧‧Electronic device

10‧‧‧下載資料確認回復方式調整系統 10‧‧‧Download data confirmation reply mode adjustment system

101‧‧‧獲取模組 101‧‧‧Getting module

103‧‧‧計算模組 103‧‧‧Computation Module

105‧‧‧判斷模組 105‧‧‧Judgement module

107‧‧‧調整模組 107‧‧‧Adjustment module

14‧‧‧處理器 14‧‧‧ Processor

16‧‧‧記憶體 16‧‧‧ memory

圖1是本發明較佳實施例的下載資料確認回復方式調整系統的運用環境及功能模組圖。 1 is a diagram showing an operating environment and a function module of a download data confirmation reply mode adjustment system according to a preferred embodiment of the present invention.

圖2是本發明較佳實施例的下載資料確認回復方式調整方法的流程圖。 2 is a flow chart of a method for adjusting a reply data confirmation reply mode according to a preferred embodiment of the present invention.

如圖1所示,本發明較佳實施例的下載資料ACK回復方式調整系統的運用環境及功能模組圖。該下載資料ACK回復方式調整系統10安裝並運行在電子裝置1中。該電子裝置1可以是手機、PDA(personal digital assistant,個人數位助理)、掌上遊戲機、數碼相機或掌上電腦等可擕式電子裝置。該下載資料ACK回復方式調整系統10用於在該電子裝置1進行資料傳輸前,根據上載鏈路及下載鏈路的負荷狀態動態調整下載資料確認回復方式,以提高資料下載速度。 FIG. 1 is a diagram showing an operating environment and a functional module diagram of a download data ACK reply mode adjustment system according to a preferred embodiment of the present invention. The download material ACK reply mode adjustment system 10 is installed and operated in the electronic device 1. The electronic device 1 can be a portable electronic device such as a mobile phone, a PDA (personal digital assistant), a handheld game console, a digital camera or a palmtop computer. The download data ACK response mode adjustment system 10 is configured to dynamically adjust the download data confirmation reply mode according to the load status of the upload link and the download link before the electronic device 1 performs data transmission, so as to improve the data download speed.

該電子裝置1還包括處理器14以及記憶體16。該記憶體16可內置於所述電子裝置1,還可以是獨立的外部儲存卡,如SM卡(Smart Media Card,智慧媒體卡)、SD卡(Secure Digital Card,安全數位卡)等。該記憶體16用於儲存各類資料。該處理器14用於執行所述電子裝置1中的作業系統及各應用程式,如本發明所述的下載資料確認回復方式調整系統10。所述下載資料確認回復方式調整系統10主要包括獲取模組101、計算模組103、判斷模組105以及調整模組107。 The electronic device 1 further includes a processor 14 and a memory 16. The memory 16 can be built in the electronic device 1, and can also be a separate external storage card, such as a SIM card (Smart Media Card), an SD card (Secure Digital Card), and the like. The memory 16 is used to store various types of materials. The processor 14 is configured to execute the operating system and each application in the electronic device 1, such as the download data confirmation reply mode adjustment system 10 of the present invention. The download data confirmation reply mode adjustment system 10 mainly includes an acquisition module 101, a calculation module 103, a determination module 105, and an adjustment module 107.

該電子裝置1可連接至少一個網路,以下說明以所述網路其中之一做範例。該獲取模組101用於獲取對應該網路的實體層的資源配置狀態,該資源配置狀態包括上載鏈路的頻寬和下載鏈路的頻寬。 The electronic device 1 can be connected to at least one network, and the following description is exemplified by one of the networks. The obtaining module 101 is configured to obtain a resource configuration state of a physical layer corresponding to the network, where the resource configuration state includes a bandwidth of the upload link and a bandwidth of the download link.

該計算模組103用於根據實體層的資源配置狀態計算下載鏈路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量,再根據下載鏈 路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量計算下載資料ACK的回復速率。 The calculation module 103 is configured to calculate, according to the resource configuration state of the physical layer, the number of data packets that can be loaded by the download link and the number of downloaded data ACKs that can be loaded by the upload link, and then according to the download chain. The number of packets that can be loaded by the road and the number of downloaded data ACKs that can be loaded by the upload link calculate the recovery rate of the downloaded data ACK.

在本較佳實施例中,該計算模組103計算下載鏈路的傳輸量Tput_DL,計算每個下載資料包封裝到實體層的大小NDL_data_size,得到下載鏈路能夠負荷的資料包數量;計算實體層上載鏈路的傳輸量Tput_UL,計算每個下載資料下載資料ACK封裝到實體層的大小NDL_ACK_size,得到上載鏈路能夠負荷的下載資料ACK數量;再根據該下載鏈路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量計算下載資料ACK的回復速率R。 In the preferred embodiment, the computing module 103 calculates the transmission amount Tput_DL of the download link, calculates the size NDL_data_size of each download data packet encapsulated to the physical layer, and obtains the number of data packets that can be loaded by the download link; Uploading the transmission amount Tput_UL of the link, calculating the size NDL_ACK_size of each download data download data ACK encapsulated to the physical layer, obtaining the number of download data ACKs that the upload link can load; and then according to the number of data packets that can be loaded by the download link and uploading The number of downloaded data ACKs that the link can load calculates the recovery rate R of the downloaded data ACK.

在本較佳實施例中,該計算模組103根據下列公式:R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size)確定下載資料ACK的回復速率。 In the preferred embodiment, the computing module 103 determines the recovery rate of the downloaded material ACK according to the following formula: R = (Tput_DL / NDL_data_size) / (Tput_UL / NDL_ACK_size).

該判斷模組105,用於根據該回復速率判斷下載資料ACK的回復方式是否需要調整。當回復速率發生變化時,則判斷需要調整下載資料ACK的回復方式,當回復速率未發生變化時,則判斷不需要調整下載資料ACK的回復方式。 The determining module 105 is configured to determine, according to the reply rate, whether the reply mode of the downloaded data ACK needs to be adjusted. When the reply rate changes, it is judged that the reply mode of the download data ACK needs to be adjusted. When the reply rate does not change, it is judged that the reply mode of the download data ACK does not need to be adjusted.

該調整模組107,用於根據判斷結果調整下載資料ACK的回復方式。在本較佳實施例中,該調整模組107調整下載資料ACK的回復方式為該每下載N個資料包回復一個下載資料ACK,其中,當R為整數時,N等於R,當R為小數時,N等於R取整數後加1。例如,假設下載資料包速度(100M bps)為每秒可下載100個數據包,上載鏈路回傳下載資料ACK的速度(1M bps)為每秒只夠回傳30個下載資料ACK,該計算模組103計算得到下載資料下載資料ACK回復速率R為3.3,則取整數加1,為4,則該調整模組107調整下載資料ACK的回復方式為下載鏈路每下載4個資料包,上載鏈路回復一個下載資料ACK,如此,即可在與下載 資料包相同時間完成下載資料ACK的上載,可使資料下載速度達到滿載速度100M bps。 The adjustment module 107 is configured to adjust a reply mode of the downloaded data ACK according to the determination result. In the preferred embodiment, the adjustment module 107 adjusts the reply mode of the downloaded data ACK to reply a download data ACK for each N data packets downloaded, wherein when R is an integer, N is equal to R, and when R is a decimal When N is equal to R, the integer is incremented by 1. For example, suppose the download packet speed (100M bps) is 100 packets per second, and the speed at which the upload link returns the downloaded data ACK (1M bps) is only enough to return 30 download data ACKs per second. The module 103 calculates that the ACK reply rate R of the downloaded data download data is 3.3, and then takes the integer plus one to 4, and the adjustment module 107 adjusts the reply mode of the download data ACK to download the 4 data packets for each download link. The link replies with a download data ACK, so that you can download and download The data package completes the upload of the download data ACK at the same time, so that the data download speed reaches the full load speed of 100M bps.

如圖2所示,本發明下載資料確認回復方式調整方法較佳實施方式的流程圖。該下載資料確認回復方式調整方法包括以下步驟。該電子裝置1可連接至少一個網路,以下說明以所述網路其中之一做範例。 As shown in FIG. 2, a flowchart of a preferred embodiment of the method for adjusting the reply mode of the download data of the present invention is shown. The download data confirms that the reply method adjustment method includes the following steps. The electronic device 1 can be connected to at least one network, and the following description is exemplified by one of the networks.

步驟300,該獲取模組101用於獲取對應該網路的實體層的資源配置狀態,該資源配置狀態包括上載鏈路的頻寬和下載鏈路的頻寬。 Step 300: The obtaining module 101 is configured to obtain a resource configuration state of a physical layer corresponding to the network, where the resource configuration state includes a bandwidth of the upload link and a bandwidth of the download link.

步驟301,該計算模組103根據實體層的資源配置狀態計算下載鏈路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量,再根據下載鏈路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量計算下載資料ACK的回復速率。 Step 301: The computing module 103 calculates, according to the resource configuration state of the physical layer, the number of data packets that can be loaded by the download link and the number of downloaded data ACKs that can be loaded by the upload link, and then according to the number of data packets that can be loaded on the download link and uploaded. The number of downloaded data ACKs that the link can load calculates the recovery rate of the downloaded data ACK.

在本較佳實施例中,該計算模組103計算下載鏈路的傳輸量Tput_DL,計算每個下載資料包封裝到實體層的大小NDL_data_size,得到下載鏈路能夠負荷的資料包數量;計算實體層上載鏈路的傳輸量Tput_UL,計算每個下載資料下載資料ACK封裝到實體層的大小NDL_ACK_size,得到上載鏈路能夠負荷的下載資料ACK數量;再根據該下載鏈路能夠負荷的資料包數量及上載鏈路能夠負荷的下載資料ACK數量計算下載資料ACK的回復速率R。 In the preferred embodiment, the computing module 103 calculates the transmission amount Tput_DL of the download link, calculates the size NDL_data_size of each download data packet encapsulated to the physical layer, and obtains the number of data packets that can be loaded by the download link; Uploading the transmission amount Tput_UL of the link, calculating the size NDL_ACK_size of each download data download data ACK encapsulated to the physical layer, obtaining the number of download data ACKs that the upload link can load; and then according to the number of data packets that can be loaded by the download link and uploading The number of downloaded data ACKs that the link can load calculates the recovery rate R of the downloaded data ACK.

在本較佳實施例中,該計算模組103根據下列公式:R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size)確定下載資料ACK的回復速率。 In the preferred embodiment, the computing module 103 determines the recovery rate of the downloaded material ACK according to the following formula: R = (Tput_DL / NDL_data_size) / (Tput_UL / NDL_ACK_size).

步驟303,該判斷模組105根據該回復速率判斷下載資料ACK的回復方式是否需要調整。當回復速率發生變化時,進入步驟305,當回復速率未發生變化時,進入步驟305則判斷不需要調整下載資料ACK的回復方式。 Step 303: The determining module 105 determines, according to the reply rate, whether the reply mode of the downloaded data ACK needs to be adjusted. When the reply rate changes, the process proceeds to step 305. When the reply rate has not changed, the process proceeds to step 305 to determine that the reply mode of the downloaded data ACK does not need to be adjusted.

步驟305,該調整模組107根據判斷結果調整下載資料ACK的回復方式。在本較佳實施例中,該調整模組107將下載資料ACK的回復方式調整為每下載N個下載資料包回復一個下載資料ACK。當R為整數時,N等於R,當R為小數時,N等於R取整數後加1。例如,假設下載資料包速度(100M bps)為每秒可下載100個數據包,上載鏈路回傳下載資料ACK的速度(1M bps)為每秒只夠回傳30個下載資料ACK,該計算模組103計算得到下載資料下載資料ACK回復速率為R為3.3,則取其整數加1,為4,則該調整模組107將下載資料ACK的回復方式調整為每下載4個下載資料包回復一個下載資料ACK,如此,即可在與下載資料包相同時間完成下載資料ACK的上載,可使資料下載速度達到滿載速度100M bps。 Step 305, the adjustment module 107 adjusts the reply mode of the download data ACK according to the judgment result. In the preferred embodiment, the adjustment module 107 adjusts the reply mode of the download data ACK to reply one download data ACK every N download data packets. When R is an integer, N is equal to R. When R is a decimal, N is equal to R and is incremented by one. For example, suppose the download packet speed (100M bps) is 100 packets per second, and the speed at which the upload link returns the downloaded data ACK (1M bps) is only enough to return 30 download data ACKs per second. The module 103 calculates that the ACK reply rate of the downloaded data download data is R is 3.3, and the integer is incremented by one, which is 4, and the adjustment module 107 adjusts the reply mode of the downloaded data ACK to reply for downloading 4 download packets. A download data ACK, in this way, the upload of the download data ACK can be completed at the same time as downloading the data package, so that the data download speed reaches the full load speed of 100M bps.

步驟307,該調整模組107不需要調整下載資料ACK的回復方式,可沿用原先的下載資料ACK的回復方式。 In step 307, the adjustment module 107 does not need to adjust the reply mode of the download data ACK, and the reply mode of the original download data ACK can be used.

本發明的下載資料確認回復方式調整方法及電子裝置1根據上載鏈路和下載鏈路能夠負荷的資料包數量及下載資料ACK的數量動態地調整下載資料ACK的回復方式,針對多個下載資料包回復一個下載資料ACK,從而解決因上載鏈路和下載鏈路頻寬極度不平衡而引起的下載資料ACK延遲等資料傳輸問題。 The download data confirmation reply mode adjustment method and the electronic device 1 of the present invention dynamically adjust the reply mode of the download data ACK according to the number of data packets that can be loaded on the upload link and the download link, and the number of download data ACKs, for multiple download data packets. Respond to a download data ACK to solve the problem of data transmission such as download data ACK delay caused by the extreme imbalance of the upload link and download link bandwidth.

綜上所述,本創作符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本創作之較佳實施例,本創作之範圍並不以上述實施例為限,舉凡熟習本案技藝之人士爰依本創作之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。 In summary, the creation meets the requirements of the invention patent, and the patent application is filed according to law. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and those skilled in the art will be equivalently modified or changed according to the spirit of the present invention. It should be covered by the following patent application.

Claims (8)

一種電子裝置,該電子裝置連接網路且該電子裝置包括:獲取模組,用於獲取該電子裝置對應該網路的實體層的資源配置狀態;計算模組,用於計算該實體層的下載鏈路的傳輸量,計算每個下載資料包封裝到該實體層的大小,計算該實體層的上載鏈路的傳輸量,計算每個下載資料確認封裝到該實體層的大小;根據該下載鏈路的傳輸量,該每個下載資料包的大小,該上載鏈路的傳輸量以及該下載資料確認的大小,確定下載資料確認的回復速率;判斷模組,用於根據該回復速率判斷下載資料確認的回復方式是否需要調整;以及調整模組,用於根據判斷結果調整下載資料確認的回復方式;其中該調整模組將下載資料確認的回復方式調整為每下載N個下載資料包回復一個下載資料確認,N為大於零的整數。 An electronic device, the electronic device is connected to a network, and the electronic device includes: an acquisition module, configured to acquire a resource configuration state of the physical layer of the electronic device corresponding to the network; and a calculation module, configured to calculate the download of the physical layer The transmission amount of the link, calculating the size of each download data packet encapsulated to the physical layer, calculating the transmission amount of the upload link of the physical layer, and calculating the size of each download data to be encapsulated into the physical layer; according to the download chain The transmission amount of the road, the size of each download data packet, the transmission amount of the upload link and the size of the download data confirmation, determine the recovery rate of the download data confirmation; the determination module is configured to determine the download data according to the recovery rate Whether the confirmation reply mode needs to be adjusted; and the adjustment module is configured to adjust the reply mode of the download data confirmation according to the judgment result; wherein the adjustment module adjusts the reply mode of the download data confirmation to each download N download data package to reply one download The data confirms that N is an integer greater than zero. 如申請專利範圍第1項所述的電子裝置,其中該計算模組根據公式:R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size)確定下載資料確認的回復速率,其中,R表示下載資料確認的回復速率,Tput_DL表示該實體層的下載鏈路的傳輸量,NDL_data_size表示每個下載資料包封裝到該實體層的大小,Tput_UL表示該實體層的上載鏈路的傳輸量,NDL_ACK_size表示每個下載資料確認封裝到該實體層的大小。 The electronic device according to claim 1, wherein the calculation module determines a recovery rate of the download data confirmation according to the formula: R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size), wherein R represents the download data confirmation. The recovery rate, Tput_DL indicates the transmission amount of the download link of the physical layer, NDL_data_size indicates the size of each download packet encapsulated to the physical layer, Tput_UL indicates the transmission amount of the upload link of the physical layer, and NDL_ACK_size indicates each downloaded data. Confirm the size of the encapsulation to the physical layer. 如申請專利範圍第2項所述的電子裝置,其中當回復速率發生變化時,則判斷需要調整下載資料確認的回復方式,當回復速率未發生變化時,則判斷不需要調整下載資料確認的回復方式。 The electronic device of claim 2, wherein when the recovery rate changes, it is determined that the reply mode of the download data confirmation needs to be adjusted, and when the reply rate does not change, it is determined that the reply of the download data confirmation is not required to be adjusted. the way. 如申請專利範圍第3項所述的電子裝置,其中,當R為整 數時,N等於R,當R為小數時,N等於R取整數後加1。 An electronic device according to claim 3, wherein when R is a whole When the number is, N is equal to R. When R is a decimal, N is equal to R and is incremented by 1 and then incremented by 1. 一種下載資料確認回復方式調整方法,用於連接網路的電子裝置,該方法包括:獲取步驟,獲取該電子裝置對應該網路的實體層的資源配置狀態;計算步驟,計算該實體層下載鏈路的傳輸量,計算每個下載資料包封裝到該實體層的大小,計算該實體層上載鏈路的傳輸量,計算每個下載資料確認封裝到該實體層的大小;根據該下載鏈路的傳輸量,該每個下載資料包的大小,該上載鏈路的傳輸量以及該下載資料確認的大小,確定下載資料確認的回復速率;判斷步驟,根據該回復速率判斷下載資料確認的回復方式是否需要調整;以及調整步驟,根據判斷結果調整下載資料確認的回復方式;其中該調整模組將下載資料確認的回復方式調整為每下載N個下載資料包回復一個下載資料確認,N為大於零的整數。 A method for adjusting a reply data confirmation method for connecting to an electronic device of a network, the method comprising: obtaining a step of acquiring a resource configuration state of a physical layer corresponding to the network of the electronic device; calculating a step of calculating the physical layer download chain The amount of transmission of the road, calculating the size of each download packet encapsulated into the physical layer, calculating the transmission amount of the upload link of the physical layer, and calculating the size of each downloaded data to be encapsulated into the physical layer; according to the download link The amount of transmission, the size of each download packet, the transmission amount of the upload link, and the size of the download data confirmation, determine the recovery rate of the download data confirmation; the determining step, determining whether the reply mode of the download data confirmation is based on the reply rate Need adjustment; and adjustment step, according to the judgment result, adjust the reply mode of the download data confirmation; wherein the adjustment module adjusts the reply mode of the download data confirmation to each download N data package to reply to a download data confirmation, N is greater than zero Integer. 如申請專利範圍第5項所述的下載資料確認回復方式調整方法,其中該計算步驟根據公式:R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size)確定下載資料確認的回復速率,其中,R表示下載資料確認的回復速率,Tput_DL表示該實體層的下載鏈路的傳輸量,NDL_data_size表示每個下載資料包封裝到該實體層的大小,Tput_UL表示該實體層的上載鏈路的傳輸量,NDL_ACK_size表示每個下載資料確認封裝到該實體層的大小。 The method for confirming the reply mode adjustment according to the fifth aspect of the patent application scope, wherein the calculating step determines the reply rate of the download data confirmation according to the formula: R=(Tput_DL/NDL_data_size)/(Tput_UL/NDL_ACK_size), wherein R represents Download the data to confirm the reply rate, Tput_DL indicates the transmission amount of the download link of the physical layer, NDL_data_size indicates the size of each download packet encapsulated to the physical layer, and Tput_UL indicates the transmission amount of the upload link of the physical layer, NDL_ACK_size indicates Each download material confirms the size of the encapsulation to the physical layer. 如申請專利範圍第6項所述的下載資料確認回復方式調整方法,其中當回復速率發生變化時,則判斷需要調整下載資料確認的回復方式,當回復速率未發生變化時,則判斷不需要調整下載資料確認的回復 方式。 The method for adjusting the reply mode of the download data according to item 6 of the patent application scope, wherein when the reply rate changes, it is judged that the reply mode of the download data confirmation needs to be adjusted, and when the reply rate does not change, it is judged that no adjustment is needed. Download the confirmation of the confirmation the way. 如申請專利範圍第7項所述的下載資料確認回復方式調整方法,其中,當R為整數時,N等於R,當R為小數時,N等於R取整數後加1。 For example, when the R is an integer, N is equal to R, and when R is a decimal, N is equal to R and is incremented by one.
TW105123645A 2016-07-26 2016-07-26 Method for adjusting acknowledgement of download data and electronic device using same TWI626834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105123645A TWI626834B (en) 2016-07-26 2016-07-26 Method for adjusting acknowledgement of download data and electronic device using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105123645A TWI626834B (en) 2016-07-26 2016-07-26 Method for adjusting acknowledgement of download data and electronic device using same

Publications (2)

Publication Number Publication Date
TW201804747A TW201804747A (en) 2018-02-01
TWI626834B true TWI626834B (en) 2018-06-11

Family

ID=62014182

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105123645A TWI626834B (en) 2016-07-26 2016-07-26 Method for adjusting acknowledgement of download data and electronic device using same

Country Status (1)

Country Link
TW (1) TWI626834B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275404A1 (en) * 2011-04-29 2012-11-01 Industry-Academic Cooperation Foundation, Yonsei University Terminal and resource scheduling method thereof
TW201620267A (en) * 2014-08-28 2016-06-01 蘋果公司 User equipment transmit duty cycle control

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120275404A1 (en) * 2011-04-29 2012-11-01 Industry-Academic Cooperation Foundation, Yonsei University Terminal and resource scheduling method thereof
TW201620267A (en) * 2014-08-28 2016-06-01 蘋果公司 User equipment transmit duty cycle control

Also Published As

Publication number Publication date
TW201804747A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
US11522800B2 (en) Systems and methods for retransmission rate selection to support fast moving devices
JP6705003B2 (en) Data transmission method and related device
US11146362B2 (en) Internet of things data transmission method, device and system
US20130185406A1 (en) Communication method of target node to prefetch segments of content in content-centric network (ccn) and target node
US20210126741A1 (en) Retransmission control method, communications interface, and electronic device
CN105376173A (en) Sending window flow control method and terminal
US10158543B2 (en) Method of estimating round-trip time (RTT) in content-centric network (CCN)
KR102610823B1 (en) Communication system and method for network address translation
CN114157603A (en) Congestion control method, device, equipment and storage medium
US8446866B2 (en) Base station apparatus and wireless resource allocation method
CN110380978B (en) Scheduling method and device for multipath transmission, computer equipment and storage medium
US20170264682A1 (en) Data movement among distributed data centers
TWI626834B (en) Method for adjusting acknowledgement of download data and electronic device using same
US10530701B2 (en) RUDP apparatus and dynamic adjustment method of sliding window parameter
US20060116074A1 (en) Communication repeater, communication repeater program, and communication repeater system
CN107659385B (en) Method for adjusting download data confirmation reply mode and electronic device
JP6488527B2 (en) Receiving device, receiving method, program, and processor
CN104426638A (en) Data submission method and device
WO2017077704A1 (en) Throughput measuring device and method, and recording medium
CN104580006A (en) Mobile network sending rate control method, device and system
WO2021036189A1 (en) Rdma data sending and receiving methods, electronic device and readable storage medium
US9882751B2 (en) Communication system, communication controller, communication control method, and medium
CN112948105B (en) Gradient transmission method, gradient transmission device and parameter server
CN109525502B (en) Reliable user packet protocol device and dynamic adjustment method of sliding window parameter
CN111416802B (en) TCP-based data processing method and device, electronic equipment and readable medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees