TWI387278B - Cable data machine and its dynamic method for establishing service quality - Google Patents
Cable data machine and its dynamic method for establishing service quality Download PDFInfo
- Publication number
- TWI387278B TWI387278B TW98124682A TW98124682A TWI387278B TW I387278 B TWI387278 B TW I387278B TW 98124682 A TW98124682 A TW 98124682A TW 98124682 A TW98124682 A TW 98124682A TW I387278 B TWI387278 B TW I387278B
- Authority
- TW
- Taiwan
- Prior art keywords
- packet
- prediction unit
- bandwidth
- bandwidth prediction
- information
- Prior art date
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本發明涉及數據機,尤其涉及纜線數據機及其動態建立服務品質的方法。 The present invention relates to data machines, and more particularly to cable data machines and methods for dynamically establishing service quality.
近年來,隨著電腦技術的發展,網際網路上不僅可以傳輸資料資訊,而且還可以傳輸語音資訊,藉由即時傳送協定(Real-time Transport Protocol,RTP)來實現在網際網路上傳輸語音資訊。 In recent years, with the development of computer technology, the Internet can not only transmit data information, but also transmit voice information, and transmit voice information over the Internet through Real-time Transport Protocol (RTP).
在習知技術中,當用戶終端設備(Customer Premise Equipment)藉由纜線數據機(Cable Modem)連接到通訊網路時,如果用戶終端需要建立語音流,就必須藉由其與纜線數據機之間預先定義的傳輸協定,並且在傳送語音流之前纜線數據機必須事先為該用戶終端設備提供可靠的服務品質(Quality of Service,QoS),也即,提供一個固定的頻寬,然後才能傳送語音流,而且在整個語音通訊過程中用戶獨佔該固定頻寬,即使是在該用戶沒有發出任何語音資訊的情況下,也會獨佔該固定頻寬。 In the prior art, when a customer terminal device (Customer Premise Equipment) is connected to a communication network by a cable modem, if the user terminal needs to establish a voice stream, it must be connected to the cable data machine. Pre-defined transport protocol, and the cable modem must provide the user terminal equipment with a reliable Quality of Service (QoS) before delivery of the voice stream, that is, provide a fixed bandwidth before transmitting The voice stream, and the user monopolizes the fixed bandwidth during the entire voice communication process, even if the user does not send any voice information, the fixed bandwidth is monopolized.
如果傳送的是加密的語音流,則纜線數據機在接收到加密的語音流後不能立即判斷其是否為語音流,還必須利用複雜的解密演算法進行解密,解密之後如是語音流則還要根據事先定義的傳輸協定為該語音流提供服務品質,這樣一來,不僅增加纜線數據機的負擔,而且還導致纜線數據機中有限的頻寬資源不能有效利用。 If the encrypted voice stream is transmitted, the cable modem cannot immediately determine whether it is a voice stream after receiving the encrypted voice stream, and must also use a complicated decryption algorithm for decryption, and if it is a voice stream after decryption, The quality of service is provided for the voice stream according to a predefined transport protocol, which not only increases the burden on the cable modem, but also causes the limited bandwidth resources in the cable modem to be effectively utilized.
有鑒於此,需提供一種纜線數據機,不僅能為未加密的語音流建立服務品質,而且還能為加密的語音流建立服務品質,以提高有限頻寬資源的利用率。 In view of this, it is desirable to provide a cable modem that not only establishes quality of service for unencrypted voice streams, but also establishes quality of service for encrypted voice streams to increase utilization of limited bandwidth resources.
此外,還需提供一種動態建立服務品質的方法,不僅能為未加密的語音流建立服務品質,而且還能為加密的語音流建立服務品質,且能提高有限頻寬資源的利用率。 In addition, there is a need to provide a method for dynamically establishing service quality that not only establishes service quality for unencrypted voice streams, but also establishes service quality for encrypted voice streams and improves utilization of limited bandwidth resources.
本發明實施方式所提供的纜線數據機,用於為語音流建立服務品質,包括頻寬預測單元建立模組、讀取模組、判斷模組、頻寬分配模組及更新模組。頻寬預測單元建立模組用於根據所接收到的封包資訊為具有相同源位址、目的地址及封包大小的同類封包建立頻寬預測單元,該頻寬預測單元包括該同類封包的源位址、目的地址、封包大小、流量及服務品質等欄位,該流量欄位值根據該同類封包實際流量動態變化。讀取模組用於週期性的讀取該頻寬預測單元。判斷模組用於判斷該頻寬預測單元中的流量欄位值是否大於預設的門限值,並在大於該預設的門限值時,判斷該流量的加速度是否為零,以及在該流量的加速度為零時,判斷該頻寬預測單元中的服務品質欄位是否存儲有固定的頻寬資訊。頻寬分配模組用於在該判斷模組判斷該頻寬預測單元中的服務品質欄位沒有存儲固定的頻寬資訊時,分配固定頻寬並存儲於該頻寬預測單元的服務品質欄位中。更新模組用於在該判斷模組判斷該頻寬預測單元中的服務品質欄位存儲有固定的頻寬資訊時,更新該流量並存儲於該頻寬預測單 元的流量欄位中,以及根據更新的流量更新固定頻寬資訊並存儲於該頻寬預測單元的服務品質欄位中。 The cable data machine provided by the embodiment of the present invention is used for establishing service quality for a voice stream, and includes a bandwidth prediction unit establishing module, a reading module, a determining module, a bandwidth allocation module, and an updating module. The bandwidth prediction unit establishing module is configured to establish, according to the received packet information, a bandwidth prediction unit for a similar packet having the same source address, destination address, and packet size, where the bandwidth prediction unit includes a source address of the same packet. Fields such as destination address, packet size, traffic, and service quality. The traffic field value dynamically changes according to the actual traffic of the same packet. The reading module is used to periodically read the bandwidth prediction unit. The determining module is configured to determine whether the traffic field value in the bandwidth prediction unit is greater than a preset threshold, and when greater than the preset threshold, determine whether the acceleration of the traffic is zero, and at the traffic When the acceleration is zero, it is determined whether the service quality field in the bandwidth prediction unit stores fixed bandwidth information. The bandwidth allocation module is configured to allocate a fixed bandwidth and store the service quality field in the bandwidth prediction unit when the determining module determines that the quality of service field in the bandwidth prediction unit does not store fixed bandwidth information. in. The update module is configured to: when the determining module determines that the service quality field in the bandwidth prediction unit stores fixed bandwidth information, update the traffic and store the bandwidth in the bandwidth prediction list. The fixed traffic information is updated in the traffic field of the meta, and stored in the service quality field of the bandwidth prediction unit.
本發明實施方式所提供的動態建立服務品質的方法.,用於為語音流建立服務品質,包括以下步驟:接收封包資訊為具有相同源位址、目的地址及封包大小的同類封包並建立頻寬預測單元,其中,該頻寬預測單元包括該同類封包的源位址、目的地址、封包大小、流量及服務品質等欄位,該流量欄位值根據該同類封包實際流量動態變化;讀取該頻寬預測單元;判斷該頻寬預測單元中的流量欄位值是否大於預設的門限值;若該流量欄位值大於該預設的門限值,則判斷該流量的加速度是否為零;若該流量的加速度為零,則判斷該頻寬預測單元中的服務品質欄位是否存儲有固定的頻寬資訊;及若該頻寬預測單元中的服務品質欄位沒有存儲固定的頻寬資訊,則分配固定頻寬並存儲於該頻寬預測單元的服務品質欄位中。 The method for dynamically establishing service quality provided by the embodiment of the present invention is used to establish service quality for a voice stream, and the method includes the following steps: receiving packet information into a similar packet having the same source address, destination address, and packet size, and establishing a bandwidth. a prediction unit, wherein the bandwidth prediction unit includes a source address, a destination address, a packet size, a traffic, and a service quality of the same packet, and the traffic field value dynamically changes according to the actual traffic of the same packet; a bandwidth prediction unit; determining whether the traffic field value in the bandwidth prediction unit is greater than a preset threshold; if the traffic field value is greater than the preset threshold, determining whether the acceleration of the traffic is zero; If the acceleration of the traffic is zero, it is determined whether the service quality field in the bandwidth prediction unit stores fixed bandwidth information; and if the quality of service field in the bandwidth prediction unit does not store fixed bandwidth information, A fixed bandwidth is then allocated and stored in the quality of service field of the bandwidth prediction unit.
藉由以下對具體實施方式詳細的描述結合附圖,將可輕易的瞭解上述內容及此項發明之諸多優點。 The above and many advantages of the invention will be readily apparent from the following detailed description of the preferred embodiments.
請參閱圖1,所示為本發明纜線數據機20一實施方式的應用環境和結構圖。在本實施方式中,用戶終端設備(Customer Premise Equipment,CPE)10藉由纜線數據機20連接到通訊網路30,其中用戶終端設備10可以為筆記本電腦(Notebook)、個人數位助理(Personal Digital Assistant)、個人電腦(Personal Computer)等。 Referring to FIG. 1, an application environment and a structural diagram of an embodiment of a cable modem 20 of the present invention are shown. In this embodiment, a Customer Premise Equipment (CPE) 10 is connected to the communication network 30 by a cable data machine 20, wherein the user terminal device 10 can be a notebook computer or a personal digital assistant (Personal Digital Assistant). ), personal computer (Personal) Computer) and so on.
在本實施方式中,纜線數據機20包括頻寬預測單元建立模組202、讀取模組204、判斷模組206、頻寬分配模組208及更新模組210。 In the present embodiment, the cable data machine 20 includes a bandwidth prediction unit establishing module 202, a reading module 204, a determining module 206, a bandwidth allocation module 208, and an update module 210.
頻寬預測單元建立模組202用於建立頻寬預測單元(Bandwidth Prediction Unit,BPU),並將複數BPU存儲於BPU列表中,該BPU資訊是根據讀取所接收到的封包包頭資訊而建立起來的,包括封包源位址(Packet source IP)、封包目的地址(Packet destination IP)、封包大小(Packet size)、流量(Flow Rate)及服務品質(Quality of Service,QoS)等欄位,其中流量欄位值是動態變化的。 The bandwidth prediction unit establishing module 202 is configured to establish a Bandwidth Prediction Unit (BPU), and store the complex BPU in the BPU list, where the BPU information is established according to the received packet header information. The packet includes a packet source IP address, a packet destination IP address, a packet size, a flow rate, and a quality of service (QoS) field. The field values are dynamically changing.
在本實施方式中,頻寬預測單元建立模組202還用於接收通訊網路中傳輸的封包,包括語音封包和資料封包,其中語音封包有未加密的語音封包和加密的語音封包,通訊網路中傳輸的封包由包頭和內容兩部分組成,包頭包括封包源IP位址、封包目的IP位址及封包大小(Packet Size)等欄位,源IP位址用於表示發送該封包的IP位址,目的IP位址用於表示接收該封包的IP位址,封包大小用於表示該封包所包括之位元組(Byte),內容包括所傳送的資訊部分。在實際通訊網路中,由於還可以傳送由加密語音封包組成的加密語音流,但是加密語音封包對包頭部分是不進行加密的,只對內容部分進行加密,且加密語音封包的包頭部分與未加密語音封包的包頭部分一樣,也包括封包源IP位址、封包目的IP位址及封包 大小等欄位。 In this embodiment, the bandwidth prediction unit establishing module 202 is further configured to receive a packet transmitted in the communication network, including a voice packet and a data packet, where the voice packet includes an unencrypted voice packet and an encrypted voice packet, and the communication network is in the communication network. The transmitted packet consists of a packet header and a content. The packet header includes a packet source IP address, a packet destination IP address, and a packet size. The source IP address is used to indicate the IP address of the packet to be sent. The destination IP address is used to indicate the IP address of the received packet, and the packet size is used to indicate a byte (Byte) included in the packet, and the content includes the transmitted information part. In the actual communication network, since the encrypted voice stream composed of the encrypted voice packet can also be transmitted, the encrypted voice packet is not encrypted for the header portion, only the content portion is encrypted, and the header portion of the encrypted voice packet is unencrypted. The header part of the voice packet is the same, including the packet source IP address, the packet destination IP address, and the packet. Fields such as size.
在本實施方式中,頻寬預測單元建立模組202還用於判斷所接收到封包的大小是否與即時傳送協定(Real-time Transport protocol,RTP)中規定的語音封包大小相匹配。在本實施方式中,在RTP協定下不同標準所規定的語音封包大小是不同的,例如G.711標準下所規定的語音封包的大小是200個位元組。本實施方式是藉由讀取包頭中封包大小欄位的資訊,來判斷所接收到封包的大小是否與自身採用的RTP協定下某種標準所規定的語音封包大小相匹配,如果判斷所接收到封包的大小與所規定的語音封包大小相匹配,則表明所接收到的封包有可能是語音封包,如果判斷所接收到封包的大小與所規定的語音封包大小不匹配,則表明所接收到的封包不可能是語音封包,此時則直接將該封包發送出去。 In this embodiment, the bandwidth prediction unit establishing module 202 is further configured to determine whether the size of the received packet matches the voice packet size specified in a Real-time Transport Protocol (RTP). In this embodiment, the voice packet size specified by different standards under the RTP protocol is different. For example, the voice packet size specified in the G.711 standard is 200 bytes. In this implementation manner, by reading the information of the packet size field in the packet header, it is determined whether the size of the received packet matches the voice packet size specified by a certain standard under the RTP protocol adopted by itself, and if it is determined that the packet is received, If the size of the packet matches the size of the voice packet specified, it indicates that the received packet may be a voice packet. If it is determined that the size of the received packet does not match the size of the specified voice packet, it indicates that the received packet is received. The packet cannot be a voice packet, and the packet is sent directly at this time.
在本實施方式中,頻寬預測單元建立模組202還用於在所接收到封包的大小與所規定的語音封包大小相匹配時,判斷該封包是否與存儲的BPU資訊相匹配。在本實施方式中,是藉由讀取該封包包頭中的封包源IP位址、封包目的IP位址及封包大小這三組欄位資訊來判斷是否與存儲的BPU資訊相匹配,只有當該封包源IP位址、封包目的IP位址及封包大小都與BPU列表中的某個BPU資訊相匹配時,才能判定該封包與存儲的BPU資訊相匹配,否則如果有任一項不匹配時,就判定該封包與存儲的BPU資訊不相匹配。 In this embodiment, the bandwidth prediction unit establishing module 202 is further configured to determine whether the packet matches the stored BPU information when the size of the received packet matches the specified voice packet size. In this embodiment, by reading the three sets of field information of the packet source IP address, the packet destination IP address, and the packet size in the packet header, it is determined whether the BPU information is matched with the stored BPU information. When the packet source IP address, the packet destination IP address, and the packet size match the BPU information in the BPU list, it can be determined that the packet matches the stored BPU information, otherwise, if any one does not match, It is determined that the packet does not match the stored BPU information.
當判斷該封包與存儲的BPN資訊相匹配時,則啟動計數器 以更新所接收到具有相同源位址、目的地址及封包大小的同類封包的流量。在本實施方式中,如果判斷該封包與存儲的BPU資訊相匹配時,則表明BPU列表已經存儲有該BPU的資訊,此時,則更新所接收到具有相同源位址、目的地址及封包大小的同類封包的個數以計算其流量(Flow Rate),例如,1秒鐘接收到10個具有相同源位址、目的地址及封包大小的同類封包時,其流量就是每秒傳送10個封包。由於在實際的應用中,通訊網路流量值有可能是變化的,也有可能是不變的,在本實施方式中,則是隨時更新所接收到的同類封包的個數以便動態監測流量資訊。 When the packet is judged to match the stored BPN information, the counter is started. To update the traffic of the same packet that has received the same source address, destination address, and packet size. In this embodiment, if it is determined that the packet matches the stored BPU information, it indicates that the BPU list already stores the information of the BPU. At this time, the update receives the same source address, destination address, and packet size. The number of similar packets is calculated by calculating the flow rate. For example, when 10 packets of the same type with the same source address, destination address, and packet size are received in one second, the traffic is 10 packets per second. In the actual application, the communication network traffic value may change or may not be the same. In this embodiment, the number of received similar packets is updated at any time to dynamically monitor the traffic information.
當判斷該封包與存儲的BPU資訊不相匹配時,則根據所接收到同類封包的源位址、目的地址及封包大小資訊新建立並存儲一個BPU,其中,BPU包括同類封包的源位址、目的地址、封包大小、流量及服務品質等欄位,流量欄位值根據同類封包實際流量動態變化。 When it is determined that the packet does not match the stored BPU information, a BPU is newly established and stored according to the source address, the destination address, and the packet size information of the received packet, wherein the BPU includes the source address of the same packet, The destination address, packet size, traffic, and service quality fields, and the traffic field value dynamically changes according to the actual traffic of the same packet.
在本實施方式中,對於首次存儲於BPU列表中的BPU只包括封包源IP位址、封包目的IP位址及封包大小這三組欄位,只有在下一個讀取週期時才將流量及提供的固定頻寬存儲於對應的BPU中的流量欄位和服務品質欄位。因此,在本實施方式中,並不是每一BPU上的封包源IP位址欄位元、封包目的IP位址欄位元、封包大小欄位、流量欄位及服務品質欄位都存儲有資料資訊。例如首次存儲於BPU列表中的BPU就只存儲有封包源IP位址、封包目的IP位址及封包大小的資料資訊,而其中的流量欄位及服務 品質欄位沒有存儲資料資訊。 In this embodiment, the BPU stored in the BPU list for the first time only includes three groups of fields: a packet source IP address, a packet destination IP address, and a packet size, and the traffic is provided only during the next read cycle. The fixed bandwidth is stored in the traffic field and service quality field in the corresponding BPU. Therefore, in this embodiment, not the packet source IP address field bit, the packet destination IP address field bit, the packet size field, the traffic field, and the service quality field on each BPU are stored with data. News. For example, the BPU stored in the BPU list for the first time stores only the data information of the packet source IP address, the packet destination IP address, and the packet size, and the traffic field and service therein. There is no information stored in the quality field.
在本實施方式中,BPU列表的建立是個動態過程,本實施方式藉由直接利用BPU列表對所接收到的封包流動態的提供服務品質,對於通訊網路上傳輸的加密語音流,則不需要編解碼器具有複雜的解密演算法來解密加密的語音封包以判斷是否為該語音流建立服務品質。 In this embodiment, the establishment of the BPU list is a dynamic process. In this embodiment, the service quality of the received packet stream is dynamically provided by directly using the BPU list, and the codec is not required for the encrypted voice stream transmitted on the communication network. The device has a complex decryption algorithm to decrypt the encrypted voice packet to determine whether to establish a quality of service for the voice stream.
讀取模組204用於從BPU列表中週期性的讀取BPU信息。在本實施方式中,每一BPU都包括流量欄位的資訊,用於表示在當前狀態下每秒鐘所接收到的具有相同源IP位址、目的IP位址及封包大小的同類封包的個數,其中BPU列表中的流量欄位值是動態變化的。讀取模組204週期性地從BPU列表中讀取所有BPU資訊,並且所設置的週期時間可以確保在週期內讀取完所有BPU列表中的BPU資訊。 The reading module 204 is configured to periodically read BPU information from the BPU list. In this embodiment, each BPU includes information of a traffic field, and is used to indicate the same type of packets received by the same source IP address, destination IP address, and packet size per second in the current state. Number, where the traffic field value in the BPU list is dynamically changed. The reading module 204 periodically reads all BPU information from the BPU list, and the set cycle time ensures that the BPU information in all BPU lists is read in the cycle.
判斷模組206用於判斷BPU中的流量欄位值是否大於預設的門限值,並在大於預設的門限值時,判斷流量的加速度是否為零,以及在流量的加速度為零時,判斷BPU中的服務品質欄位是否存儲有固定的頻寬資訊。 The determining module 206 is configured to determine whether the traffic field value in the BPU is greater than a preset threshold, and when the threshold is greater than a preset threshold, determine whether the acceleration of the traffic is zero, and when the acceleration of the traffic is zero, determine Whether the service quality field in the BPU stores fixed bandwidth information.
在本實施方式中,如果BPU中的流量欄位值小於預設的門限值,表明所接收到的封包流不符合RTP協定下語音流的標準。在實際應用中,纜線數據機20在不同標準下所預設的門限值是不同的,例如,在G.711標準下,語音流的傳送速度是64kbps,預設的門限值為64kbps,當接收到的封包流的流量小於64kbps時,則判斷模組206判斷該封包流不是語音流,同時從BPU列表中讀取下一個BPU資 訊。 In this embodiment, if the traffic field value in the BPU is less than a preset threshold, it indicates that the received packet flow does not meet the standard of the voice flow under the RTP protocol. In practical applications, the threshold value of the cable modem 20 is different under different standards. For example, under the G.711 standard, the voice stream transmission speed is 64 kbps, and the preset threshold is 64 kbps. When the received packet flow rate is less than 64 kbps, the determining module 206 determines that the packet flow is not a voice stream, and reads the next BPU resource from the BPU list. News.
在本實施方式中,當BPU中的流量欄位值大於預設的門限值時,並不能確定所接收到的封包流就是語音流,判斷模組206還需要判斷流量的加速度是否為零。在本實施方式中,存儲在BPU列表中的流量資訊是個動態變化的,如果在第1秒鐘接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數為20,在第2秒鐘接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數也為20,則可以判斷該流量的加速度為零,但是,如果在第2秒鐘接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數為30的話,則可以判斷該流量的加速度不為零。 In this embodiment, when the traffic field value in the BPU is greater than the preset threshold, it is not determined that the received packet flow is a voice stream, and the determining module 206 also needs to determine whether the acceleration of the traffic is zero. In this embodiment, the traffic information stored in the BPU list is dynamically changed. If the number of similar packets having the same source IP address, destination IP address, and packet size is 20 in the first second, If the number of packets of the same type with the same source IP address, destination IP address, and packet size received in the second second is also 20, it can be judged that the acceleration of the traffic is zero, but if it is received in the second second When the number of similar packets having the same source IP address, destination IP address, and packet size is 30, it can be determined that the acceleration of the traffic is not zero.
在實際的應用中,在RTP協定下語音流的傳送具有等速率傳送的特點,也即,語音流的流量是不變的。在本實施方式中,判斷加速度是否為零的時間間隔是2秒,即判斷第1秒與第2秒內所接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數是否相同。如果相同,則表明加速度為零,符合在RTP協定下語音流等速率傳送的特點,如果不相同,則表明所接收到的封包流不符合在RTP協定下語音流的特徵,此時,則從BPU列表讀取下一個BPU資訊。在其他實施方式中,判斷加速度是否為零還可以設定其他的時間間隔。 In practical applications, the transmission of voice streams under the RTP protocol has the characteristics of equal rate transmission, that is, the traffic of the voice stream is constant. In this embodiment, the time interval for determining whether the acceleration is zero is 2 seconds, that is, determining the same type of packets with the same source IP address, destination IP address, and packet size received in the first second and the second second. Whether the numbers are the same. If they are the same, it indicates that the acceleration is zero, which is consistent with the characteristics of the voice stream transmission under the RTP protocol. If it is not the same, it indicates that the received packet stream does not meet the characteristics of the voice stream under the RTP protocol. The BPU list reads the next BPU information. In other embodiments, it may be determined whether the acceleration is zero or not.
在本實施方式中,當判斷流量的加速度為零時,判斷模組206判斷BPU中的服務品質欄位是否存儲有固定的頻寬資訊。在本實施方式中,當判斷流量的加速度為零時, 表明所接收到的封包流是語音流,此時,如果BPU中的服務品質欄位存儲有固定的頻寬資訊,則表明與該BPU相對應的封包流存在服務品質,如果BPU中的服務品質欄位沒有存儲固定的頻寬資訊,則表明與該BPU相對應的封包流不存在服務品質。 In the present embodiment, when it is determined that the acceleration of the flow rate is zero, the determination module 206 determines whether the service quality field in the BPU stores fixed bandwidth information. In the present embodiment, when it is determined that the acceleration of the flow rate is zero, It indicates that the received packet flow is a voice stream. At this time, if the service quality field in the BPU stores fixed bandwidth information, it indicates that the packet flow corresponding to the BPU has service quality, and if the service quality in the BPU If the field does not store fixed bandwidth information, it indicates that the packet stream corresponding to the BPU does not have service quality.
頻寬分配模組208用於在判斷模組206判斷BPU中的服務品質欄位沒有存儲固定的頻寬資訊時,分配固定頻寬並存儲於BPU的服務品質欄位中。在本實施方式中,纜線數據機20根據接收到的語音流的流量提供一個固定頻寬,同時將固定頻寬資訊存儲在BPU的服務品質欄位中,例如,語音流的流量是64kbps,則纜線數據機將提供至少64kbps的固定頻寬給該語音流以建立服務品質,並將至少64kbps的固定頻寬資訊存儲在BPU的服務品質欄位中以表示已經建立了服務品質。 The bandwidth allocation module 208 is configured to allocate a fixed bandwidth and store it in the service quality field of the BPU when the determining module 206 determines that the quality of service field in the BPU does not store fixed bandwidth information. In the present embodiment, the cable data machine 20 provides a fixed bandwidth according to the traffic of the received voice stream, and stores the fixed bandwidth information in the service quality field of the BPU. For example, the traffic of the voice stream is 64 kbps. The cable modem will then provide a fixed bandwidth of at least 64 kbps to the voice stream to establish quality of service and store at least 64 kbps of fixed bandwidth information in the BPU's Quality of Service field to indicate that the quality of service has been established.
更新模組210用於在判斷模組206判斷BPU中的服務品質欄位存儲有固定的頻寬資訊時,更新流量並存儲於BPU的流量欄位中,以及根據更新的流量更新固定頻寬資訊並存儲於BPU的服務品質欄位中。在本實施方式中,例如,語音流的流量從64kbps增加到128kbps,原來提供64kbps固定頻寬的服務品質顯然不能滿足要求,此時纜線數據機則根據新的流量資訊提供至少128kbps的固定頻寬給新的語音流,同樣地,如果語音流的流量從64kbps減少到0kbps,此時纜線數據機則根據新的流量資訊不提供固定頻寬。在本實施方式中,根據這種動態監測語音流流量的機制來動態的提供相應頻寬,以提高服務品質 。 The update module 210 is configured to: when the determining module 206 determines that the service quality field in the BPU stores fixed bandwidth information, update the traffic and store the traffic in the traffic field of the BPU, and update the fixed bandwidth information according to the updated traffic. And stored in the service quality field of the BPU. In this embodiment, for example, the traffic of the voice stream is increased from 64 kbps to 128 kbps, and the service quality of the original 64 kbps fixed bandwidth is obviously not satisfactory, and the cable modem provides a fixed frequency of at least 128 kbps according to the new traffic information. The bandwidth is given to the new voice stream. Similarly, if the traffic of the voice stream is reduced from 64 kbps to 0 kbps, the cable modem does not provide a fixed bandwidth based on the new traffic information. In this embodiment, the corresponding bandwidth is dynamically provided according to the mechanism for dynamically monitoring voice stream traffic to improve service quality. .
在本實施方式中,判斷模組206還用於在所接收到的封包大小與RTP協定中規定的語音封包大小相匹配時,判斷該封包是否與頻寬預測單元建立模組202中的BPU資訊相匹配,並在該封包與存儲的BPU資訊不相匹配時,將該封包的封包源地址、封包目的地址及封包大小等欄位資訊存儲於BPU列表中。其中,更新模組210還用於在所接收到的封包與存儲的BPU資訊相匹配時,更新所接收到的具有相同源IP位址、目的IP位址及封包大小的同類封包的個數。讀取模組204還用於在當前狀態下BPU列表中所有的BPU資訊沒有讀取完時,繼續從BPU列表中讀取下一個BPU。在當前狀態下,若BPU列表中所有的BPU資訊都已讀取完時,讀取模組204則結束本次讀取週期,等待下一個讀取週期。 In the embodiment, the determining module 206 is further configured to determine whether the packet and the bandwidth prediction unit establish the BPU information in the module 202 when the received packet size matches the voice packet size specified in the RTP protocol. Matching, and when the packet does not match the stored BPU information, the field information such as the packet source address, the packet destination address, and the packet size of the packet is stored in the BPU list. The update module 210 is further configured to update the received number of similar packets having the same source IP address, destination IP address, and packet size when the received packet matches the stored BPU information. The reading module 204 is further configured to continue reading the next BPU from the BPU list when all BPU information in the BPU list is not read in the current state. In the current state, if all the BPU information in the BPU list has been read, the reading module 204 ends the current reading cycle and waits for the next reading cycle.
請參閱圖2,所示為本發明纜線數據機一實施方式的動態建立服務品質的方法流程圖。在本實施方式中,該方法是藉由圖1中的纜線數據機20的各個模組所完成的。 Referring to FIG. 2, a flow chart of a method for dynamically establishing service quality according to an embodiment of the cable data machine of the present invention is shown. In the present embodiment, the method is implemented by the various modules of the cable modem 20 of FIG.
在步驟S200中,纜線數據機20的頻寬預測單元建立模組202建立並存儲頻寬預測單元(Bandwidth Prediction Unit,BPU)列表,其中,該BPU列表包括複數BPU資訊,每一BPU又包括封包源位址(Packet source IP)、封包目的位址(Packet destination IP)、封包大小(Packet size)、流量(Flow Rate)及服務品質(Quality of Service,QoS)等欄位。在本實施方式中,頻寬預測單元建立模組202建立並存儲BPU列表的具體 方法如圖3所示。 In step S200, the bandwidth prediction unit establishing module 202 of the cable data machine 20 establishes and stores a bandwidth prediction unit (BPU) list, wherein the BPU list includes a plurality of BPU information, and each BPU includes The field of the packet source IP, the packet destination IP, the packet size, the flow rate, and the quality of service (QoS). In this embodiment, the bandwidth prediction unit establishing module 202 establishes and stores a specific BPU list. The method is shown in Figure 3.
請參閱圖3,所示為本發明圖2中步驟S200頻寬預測單元建立模組202建立並存儲BPU列表的詳細流程圖。 Please refer to FIG. 3, which is a detailed flowchart of the step S200 bandwidth prediction unit establishing module 202 of FIG. 2 for establishing and storing a BPU list.
在步驟S300中,接收通訊網路中傳輸的封包,包括語音封包和資料封包,其中語音封包有未加密的語音封包和加密的語音封包,通訊網路中傳輸的封包由包頭和內容兩部分組成,包頭包括封包源IP位址、封包目的IP位址及封包大小(Packet Size)等欄位,源IP位址用於表示發送該封包的IP位址,目的IP位址用於表示接收該封包的IP位址,封包大小用於表示該封包包括多少個位元組(Byte),內容包括所傳送的資訊部分。在實際的通訊網路中,由於還可以傳送由加密語音封包組成的加密語音流,但是加密語音封包對包頭部分是不進行加密的,只對內容部分進行加密,且加密語音封包的包頭部分與未加密語音封包的包頭部分一樣,也包括封包源IP位址、封包目的IP位址及封包大小等欄位。 In step S300, receiving a packet transmitted in the communication network, including a voice packet and a data packet, wherein the voice packet includes an unencrypted voice packet and an encrypted voice packet, and the packet transmitted in the communication network is composed of a packet header and a content, the packet header The packet includes an IP address of the packet source, an IP address of the packet, and a packet size. The source IP address is used to indicate the IP address of the packet, and the destination IP address is used to indicate the IP address of the packet. The address, the packet size is used to indicate how many bytes (Byte) the packet includes, and the content includes the transmitted information part. In the actual communication network, since the encrypted voice stream composed of the encrypted voice packet can also be transmitted, the encrypted voice packet is not encrypted for the header portion, only the content portion is encrypted, and the header portion of the encrypted voice packet is not The header part of the encrypted voice packet is the same, including the source IP address of the packet, the IP address of the packet, and the size of the packet.
在步驟S302中,判斷該封包的大小是否與即時傳送協定(Real-time Transport protocol,RTP)中規定的語音封包大小相匹配。在本實施方式中,在RTP協定下不同標準所規定的語音封包大小是不同的,例如G.711標準下所規定的語音封包的大小是200個位元組。本實施方式是藉由讀取包頭中封包大小欄位的資訊,來判斷該封包的大小是否與自身採用的RTP協定下某種標準所規定的語音封包大小相匹配,如果判斷該封包的大小與所規定的語音封包大小相匹配,則表明所接收到的封包有可能是 語音封包,如果判斷該封包的大小與所規定的語音封包大小不匹配,則表明所接收到的封包不可能是語音封包,此時則直接將該封包發送出去,並返回到步驟S300中以接收新的封包。 In step S302, it is determined whether the size of the packet matches the voice packet size specified in the Real-time Transport Protocol (RTP). In this embodiment, the voice packet size specified by different standards under the RTP protocol is different. For example, the voice packet size specified in the G.711 standard is 200 bytes. In this embodiment, by reading the information of the packet size field in the packet header, it is determined whether the size of the packet matches the voice packet size specified by a certain standard under the RTP protocol used by itself, and if the size of the packet is determined If the specified voice packet size matches, it indicates that the received packet may be If the size of the packet does not match the size of the voice packet, it indicates that the received packet cannot be a voice packet. In this case, the packet is directly sent out, and the process returns to step S300 to receive. New packet.
當判斷該封包的大小與所規定的語音封包大小相匹配時,則在步驟S304中,判斷該封包是否與存儲的BPU資訊相匹配。在本實施方式中,是藉由讀取該封包包頭中的封包源IP位址、封包目的IP位址及封包大小這三組欄位資訊來判斷是否與存儲的BPU資訊相匹配,只有當該封包源IP位址、封包目的IP位址及封包大小都與BPU列表中的某個BPU資訊相匹配時,才能判斷該封包與存儲的BPU資訊相匹配,否則如果有任一項不匹配時,就判斷該封包與存儲的BPU資訊是不相匹配。 When it is determined that the size of the packet matches the specified voice packet size, then in step S304, it is determined whether the packet matches the stored BPU information. In this embodiment, by reading the three sets of field information of the packet source IP address, the packet destination IP address, and the packet size in the packet header, it is determined whether the BPU information is matched with the stored BPU information. When the packet source IP address, the packet destination IP address, and the packet size match the BPU information in the BPU list, the packet can be judged to match the stored BPU information. Otherwise, if any one does not match, It is judged that the packet does not match the stored BPU information.
當判斷該封包與存儲的BPU資訊相匹配時,則在步驟S306中,啟動計數器以更新所接收到具有相同源位址、目的地址及封包大小的同類封包的流量。在本實施方式中,如果判斷該封包與存儲的BPU資訊相匹配時,則表明BPU列表已經存儲有該BPU的資訊,此時,則更新所接收到具有相同源位址、目的地址及封包大小的同類封包的個數以計算其流量(Flow Rate),例如,1秒鐘接收到10個具有相同源位址、目的地址及封包大小的同類封包時,其流量就是每秒傳送10個封包。由於在實際的應用中,通訊網路流量值有可能是變化的,也有可能是不變的,在本實施方式中,則是隨時更新所接收到的同類封包的個數以便動態監測流量資訊。 When it is determined that the packet matches the stored BPU information, then in step S306, the counter is started to update the traffic of the same type of packet received with the same source address, destination address, and packet size. In this embodiment, if it is determined that the packet matches the stored BPU information, it indicates that the BPU list already stores the information of the BPU. At this time, the update receives the same source address, destination address, and packet size. The number of similar packets is calculated by calculating the flow rate. For example, when 10 packets of the same type with the same source address, destination address, and packet size are received in one second, the traffic is 10 packets per second. In the actual application, the communication network traffic value may change or may not be the same. In this embodiment, the number of received similar packets is updated at any time to dynamically monitor the traffic information.
當判斷該封包與存儲的BPU資訊是不相匹配時,則在步驟S308中,根據所接收到同類封包的源位址、目的地址及封包大小資訊新建立並存儲一個BPU,其中,BPU包括同類封包的源位址、目的地址、封包大小、流量及服務品質等欄位,流量欄位值根據同類封包實際流量動態變化。 When it is determined that the packet does not match the stored BPU information, then in step S308, a BPU is newly established and stored according to the source address, the destination address, and the packet size information of the received similar packet, wherein the BPU includes the same type. The source address, destination address, packet size, traffic, and service quality of the packet, and the traffic field value dynamically changes according to the actual traffic of the same packet.
在本實施方式中,若藉由讀取該封包的包頭資訊如封包源IP位址、目的IP位址及封包大小欄位資訊,且在已經存儲的BPU列表中沒有找到與之相匹配的BPU資訊時,則將該封包的封包源IP位址、目的IP位址及封包大小欄位資訊存儲於BPU列表中以新建一個BPU,在本實施方式中,對於首次存儲於BPU列表中的BPU只包括封包源IP位址、封包目的IP位址及封包大小這三組欄位,只有在下一個讀取週期時才將流量及提供的固定頻寬存儲於對應的BPU中的流量欄位和服務品質欄位,因此,在本實施方式中,並不是每一個BPU上的封包源IP位址欄位元、封包目的IP位址欄位元、封包大小欄位、流量欄位及服務品質欄位都存儲有資料資訊。例如首次存儲於BPU列表中的BPU就只存儲有封包源IP位址、封包目的IP位址及封包大小的資料資訊,而其中的流量欄位及服務品質欄位沒有存儲資料資訊。 In this embodiment, if the header information of the packet, such as the packet source IP address, the destination IP address, and the packet size field information, is read, and the matching BPU is not found in the stored BPU list. In the information, the packet source IP address, the destination IP address, and the packet size field information of the packet are stored in the BPU list to create a new BPU. In this embodiment, the BPU that is first stored in the BPU list is only used. The three fields of the packet source IP address, the packet destination IP address, and the packet size are stored in the traffic field and the service quality of the corresponding BPU only when the next read cycle is performed. Fields, therefore, in this embodiment, not the packet source IP address field bit, the packet destination IP address field bit, the packet size field, the traffic field, and the service quality field on each BPU Stored with information. For example, the BPU stored in the BPU list for the first time stores only the data information of the packet source IP address, the packet destination IP address, and the packet size, and the traffic field and the service quality field do not store the data information.
在本實施方式中,BPU列表的建立是個動態過程,纜線數據機每接收到一個封包,就會執行圖3所示的流程,當符合上述條件時,則建立一個新的BPU資訊並更新所存儲的BPU列表。 In this embodiment, the establishment of the BPU list is a dynamic process. Each time the cable data machine receives a packet, the process shown in FIG. 3 is executed. When the above conditions are met, a new BPU information is established and the location is updated. A list of stored BPUs.
請重新參閱圖2,在步驟S202中,讀取模組204從BPU列表中讀取BPU。在本實施方式中,流量用於表示在當前狀態下每秒鐘所接收到的具有相同源IP位址、目的IP位址及封包大小的同類封包的個數,BPU列表中的流量欄位值是動態變化的,讀取模組204週期性地從BPU列表中讀取所有BPU資訊,所設置的週期時間可以確保在本週期內讀取完所有BPU列表中的BPU資訊,並且在下一個讀取週期時,讀取更新後的BPU列表。 Referring back to FIG. 2, in step S202, the reading module 204 reads the BPU from the BPU list. In this embodiment, the traffic is used to indicate the number of packets of the same type with the same source IP address, destination IP address, and packet size received per second in the current state, and the traffic field value in the BPU list. Dynamically changing, the reading module 204 periodically reads all BPU information from the BPU list, and the set cycle time ensures that the BPU information in all BPU lists is read in this cycle, and is read in the next one. During the cycle, the updated BPU list is read.
在步驟S204中,判斷模組206判斷從BPU中讀取的流量欄位值是否大於預設的門限值。在本實施方式中,如果從BPU中讀取的流量欄位值小於預設的門限值,表明所接收到的封包流不符合即時傳送協定(Real-time Transport Protocol,RTP)下語音流的標準,在實際應用中,纜線數據機在不同標準下所預設的門限值是不同的,例如,在G.711標準下,語音流的傳送速度是64kbps,預設的門限值為64kbps,當接收到的封包流的流量小於64kbps時,則可以判斷該封包流不是語音流,同時返回到步驟S202從BPU列表中讀取下一個BPU資訊。 In step S204, the determining module 206 determines whether the value of the traffic field read from the BPU is greater than a preset threshold. In this embodiment, if the traffic field value read from the BPU is less than a preset threshold, it indicates that the received packet flow does not meet the standard of voice flow under Real-time Transport Protocol (RTP). In practical applications, the threshold value of the cable modem is different under different standards. For example, under the G.711 standard, the voice stream transmission speed is 64 kbps, and the preset threshold is 64 kbps. When the received packet flow rate is less than 64 kbps, it can be determined that the packet flow is not a voice flow, and the process returns to step S202 to read the next BPU information from the BPU list.
當從BPU中讀取的流量欄位值大於預設的門限值時,並不能確定所接收到的封包流就是語音流,則在步驟S206中,判斷模組206判斷流量的加速度是否為零。在本實施方式中,存儲在BPU列表中的流量資訊是個動態變化的,如果在第1秒鐘接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數為20,在第2秒鐘接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數 也為20,則可以判斷該流量的加速度為零,但是,如果在第2秒鐘接收到相同源IP位址、目的IP位址及封包大小的同類封包的個數為30,則可以判斷該流量的加速度不為零。 When the traffic field value read from the BPU is greater than the preset threshold, it is not determined that the received packet flow is a voice flow, then in step S206, the determination module 206 determines whether the acceleration of the traffic is zero. In this embodiment, the traffic information stored in the BPU list is dynamically changed. If the number of similar packets having the same source IP address, destination IP address, and packet size is 20 in the first second, Received the same number of packets of the same source IP address, destination IP address, and packet size in the second second. If it is 20, it can be judged that the acceleration of the traffic is zero. However, if the number of similar packets receiving the same source IP address, destination IP address, and packet size is 30 in the second second, it can be judged that The acceleration of the flow is not zero.
在實際的應用中,在RTP協定下語音流的傳送具有等速率傳送的特點,也即,語音流的流量是不變的。在本實施方式中,判斷加速度是否為零的時間間隔是2秒,即判斷第1秒與第2秒內所接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數是否相同,如果相同,則表明加速度為零,符合在RTP協定下語音流等速率傳送的特點,如果不相同,則表明所接收到的封包流不符合在RTP協定下語音流的特徵,此時,則返回到步驟S202中從BPU列表讀取下一個BPU資訊。在其他實施方式中,判斷加速度是否為零還可以設定其他的時間間隔。 In practical applications, the transmission of voice streams under the RTP protocol has the characteristics of equal rate transmission, that is, the traffic of the voice stream is constant. In this embodiment, the time interval for determining whether the acceleration is zero is 2 seconds, that is, determining the same type of packets with the same source IP address, destination IP address, and packet size received in the first second and the second second. Whether the numbers are the same, if they are the same, it indicates that the acceleration is zero, which is consistent with the characteristics of the voice stream transmission under the RTP protocol. If not, it indicates that the received packet stream does not meet the characteristics of the voice stream under the RTP protocol. Then, it returns to step S202 to read the next BPU information from the BPU list. In other embodiments, it may be determined whether the acceleration is zero or not.
當判斷流量的加速度為零時,則在步驟S208中,判斷模組206判斷該BPU中的服務品質欄位是否存儲有固定頻寬資訊。在本實施方式中,當判斷流量的加速度為零時,表明所接收到的封包流是語音流,此時,判斷模組206判斷該BPU資訊中的服務品質欄位是否存儲有固定頻寬資訊,如果存儲有固定頻寬資訊,則判斷存在服務品質,如果沒有存儲固定頻寬資訊,則判斷不存在服務品質。 When it is determined that the acceleration of the flow is zero, then in step S208, the determination module 206 determines whether the service quality field in the BPU stores fixed bandwidth information. In this embodiment, when it is determined that the acceleration of the traffic is zero, it indicates that the received packet flow is a voice stream. At this time, the determining module 206 determines whether the service quality field in the BPU information stores the fixed bandwidth information. If the fixed bandwidth information is stored, it is judged that there is service quality, and if the fixed bandwidth information is not stored, it is judged that there is no service quality.
若判斷模組206判斷BPU資訊中的服務品質欄位沒有存儲固定頻寬資訊,則如步驟S210所示,此時,頻寬分配模組208分配固定頻寬給該語音流以其建立服務品質,並將該固定頻寬資訊存儲於BPU的服務品質欄位中。例如,語 音流的流量是64kbps,則纜線數據機將提供至少64kbps的固定頻寬給該語音流以建立服務品質,並將至少64kbps的固定頻寬資訊存儲在BPU的服務品質欄位中以表示已經建立了服務品質。 If the determining module 206 determines that the service quality field in the BPU information does not store the fixed bandwidth information, then as shown in step S210, at this time, the bandwidth allocation module 208 allocates a fixed bandwidth to the voice stream to establish the service quality. And store the fixed bandwidth information in the service quality field of the BPU. For example, language The stream traffic is 64 kbps, then the cable modem will provide a fixed bandwidth of at least 64 kbps to the voice stream to establish quality of service, and store at least 64 kbps of fixed bandwidth information in the BPU's Quality of Service field to indicate that Established service quality.
若判斷模組206判斷該BPU資訊中的服務品質欄位存儲有固定頻寬資訊,則在步驟S212中,更新模組210更新流量資訊並存儲於BPU的流量欄位中。在本實施方式中,例如,在步驟S206中,如果判斷模組206判斷流量的加速度不為零,即當第1秒與第2秒內所接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數不相同時,表明封包流的流量發生了變化,此時,由於流量的加速度不等於零,所以返回到步驟S202中讀取模組204從BPU列表中讀取下一個BPU資訊,當下一個讀取週期時,如果第1秒與第2秒內所接收到具有相同源IP位址、目的IP位址及封包大小的同類封包的個數相同,則表明變化後的流量的加速度為零,此時,由於該BPU資訊中存在服務品質,只是流量的資訊發生了變化,在本實施方式中,則是更新相應的BPU資訊中的流量資訊。 If the determining module 206 determines that the service quality field in the BPU information stores the fixed bandwidth information, then in step S212, the update module 210 updates the traffic information and stores it in the traffic field of the BPU. In this embodiment, for example, in step S206, if the determination module 206 determines that the acceleration of the traffic is not zero, that is, the same source IP address and destination IP address are received in the first second and the second second. When the number of packets of the same packet size is different, it indicates that the flow rate of the packet flow has changed. At this time, since the acceleration of the traffic is not equal to zero, the process returns to step S202, and the reading module 204 reads from the BPU list. A BPU information, if the number of similar packets with the same source IP address, destination IP address, and packet size received in the first and second seconds is the same in the next read cycle, it indicates that the change is The acceleration of the traffic is zero. At this time, because the service quality is present in the BPU information, only the traffic information changes. In this embodiment, the traffic information in the corresponding BPU information is updated.
在步驟S214中,更新模組210根據更新後的流量更新固定頻寬資訊並存儲於BPU的服務品質欄位中。在本實施方式中,當相應的BPU資訊中的流量資訊更新時,則纜線數據機需要根據新的流量資訊來更新服務品質,以提供一個新的固定的頻寬給新的語音流確保服務品質,例如,語音流的流量從64kbps增加到128kbps,原來提供64kbps固定頻寬的服務品質顯然不能滿足要求,此時纜線數據 機則根據新的流量資訊提供至少128kbps的固定頻寬給新的語音流,同樣地,如果語音流的流量從64kbps減少到0kbps,此時纜線數據機則根據新的流量資訊不提供固定頻寬。在本實施方式中,根據這種動態監測語音流流量的機制來動態的提供相應頻寬,以提高服務品質。 In step S214, the update module 210 updates the fixed bandwidth information according to the updated traffic and stores it in the service quality field of the BPU. In this embodiment, when the traffic information in the corresponding BPU information is updated, the cable data machine needs to update the service quality according to the new traffic information to provide a new fixed bandwidth to the new voice stream to ensure the service. Quality, for example, the traffic of the voice stream is increased from 64 kbps to 128 kbps. The original 64 kbps fixed bandwidth service quality obviously cannot meet the requirements. The machine provides a fixed bandwidth of at least 128 kbps to the new voice stream according to the new traffic information. Similarly, if the voice stream is reduced from 64 kbps to 0 kbps, the cable modem does not provide a fixed frequency according to the new traffic information. width. In this embodiment, the corresponding bandwidth is dynamically provided according to the mechanism for dynamically monitoring voice stream traffic to improve service quality.
在步驟S216中,判斷模組206判斷BPU列表中所有的BPU資訊是否都讀取。在本實施方式中,如果BPU列表中還有BPU資訊未讀取,則返回到步驟S202中,讀取模組204從BPU列表中讀取下一個BPU資訊,如果BPU列表中所有的BPU資訊都已經讀取,則結束本次讀取週期,等待下一個讀取週期。 In step S216, the determination module 206 determines whether all BPU information in the BPU list is read. In this embodiment, if the BPU information is not read in the BPU list, the process returns to step S202, and the reading module 204 reads the next BPU information from the BPU list, if all the BPU information in the BPU list is If it has been read, the current read cycle is ended and the next read cycle is awaited.
本發明實施方式所提供的纜線數據機及其動態建立服務品質的方法,藉由對封包流的流量資訊進行即時監測以動態建立並存儲頻寬預測單元列表,同時動態建立服務品質,對於通訊網路上傳輸的加密語音流,則不需要編解碼器具有複雜的解密演算法來解密加密的封包以判斷是否為該語音流建立服務品質。利用本發明的實施方式則只需要根據頻寬預測單元列表中所存儲的資訊,不僅能為未加密的語音流提供服務品質,而且還能為加密的語音流提供服務品質,並且動態變化的頻寬預測單元列表還能提高纜線數據機中有限頻寬資源的利用率。 The cable data machine and the method for dynamically establishing the service quality provided by the embodiments of the present invention dynamically establish and store a list of bandwidth prediction units by dynamically monitoring traffic information of the packet flow, and dynamically establish service quality for the communication network. The encrypted voice stream transmitted on the road does not require the codec to have a complex decryption algorithm to decrypt the encrypted packet to determine whether to establish service quality for the voice stream. The embodiment of the present invention only needs to provide the service quality for the unencrypted voice stream according to the information stored in the bandwidth prediction unit list, and can also provide the service quality for the encrypted voice stream, and dynamically change the frequency. The wide prediction unit list also increases the utilization of finite bandwidth resources in the cable modem.
綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本案發明精神所作之等效修飾或變化,皆應包含於以下之申請專利範圍內。 In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.
10‧‧‧用戶終端設備 10‧‧‧User terminal equipment
20‧‧‧纜線數據機 20‧‧‧ Cable Data Machine
202‧‧‧頻寬預測單元建立模組 202‧‧‧Bandwidth prediction unit building module
204‧‧‧讀取模組 204‧‧‧Reading module
206‧‧‧判斷模組 206‧‧‧Judgement module
208‧‧‧頻寬分配模組 208‧‧‧Bandwidth allocation module
210‧‧‧更新模組 210‧‧‧Update Module
30‧‧‧通訊網路 30‧‧‧Communication network
圖1為本發明纜線數據機一實施方式的應用環境和結構圖。 1 is an application environment and a structural diagram of an embodiment of a cable data machine of the present invention.
圖2為本發明電纜數據機一實施方式的動態建立服務品質的方法流程圖。 2 is a flow chart of a method for dynamically establishing service quality according to an embodiment of a cable data machine of the present invention.
圖3為本發明圖2中步驟S200建立並存儲BPU列表的詳細流程圖。 FIG. 3 is a detailed flowchart of establishing and storing a BPU list in step S200 of FIG. 2 according to the present invention.
10‧‧‧用戶終端設備 10‧‧‧User terminal equipment
20‧‧‧纜線數據機 20‧‧‧ Cable Data Machine
202‧‧‧頻寬預測單元建立模組 202‧‧‧Bandwidth prediction unit building module
204‧‧‧讀取模組 204‧‧‧Reading module
206‧‧‧判斷模組 206‧‧‧Judgement module
208‧‧‧頻寬分配模組 208‧‧‧Bandwidth allocation module
210‧‧‧更新模組 210‧‧‧Update Module
30‧‧‧通訊網路 30‧‧‧Communication network
Claims (21)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW98124682A TWI387278B (en) | 2009-07-22 | 2009-07-22 | Cable data machine and its dynamic method for establishing service quality |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW98124682A TWI387278B (en) | 2009-07-22 | 2009-07-22 | Cable data machine and its dynamic method for establishing service quality |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201105075A TW201105075A (en) | 2011-02-01 |
| TWI387278B true TWI387278B (en) | 2013-02-21 |
Family
ID=44813870
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW98124682A TWI387278B (en) | 2009-07-22 | 2009-07-22 | Cable data machine and its dynamic method for establishing service quality |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI387278B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6738353B2 (en) * | 2002-03-20 | 2004-05-18 | Sunrise Telecom Incorporated | System and method for monitoring a packet network |
| US20090144425A1 (en) * | 2007-12-04 | 2009-06-04 | Sony Computer Entertainment Inc. | Network bandwidth detection, distribution and traffic prioritization |
| TW200931876A (en) * | 2007-12-31 | 2009-07-16 | Ind Tech Res Inst | Methods and systems for bandwidth prediction |
-
2009
- 2009-07-22 TW TW98124682A patent/TWI387278B/en not_active IP Right Cessation
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6738353B2 (en) * | 2002-03-20 | 2004-05-18 | Sunrise Telecom Incorporated | System and method for monitoring a packet network |
| US20090144425A1 (en) * | 2007-12-04 | 2009-06-04 | Sony Computer Entertainment Inc. | Network bandwidth detection, distribution and traffic prioritization |
| TW200931876A (en) * | 2007-12-31 | 2009-07-16 | Ind Tech Res Inst | Methods and systems for bandwidth prediction |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201105075A (en) | 2011-02-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9544347B2 (en) | Distributing intelligence across networks | |
| US8488661B2 (en) | Systems and methods for data streaming | |
| US7881244B2 (en) | Scalable IP-services enabled multicast forwarding with efficient resource utilization | |
| CN109951347B (en) | Service identification method, device and network equipment | |
| US7298745B2 (en) | Method and apparatus to manage packet fragmentation with address translation | |
| CN113676741B (en) | Data transmission method, device, storage medium and electronic device | |
| US11582146B2 (en) | High-quality adaptive bitrate video through multiple links | |
| EP3311534A1 (en) | Method and apparatus for multipath media delivery | |
| TW200810421A (en) | Providing quality of service for various traffic flows in a communications environment | |
| WO2020010670A1 (en) | Method and device for acquiring network resource, and scheduling server | |
| CN106533954A (en) | Message scheduling method and device | |
| WO2017148419A1 (en) | Data transmission method and server | |
| CN101175038B (en) | Method, communication system and equipment for data stream information transmission | |
| TWI387278B (en) | Cable data machine and its dynamic method for establishing service quality | |
| US6931028B1 (en) | Scaleable RSVP signaling between VoIP dial-peers for tandem voice solutions | |
| CN101958882B (en) | Cable modem and method thereof for dynamically establishing service quality | |
| CN103039054A (en) | Method and apparatus for transmitting an application identifier across application elements | |
| CN100391195C (en) | A Method of Dynamically Adjusting Data Packet Length Based on Network Quality of Service | |
| CN114859935A (en) | Path planning method, device, product and medium applied to multi-node networking | |
| CN115174690B (en) | System and method for accelerating high-flow service under weak network or broken network condition | |
| CN113098580B (en) | Satellite air interface message caching and speed limiting processing method, device, equipment and medium | |
| CN102308537A (en) | Queue management method, device and system | |
| CN112838936B (en) | Resource speed limiting method, device, user terminal and server | |
| CN102238041A (en) | Internet protocol (IP) stream quality monitoring method, device and system | |
| WO2024074085A1 (en) | Data transmission method, electronic device, screen transmitter and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |