TW201015906A - A transmitting method of network package - Google Patents

A transmitting method of network package Download PDF

Info

Publication number
TW201015906A
TW201015906A TW97139583A TW97139583A TW201015906A TW 201015906 A TW201015906 A TW 201015906A TW 97139583 A TW97139583 A TW 97139583A TW 97139583 A TW97139583 A TW 97139583A TW 201015906 A TW201015906 A TW 201015906A
Authority
TW
Taiwan
Prior art keywords
packet
client
data packet
data
server
Prior art date
Application number
TW97139583A
Other languages
Chinese (zh)
Inventor
Yang Zhang
lian-cheng Li
Shu-Gei Wu
Jian Lv
Xiao-Peng Liou
Tom Chen
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW97139583A priority Critical patent/TW201015906A/en
Publication of TW201015906A publication Critical patent/TW201015906A/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A transmitting method of network package, utilizes to the server resend the packages to the client during different rounds. The transmitting method comprises of the steps. The server sends a plurality of the data packages to the client and assigns the number for each the data packages. The client processes a checking process for checking the sequence of the data packages according to the number of the data packages. The client records the number of the lost package in the report. The client transmits the report to the server. If the number of lost packers is over a threshold, the client resends the data packages that the client lost when the next broadcast round. Otherwise the server resend the data packages by TCP.

Description

