TWI682648B - Method and devices for negotiating bandwidth in a peer-to-peer network - Google Patents
Method and devices for negotiating bandwidth in a peer-to-peer network Download PDFInfo
- Publication number
- TWI682648B TWI682648B TW104138618A TW104138618A TWI682648B TW I682648 B TWI682648 B TW I682648B TW 104138618 A TW104138618 A TW 104138618A TW 104138618 A TW104138618 A TW 104138618A TW I682648 B TWI682648 B TW I682648B
- Authority
- TW
- Taiwan
- Prior art keywords
- bandwidth
- devices
- upper limit
- ranking score
- remaining
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0896—Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1059—Inter-group management mechanisms, e.g. splitting, merging or interconnection of groups
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/181—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/20—Negotiating bandwidth
Abstract
Description
本發明係關於在具有頻寬限制之一系統中之複數個裝置之間分配頻寬,且特定言之係關於一種用於在其中該複數個裝置在一點對點網路中互連之此一系統中協商頻寬之方法。本發明進一步係關於此等裝置且係關於一種實施上文中之方法之電腦程式產品。 The present invention relates to distributing bandwidth among a plurality of devices in a system with a bandwidth limitation, and specifically relates to a system for interconnecting the plurality of devices in a point-to-point network The method of negotiating bandwidth. The invention further relates to these devices and to a computer program product implementing the above method.
在具有頻寬限制之一系統中具有各需要頻寬之複數個裝置係常見的。此系統之一實例係包括10個監測裝置之一監視系統。監視系統中可用之總頻寬可例如係100Mbit/s。在此等系統中,已知(例如)藉由向各監測裝置指派10Mbit/s之一頻寬上限而針對各監測裝置手動設定一頻寬上限使得監測裝置之一總頻寬上限不超過100Mbit/s限制。在此情況中,各監測裝置將通常具有其自身之位元率控制器,該位元率控制器可經設定以調節由監測裝置獲取之待傳輸之監測資料之編碼使之不超過經指派之10Mbit/s限制。可藉由使用一較高壓縮比編碼監測資料或藉由摒棄監測資料之位元(例如,略過一影像串流中之圖框)而降低監測資料之位元率。當監測資料之位元率降低時,相較於傳輸最初獲取之監測資料將需要之位元率,針對監測資料之位元率之一減少增加。然而,取決於由監測裝置獲取之監測資料,調適頻寬上限使得經編碼監測資料之位元率減少可更低或更高可係有利的。此需要可 調整監測裝置之頻寬上限。 It is common to have multiple devices each requiring bandwidth in a system with bandwidth limitations. An example of this system is a monitoring system that includes one of 10 monitoring devices. The total bandwidth available in the monitoring system can be, for example, 100 Mbit/s. In these systems, it is known to manually set a bandwidth upper limit for each monitoring device by, for example, assigning a bandwidth upper limit of 10 Mbit/s to each monitoring device so that the total bandwidth upper limit of one of the monitoring devices does not exceed 100 Mbit/ s limit. In this case, each monitoring device will usually have its own bit rate controller, which can be set to adjust the encoding of the monitoring data to be transmitted obtained by the monitoring device so that it does not exceed the assigned 10Mbit/s limit. The bit rate of the monitoring data can be reduced by encoding the monitoring data using a higher compression ratio or by discarding the bits of the monitoring data (for example, skipping the frame in an image stream). When the bit rate of the monitoring data decreases, one of the bit rates for the monitoring data decreases and increases compared to the bit rate that would be required to transmit the originally acquired monitoring data. However, depending on the monitoring data obtained by the monitoring device, it may be advantageous to adapt the upper limit of the bandwidth so that the bit rate of the encoded monitoring data can be lowered or higher. This need can be Adjust the upper limit of the bandwidth of the monitoring device.
US 2012/0218416(Thales)係關於一種包含至少一視訊攝影機、一遠端伺服器、至少一觀察終端之動態可重組態視訊監視系統。該或該等視訊攝影機包含用於壓縮所擷取之視訊序列之構件,且藉由考量源自遠端伺服器之一控制訊息而可動態調適壓縮比。控制訊息可包含藉由遠端伺服器與自系統之該或該等攝影機接收之各視訊串流相關聯之一優先級。藉由遠端伺服器依據表示由該或該等視訊攝影機偵測且轉送至遠端伺服器之活動之發訊資訊判定,或由視訊攝影機之各者判定優先級。在圖1中示意性描述此一系統100,其中遠端伺服器102可將控制訊息發送至視訊攝影機104a至104d之任何者用於調適待由視訊攝影機104a至104d使用之壓縮比。控制訊息可取決於由視訊攝影機計算之優先級且取決於由攝影機之各者偵測之活動。此等優先級由視訊攝影機104a至104d傳輸至遠端伺服器102。
US 2012/0218416 (Thales) relates to a dynamic reconfigurable video surveillance system including at least one video camera, a remote server, and at least one observation terminal. The video camera or cameras include components for compressing the captured video sequence, and the compression ratio can be dynamically adjusted by considering a control message originating from the remote server. The control message may include a priority associated with each video stream received from the camera or cameras of the system through a remote server. The remote server determines based on the signaling information indicating the activity detected by the video camera or cameras and forwarded to the remote server, or the priority of each of the video cameras. This
然而,US 2012/0218416中之視訊監視系統係複雜的且未考慮其中全部或許多視訊攝影機都具有一高優先級之情況。 However, the video surveillance system in US 2012/0218416 is complicated and does not consider the situation in which all or many video cameras have a high priority.
鑑於上文,本發明之一目標係解決或至少減少上文中論述之缺點之一者或若干者。一般言之,上文中之目標由隨附獨立專利技術方案達成。 In view of the above, one objective of the present invention is to solve or at least reduce one or more of the disadvantages discussed above. Generally speaking, the above objectives are achieved by the accompanying independent patented technical solutions.
根據一第一態樣,本發明藉由一種用於在包括在一點對點網路中互連之複數個裝置之一系統中協商頻寬之方法實現,其中該複數個裝置之各者具有一可調適頻寬上限。該方法包括以下步驟:在複數個裝置當中之一請求裝置處計算指示增加該請求裝置之頻寬上限之一優先級之該請求裝置之一排名分數;將對於額外頻寬之一請求自請求裝置發送至該複數個裝置之一或多個剩餘裝置;及在該請求裝置處接收來自該一或多個剩餘裝置之一或多個回答。 According to a first aspect, the invention is implemented by a method for negotiating bandwidth in a system including a plurality of devices interconnected in a point-to-point network, wherein each of the plurality of devices has a Adjust the upper limit of the bandwidth. The method includes the following steps: calculating a ranking score of one of the requesting devices indicating a priority to increase one of the upper limit of the bandwidth of the requesting device at one of the plurality of requesting devices; Sending to one or more remaining devices of the plurality of devices; and receiving one or more answers from the one or more remaining devices at the requesting device.
該一或多個回答之各者對應於該一或多個剩餘裝置之一各自者且包括描述保持剩餘裝置之頻寬上限之一優先級之剩餘裝置之一排名分數。 Each of the one or more answers corresponds to a respective one of the one or more remaining devices and includes a ranking score of the remaining devices that describes a priority that maintains a priority of the bandwidth upper limit of the remaining devices.
該方法進一步包括在該請求裝置處基於該請求裝置之排名分數及該一或多個回答之排名分數判定在該一或多個經接收回答所對應於之一或多個剩餘裝置當中自其接收頻寬之一裝置。 The method further includes determining at the requesting device based on the ranking score of the requesting device and the ranking score of the one or more answers from one or more remaining devices corresponding to the one or more received answers One device of bandwidth.
該方法進一步包括增加請求裝置之頻寬上限,減小自其接收頻寬之經判定裝置之頻寬上限。 The method further includes increasing the upper limit of the bandwidth of the requesting device and decreasing the upper limit of the bandwidth of the determined device from which the receiving bandwidth is received.
在本說明書之內容脈絡中,術語「頻寬」應理解為用於在一裝置處傳輸及/或接收資料之一容量。換言之,頻寬指示可用位元率容量,其中位元率可定義為每時間單位傳送/接收之資料量。一裝置之「頻寬上限」因此描述在該裝置處之此傳輸及/或接收資料之最大容量。應注意,整個系統之一總容量或頻寬限制不僅可由系統之實際網路容量限制而且可由(例如)系統之一儲存解決方案限制。 In the context of this description, the term "bandwidth" should be understood as a capacity used to transmit and/or receive data at a device. In other words, the bandwidth indicates the available bit rate capacity, where the bit rate can be defined as the amount of data transmitted/received per unit of time. The "bandwidth upper limit" of a device therefore describes the maximum capacity of this device for transmitting and/or receiving data at that device. It should be noted that the total capacity or bandwidth limit of one of the entire system can be limited not only by the actual network capacity of the system but also by, for example, one of the storage solutions of the system.
在本說明書之內容脈絡中,術語「點對點網路」應理解為其中互連裝置能夠在彼此當中發送且接收訊息而不使用一集中管理系統或伺服器之一分散式網路。 In the context of this description, the term "point-to-point network" should be understood as a decentralized network in which interconnected devices are able to send and receive messages among each other without using a centralized management system or server.
本發明之一優點係動態協商個別裝置之頻寬上限。藉由動態判定個別裝置之頻寬上限,可更明智地使用系統之一總頻寬預算而不超過整個系統之實際頻寬限制。 One of the advantages of the present invention is to dynamically negotiate the upper limit of the bandwidth of individual devices. By dynamically determining the upper limit of the bandwidth of individual devices, one can more wisely use the total bandwidth budget of one of the systems without exceeding the actual bandwidth limit of the entire system.
藉由使系統之裝置在一點對點網路中互連,移除處理頻寬協商之一伺服器之需要。因此可達成一更具成本效益之系統。 By interconnecting the devices of the system in a point-to-point network, the need to deal with one of the servers in bandwidth negotiation is removed. Therefore, a more cost-effective system can be achieved.
基於請求裝置之排名分數及一或多個回答之排名分數判定系統之裝置當中應自其接收頻寬之裝置之一優點係可做出一良好證實之決策。舉例而言,經判定裝置可係相較於請求裝置之排名分數具有一更低排名分數之一裝置。根據一些實施例,經判定裝置可係在自其等接 收回答之裝置當中具有一最低排名分數之一裝置。根據一些實施例,若全部經接收回答包括高於請求裝置之排名分數之排名分數,則不判定自其接收頻寬之裝置且因此不增加請求裝置之頻寬上限。 Based on the ranking score of the requesting device and the ranking score of one or more answers, one of the advantages of the device that should receive the bandwidth from the devices of the system is that a well-proven decision can be made. For example, the determined device may be a device having a lower ranking score than the ranking score of the requesting device. According to some embodiments, the determined device may be The device with the lowest ranking score among the devices receiving the answer. According to some embodiments, if all the received answers include a ranking score higher than the ranking score of the requesting device, the device from which the bandwidth is received is not determined and therefore the bandwidth upper limit of the requesting device is not increased.
藉由增加請求裝置之頻寬上限,且同時減小自其接收頻寬之經判定裝置之頻寬上限,減少超過系統之實際頻寬限制之風險。有利地,請求裝置之頻寬上限增加之量與自其接收頻寬之經判定裝置之頻寬上限減小之量相同。 By increasing the upper limit of the bandwidth of the requesting device, and at the same time reducing the upper limit of the bandwidth of the determined device from which it receives the bandwidth, the risk of exceeding the actual bandwidth limit of the system is reduced. Advantageously, the upper limit of the bandwidth of the requesting device is increased by the same amount as the lower limit of the bandwidth of the determined device from which the bandwidth is received.
根據一些實施例,對於額外頻寬之請求係點對點網路中之一廣播訊息。因此,請求裝置不需要記錄經由點對點網路而連接至系統之裝置之數目及此等裝置之識別符(IP-位址或類似者)。 According to some embodiments, the request for additional bandwidth is a broadcast message in one of the peer-to-peer networks. Therefore, the requesting device does not need to record the number of devices connected to the system via a peer-to-peer network and the identifiers (IP addresses or the like) of these devices.
根據一些實施例,對於額外頻寬之請求包括請求裝置之一識別符,且其中該一或多個回答之各者係點對點網路中之一單播訊息。因此,相較於各回答係一廣播訊息之情況,點對點網路中之資料訊務及計算負荷減少。 According to some embodiments, the request for additional bandwidth includes an identifier of the requesting device, and each of the one or more answers is a unicast message in a peer-to-peer network. Therefore, the data traffic and computing load in the peer-to-peer network are reduced compared to the case where each answer is a broadcast message.
根據一些實施例,增加請求裝置之頻寬上限之步驟包括使頻寬上限增加一預定量,且減小經判定裝置之頻寬上限之步驟包括使頻寬上限減小該預定量。根據此實施例,將在反覆步驟中執行頻寬之重新分配,此可係有利的,因為重新分配可更細粒。若在請求裝置之頻寬上限已增加達預定量之後,由請求裝置請求進一步增加,則此請求之結果可不同於第一請求,此係因為請求裝置及回答請求之裝置之排名分數可改變。因此,若請求裝置第一次自剩餘裝置之一第一者接收頻寬且隨後發出一進一步請求,則此次可自剩餘裝置之一不同者或不可自剩餘裝置接收頻寬。此外,此實施例之一進一步優點可係請求裝置處之計算複雜性減少,此係因為不需要計算增加/減少所關注裝置之頻寬上限之量。 According to some embodiments, the step of increasing the bandwidth upper limit of the requesting device includes increasing the bandwidth upper limit by a predetermined amount, and the step of decreasing the bandwidth upper limit of the determined device includes decreasing the bandwidth upper limit by the predetermined amount. According to this embodiment, the bandwidth reallocation will be performed in the iterative step, which may be advantageous because the reallocation may be finer. If, after the upper limit of the bandwidth of the requesting device has been increased by a predetermined amount, the requesting device requests a further increase, the result of this request may be different from the first request because the ranking scores of the requesting device and the device answering the request may change. Therefore, if the requesting device receives bandwidth from the first one of the remaining devices for the first time and then sends a further request, this time the bandwidth may be received from a different one of the remaining devices or may not be received from the remaining device. In addition, one of the further advantages of this embodiment may be to request a reduction in the computational complexity at the device, because there is no need for computation to increase/decrease the amount of bandwidth upper limit of the device of interest.
根據一些實施例,該方法進一步包括以下步驟:計算請求裝置 之排名分數與對應於自其接收頻寬之經判定裝置之回答之排名分數之間之一差異;及基於經計算差異,計算由請求裝置自經判定裝置接收之頻寬之一量,其中增加請求裝置之頻寬上限之步驟包括使頻寬上限增加頻寬之經計算量,且其中減小經判定裝置之頻寬上限之步驟包括使頻寬上限減小頻寬之經計算量。此實施例之一優點可係相較於自具有幾乎相同排名分數之一裝置,自具有一更低排名分數之一裝置可接收更多頻寬。此可進一步改良頻寬協商方法之效率及精確性。 According to some embodiments, the method further includes the following steps: calculating the requesting device The difference between the ranking score and the ranking score corresponding to the answer of the decided device from which the bandwidth was received; and based on the calculated difference, calculate an amount of the bandwidth received by the requesting device from the decided device, where the increase The step of requesting the bandwidth upper limit of the device includes increasing the bandwidth upper limit by the calculated amount of bandwidth, and wherein the step of decreasing the bandwidth upper limit of the determined device includes decreasing the bandwidth upper limit by the calculated amount of bandwidth. One advantage of this embodiment is that a device with a lower ranking score can receive more bandwidth than a device with almost the same ranking score. This can further improve the efficiency and accuracy of the bandwidth negotiation method.
根據一些實施例,該一或多個回答之各者進一步包括指示回答所對應於之剩餘裝置處之一過剩頻寬之一值,且其中在請求裝置處判定該一或多個經接收回答所對應於之一或多個剩餘裝置當中自其接收頻寬之一裝置之步驟係進一步基於指示該一或多個回答之一過剩頻寬之值。此實施例之一優點係即使一裝置相較於自其等接收回答之其他裝置具有一更高排名分數,仍可自該裝置接收未使用頻寬。換言之,具有一低排名分數但利用經由頻寬上限指定至其之全部頻寬(即,不具有經指定之過剩頻寬)之一裝置在存在具有高於由裝置實際用於傳輸及/或接收資料之一頻寬上限(即,具有一經指定之過剩頻寬)之另一裝置之情況下可不被判定為自其接收頻寬之裝置。在此情況中,可甚至自相較於請求裝置之排名分數具有一更高排名分數之一裝置接收頻寬。 According to some embodiments, each of the one or more answers further includes a value indicating an excess bandwidth at the remaining device corresponding to the answer, and wherein the one or more received answers are determined at the requesting device The step corresponding to one of the one or more remaining devices from which the bandwidth is received is further based on a value indicating one of the excess bandwidth of the one or more answers. One advantage of this embodiment is that even if a device has a higher ranking score than other devices that receive answers from it, it can still receive unused bandwidth from the device. In other words, a device that has a low ranking score but utilizes all of the bandwidth specified to it via the upper bandwidth limit (ie, does not have the excess bandwidth specified) has a higher presence than the device actually uses for transmission and/or reception In the case of another device with an upper bandwidth limit (that is, a designated excess bandwidth), the data may not be determined as the device from which it receives the bandwidth. In this case, the bandwidth can be received even from a device having a higher ranking score than the ranking score of the requesting device.
根據其他實施例,回答不指示一過剩頻寬而代替性地至少部分基於此過剩頻寬計算一剩餘裝置之排名分數。現在將描述計算一剩餘裝置之排名分數所依據之進一步替代例。 According to other embodiments, the answer does not indicate a surplus bandwidth but instead calculates a ranking score for a surplus device based at least in part on the surplus bandwidth. A further alternative example on which the ranking score of a remaining device is calculated will now be described.
根據一些實施例,使用以下之至少一者計算一剩餘裝置之排名分數:˙指示剩餘裝置之一過剩頻寬之一值,˙剩餘裝置之頻寬上限, ˙包括複數個裝置之系統中之剩餘裝置之一重要性參數,˙一時間排程參數,˙與剩餘裝置之先前排名分數相關之一歷史參數。 According to some embodiments, at least one of the following is used to calculate the ranking score of a remaining device: ˙ indicates a value of the excess bandwidth of one of the remaining devices, ˙ the upper limit of the bandwidth of the remaining device, ˙ One of the importance parameters of the remaining devices in the system including a plurality of devices, ˙ a time scheduling parameter, ˙ a historical parameter related to the previous ranking score of the remaining devices.
重要性參數可係反映來自一使用者之手動輸入之一參數,例如指示特定裝置係重要的且因此應始終具有相較於系統中之其他裝置之頻寬上限之一高頻寬上限。 The importance parameter may reflect a parameter manually input from a user, for example, indicating that a particular device is important and therefore should always have a high-frequency bandwidth upper limit compared to the upper-frequency bandwidth limit of other devices in the system.
若一特定裝置在白天之特定時間期間、在週末期間等相較於系統中之其他裝置更重要或更不重要,則可使用排程參數。將在下文中描述用於判定一剩餘裝置之排名分數之其他可能參數或值。 If a specific device is more important or less important than other devices in the system during a specific time of the day, during the weekend, etc., then the scheduling parameters can be used. Other possible parameters or values for determining the ranking score of a remaining device will be described below.
根據一些實施例,使用以下之至少一者計算請求裝置之排名分數:˙指示請求裝置處之遺失頻寬之一量之一參數,˙請求裝置之頻寬上限,˙包括複數個裝置之系統中之請求裝置之一重要性參數,˙一時間排程參數,˙與請求裝置之先前排名分數相關之一歷史參數。 According to some embodiments, at least one of the following is used to calculate the ranking score of the requesting device: a parameter indicating a quantity of the missing bandwidth at the requesting device, the upper limit of the bandwidth of the requesting device, and a system including a plurality of devices One of the importance parameters of the requesting device, a time scheduling parameter, and a historical parameter related to the previous ranking score of the requesting device.
可藉由比較請求裝置之頻寬上限與在可傳輸及/或接收全部資料之情況下用於將資料傳輸至請求裝置及/或自請求裝置接收資料將需要之頻寬而計算遺失頻寬之量。舉例而言,若請求裝置係獲取待自請求裝置傳輸之一視訊串流之一監測裝置,則一當前頻寬上限可需要比對於傳輸視訊串流而無可見壓縮假影或類似者將有益之經編碼視訊串流更高之一位元率減少。在此情況中,請求裝置可計算一所要頻寬上限及所要頻寬上限與當前頻寬上限之間之差異。根據一些實施例,使用遺失頻寬之此一量以計算請求裝置之頻寬上限增加之頻寬之量。 The missing bandwidth can be calculated by comparing the upper limit of the bandwidth of the requesting device with the bandwidth required for transmitting data to and/or receiving data from the requesting device when all data can be transmitted and/or received the amount. For example, if the requesting device is a monitoring device that acquires a video stream to be transmitted from the requesting device, a current bandwidth upper limit may need to be more beneficial than transmitting a video stream without visible compression artifacts or the like The higher the bit rate of the encoded video stream is reduced. In this case, the requesting device may calculate a desired bandwidth upper limit and the difference between the desired bandwidth upper limit and the current bandwidth upper limit. According to some embodiments, this amount of lost bandwidth is used to calculate the amount of increased bandwidth of the requesting device's bandwidth upper limit.
重要性參數可係反映來自一使用者之手動輸入之一參數,例如指示請求裝置係重要的且因此應始終具有相較於系統中之其他裝置之 頻寬上限之一高頻寬上限。 The importance parameter may reflect a parameter manually input from a user, for example, indicating that the requesting device is important and therefore should always have a comparison with other devices in the system One of the upper bandwidth limit.
若特定裝置在白天之特定時間期間、在週末期間等相較於系統中之其他裝置更重要或更不重要,則可使用排程參數。將在下文中描述用於判定請求裝置之排名分數之其他可能參數或值。 If a specific device is more important or less important than other devices in the system during a specific time during the day, during the weekend, etc., then the scheduling parameter can be used. Other possible parameters or values for determining the ranking score of the requesting device will be described below.
根據一些實施例,該複數個裝置係各獲取一各自監測資料之監測裝置,其中使用以下之至少一者計算請求裝置之排名分數及/或一剩餘裝置之排名分數:˙描述監測資料之一內容中之事件之一時間參數,˙描述監測資料之內容之複雜性之一複雜性參數。 According to some embodiments, the plurality of devices are each a monitoring device that obtains a respective monitoring data, wherein at least one of the following is used to calculate the ranking score of the requesting device and/or the ranking score of a remaining device: ˙Describe a content of the monitoring data One of the time parameters in the event is a complexity parameter that describes the complexity of the content of the monitoring data.
監測資料可係一視訊串流或一音訊串流。在包括各傳輸監測資料之監測裝置之此一系統中,可藉由使用不同壓縮比編碼監測資料及/或當編碼監測資料時摒棄監測資料之位元使得控制用於傳輸經編碼資料所需之位元率且達成所需位元率減少而控制來自一監測之經傳輸資料之位元率以滿足監測裝置之頻寬上限。然而,若監測資料包括被認為係重要的大量事件(例如一視訊串流中之大量人),則可期望一較低位元率減少。類似地,若監測資料之內容係複雜的,則可需要一較高位元率減少用於滿足頻寬上限,此係非所要的,因為在編碼中可因此損失大量資料。 The monitoring data can be a video stream or an audio stream. In such a system that includes monitoring devices that transmit monitoring data, the monitoring data can be encoded by using different compression ratios and/or the bits of the monitoring data can be discarded when the monitoring data is encoded so that the control is required to transmit the encoded data. Bit rate and achieve the required bit rate reduction to control the bit rate of the transmitted data from a monitor to meet the upper bandwidth limit of the monitoring device. However, if the monitoring data includes a large number of events that are considered important (such as a large number of people in a video stream), then a lower bit rate reduction can be expected. Similarly, if the content of the monitoring data is complex, a higher bit rate reduction may be required to meet the upper bandwidth limit, which is undesirable because a large amount of data may be lost in encoding.
根據一些實施例,該複數個裝置之各者具有一頻寬下限。在此情況中,當自一裝置接收頻寬將導致該裝置之頻寬上限低於頻寬下限時,不自該裝置接收頻寬。此可以不同方式達成,例如藉由增加此一裝置之排名分數或藉由在對來自請求裝置之請求之回覆中包含頻寬下限且在判定自其接收頻寬之裝置時將此限制納入考量。一進一步選項可係具有接近或甚至(出於某個原因)低於頻寬下限之一可用頻寬上限之一剩餘裝置不回覆來自請求裝置之請求。 According to some embodiments, each of the plurality of devices has a lower bandwidth limit. In this case, when receiving the bandwidth from a device will cause the upper bandwidth limit of the device to be lower than the lower bandwidth limit, the bandwidth will not be received from the device. This can be achieved in different ways, for example by increasing the ranking score of this device or by including a lower bandwidth limit in the reply to the request from the requesting device and taking this limit into account when determining the device from which to receive the bandwidth. A further option may be that a remaining device that is close to or even (for some reason) lower than one of the lower bandwidth limit and one of the available bandwidth upper limit does not reply to the request from the requesting device.
根據一些實施例,當將一新裝置添加至包括該複數個裝置之系 統時,新裝置之頻寬上限係零。此可導致此新裝置開始發出對於頻寬之請求,此將導致系統之可用頻寬在包含新裝置之複數個裝置當中重新分配而無系統中之裝置之組合頻寬上限超過系統之頻寬限制之風險。 According to some embodiments, when a new device is added to the system including the plurality of devices At the time of operation, the upper limit of the bandwidth of the new device is zero. This may cause the new device to start to request bandwidth, which will cause the available bandwidth of the system to be redistributed among the multiple devices including the new device without the combined bandwidth limit of the devices in the system exceeding the bandwidth limit of the system Risk.
在一第二態樣中,本發明提供一種電腦程式產品,其包括具有經調適以當由具有處理能力之一裝置執行時實行第一態樣之方法之指令之一電腦可讀儲存媒體。 In a second aspect, the invention provides a computer program product that includes a computer-readable storage medium having instructions adapted to perform the method of the first aspect when executed by a device with processing capabilities.
在一第三態樣中,本發明提供一種與一點對點網路中之一或多個其他裝置互連之裝置,該裝置具有一可調適頻寬上限,該裝置經調適以:計算指示增加頻寬上限之一優先級之一排名分數;將對於額外頻寬之一請求發送至該一或多個其他裝置;且自該一或多個其他裝置接收一或多個回答。 In a third aspect, the present invention provides a device interconnected with one or more other devices in a point-to-point network, the device has an adjustable upper limit of bandwidth, the device is adapted to: calculate an instruction to increase the frequency A ranking score of one of the priorities of the wide upper limit; a request for one of the additional bandwidth is sent to the one or more other devices; and one or more answers are received from the one or more other devices.
該一或多個回答之各者對應於該一或多個其他裝置之一各自者且包括描述保持其他裝置之頻寬上限之一優先級之其他裝置之一排名分數。 Each of the one or more answers corresponds to a respective one of the one or more other devices and includes a ranking score that describes one of the other devices that maintains a priority of the bandwidth upper limit of the other device.
該裝置進一步經調適以基於該排名分數及一或多個回答之排名分數而判定該一或多個經接收回答所對應於之該一或多個其他裝置當中自其接收頻寬之一裝置。 The device is further adapted to determine, based on the ranking score and the ranking score of the one or more answers, one of the one or more other devices corresponding to the one or more received answers from which the bandwidth is received.
該裝置進一步經調適以增加頻寬上限,且將指示經判定裝置減小經判定裝置之頻寬上限之一訊息發送至經判定裝置。 The device is further adapted to increase the upper bandwidth limit and sends a message to the determined device instructing the determined device to decrease the upper limit of the bandwidth of the determined device.
在一第四態樣中,本發明提供一種與一點對點網路中之一或多個其他裝置互連之裝置,該裝置具有一可調適頻寬上限,該裝置經調適以:自該一或多個其他裝置當中之一請求裝置接收對於頻寬之一請求;計算指示保持頻寬上限之一優先級之一排名分數;發送對對於額外頻寬之請求之一回答,該回答包括排名分數;接收具有減小裝置之頻寬上限之指令之一訊息;及據此回應減小頻寬上限。 In a fourth aspect, the present invention provides a device interconnected with one or more other devices in a point-to-point network, the device has an adjustable bandwidth upper limit, the device is adapted to: from the one or One of the other devices requests the device to receive a request for bandwidth; calculates a ranking score indicating a priority to maintain a bandwidth upper limit; sends an answer to one of the requests for additional bandwidth, the answer including the ranking score; Receive a message with a command to reduce the upper limit of the device's bandwidth; and respond to reduce the upper limit of the bandwidth accordingly.
根據一些實施例,根據第三態樣及/或第四態樣之裝置可係獲取監測資料之一監測裝置。 According to some embodiments, the device according to the third aspect and/or the fourth aspect may be a monitoring device that obtains monitoring data.
第二態樣、第三態樣及第四態樣一般可具有與第一態樣相同之特徵及優點。 The second aspect, the third aspect, and the fourth aspect may generally have the same features and advantages as the first aspect.
100‧‧‧系統 100‧‧‧System
102‧‧‧遠端伺服器 102‧‧‧Remote server
104a‧‧‧視訊攝影機 104a‧‧‧Video camera
104b‧‧‧視訊攝影機 104b‧‧‧Video camera
104c‧‧‧視訊攝影機 104c‧‧‧Video camera
104d‧‧‧視訊攝影機 104d‧‧‧Video camera
200‧‧‧點對點網路 200‧‧‧ point-to-point network
202a‧‧‧裝置/請求裝置 202a‧‧‧device/request device
202b‧‧‧裝置/剩餘裝置/回答裝置 202b‧‧‧device/remaining device/answering device
202c‧‧‧裝置/剩餘裝置/回答裝置/經判定裝置 202c‧‧‧device/remaining device/answering device/judgment device
202d‧‧‧裝置/剩餘裝置/回答裝置 202d‧‧‧device/remaining device/answering device
300‧‧‧方法 300‧‧‧Method
402‧‧‧對於頻寬之請求/廣播訊息 402‧‧‧Broadband request/broadcast message
502b‧‧‧回答 502b‧‧‧Answer
502c‧‧‧回答 502c‧‧‧Answer
502d‧‧‧回答 502d‧‧‧answer
602‧‧‧訊息 602‧‧‧Message
604‧‧‧虛線 604‧‧‧ dotted line
606‧‧‧線/經調整頻寬上限 606‧‧‧line/adjusted bandwidth limit
608‧‧‧虛線 608‧‧‧ dotted line
610‧‧‧線/經調整頻寬上限 610‧‧‧line/adjusted bandwidth limit
612a‧‧‧方框 612a‧‧‧Box
612c‧‧‧方框 612c‧‧‧Box
614‧‧‧點虛線/頻寬下限 614‧‧‧ dotted line/lower bandwidth limit
616‧‧‧點虛線/頻寬下限 616‧‧‧ dotted line/lower bandwidth limit
702‧‧‧裝置 702‧‧‧ installation
702a‧‧‧攝影機 702a‧‧‧Camera
702b‧‧‧攝影機 702b‧‧‧Camera
702c‧‧‧攝影機 702c‧‧‧Camera
704‧‧‧中心儲存器 704‧‧‧Central storage
706‧‧‧處理器 706‧‧‧ processor
708‧‧‧數位網路模組 708‧‧‧Digital network module
S301‧‧‧步驟 S301‧‧‧Step
S302‧‧‧步驟 S302‧‧‧Step
S304‧‧‧步驟 S304‧‧‧Step
S306‧‧‧步驟 S306‧‧‧Step
S308‧‧‧步驟 S308‧‧‧Step
S310‧‧‧步驟 S310‧‧‧Step
S312‧‧‧步驟 S312‧‧‧Step
透過本發明之實施例之以下闡釋性且非限制性詳細描述,參考其中相同元件符號將用於類似元件之隨附圖式將更佳理解本發明之上述以及額外目標、特徵及優點,其中:圖1展示其中系統之視訊攝影機之一壓縮比可動態調適且由一伺服器判定之一先前技術系統,圖2展示在一點對點網路中互連之複數個裝置,圖3展示用於在圖2之點對點網路中協商頻寬之一方法,圖4藉由實例展示對於頻寬之一請求如何自一請求裝置傳輸至點對點網路中之剩餘裝置,圖5藉由實例展示對對於頻寬之請求之回答如何自剩餘裝置傳輸至請求裝置,圖6藉由實例展示如何增加請求裝置之一頻寬上限且如何減小一經判定裝置之一頻寬上限,圖7展示包括在一中央儲存器中儲存其等之各自視訊串流之視訊攝影機之一系統。圖7進一步描述此一視訊攝影機。 Through the following illustrative and non-limiting detailed description of embodiments of the present invention, reference to the accompanying drawings in which the same element symbols will be used for similar elements will better understand the above and additional objectives, features, and advantages of the present invention, among which: Fig. 1 shows a prior art system in which one of the video cameras of the system can be dynamically adjusted and determined by a server, Fig. 2 shows a plurality of devices interconnected in a point-to-point network, and Fig. 3 shows 2 is a method of negotiating bandwidth in a peer-to-peer network. Figure 4 shows by example how a request for one of the bandwidth is transmitted from a requesting device to the remaining devices in the peer-to-peer network. Figure 5 shows by example an example of bandwidth. The answer to the request is transmitted from the remaining device to the requesting device. FIG. 6 shows by way of example how to increase the bandwidth upper limit of a requesting device and how to decrease the bandwidth upper limit of a determined device. FIG. 7 shows the inclusion of a central storage A system in which video cameras storing their respective video streams are stored. FIG. 7 further describes this video camera.
圖2係包括在一點對點網路200中互連之複數個裝置202a至202d之一系統之一示意性實例。此一網路200移除用於在裝置202a至202d之間共用資源(例如,處理功率、磁碟儲存或網路頻寬)之一集中伺服器之需要。
FIG. 2 is a schematic example of a system including a plurality of
一點對點網路200之一進一步優點係經使用之點對點協定可具有
用於以一方便且可靠方式處置裝置之損失(例如,若一裝置停止起作用或以其他方式自網路斷開)及點對點網路200中之新加入裝置之常式。系統將因此能夠依據系統之改變連續調適。
One of the further advantages of the point-to-
在下文中,將描述用於在包括在一點對點網路200中互連之複數個裝置202a至202d之一系統中協商頻寬之一方法。
Hereinafter, a method for negotiating bandwidth in one system including a plurality of
如上文中描述,系統中之裝置202a至202d可共用網路頻寬。然而,在下文中描述之用於協商頻寬之方法可應用至具有頻寬限制之任何類型之網路或系統。頻寬可例如由系統之一儲存解決方案或系統之實際網路容量限制。網路容量可與下行鏈路容量及/或上行鏈路容量兩者有關。舉例而言,若系統包括在一有限頻寬系統上請求視訊串流之複數個行動電話,則頻寬限制與系統之下行鏈路容量有關。若在另一方面系統包括獲取待傳輸至一伺服器用於儲存之監測資料之監測裝置,則頻寬限制與系統之上行鏈路容量或與伺服器每時間單位可儲存之資料量有關。
As described above, the
圖2中之箭頭描述複數個裝置202a至202d之各者可彼此通信。圖2中之箭頭係通信可能性之表示。其他通信路由係可能的,例如若裝置202a與裝置202d通信,則其可經由裝置202c或經由裝置202b而發送一訊息而非直接發送至裝置202d。
The arrows in FIG. 2 describe that each of the plurality of
圖3展示用於在圖2之點對點網路200中協商頻寬之一方法。在點對點網路中互連之裝置202a至202d之各者具有控制個別裝置202a至202d之位元率之一本地位元率控制器。裝置202a至202d之各者進一步具有設定裝置202a至202d可傳輸或接收之資料之最大位元率之一可調適頻寬上限。當一裝置202a至202d之資料之位元率接近頻寬上限時,裝置可將對於額外頻寬之一請求發送至複數個裝置202a至202d之一或多個剩餘裝置。因此,圖3之方法之第一步驟係判定S301任何裝置202a至202d是否需要更多頻寬,此因此由各裝置202a至202d個別完
成。若在點對點網路中互連之複數個裝置202a至202d之一裝置需要更多頻寬,則此裝置(即,複數個裝置當中之一請求裝置)執行圖3中展示之步驟S302至S310。請求裝置因此計算S302指示增加請求裝置之頻寬上限之一優先級之一排名分數。將在下文中結合圖4進一步描述此計算。方法300中之下一步驟係請求裝置將對於額外頻寬之一請求發送S304至複數個裝置之一或多個剩餘裝置。此意謂請求裝置將請求發出至(例如)點對點網路中之全部其他裝置或至少至一些裝置。隨後,請求裝置自一或多個剩餘裝置接收S306一或多個回答,其中一或多個回答之各者對應於一或多個剩餘裝置之一各自者。根據一些實施例,自點對點網路中之剩餘裝置之各者接收一回答,但出於不同原因,一些回答可能未被接收或未由一剩餘裝置發送。舉例而言,資料經由一通信網路之傳送可能導致損失或遺失資料封包,此意謂在請求裝置處可未接收其中發送一回答之資料封包。
FIG. 3 shows a method for negotiating bandwidth in the point-to-
由請求裝置接收之回答之各者包括描述保持剩餘裝置之頻寬上限之一優先級之剩餘裝置之一排名分數。將在下文中進一步描述此排名分數及其之計算。 Each of the answers received by the requesting device includes a ranking score describing one of the remaining devices that maintains a priority of one of the bandwidth upper limits of the remaining devices. This ranking score and its calculation will be described further below.
方法300中之下一步驟係請求裝置判定S308自其接收頻寬之一裝置。至少基於請求裝置之排名分數及一或多個回答之排名分數完成此判定。舉例而言,請求裝置可判定具有最低排名分數之裝置應係自其接收頻寬之裝置。根據一些實施例,若全部回答具有高於請求裝置之排名分數之排名分數,則將不判定自其接收頻寬之裝置且使請求裝置之頻寬上限保持原樣。
The next step in
然而,若由請求裝置判定應自剩餘裝置之一者接收頻寬,則方法300中之下一步驟係增加S310請求裝置之頻寬上限,此可由請求裝置之本地位元率控制器完成,且減小S312自其接收頻寬之經判定裝置之頻寬上限,此可由經判定裝置之本地位元率控制器完成。
However, if the requesting device determines that the bandwidth should be received from one of the remaining devices, the next step in the
由於用於在點對點網路中互連之裝置之各者之所需頻寬可動態改變,所以若判定S301另一裝置或剛獲得一經增加之頻寬上限之相同裝置需要更多頻寬,則方法300可再次重新開始。
Since the required bandwidth of each of the devices used for interconnection in the point-to-point network can be dynamically changed, if it is determined S301 that another device or the same device that just obtained an increased bandwidth limit requires more bandwidth, then The
圖4藉由實例描述對於頻寬402之一請求如何自一請求裝置202a作為點對點網路200中之一廣播訊息402而傳輸。廣播係指傳輸將由網路中之各裝置(例如,由裝置202b至202d)接收之一封包。與傳輸訊息之其他方式(例如,單播或多播)相比,當訊息作為一廣播訊息傳輸時,不需要接收訊息之裝置之位址。應注意,根據一些實施例,使用傳輸對於頻寬之請求之另一方式(例如,對對於頻寬之請求之單播或多播)而非利用一廣播訊息。
4 illustrates by way of example how a request for a
請求裝置202a因此將對於額外頻寬之一請求發送至一或多個其他裝置。剩餘裝置202b至202d之各者因此自請求裝置202a接收對於頻寬之請求402。對於頻寬之請求402可包括關於請求裝置202a之資訊。根據一些實施例,請求402包括請求裝置202a之一識別符。此可係有利的,因為來自一剩餘裝置202b至202d之對請求402之一回答502b至502d可係點對點網路200中之一單播訊息。在圖5中描述此實施例,其中一或多個回答502b至502d之各者係點對點網路中之一單播訊息。在圖5中,一或多個回答502b至502d之各者對應於一或多個剩餘裝置202b至202d之一各自者且直接經定址至請求裝置202a。根據其他實施例,回答亦係廣播訊息,此可係有利的,因為點對點系統200中之全部裝置可瞭解來自回答裝置202b至202d之各者之回答中之資訊(例如,回答裝置202b至202d之各者之排名分數)。在圖5中,接收請求402(如圖4中描述)之全部裝置202b至202d將一回答502a至502d發送至請求裝置。然而,根據一些實施例,對於額外頻寬之請求402包括請求裝置402之排名分數。在此情況中,來自一或多個剩餘裝置之一特定剩餘裝置之對對於額外頻寬之請求之回答在請求裝置之排名分數高
於特定剩餘裝置之排名分數之情況下可僅自特定剩餘裝置發送。
The requesting
請求裝置因此經調適以計算指示增加頻寬上限之一優先級之排名分數。可基於多種不同參數計算請求裝置202a之排名分數。一此參數可係本地位元率控制器判定能夠以一有利方式傳輸或接收資料所缺乏之頻寬之量。舉例而言,若裝置係接收必須以一非常壓縮狀態接收以滿足頻寬上限之一視訊串流之一行動電話,則本地位元率控制器可判定頻寬上限之一增加將係有益的,且亦判定缺乏之頻寬之量。
The requesting device is thus adapted to calculate a ranking score indicating a priority of increasing the upper limit of the bandwidth. The ranking score of the requesting
請求裝置202a之排名分數可進一步基於請求裝置之當前頻寬上限。
The ranking score of the requesting
請求裝置202a之排名分數可進一步基於請求裝置在包括複數個裝置之系統中之一重要性參數。舉例而言,若裝置係獲取監測資料之一監測裝置,則自一監測觀點經定位且引導朝向一重要監測位置之一裝置可具有一高重要性且因此具有反映此之一重要性參數。此可因此導致若具有具一高值之一重要性參數之一裝置需要更多頻寬,則排名分數可係高的。此一重要性參數可反映來自一使用者之手動輸入或可經自動計算。
The ranking score of the requesting
例如在認為裝置在白天或夜晚之特定時間期間或在特定工作日或月等在裝置之系統中更重要或更不重要之情況下,請求裝置202a之排名分數可進一步基於一時間排程參數。
For example, in a case where the device is considered to be more or less important in the system of the device during a specific time of day or night, or on a specific working day or month, etc., the ranking score of the requesting
請求裝置202a之排名分數可進一步基於與請求裝置之先前排名分數相關之一歷史參數。
The ranking score of the requesting
例如在裝置係電池驅動且預期很快會電力短缺之情況下,請求裝置202a之排名分數可進一步基於事件。在此情況中,將由裝置收集或儲存於裝置處之任何資料快速傳輸至用於儲存之某個其他位置可係至關重要的。此一裝置可(例如)係具有一不斷電電源供應器(UPS)之一網路附接儲存器(NAS)。
For example, in the case where the device is battery-powered and a power shortage is expected soon, the ranking score of the requesting
在請求裝置202a係獲取監測資料之監測裝置之情況中,排名分數可基於經獲取資料之事件,例如描述監測資料之一內容中之事件之一事件參數。舉例而言,若裝置係獲取展示一所關注人或展示一犯罪發生或一般僅包括自一監測觀點可係所關注之事件之視訊之一監測攝影機,則此可導致一較高排名分數。
In the case where the requesting
亦可基於描述監測資料之內容之複雜性之一複雜性參數計算排名分數。由於此複雜性可導致一增加之壓縮比及/或當編碼監測資料時更多經摒棄位元以滿足頻寬上限,所以增加請求裝置之排名分數使得頻寬上限更有可能增加可係有利的。 The ranking score can also be calculated based on a complexity parameter that describes the complexity of the content of the monitoring data. Since this complexity may result in an increased compression ratio and/or more bits are discarded when encoding monitoring data to meet the bandwidth upper limit, it may be advantageous to increase the ranking score of the requesting device to make the bandwidth upper limit more likely to increase .
剩餘裝置202b至202d之各者經調適以計算指示保持頻寬上限之一優先級之排名分數。可以一類似方式例如基於以下之至少一者計算一剩餘裝置(即,圖4至圖6中之裝置202b至202d)之排名分數:-指示剩餘裝置之一過剩頻寬之一值,-剩餘裝置之頻寬上限,-包括複數個裝置之系統中之剩餘裝置之一重要性參數,-一時間排程參數,-與剩餘裝置之先前排名分數相關之一歷史參數。
Each of the remaining
舉例而言,若一剩餘裝置202b至202d具有未使用頻寬(即,頻寬上限高於(例如)用於接收或傳輸資料實際需要之頻寬),則此可導致一較低排名分數。一剩餘裝置202b至202d之排名分數可進一步基於裝置處或由裝置收集之資料中之事件,如上文結合請求裝置在描述。
For example, if a remaining
過剩頻寬之此指示可進一步包含於自一剩餘裝置202b至202d發送至請求裝置202a之一回覆502b至502d中。換言之,一或多個回答502b至502d之各者可進一步包括指示回答所對應於之剩餘裝置202b至202d處之一過剩頻寬之一值。可在請求裝置202a處使用此(此等)值以判定在一或多個經接收回答502b至502d所對應於之一或多個剩餘裝置
202b至202d當中自其接收頻寬之一裝置202c。此在圖6中描述。若過剩頻寬之一指示包含於回答502b至502d中,則判定可基於此等值。然而,自其接收頻寬之裝置之判定至少基於請求裝置之排名分數及一或多個回答之排名分數。藉由亦包含剩餘裝置處之過剩頻寬,即使經判定裝置之排名分數並非經接收回答當中之排名分數之最低者,仍自具有此過剩頻寬之一裝置接收頻寬。根據一些實施例,若接收包括指示高於零之一過剩頻寬之一值之一個以上回答,則在請求裝置202a處判定自其接收可用頻寬之一裝置之步驟包括在一個以上回答當中選擇具有一最低排名分數之一回答。自其接收可用頻寬之裝置則可係具有最低排名分數之回答所對應於之裝置。根據其他實施例,選取具有最多過剩頻寬之裝置作為自其接收頻寬之裝置。
This indication of excess bandwidth may be further included in a
在圖6中,稱為202c之裝置經判定為應自其接收頻寬之裝置。在圖6中,方框612a、612c之大小各表示包括在一點對點網路中互連之複數個裝置202a至202d之系統中之可用頻寬之總量。在左方框612c中,虛線608表示經判定為應自其接收頻寬之裝置之裝置202c之一當前頻寬上限。在右方框612a中,虛線604表示請求裝置202a之一當前頻寬上限。請求裝置增加頻寬上限直至由線606指示之位準,且將指示經判定裝置202c減小經判定裝置之頻寬上限之一訊息602發送至經判定裝置202c。經判定裝置202c因此接收具有減小裝置202c之頻寬上限之指令之訊息602,且據此回應,將頻寬上限減小至由線610指示之位準。
In FIG. 6, the device called 202c is determined as the device from which it should receive the bandwidth. In FIG. 6, the sizes of
根據一些實施例,請求裝置202a之頻寬上限增加一預定量,且經判定裝置202c之頻寬上限減小相同預定量。此意謂通常將在反覆步驟中完成頻寬之重新分配,其中位元率(頻寬)中一預定步驟用於各反覆。對於頻寬402之請求可因此不指示需要之頻寬之量,僅指示請求一增加。預定量可由一使用者提供至系統。預定量可基於系統中之總
可用頻寬(例如,總可用頻寬除以100、50或任何其他適合數目)及/或基於在點對點網路中互連之裝置之數目。藉由實例,預定量可係0.5Mbit/sec、1Mbit/sec或3Mbit/sec。
According to some embodiments, the bandwidth upper limit of the requesting
根據一些實施例,為了判定請求裝置處之頻寬上限將增加之頻寬之量,可計算請求裝置之排名分數與對應於自其接收頻寬之經判定裝置之回答之排名分數之間之一差異。基於此差異,可計算由請求裝置自經判定裝置接收之頻寬之一量。此計算可進一步基於系統之總可用頻寬,例如藉由將總可用頻寬除以基於經計算差異之一適合值。頻寬之經計算量接著用於增加請求裝置202a之頻寬上限且進一步包含於發送至頻寬上限隨後減小此量之經判定裝置202c之訊息602中。此重新分配亦可係反覆的,但待接收之頻寬之量可在對於頻寬之兩個請求之間不同。
According to some embodiments, in order to determine the amount of bandwidth that the upper limit of the bandwidth at the requesting device will increase, one of the ranking score of the requesting device and the ranking score corresponding to the answer of the determined device from which the bandwidth is received may be calculated difference. Based on this difference, an amount of bandwidth received by the requesting device from the decision device can be calculated. This calculation may be further based on the total available bandwidth of the system, for example, by dividing the total available bandwidth by a suitable value based on the calculated difference. The calculated amount of bandwidth is then used to increase the upper limit of the bandwidth of the requesting
此外,複數個裝置之各者可具有一頻寬下限,即分別針對裝置202a、202c之點虛線614、616。根據一些實施例,當自一裝置接收頻寬將導致該裝置之頻寬上限將低於頻寬下限時,不可自該裝置接收頻寬。此可以不同方式例如藉由以下各者實施:若一剩餘裝置之當前頻寬上限接近或低於頻寬下限,則不回答對於額外頻寬之請求;或在此情況中增加剩餘裝置之排名分數;或即使存在過剩頻寬,仍不指示任何過剩頻寬。針對圖6中之實施例,經調整頻寬上限606、610在頻寬下限614、616上方。
In addition, each of the plurality of devices may have a lower bandwidth limit, that is, dotted
如上文中描述,使用一點對點網路之一優點係其以一方便且可靠之方式處置點對點網路之新加入之裝置。為了將可用頻寬分配至一新加入之裝置,有利的是將新裝置之頻寬上限設定至零。新裝置之本地位元率控制器可立即判定需要額外頻寬,此繼而導致新裝置發出對於額外頻寬之一請求。至少取決於在點對點網路中互連之裝置之各自排名分數,將在全部該等裝置當中分配系統之可用總頻寬。若如上文 中描述般使用一反覆方法,則可以其中一個以上「舊」裝置可將頻寬貢獻至新裝置之一方便方式處置此分配。 As described above, one of the advantages of using a peer-to-peer network is that it handles newly added devices of the peer-to-peer network in a convenient and reliable manner. In order to allocate the available bandwidth to a newly added device, it is advantageous to set the upper limit of the bandwidth of the new device to zero. The native device rate controller of the new device can immediately determine that additional bandwidth is required, which in turn causes the new device to issue a request for additional bandwidth. At least depending on the respective ranking scores of the devices interconnected in the point-to-point network, the total available bandwidth of the system will be distributed among all such devices. If as above Using the iterative method as described in the above, it is possible to handle this allocation in one of the convenient ways in which more than one "old" device can contribute bandwidth to the new device.
如上文中提及,在一點對點網路中互連之裝置可係各獲取一各自監測資料之監測裝置。此等裝置之實例係用於獲取一視訊串流之監測攝影機或用於獲取一音訊串流之監測麥克風。 As mentioned above, devices interconnected in a point-to-point network can be monitoring devices that each obtain a separate monitoring data. Examples of such devices are monitoring cameras for acquiring a video stream or monitoring microphones for acquiring an audio stream.
圖7藉由實例描述包括在一點對點網路200中互連之三個攝影機702a至702c之一系統。一攝影機702a至702c可係(例如)擷取視覺光之任何類型之攝影機(一熱攝影機、一飛行時間攝影機)或(例如)擷取一深度圖之任何其他感測器陣列。可在相同系統中使用不同類型之攝影機。
FIG. 7 describes, by way of example, a system including three
在圖7中,各攝影機獲取儲存於一中心儲存器704中之一視訊串流。儲存容量(儲存器704每時間單位可儲存之資料之量)有限。此意謂各攝影機702a至702c可需要編碼經獲取視訊串流以達成位元率減少,如上文中所描述。亦如上文中所描述,可至少基於各攝影機之排名分數而在攝影機之間協商位元率減少(經由頻寬上限)。
In FIG. 7, each camera acquires a video stream stored in a
圖7藉由實例進一步包括系統中之一裝置702之一示意性圖解。此圖解並非專用於一攝影機,而係針對可在如本文中所描述之一對點點網路中與其他裝置互連之任何裝置之更一般圖解。裝置702包括當協商頻寬時可用於全部計算(例如,用於計算一排名分數且判定自其接收頻寬之一裝置)之一處理器706。處理器706亦用於由如上文中描述之本地位元率控制器執行之任何計算。裝置702進一步包括用於接收及/或傳輸資料(例如)至中心儲存器704之一數位網路模組708。裝置702進一步包括用於在點對點網路200內傳輸且接收訊息之一模組。
FIG. 7 further includes by way of example a schematic illustration of one of the
200‧‧‧點對點網路 200‧‧‧ point-to-point network
702‧‧‧裝置 702‧‧‧ installation
702a‧‧‧攝影機 702a‧‧‧Camera
702b‧‧‧攝影機 702b‧‧‧Camera
702c‧‧‧攝影機 702c‧‧‧Camera
704‧‧‧中心儲存器 704‧‧‧Central storage
706‧‧‧處理器 706‧‧‧ processor
708‧‧‧數位網路模組 708‧‧‧Digital network module
Claims (16)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP15161399.9A EP3073702B1 (en) | 2015-03-27 | 2015-03-27 | Method and devices for negotiating bandwidth in a peer-to-peer network |
EP15161399.9 | 2015-03-27 |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201635762A TW201635762A (en) | 2016-10-01 |
TWI682648B true TWI682648B (en) | 2020-01-11 |
Family
ID=52780909
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104138618A TWI682648B (en) | 2015-03-27 | 2015-11-20 | Method and devices for negotiating bandwidth in a peer-to-peer network |
Country Status (6)
Country | Link |
---|---|
US (2) | US9813469B2 (en) |
EP (1) | EP3073702B1 (en) |
JP (1) | JP6392740B2 (en) |
KR (1) | KR101796179B1 (en) |
CN (1) | CN106027586B (en) |
TW (1) | TWI682648B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9544636B2 (en) | 2014-07-07 | 2017-01-10 | Google Inc. | Method and system for editing event categories |
US10140827B2 (en) | 2014-07-07 | 2018-11-27 | Google Llc | Method and system for processing motion event notifications |
US9361011B1 (en) | 2015-06-14 | 2016-06-07 | Google Inc. | Methods and systems for presenting multiple live video feeds in a user interface |
US10506237B1 (en) | 2016-05-27 | 2019-12-10 | Google Llc | Methods and devices for dynamic adaptation of encoding bitrate for video streaming |
US10957171B2 (en) | 2016-07-11 | 2021-03-23 | Google Llc | Methods and systems for providing event alerts |
EP3432671A1 (en) * | 2017-07-18 | 2019-01-23 | Deutsche Telekom AG | Communication device with local scheduler for scheduling communication over a bandwidth-limited radio channel |
US10389772B1 (en) * | 2018-01-31 | 2019-08-20 | Facebook, Inc. | Systems and methods for optimizing simulcast streams in group video calls |
EP3791619B1 (en) * | 2018-05-09 | 2022-08-03 | Telefonaktiebolaget LM Ericsson (publ) | Core network node, user equipment and methods in a packet communications network |
US11258877B2 (en) * | 2018-07-26 | 2022-02-22 | Netapp, Inc. | Methods for managing workloads in a storage system and devices thereof |
US11898332B1 (en) * | 2022-08-22 | 2024-02-13 | Caterpillar Inc. | Adjusting camera bandwidth based on machine operation |
CN115150283B (en) * | 2022-09-05 | 2022-11-22 | 腾讯科技(深圳)有限公司 | Network bandwidth detection method and device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050125563A1 (en) * | 2003-12-09 | 2005-06-09 | Douglas Chet R. | Load balancing device communications |
US20100131325A1 (en) * | 2008-11-27 | 2010-05-27 | Jongtae Song | Network resource control method and apparatus for guaranteeing admission rate of high-priority service |
US7764967B2 (en) * | 2005-05-31 | 2010-07-27 | Samsung Electronics Co., Ltd | System for managing frequency resources in multiple radio access networks and method thereof |
US20120044931A1 (en) * | 2010-08-20 | 2012-02-23 | Shoretel, Inc. | Via Site for Managing Network Bandwidth |
US20120218416A1 (en) * | 2008-06-03 | 2012-08-30 | Thales | Dynamically Reconfigurable Intelligent Video Surveillance System |
US8520541B2 (en) * | 2010-08-20 | 2013-08-27 | Shoretel, Inc. | Managing network bandwidth |
Family Cites Families (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6292098B1 (en) | 1998-08-31 | 2001-09-18 | Hitachi, Ltd. | Surveillance system and network system |
US7133368B2 (en) * | 2002-02-01 | 2006-11-07 | Microsoft Corporation | Peer-to-peer method of quality of service (QoS) probing and analysis and infrastructure employing same |
US7174382B2 (en) * | 2002-04-09 | 2007-02-06 | Hewlett-Packard Development Company, L.P. | Interest-based connections in peer-to-peer networks |
PL1685543T3 (en) | 2003-11-18 | 2009-07-31 | Intergraph Software Tech Company | Digital video surveillance |
US7627644B2 (en) * | 2003-11-28 | 2009-12-01 | Canon Kabushiki Kaisha | Recipient-centred proactive caching in a peer-to-peer system |
US20060092851A1 (en) * | 2004-10-29 | 2006-05-04 | Jeffrey Forrest Edlund | Method and apparatus for communicating predicted future network requirements of a data center to a number of adaptive network interfaces |
US8115812B2 (en) * | 2006-09-20 | 2012-02-14 | Panasonic Corporation | Monitoring system, camera, and video encoding method |
US7720098B1 (en) * | 2007-08-08 | 2010-05-18 | At&T Mobility Ii Llc | Wireless bandwidth aggregation |
US7844724B2 (en) * | 2007-10-24 | 2010-11-30 | Social Communications Company | Automated real-time data stream switching in a shared virtual area communication environment |
US9037657B2 (en) * | 2008-05-23 | 2015-05-19 | The Trustees Of Columbia University In The City Of New York | Systems and methods for peer-to-peer bandwidth allocation |
US8756639B2 (en) * | 2008-09-04 | 2014-06-17 | At&T Intellectual Property I, L.P. | Apparatus and method for managing a network |
US8819244B2 (en) * | 2010-04-07 | 2014-08-26 | Apple Inc. | Apparatus and method for establishing and utilizing backup communication channels |
US9094326B2 (en) * | 2010-11-02 | 2015-07-28 | Qualcomm Incorporated | Systems and methods for communicating in a network |
US8660523B2 (en) * | 2010-11-08 | 2014-02-25 | Alcatel Lucent | Method of providing rate tiers in wireless communication systems |
US9667713B2 (en) * | 2011-03-21 | 2017-05-30 | Apple Inc. | Apparatus and method for managing peer-to-peer connections between different service providers |
US20120297405A1 (en) * | 2011-05-17 | 2012-11-22 | Splendorstream, Llc | Efficiently distributing video content using a combination of a peer-to-peer network and a content distribution network |
US20130159494A1 (en) * | 2011-12-15 | 2013-06-20 | Cisco Technology, Inc. | Method for streamlining dynamic bandwidth allocation in service control appliances based on heuristic techniques |
WO2013097122A1 (en) * | 2011-12-28 | 2013-07-04 | 华为技术有限公司 | Service channel bandwidth management method, relevant device and system in access network |
US9009722B2 (en) * | 2013-02-05 | 2015-04-14 | International Business Machines Corporation | Collaborative negotiation of system resources among virtual servers running in a network computing environment |
CN104580305B (en) * | 2013-10-18 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Network uploads scheduling and bandwidth detection method, system, client and server |
-
2015
- 2015-03-27 EP EP15161399.9A patent/EP3073702B1/en active Active
- 2015-11-20 TW TW104138618A patent/TWI682648B/en active
- 2015-11-27 CN CN201510847335.1A patent/CN106027586B/en active Active
- 2015-12-09 JP JP2015239842A patent/JP6392740B2/en active Active
-
2016
- 2016-01-06 KR KR1020160001486A patent/KR101796179B1/en active IP Right Grant
- 2016-02-04 US US15/015,345 patent/US9813469B2/en active Active
-
2017
- 2017-09-28 US US15/718,896 patent/US10244019B2/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050125563A1 (en) * | 2003-12-09 | 2005-06-09 | Douglas Chet R. | Load balancing device communications |
US7764967B2 (en) * | 2005-05-31 | 2010-07-27 | Samsung Electronics Co., Ltd | System for managing frequency resources in multiple radio access networks and method thereof |
US20120218416A1 (en) * | 2008-06-03 | 2012-08-30 | Thales | Dynamically Reconfigurable Intelligent Video Surveillance System |
US20100131325A1 (en) * | 2008-11-27 | 2010-05-27 | Jongtae Song | Network resource control method and apparatus for guaranteeing admission rate of high-priority service |
US20120044931A1 (en) * | 2010-08-20 | 2012-02-23 | Shoretel, Inc. | Via Site for Managing Network Bandwidth |
US8520541B2 (en) * | 2010-08-20 | 2013-08-27 | Shoretel, Inc. | Managing network bandwidth |
Also Published As
Publication number | Publication date |
---|---|
CN106027586A (en) | 2016-10-12 |
EP3073702A1 (en) | 2016-09-28 |
KR101796179B1 (en) | 2017-11-10 |
CN106027586B (en) | 2018-06-05 |
EP3073702B1 (en) | 2017-09-06 |
KR20160115681A (en) | 2016-10-06 |
TW201635762A (en) | 2016-10-01 |
JP2017005676A (en) | 2017-01-05 |
US10244019B2 (en) | 2019-03-26 |
US9813469B2 (en) | 2017-11-07 |
JP6392740B2 (en) | 2018-09-19 |
US20180034872A1 (en) | 2018-02-01 |
US20160285724A1 (en) | 2016-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI682648B (en) | Method and devices for negotiating bandwidth in a peer-to-peer network | |
US7002992B1 (en) | Codec selection to improve media communication | |
KR101509544B1 (en) | Bandwidth reservation for data flows in interconnection networks | |
CN104243609B (en) | A kind of information service method for pushing and device | |
CN105262836A (en) | Information push method of server and push information reception method of client | |
CN104427354A (en) | Broadcast media sharing method and node subsystem, and streaming media server | |
US20210195271A1 (en) | Stream control system for use in a network | |
WO2015198299A1 (en) | System and method for management of data transmission in a communication network | |
AU2020257112A1 (en) | Distribution of bandwidth in a network | |
JP2011155344A (en) | Network system, network interconnection device, and data transmission method | |
JP2005039775A (en) | Network apparatus and data transfer method for efficient data transmission/reception in mobile ad hoc network | |
JP2012004969A (en) | Content distribution apparatus and program | |
WO2016184332A1 (en) | Video capturing method, and related device and system | |
JP2004080566A (en) | Contents distribution method and contents distribution system using the same | |
JP2006295587A (en) | Display device, network conference system, method for convening network conference, and computer software | |
WO2012162989A1 (en) | Media stream transmission method, channel initialization method and equipment | |
CN113038065B (en) | Data transmission method and data transmission device of video conference system | |
US20230345154A1 (en) | Service configuration method and apparatus | |
JP2013034101A (en) | Tcp session management method and tcp proxy device | |
CN112004048A (en) | Method, device, equipment and medium for controlling code rate of participating terminal based on video networking | |
CN115190354A (en) | Audio and video transmission method and device, electronic equipment and storage medium | |
CN116418785A (en) | Fusion data transmission method in multimedia sharing | |
JP2012004970A (en) | Content distribution apparatus, distribution server device and program |