TW202029705A - Data transmitting method and data transmitting system - Google Patents
Data transmitting method and data transmitting system Download PDFInfo
- Publication number
- TW202029705A TW202029705A TW108103340A TW108103340A TW202029705A TW 202029705 A TW202029705 A TW 202029705A TW 108103340 A TW108103340 A TW 108103340A TW 108103340 A TW108103340 A TW 108103340A TW 202029705 A TW202029705 A TW 202029705A
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- data transmission
- electronic device
- transmission rate
- time point
- Prior art date
Links
Images
Abstract
Description
本揭露是有關於一種資料傳輸方法及資料傳輸系統,且特別是有關於一種避免使用者等待資料的資料傳輸方法及資料傳輸系統。This disclosure relates to a data transmission method and a data transmission system, and more particularly to a data transmission method and a data transmission system that avoids users from waiting for data.
網路資料傳輸是一種負載平衡的任務,使用一些機制去控制資料流經網路的路徑進而避免流量的擁塞,同時提昇網路輸出量 (network throughput)和網路資源利用率(network resource utilization)以維持終端使用者接收網路資料的品質。Network data transmission is a load balancing task. Some mechanisms are used to control the path of resources through the network to avoid congestion, and at the same time improve network throughput and network resource utilization (network resource utilization) To maintain the quality of network data received by end users.
目前主要造成網路延遲或是網路品質不穩定主要有傳遞延遲(Propagation delay)、傳輸延遲(Transmission delay)、節點處理延遲(Nodal processing delay)及佇列延遲(Queuing delay)。傳遞延遲為封包訊息在實體網路上傳輸所花費的時間,也就是傳輸的距離和電子訊號傳輸的速度有關。傳輸延遲與傳送端和接收端的硬體傳輸速度有關,例如有些傳輸設備的傳輸速度為100Mbps,而有些傳輸設備的傳輸速度是10 Mbps。節點處理延遲為路由器(Router)收到資料所需要處理封包的時間以及重新分配封包路徑所花費的時間。佇列延遲為路由器可能來不及處理所有的封包造成延遲,有可能是路由器本身無法處理過量資訊或是太多裝置分配共同的路由器。At present, the main causes of network delay or unstable network quality are propagation delay, transmission delay, nodal processing delay, and queuing delay. Transmission delay is the time it takes for the packet message to be transmitted on the physical network, that is, the transmission distance is related to the transmission speed of the electronic signal. The transmission delay is related to the hardware transmission speed of the transmitting end and the receiving end. For example, the transmission speed of some transmission equipment is 100 Mbps, and the transmission speed of some transmission equipment is 10 Mbps. The node processing delay is the time it takes for the router to process the packet and the time it takes to redistribute the packet path after receiving the data. Queue delay may cause delay because the router may not be able to process all the packets. It may be that the router itself cannot handle excessive information or too many devices are allocated to a common router.
在網路串流的應用中,當網路不穩定時,使用者可能會面對影像品質衰減或影像中斷的問題。即使只出線幾秒鐘的等待畫面,也會大幅影響使用者觀看的興致。因此,如何在網路傳輸資料而避免使用者等待資料是本領域技術人員應致力的目標。In the application of network streaming, when the network is unstable, users may face the problem of image degradation or image interruption. Even the waiting screen for only a few seconds will greatly affect the user's interest in viewing. Therefore, how to transmit data over the network without the user waiting for the data is the goal that those skilled in the art should strive for.
本揭露提供一種資料傳輸方法及資料傳輸系統,在網路傳輸資料而避免使用者等待資料。The present disclosure provides a data transmission method and a data transmission system, which transmits data over the network and prevents users from waiting for data.
本揭露提出一種資料傳輸方法,包括:電子裝置傳送第一資料傳輸率的資料傳輸請求到伺服器;以及伺服器在第一時間點之前傳送對應第二資料傳輸率的資料到電子裝置,其中第二資料傳輸率小於第一資料傳輸率。The present disclosure proposes a data transmission method, including: an electronic device sends a data transmission request of a first data transmission rate to a server; and the server transmits data corresponding to a second data transmission rate to the electronic device before the first time point, wherein the first The second data transmission rate is less than the first data transmission rate.
在本揭露的一實施例中,當第一時間點之前的頻寬大於第二資料傳輸率時,伺服器利用頻寬進一步在第一時間點之前傳輸對應第一資料傳輸率的資料到電子裝置。In an embodiment of the present disclosure, when the bandwidth before the first time point is greater than the second data transmission rate, the server uses the bandwidth to further transmit data corresponding to the first data transmission rate to the electronic device before the first time point .
在本揭露的一實施例中,當在第一時間點之前的時間間隔的頻寬大於第二資料傳輸率時,伺服器在時間間隔傳輸對應第二資料傳輸率的資料及對應第一資料傳輸率的資料到電子裝置。In an embodiment of the present disclosure, when the bandwidth of the time interval before the first time point is greater than the second data transmission rate, the server transmits the data corresponding to the second data transmission rate and the first data transmission in the time interval Rate the information to the electronic device.
在本揭露的一實施例中,當電子裝置在第一時間點播放的第一資料與電子裝置在第一時間點之後的第二時間點播放的第二資料的重複性大於門檻值,伺服器在第一時間點之前傳輸第二資料與第一資料的不同部分到電子裝置。In an embodiment of the present disclosure, when the repetitiveness of the first data played by the electronic device at the first time point and the second data played by the electronic device at the second time point after the first time point is greater than the threshold value, the server Transmit the second data and the different parts of the first data to the electronic device before the first time point.
一種資料傳輸系統,包括伺服器及耦接到伺服器的電子裝置。電子裝置傳送第一資料傳輸率的資料傳輸請求到伺服器。伺服器在第一時間點之前傳送對應第二資料傳輸率的資料到電子裝置,其中第二資料傳輸率小於第一資料傳輸率。A data transmission system includes a server and an electronic device coupled to the server. The electronic device transmits a data transmission request of the first data transmission rate to the server. The server transmits data corresponding to the second data transmission rate to the electronic device before the first time point, where the second data transmission rate is lower than the first data transmission rate.
在本揭露的一實施例中,當第一時間點之前的頻寬大於第二資料傳輸率時,伺服器利用頻寬進一步在第一時間點之前傳輸對應第一資料傳輸率的資料到電子裝置。In an embodiment of the present disclosure, when the bandwidth before the first time point is greater than the second data transmission rate, the server uses the bandwidth to further transmit data corresponding to the first data transmission rate to the electronic device before the first time point .
在本揭露的一實施例中,當在第一時間點之前的時間間隔的頻寬大於第二資料傳輸率時,伺服器在時間間隔傳輸對應第二資料傳輸率的資料及對應第一資料傳輸率的資料到電子裝置。In an embodiment of the present disclosure, when the bandwidth of the time interval before the first time point is greater than the second data transmission rate, the server transmits the data corresponding to the second data transmission rate and the first data transmission in the time interval Rate the information to the electronic device.
在本揭露的一實施例中,當電子裝置在第一時間點播放的第一資料與電子裝置在第一時間點之後的第二時間點播放的第二資料的重複性大於門檻值,伺服器在第一時間點之前傳輸第二資料與第一資料的不同部分到電子裝置。In an embodiment of the present disclosure, when the repetitiveness of the first data played by the electronic device at the first time point and the second data played by the electronic device at the second time point after the first time point is greater than the threshold value, the server Transmit the second data and the different parts of the first data to the electronic device before the first time point.
基於上述,本揭露的資料傳輸方法及資料傳輸系統會透過電子裝置傳送第一資料傳輸率的資料傳輸請求到伺服器。伺服器會在傳輸資料的例如前幾秒先傳送小於第一資料傳輸率的第二資料傳輸率的資料到電子裝置。如此一來,伺服器可透過大於第二資料傳輸率的額外頻寬來傳輸後續對應第一資料傳輸率的資料。此外,當連續資料的重複性大於門檻值時,伺服器也只會傳輸連續資料的不同部分到電子裝置。Based on the above, the data transmission method and data transmission system of the present disclosure will transmit a data transmission request of the first data transmission rate to the server through the electronic device. The server transmits data with a second data transmission rate that is less than the first data transmission rate to the electronic device, for example, a few seconds before transmitting the data. In this way, the server can transmit subsequent data corresponding to the first data transmission rate through the additional bandwidth greater than the second data transmission rate. In addition, when the repeatability of continuous data is greater than the threshold, the server will only transmit different parts of the continuous data to the electronic device.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more obvious and understandable, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
圖1為根據本揭露一實施例的資料傳輸系統的方塊圖。FIG. 1 is a block diagram of a data transmission system according to an embodiment of the disclosure.
請參照圖1,本揭露一實施例的資料傳輸系統100包括伺服器110及耦接到伺服器110的電子裝置120。電子裝置120例如是個人電腦、筆記型電腦、智慧型手機、平板電腦或其他類似元件。伺服器110的動態或靜態影像資料111經過壓縮模組112的編碼透過單一播送(unicast)或多重播送(multicast)傳送到電子裝置120。電子裝置120可將接收到的資料先暫存在記憶體121中,並由應用程式122從記憶體121取得資料以進行解碼操作而播放給使用者觀看。記憶體121包括了緩衝記憶體。Please refer to FIG. 1, the
當使用者透過電子裝置120開始跟伺服器110要求下載資料時,一開始伺服器110會先提供低解析度或是高壓縮率的資料。當有額外頻寬時,電子裝置120可透過額外頻寬來繼續下載後面所需資料。如此可避免使用者等待資料的情況。When the user requests the server 110 to download data through the
在一實施例中,電子裝置120傳送第一資料傳輸率的資料傳輸請求到伺服器110。伺服器110在第一時間點之前傳送對應第二資料傳輸率的資料到電子裝置120,其中第二資料傳輸率小於第一資料傳輸率。當第一時間點之前的頻寬大於第二資料傳輸率時,伺服器110利用頻寬進一步在第一時間點之前傳輸對應第一資料傳輸率的資料到電子裝置120。當在第一時間點之前的時間間隔的頻寬大於第二資料傳輸率時,伺服器110在時間間隔傳輸對應第二資料傳輸率的資料及對應第一資料傳輸率的資料到電子裝置120。In one embodiment, the
舉例來說,電子裝置120傳送1350kbps(即,第一資料傳輸率)的資料傳輸請求到伺服器110。伺服器110在傳輸資料的前5秒會傳送對應400kbps(即,第二資料傳輸率)的資料到電子裝置120,而不是傳送對應1350kbps的資料到電子裝置120。假設前5秒伺服器110對電子裝置120的頻寬分別為400kbps、1350kbps、1350kbps、2000kbps、2000kbps,因此伺服器110在前5秒可以有7100kbps的總資料傳輸量。然而,伺服器110在前5秒的每一秒所傳輸400kbps資料只占了2000kbps的資料傳輸量,因此伺服器110在前5秒還有5100kbps的剩餘傳輸量。這5100kbps的資料量相當於3.7秒的1350kbps資料。也就是說,若5100kbps的資料量也在前5秒傳送到電子裝置120,則電子裝置在第5秒時可以有3.7秒的1350kbps資料做為緩衝。請參照圖2,圖2為根據本揭露一實施例的資料傳輸方法的範例。當前4秒的頻寬分別為400kbps、1350kbps、1350kbps、2000kbps時,伺服器110的資料傳輸分別有400kbps、1350kbps、1350kbps、2000kbps,然而電子裝置120的資料使用分別只有400kbps、400kbps、400kbps、400kbps。因此,多餘的950kbps、950kbps及1600kbps就能用來傳輸對應1350kbps的使用者請求資料。For example, the
在一實施例中,當電子裝置120在第一時間點播放的第一資料與電子裝置120在第一時間點之後的第二時間點播放的第二資料的重複性大於門檻值,伺服器110在第一時間點之前傳輸第二資料與第一資料的不同部分到電子裝置120。接續上述的例子,伺服器120利用5100kbps中的1350kbps來傳輸電子裝置120在第6秒要播放的1350kbps資料。電子裝置120在第7秒要播放的1350kbps資料與第6秒要播放的1350kbps資料的重複性高,則伺服器110只需要傳輸第7秒要播放的1350kbps資料與第6秒要播放的1350kbps的不同部分,例如400kbps的資料量,到電子裝置120。由於5100kbps扣除1350kbps還有3750kbps,若從第6秒開始的接下來10秒內的資料都與第6秒要播放的1350kbps資料的重複性高,則伺服器110至少可在前5秒傳送5*400kbps資料以外的1350kbps + 9*400kbps=4950kbps資料到電子裝置120,使得電子裝置120在播放到第5秒時還有9秒以上的緩衝資料可使用。In one embodiment, when the repetition of the first data played by the
圖3為根據本揭露一實施例的網路頻寬變化的示意圖。FIG. 3 is a schematic diagram of network bandwidth changes according to an embodiment of the disclosure.
請參照圖3,圖3的橫軸為時間且縱軸為網路頻寬。當網路頻寬在特定時間大於使用者所需要的資料量時,額外頻寬300可用來下載後續播放的緩衝資料。此外,初始的幾秒會先以較低的解析度進行播放。Please refer to Figure 3. The horizontal axis of Figure 3 is time and the vertical axis is network bandwidth. When the network bandwidth is greater than the amount of data required by the user at a specific time, the
圖4為根據本揭露一實施例的資料傳輸方法的流程圖。FIG. 4 is a flowchart of a data transmission method according to an embodiment of the disclosure.
請參照圖4,在步驟S401中,電子裝置傳送資料傳輸請求到伺服器。Referring to FIG. 4, in step S401, the electronic device sends a data transmission request to the server.
在步驟S402中,伺服器偵測網路頻寬。In step S402, the server detects the network bandwidth.
在步驟S403中,伺服器在第一時間點之前傳送低解析度資料到電子裝置。In step S403, the server transmits the low-resolution data to the electronic device before the first time point.
在步驟S404中,伺服器判斷當前資料是否相同於先前資料。In step S404, the server determines whether the current data is the same as the previous data.
若當前資料不同於先前資料,在步驟S405中,傳送當前資料與先前資料到電子裝置。If the current data is different from the previous data, in step S405, the current data and the previous data are transmitted to the electronic device.
若當前資料相同於先前資料,在步驟S406中,在電子裝置播放先前資料。並在步驟S407中,將當前資料傳送到緩衝器。If the current data is the same as the previous data, in step S406, the previous data is played on the electronic device. And in step S407, the current data is sent to the buffer.
綜上所述,本揭露的資料傳輸方法及資料傳輸系統會透過電子裝置傳送第一資料傳輸率的資料傳輸請求到伺服器。伺服器會在傳輸資料的例如前幾秒先傳送小於第一資料傳輸率的第二資料傳輸率的資料到電子裝置。如此一來,伺服器可透過大於第二資料傳輸率的額外頻寬來傳輸後續對應第一資料傳輸率的資料。此外,當連續資料的重複性大於門檻值時,伺服器也只會傳輸連續資料的不同部分到電子裝置。In summary, the data transmission method and data transmission system of the present disclosure will transmit a data transmission request of the first data transmission rate to the server through the electronic device. The server transmits data with a second data transmission rate that is less than the first data transmission rate to the electronic device, for example, a few seconds before transmitting the data. In this way, the server can transmit subsequent data corresponding to the first data transmission rate through the additional bandwidth greater than the second data transmission rate. In addition, when the repeatability of continuous data is greater than the threshold, the server will only transmit different parts of the continuous data to the electronic device.
雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露,任何所屬技術領域中具有通常知識者,在不脫離本揭露的精神和範圍內,當可作些許的更動與潤飾,故本揭露的保護範圍當視後附的申請專利範圍所界定者為準。Although this disclosure has been disclosed in the above embodiments, it is not intended to limit the disclosure. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of this disclosure. Therefore, The scope of protection of this disclosure shall be subject to those defined by the attached patent scope.
100:資料傳輸系統 110:伺服器 111:影像資料 112:壓縮模組 120:電子裝置 121:記憶體 122:應用程式 300:額外頻寬 S401~S407:資料傳輸方法的步驟100: Data Transmission System 110: server 111: image data 112: Compression module 120: electronic device 121: memory 122: Application 300: additional bandwidth S401~S407: Steps of data transmission method
圖1為根據本揭露一實施例的資料傳輸系統的方塊圖。 圖2為根據本揭露一實施例的資料傳輸方法的範例。 圖3為根據本揭露一實施例的網路頻寬變化的示意圖。 圖4為根據本揭露一實施例的資料傳輸方法的流程圖。FIG. 1 is a block diagram of a data transmission system according to an embodiment of the disclosure. FIG. 2 is an example of a data transmission method according to an embodiment of the disclosure. FIG. 3 is a schematic diagram of network bandwidth changes according to an embodiment of the disclosure. FIG. 4 is a flowchart of a data transmission method according to an embodiment of the disclosure.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108103340A TW202029705A (en) | 2019-01-29 | 2019-01-29 | Data transmitting method and data transmitting system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108103340A TW202029705A (en) | 2019-01-29 | 2019-01-29 | Data transmitting method and data transmitting system |
Publications (1)
Publication Number | Publication Date |
---|---|
TW202029705A true TW202029705A (en) | 2020-08-01 |
Family
ID=73002766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108103340A TW202029705A (en) | 2019-01-29 | 2019-01-29 | Data transmitting method and data transmitting system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW202029705A (en) |
-
2019
- 2019-01-29 TW TW108103340A patent/TW202029705A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2095205B1 (en) | Hybrid buffer management | |
US11095701B2 (en) | Method and apparatus for providing adaptive streaming service | |
US8271646B2 (en) | Network scoring system and method | |
WO2022194140A1 (en) | Remote video transmitting method and transmitting apparatus, storage medium, and electronic device | |
CN106488265A (en) | A kind of method and apparatus sending Media Stream | |
US11146606B2 (en) | Data buffering method, network device, and storage medium | |
CN110830460B (en) | Connection establishing method and device, electronic equipment and storage medium | |
WO2015120766A1 (en) | Video optimisation system and method | |
US20220014574A1 (en) | Data distribution method and network device | |
US11924255B2 (en) | Data transmission method and apparatus, server, storage medium, and program product | |
WO2019105340A1 (en) | Video transmission method, apparatus, and system, and computer readable storage medium | |
CN111083536B (en) | Method and device for adjusting video code rate | |
WO2023051243A1 (en) | Video bitrate switching method and apparatus, electronic device, and storage medium | |
WO2024056032A1 (en) | Decoding method and apparatus, data transmission method and apparatus, terminal, and server | |
WO2024021777A1 (en) | Data transmission method, related apparatus, device and storage medium | |
Boukerche et al. | An end-to-end virtual environment streaming technique for thin mobile devices over heterogeneous networks | |
WO2015085873A1 (en) | Video code stream obtaining method and apparatus | |
KR101795537B1 (en) | System and method for providing of cloud streaming service which is adapting to network environment | |
US20140099040A1 (en) | Image processing device and image processing method | |
US7370126B2 (en) | System and method for implementing a demand paging jitter buffer algorithm | |
US10609111B2 (en) | Client-driven, ABR flow rate shaping | |
CN113596112A (en) | Transmission method for video monitoring | |
TW202029705A (en) | Data transmitting method and data transmitting system | |
US9560105B2 (en) | Server device and information processing method | |
JP2003209594A (en) | Program, recording medium, and equipment and method for information transmission |