201015906 九、發明說明: 【發明所屬之技術領域】 包之的傳送方法,特別有關於-種群播時的資料封 【先前技術】 傳輸)也加,路 ❹算機裝朗㈣,,2機衣1的生錢商為了·速的安裝計 機裝置的系統安广在用:路映像備份來進行生產虹 (高__:^輪峨份謝係多以群播 中,=㈣資崎_咖—細成員們。其 二成貝可能分佈在不同的區域網路上, (路地址。群播會比-次只對-個網路節點作傳輸的單二: ❿(職㈣,更節省網路頻寬和網路地址的使用。 傳插 影響再Μ網路狀—戶端等諸多因素的 的目的必須保持資=的過程中常會發生丢失。但映嶋 端進行重發。^ 、凡整性’因此吾失的資料封包必須由飼服 丁重發的群播重發機制係包括以下步驟,請參考「第工 勺'隹> D '、係為白知技術之運作流程示意圖:伺服端將資料封 ⑽餘财發送(步驟S11Q),並將麟記錄在颜封包中。 而在收到資料封包後並讀取其編號(步驟⑽)。如果與上— 201015906 次收到的細制編號不_,㈣定輸情包錢。隨後, ^^.X^^^it^CTransm^on control protocoI , TCp) 請求的方式要細晴新發送丟失的㈣封包(步驟㈣)。201015906 IX. Description of the invention: [Technical field to which the invention pertains] The transmission method of the package, in particular, the data package when the population is broadcasted [previously] transmission is also added, the road computer is equipped with a lang (four), 2 machine clothes The producer of the 1st money for the speed of the installation of the system of the computer is widely used: road image backup to produce production rainbow (high __: ^ 峨 峨 谢 谢 谢 谢 以 以 群 群 群 群 = = = 咖 咖- Fine members. The second 20% of them may be distributed on different regional networks. (The road address. The multicast will be transmitted only one time - only one network node: ❿ ((4), more network-saving The use of bandwidth and network address. The purpose of interpolating and affecting the network--the terminal and other factors must be lost in the process of keeping the money. However, the image is retransmitted. ^, the integrity 'Therefore, the data packet that I lost must be re-issued by the feeding service. The following steps are included. Please refer to the "Working spoon" 隹> D ', which is the schematic diagram of the operation process of Baizhi technology: the server will The data seal (10) is sent (step S11Q), and the record is recorded in the Yan package. After the data packet is read and its number is read (step (10)). If the fine number received with the above - 201015906 is not _, (4) the money is lost. Then ^^.X^^^it^CTransm^on Control protocoI, TCp) The method of requesting is to send the missing (four) packet (step (4)).

夕這種機制的缺陷在於:由於Tcp傳輸她於群播速度要慢得 ^所以當網路狀況不佳且射概錢比較頻繁時,傳輸效率 大幅降低。若是資料封包的丢失多發生在交換機或其他 ,路閘這設備時,這樣會使得此-網域中的客戶端都無法接收到 这漏的貝料封包。因而造成触端在同—時間中收到大量取請 求’使得伺服端壓力嚴重增加。 . σ月 【發明内容】 馨於以上關題,本發明的主要目的在於提供—種網路封包 之發运方法,於伺服端在網路群播的不_合時,對於 端未接收的資料封包之補發處理。 、 /為達上述目的’本發明所揭露之—種網路封包之發送方法, 其係包括以下步驟:伺服端發送複數個f料封包,並對資料 ^派相應峨心離㈣職;縣⑽進行檢^ 序,據資料封包的編號肋確認所接收到的資料封包 j =收到的㈣封包記錄在檢查報告中;客戶端將檢查報告專 匕妾收門&值,右檢查報告符合封包接收門禮值日夺,飼服端 201015906 回合時利用群播方式重新發送客戶端奸收至ί 封包,若檢查報告夫您 文收到的資料 合的群播結束後,再利=包接收陳料,伺服鱗在所有回 接收到的:嶋包㈣傳麵細蝴新發送客戶端未 :是針===服端重新發送資料封包的發送方法,特別 未被接收的資料伺™ ❿方式進行補發的_ 方式或傳輸控制協議的 的資料:;Γ使峨^ 亦可以降低客戶端佔用網路頻寬的使用率。 ^關本發明的特徵與實作,兹配合圖示作最佳實施例詳細說 【實施方式】 言青「糾 φ $ 2 ®」所不’其係為網路架構示意®。在本發明 ❿明务個飼服端跡第一客戶端220與第二客戶端230作為說 亚非數量你限於此。鑛端21Q透 第二客戶端2,並且一 —_、而飼服全而210在傳送資料封包前會指派唯-的編號給每 滩、^ =封包。在伺服端21 〇中儲存有雜湊集合表(hash set iabIe)。 二 σ表係用以記錄客戶端未接收到的資料封包之編號。 厂土夕 弟3圖」所示,其係為本發明之一種實施態樣流程 不思圖。飼服端發送複數個資料封包,並指派資料封包相應的編 201015906 號(步驟S310)。客戶端接收資料封包(步驟S32⑺。在客戶端中進 行檢查程序,根據資料封包的編號用以確認所接收到的資而料封 包,並將未被接收到的資料封包記錄在檢查報告中(步騍S33〇)。 根據當前收到的資料封包(編號為N)與前一個收到的資料封 包(編號為M)進行比對(步驟S340)。其中,比對資料封包n與資 料封包Μ的比對方式包括有以下情況。第一種狀況:若編號Ν'的 資料封包小於編號Μ的資料封包,則捨棄編號為ν的資料封包。 ❹第二歡況:若編號Ν的資顯包等於編號Μ的㈣封包,則繼 ,,接收次料封包。第三種狀況:若編號Ν的資料封包大於編 號Μ的資料封包,則將編號雕Μ)區間的資料封包記錄至檢查 報告中。 將檢查報告回傳至祠服端(步驟S35〇)。由飼服端執行重發顏 序,飼服端根據網路傳輸速度決定封包接收門檀值(步驟s X;The shortcoming of this mechanism is that the transmission efficiency is greatly reduced when the network is in a bad condition and the cost is relatively high because of the slow transmission of the Tcp transmission. If the loss of the data packet occurs mostly in the switch or other device, this will prevent the client in this domain from receiving the leaked packet. As a result, the contact end receives a large number of requests in the same time - causing a severe increase in servo pressure. σ月[Abstract] The main purpose of the present invention is to provide a method for shipping a network packet, which is not received by the server when the network is not in the network. Reissue processing of the packet. And / for the above purpose, the invention discloses a method for transmitting a network packet, which comprises the following steps: the server sends a plurality of f-packets, and sends a corresponding message to the data (four); county (10) Check the sequence, confirm the received data packet according to the numbering rib of the data packet j = the received (four) packet is recorded in the inspection report; the client will check the report to collect the door & value, the right inspection report meets the packet Receiving the door ceremony value, the feeding service end will use the group broadcast method to resend the client's profit to the ί packet during the 201015906 round. If the report receives the information received by the reporter, the group will receive the message. Material, servo scale received at all back: 嶋 ( (4) 传 细 新 新 新 新 新 新 新 新 新 新 新 新 新 新 新 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = The information of the re-issued _ mode or transmission control protocol: Γ ^ can also reduce the usage of the network bandwidth occupied by the client. The features and implementations of the present invention will be described in detail with reference to the preferred embodiments. [Embodiment] The phrase "correction φ $ 2 ®" is not indicated by the network architecture. In the present invention, the first client 220 and the second client 230 are limited to the number of Asian and African clients. The mine end 21Q penetrates the second client 2, and one-_, while the feeding service is full and 210 will assign a unique number to each beach, ^ = packet before transmitting the data packet. A hash set iabIe is stored in the server 21 〇. The two σ table is used to record the number of the data packet that the client has not received. As shown in Figure 3 of the factory, it is an embodiment of the present invention. The feeding end sends a plurality of data packets, and assigns a data packet to the corresponding number 201015906 (step S310). The client receives the data packet (step S32 (7). The checking process is performed in the client, and the received data packet is confirmed according to the number of the data packet, and the unreceived data packet is recorded in the inspection report (step骒S33〇). According to the currently received data packet (numbered as N) and the previous received data packet (numbered as M) (step S340), wherein the comparison data packet n and the data packet Μ The comparison method includes the following cases: The first situation: if the data packet of the number Ν' is smaller than the data packet of the number Μ, the data packet numbered ν is discarded. ❹Second situation: if the numbered package is equal to The (4) packet of the number Μ, then, receives the packet of the secondary material. The third condition: if the data packet of the number Ν is larger than the data packet of the number Μ, the data packet of the numbered Μ) is recorded in the inspection report. The inspection report is transmitted back to the server (step S35〇). The re-issuing sequence is performed by the feeding end, and the feeding end determines the receiving value of the receiving door according to the network transmission speed (step s X;

P - SpeedP - Speed

Datagram 一 —* Intei^val 式1 p 係為封包Η檻值,.Speed係為網路傳輸速度;加鹏 為貝’斗封^大小’ Interval係為柯服端檢查報告的間隔時間。 若檢查報告符合封包魏聰值時,贿端係在次-回合時 用群播方式重新發送客戶端未接收到的資料封包(步驟咖 若檢查報告未符合封包概聰辦、在於次-回合時 利用傳輸控制協定的方式重新發送客戶端未接收到的資料封包(步 10 201015906 ❺ =「第4A圖」與「第4B圖」所示,其係為本發明的實 心a ^意圖。域清楚說明本發明之運作過程,在此以下 作她,讎梅此_細<。軸⑽發送 ㈣個貧料封包(其被指派的編號由〇〜999)。飼服端別盘客戶 路傳輸速度假設為8()趣卿咖,資料封㈣大 2黯,飼服端210檢查報告的間隔時間係為^。並且為清楚 Γ明客戶端所接收的資料封包之時間點,以下將以第-時間點、 弟一時間點、第三時間點與第四時間點依序作說明。 首先,由飼服端2K)開始依序地發送資料封包。第一客戶端 士開始接收伺服端別所發送的資料封包。第—客戶端22〇在第 一_點時接收到編號22的資料封包;第—客戶端22q於第二時 間,時到編號為25的資料封包,在第—時間點至第二時間點 之期間中第—客戶端22〇並未接收到其他資料封包。第—客戶端 參 會向伺服端21G發送-檢查報告,要求飼服端21()重新發送編 號23與編號24的資料封包。 主^艮端210在接收到檢查報告後,錬端會根據檢查報 j否符合封包接收服值用以決定餘補發㈣封包。再將上 述%境參數代帶入(式U可以得賴*2/(8*2)=10。第一客戶端22〇 、、、失封包被里小於封包接收門檻值。所以飼服端別會重新透 過群播的方讀_發資料封包。 方面第一客戶端23〇在第三時間點時接收到編號3〇〇 11 201015906 次轉封勺。_弟―各户端230在第四時間點時接收到編號35〇的 产查報主B司服"而210在接收到檢查報告後,伺服端2!〇會根據 ^第=否符合封包触nM值肋決定_補發資料封包。 伺服端210 Γ端230的遺失封包數量大於封包接收門禮值。所以 包。曰在群播結錢,利訂❹齡進行重新補發資料封 特别=峨供—翻服端加重新發輯科封包的發送方法, 客戶她路咖顿a。健端加係依據 各戶编所未被接收的資料封 制協議的蝴簡物。餅或傳輸控 補齊遺漏㈣,心、 %相在有限的時間中 ★ Ί…崎低客戶端佔用網路頻寬的使用率。 雖4發_祕讀辟補_如上,鮮並 疋本發明,任何熟習相像技蓺 、 ❹ 内,當可作些許之更_二:::::=_圍 f明細增梅機糊須視 【圖式簡單說明】 第1圖係為f知技術之運作流程示意圖。 第2圖係為本發明之架構示意圖。 f3圖係為本發明之1實施態樣流程示意圖 弟4A圖係為本發明的實施態樣運作示意圖。 第4B圖係為本發明的實施態樣運作示意圖。 12 201015906 【主要元件符號說明】 210 伺服端 220 第一客戶端 230 第二客戶端Datagram - * Intei^val Equation 1 p is the packet Η槛 value, .Speed is the network transmission speed; Jia Peng is the shell 斗 封 封 ^ size ' Interval is the interval between the Ke service end inspection report. If the inspection report meets the value of the package Wei Cong, the bribe end resends the data packet that the client has not received in the multicast mode during the second-round (the step of the coffee inspection report does not meet the package, the second-round) The data packet not received by the client is retransmitted by means of the transmission control protocol (step 10 201015906 ❺ = "4A" and "4B"), which is the solid a ^ intent of the present invention. In the operation process of the present invention, the following is made for her, and the shaft (10) sends (four) poor material packets (the assigned number is from 〇 to 999). The feeding speed of the customer's road transmission speed is assumed. For the 8 () interesting coffee, the data seal (four) big 2 黯, the interval between the inspection report of the feeding end 210 is ^. And in order to clearly indicate the time point of the data packet received by the client, the following will be the first time Point, brother one time point, third time point and fourth time point are explained in order. Firstly, the data packet is sent sequentially from the feeding end 2K). The first client starts to receive the data sent by the server. Packet. The first client 22 is in the first At the time of _, the data packet of number 22 is received; the first client 22q arrives at the data packet numbered 25 at the second time, and the client-client 22 is in the period from the first time point to the second time point. The other data packet is not received. The first client sends a check report to the server 21G, requesting the feeding end 21 () to resend the data packet of number 23 and number 24. The main terminal 210 receives the inspection report. After that, the terminal will determine whether the packet is received according to the inspection report, and then the above-mentioned % parameter is substituted (the formula U can be relied on *2/(8*2)=10. The first client 22〇,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Received the number 3〇〇11 201015906 sub-sealing spoons._Different--the terminal 230 received the number 35〇 of the inspection report at the fourth time point, and the 210 received the inspection report. Servo terminal 2! 决定 will be based on ^ = no to meet the packet touch nM value rib decision _ replacement data packet. The number of lost packets of the terminal 210 terminal 230 is greater than the value of the packet receiving door. Therefore, the package is saved in the group broadcast, and the data is re-issued for the age of the package. The method of sending, the customer she Lu Jiadun a. Jianduan Jia is based on the data of the unsealed data sealed agreement of each household editor. The cake or transmission control is missing (four), heart, % phase in a limited time In the middle of the Ί... 崎 low client usage network bandwidth usage. Although the four hair _ secret reading _ _ above, fresh and 疋 疋 发明 , 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何 任何2:::::=_ 围 围 细 细 增 增 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机 机Figure 2 is a schematic diagram of the architecture of the present invention. The f3 diagram is a schematic diagram of the embodiment of the present invention. The diagram of the 4A diagram is a schematic diagram of the operation of the embodiment of the present invention. Figure 4B is a schematic view of the operation of the embodiment of the present invention. 12 201015906 [Key component symbol description] 210 Servo terminal 220 First client 230 Second client

1313

Claims (1)

201015906 十、申請專利範圍: 1‘種網路封包之發送方法,應用於祠服端在網路群播的過程 中,對於客戶端未接收的資料封包之補發處理,該發送方法包 括以下步驟: 由-伺服端進行—群播程和用以發送複數個資料封包, 該飼服端並_些資料封包指派—相應的編號; 由一客戶端接收該些資料封包; 在該客戶端中進行一檢查程序,根據該些資料封包的編號 用以確销接_的該些資贿包,並絲被接㈣的該些資 V斗封包s己錄在一撿查報告中; 該客戶端將該檢查報告回傳至該伺服端; 由該伺服端執行—重發程序’該伺服端根據網路傳輸速度 決定一封包接收門檻值; 右該檢查報告符合該封包接收門權值時,該飼服端係在次 1合時利用群播方式重新發送該客戶端未接收到的該心 料封包;以及 一貝 若該檢查報告未符合該封包接收門檻值時,則該伺服端利 用傳輸控市彳協定(Transmission control pr〇t〇CC)丨,tcp) @ 、 新發送該客戶端未接收到的該些資料封包 式重 2’如申請專利範圍第】項所述之網路封包之發送方法,其令 戶端中進行的該檢查程序更包括以下步驟: 讀客 14 201015906 根據當前收到的該資料封包(編號為N)與前一個收到的該 資料封包(編號為M)進行比對; 若編號N的該資料封包小於編號Μ的該資料封包,則捨 棄編號為Ν的該資料封包; 若編號Ν的該資料封包等於編號Μ的該資料封包,則繼 續接收次一該資料封包;以及 若編號Ν的該資料封包大於編號μ的該資料封包,則將 ® 編號在(Ν-Μ)區間的該些資料封包記錄至該檢查報主中 3.如申請專利範圍第2項所述之網路封包之發送方法,其中該封 包門檻值係根據下式所決定:201015906 X. Patent application scope: 1) A method for transmitting network packets, which is applied to the retransmission process of data packets not received by the client during the process of network multicasting, and the sending method includes the following steps : by - server - group broadcast and used to send a plurality of data packets, the food service side - some data packet assignment - the corresponding number; a client receives the data packets; in the client An inspection procedure, based on the number of the data packets, is used to confirm the sales of the bribes, and the four (4) of the funds are recorded in a report; the client will The inspection report is transmitted back to the server; the server performs a retransmission procedure, and the server determines a packet receiving threshold according to the network transmission speed; when the right inspection report meets the packet receiving threshold weight, the feeding The service end resends the heartbeat packet that the client does not receive by using the multicast mode in the first one; and if the check report does not meet the threshold of the packet receiving threshold, the server end uses the server Use the Transmission Control pr〇t〇CC, tcp) @, to send the data that the client has not received, and the network is as described in the patent application scope. The sending method of the packet, the check procedure performed in the client further comprises the following steps: Reader 14 201015906 According to the currently received data packet (number N) and the previous received data packet (number M If the data packet of the number N is smaller than the data packet of the number 则, the data packet with the number Ν is discarded; if the data packet of the number 等于 is equal to the data packet of the number 则, the next data is continued. The data packet; and if the data packet of the number Ν is larger than the data packet of the number μ, the data packets of the number in the (Ν-Μ) interval are recorded in the inspection report main body. 3. The method for transmitting a network packet according to the above, wherein the threshold value of the packet is determined according to the following formula: 其中,Ρ係為該封包門檻值; Datagram係為該資料封包大小;] φ 告的間隔時間。 4.Where Ρ is the threshold of the packet; Datagram is the size of the data packet;] φ is the interval of the suffix. 4. 些資料封包之編號 ,’ Speed係為網路傳輸速度; 加⑽1鱗資顺端檢查報 其中在該 端未接收到的該 15The number of these data packets, 'Speed is the network transmission speed; plus (10) 1 scales cis-end inspection report which is not received at this end 15
TW97139583A 2008-10-15 2008-10-15 A transmitting method of network package TW201015906A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97139583A TW201015906A (en) 2008-10-15 2008-10-15 A transmitting method of network package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97139583A TW201015906A (en) 2008-10-15 2008-10-15 A transmitting method of network package

Publications (1)

Publication Number Publication Date
TW201015906A true TW201015906A (en) 2010-04-16

Family

ID=44830235

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97139583A TW201015906A (en) 2008-10-15 2008-10-15 A transmitting method of network package

Country Status (1)

Country Link
TW (1) TW201015906A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI555366B (en) * 2013-11-04 2016-10-21 騰訊科技(深圳)有限公司 A protocol request processing method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI555366B (en) * 2013-11-04 2016-10-21 騰訊科技(深圳)有限公司 A protocol request processing method
US10009444B2 (en) 2013-11-04 2018-06-26 Tencent Technology (Shenzhen) Company Limited Protocol request processing method and device using the same

Similar Documents

Publication Publication Date Title
US8132071B2 (en) Transmitting device, receiving device, packet transmission method, packet reception method, and programs for same
TWI259674B (en) Method and apparatus for reducing transmission errors in a third generation cellular system
US9065980B2 (en) Method for retransmission using checksums for identifying lost data packets
RU2501172C2 (en) Method and apparatus for packet loss compensation in user datagram protocol transmission mode
US20120110403A1 (en) Error Correction Scheme for Facsimile Over a Packet Switched Network
US20090219931A1 (en) Method and system for synchronization of packet
JP5255035B2 (en) Failover system, storage processing apparatus, and failover control method
TW201029488A (en) Method of generating a buffer status for a wireless communication system and related device
US20110038369A1 (en) Communication method and apparatus based on user datagram protocol
US8830877B2 (en) Transmitting device, transmitting method, and receiving method for multicast and broadcast service
JP2007531458A (en) Data restoration enhancement method for multicast / broadcast data distribution
TWI357748B (en) System and method for correlating messages within
CN109120385B (en) Data transmission method, device and system based on data transmission system
TW574798B (en) Communication method, transmitting device, receiving device. And communication system provided with the same
TW201015906A (en) A transmitting method of network package
TWI236246B (en) Communicating method, transmitting apparatus, receiving apparatus, and communicating system including them
JP2015056691A (en) Communication device and communication method
Adamson et al. Multicast Negative-Acknowledgment (NACK) Building Blocks
JP2001016209A (en) Information processor and information processing method, and computer-readable medium
US20130297747A1 (en) Electronic Content Distribution System
JP2012134758A (en) Video distribution device and video distribution method
CN101883144B (en) File breakpoint continuously-transmitting method based on SIP (Session Initiation Protocol)
KR100925636B1 (en) The networking method between non-pc device and server for providing the application services
JP2002176460A (en) Transmitter and communication system
CN113037762B (en) Communication method, device, equipment and storage medium