TW201123775A

System and method for transmitting network packets adapted for multimedia streams

Abstract

A network packet transmission system and method. The above-mentioned system includes an information module, a scheduling module, and a transmission module. The information module receives and records media information of multiple multimedia streams. The scheduling module calculates the guaranteed transmission rate of each of the above-mentioned multimedia streams according to the media information provided by the information module, and according to the above-mentioned guaranteed transmission rate, the isochronous packets of the above-mentioned multiple multimedia streams are in multiples. Re-arrangement in the first time period of each clock cycle so that the transmission of the isochronous packet meets the guaranteed transmission rate. The length of each of the aforementioned clock cycles is a predetermined length, and the length of the first period is a predetermined ratio of the aforementioned predetermined length. The transmitting module transmits all the packets in one of the above-mentioned clock cycles to a network at intervals of the above-mentioned preset length.

Term

No projected expiry on record.

  1. Priority and filed
  2. Published
  3. Today

24 claims: 24 independent, 0 dependent

  1. 1
    A network packet transmission system includes:an information module that receives and records media information of a plurality of multimedia streams;a scheduling module that calculates the location of each multimedia stream based on the media information provided by the information module The transmission rate that needs to be guaranteed, and according to the guaranteed transmission rate, the isochronous packets of the multiple multimedia streams are rearranged in the first period of the multiple clock cycles, so that the transmission of the isochronous packets To meet the above-mentioned guaranteed transmission rate, the length of each of the above-mentioned clock cycles is a predetermined length, the length of the first period is a predetermined ratio of the predetermined length;and a transmission module, every other For a preset length of time, all the packets of one of the above-mentioned multiple clock cycles are sent to a network. 一種網路封包傳送系統,包括:一資訊模組,接收並記錄多個多媒體串流的媒體資訊;一排程模組,根據該資訊模組提供的上述媒體資訊計算每一上述多媒體串流所需被保證的傳輸率,並且根據上述被保證的傳輸率,將上述多個多媒體串流的等時性封包在多個時脈週期的第一時段中重新排列,使上述等時性封包的傳送滿足上述被保證的傳輸率,其中每一上述時脈週期的長度皆為一預設長度,該第一時段的長度為該預設長度的一預設比例;以及一傳送模組,每隔該預設長度的時間,將上述多個時脈週期其中之一的全部封包傳送至一網路。
  2. 2
    For example, the network packet transmission system described in item 1 of the scope of patent application, wherein the media information includes the screen update rate and screen size of each of the above-mentioned multimedia streams, and the scheduling module calculates according to the screen update rate and the screen size The guaranteed transmission rate of each multimedia stream is determined, and the transmission sequence of the isochronous packet in each clock cycle is determined according to the guaranteed transmission rate of each multimedia stream. 如申請專利範圍第1項所述之網路封包傳送系統,其中該媒體資訊包括每一上述多媒體串流的畫面更新率和畫面大小,該排程模組根據該畫面更新率和該畫面大小計算每一上述多媒體串流所需被保證的傳輸率,並且根據每一上述多媒體串流所需被保證的傳輸率決定上述等時性封包在每一上述時脈週期的傳送順序。
  3. 3
    In the network packet transmission system described in item 1 of the scope of the patent application, the scheduling module uses a chained sequence to connect the isochronous packets of each of the above-mentioned clock cycles in series in the transmission sequence. 如申請專利範圍第1項所述之網路封包傳送系統,其中該排程模組使用鏈接串列將每一上述時脈週期的等時性封包依傳送順序串聯。
  4. 4
    For example, the network packet transmission system described in item 1 of the scope of patent application further includes:a synchronization module that synchronizes the media information of all multimedia streams in the network, wherein the scheduling module is based on all multimedia in the network The streaming media information rearranges the isochronous packets in the first period of the multiple clock cycles. 如申請專利範圍第1項所述之網路封包傳送系統,更包括:一同步模組,同步該網路中所有多媒體串流的媒體資訊,其中該排程模組根據該網路中所有多媒體串流的媒體資訊,在上述多個時脈週期的第一時段中重新排列上述等時性封包。
  5. 5
    For example, the network packet transmission system described in item 1 of the scope of patent application further includes:a classification module that stores a plurality of isochronous queues, and each of the above isochronous queues corresponds to one of the above-mentioned multiple multimedia streams 1. The classification module stores each isochronous packet in one of the plurality of isochronous queues according to the above-mentioned media information provided by the information module. 如申請專利範圍第1項所述之網路封包傳送系統,更包括:一分類模組,儲存多個等時性佇列,每一上述等時性佇列對應上述多個多媒體串流其中之一,該分類模組根據該資訊模組提供的上述媒體資訊將每一上述等時性封包存入上述多個等時性佇列其中之一。
  6. 6
    For the network packet transmission system described in item 5 of the patent application, the media information of each multimedia stream includes a stream identification code, and each isochronous packet includes the string of the multimedia stream to which it belongs. Stream identification code. The classification module configures the plurality of isochronous queues according to the plurality of stream identification codes provided by the information module, and according to the stream identification code of each of the above-mentioned isochronous packets The temporal packets are stored in the isochronous queue corresponding to the multimedia stream to which they belong. 如申請專利範圍第5項所述之網路封包傳送系統,其中每一上述多媒體串流的媒體資訊包括一串流識別碼,每一上述等時性封包包括所屬的該多媒體串流的該串流識別碼,該分類模組根據該資訊模組提供的上述多個串流識別碼配置上述多個等時性佇列,並根據每一上述等時性封包的該串流識別碼將該等時性封包存入所屬的該多媒體串流所對應的該等時性佇列。
  7. 7
    For the network packet transmission system described in item 5 of the scope of patent application, each of the above-mentioned isochronous queues is a link series. 如申請專利範圍第5項所述之網路封包傳送系統,其中每一上述等時性佇列皆為鏈接串列。
  8. 8
    For example, the network packet transmission system described in item 5 of the scope of patent application further includes:a cutting module, when there are isochronous packets waiting to be transmitted in a clock cycle and the bandwidth of the first period of the clock cycle is insufficient , The scheduling module activates the cutting module, and the cutting module cuts the isochronous packet into a plurality of small packets according to the clock cycle and the remaining bandwidth of the first period of the subsequent clock cycle, and then The scheduling module puts the plurality of small packets into the remaining bandwidth of the first period of the clock cycle and subsequent clock cycles. 如申請專利範圍第5項所述之網路封包傳送系統,更包括:一切割模組,當有等時性封包在一時脈週期等待傳送而且該時脈週期的該第一時段頻寬不足時,該排程模組啟動該切割模組,該切割模組根據該時脈週期和後續時脈週期的該第一時段的剩餘頻寬,將該等時性封包切割成多個小封包,然後該排程模組將上述多個小封包放入該時脈週期和後續時脈週期的該第一時段的剩餘頻寬之中。
  9. 9
    For example, the network packet transmission system described in item 5 of the scope of patent application, wherein the classification module further stores a non-isochronous queue, and stores the non-isochronous packets received by the classification module into the non-isochronous Sexual queue. 如申請專利範圍第5項所述之網路封包傳送系統,其中該分類模組更儲存一非等時性佇列,並且將該分類模組所接收的非等時性封包存入該非等時性佇列。
  10. 10
    For the network packet transmission system described in item 9 of the scope of patent application, each of the above-mentioned clock cycles is composed of the first time period and a second time period, and the transmission module uses the first time period to transmit the data of the clock cycle Isochronous packets, and use the second time period to transmit the non-isochronous packets in the non-isochronous queue. 如申請專利範圍第9項所述之網路封包傳送系統,其中每一上述時脈週期由該第一時段和一第二時段組成,該傳送模組使用該第一時段傳送該時脈週期的等時性封包,並使用該第二時段傳送該非等時性佇列中的非等時性封包。
  11. 11
    Such as the network packet transmission system described in item 9 of the scope of patent application, wherein when there is no isochronous packet waiting to be transmitted in a certain clock period, or the isochronous packet of the clock period has been transmitted before the end of the first period , The transmission module immediately switches to transmit the non-isochronous packets in the non-isochronous queue. 如申請專利範圍第9項所述之網路封包傳送系統,其中當某一時脈週期沒有等時性封包等待傳送,或該時脈週期的等時性封包在該第一時段結束前已經傳送完畢,則該傳送模組立即切換為傳送該非等時性佇列中的非等時性封包。
  12. 12
    For example, the network packet transmission system described in item 9 of the scope of patent application further includes:a cutting module, when there are non-isochronous packets waiting to be transmitted in a clock cycle and the bandwidth of the second period of the clock cycle is insufficient , The scheduling module starts the cutting module, and the cutting module cuts the non-isochronous packet into multiple small packets according to the clock cycle and the remaining bandwidth of the second period of the subsequent clock cycle, and then The scheduling module puts the plurality of small packets into the remaining bandwidth of the second period of the clock cycle and subsequent clock cycles. 如申請專利範圍第9項所述之網路封包傳送系統,更包括:一切割模組,當有非等時性封包在一時脈週期等待傳送而且該時脈週期的第二時段頻寬不足時,該排程模組啟動該切割模組,該切割模組根據該時脈週期和後續時脈週期的該第二時段的剩餘頻寬,將該非等時性封包切割成多個小封包,然後該排程模組將上述多個小封包放入該時脈週期和後續時脈週期的該第二時段的剩餘頻寬之中。
  13. 13
    A network packet transmission method includes:receiving and recording media information of a plurality of multimedia streams provided by a media server;calculating the guaranteed transmission rate of each multimedia stream according to the media information;The guaranteed transmission rate is to rearrange the isochronous packets of the multiple multimedia streams in the first period of the multiple clock cycles, so that the transmission of the isochronous packets meets the guaranteed transmission rate, each of which The lengths of the aforementioned clock cycles are all a preset length, and the length of the first time period is a preset ratio of the preset length;and every time of the preset length, all of one of the aforementioned clock cycles is The packet is sent to a network. 一種網路封包傳送方法,包括:接收並記錄一媒體伺服器所提供的多個多媒體串流的媒體資訊;根據上述媒體資訊計算每一上述多媒體串流所需被保證的傳輸率;根據上述被保證的傳輸率,將上述多個多媒體串流的等時性封包在多個時脈週期的第一時段中重新排列,使上述等時性封包的傳送滿足上述被保證的傳輸率,其中每一上述時脈週期的長度皆為一預設長度,該第一時段的長度為該預設長度的一預設比例;以及每隔該預設長度的時間,將上述時脈週期其中之一的全部封包傳送至一網路。
  14. 14
    The network packet transmission method described in item 13 of the scope of patent application, wherein the media information includes the frame update rate and frame size of each of the above-mentioned multimedia streams, and the network packet transmission method further includes:according to the frame update rate Calculate the guaranteed transmission rate of each multimedia stream with the screen size;and determine the transmission sequence of the isochronous packet in each clock cycle according to the guaranteed transmission rate of each multimedia stream . 如申請專利範圍第13項所述之網路封包傳送方法,其中該媒體資訊包括每一上述多媒體串流的畫面更新率和畫面大小,而且該網路封包傳送方法更包括:根據該畫面更新率和該畫面大小計算每一上述多媒體串流所需被保證的傳輸率;以及根據每一上述多媒體串流所需被保證的傳輸率決定上述等時性封包在每一上述時脈週期的傳送順序。
  15. 15
    For example, the network packet transmission method described in item 13 of the scope of patent application further includes:using a link series to connect the isochronous packets of each of the above-mentioned clock cycles in series according to the transmission sequence. 如申請專利範圍第13項所述之網路封包傳送方法,更包括:使用鏈接串列將每一上述時脈週期的等時性封包依傳送順序串聯。
  16. 16
    The network packet transmission method described in item 13 of the scope of the patent application further includes:synchronizing the media information of all multimedia streams in the network;and according to the media information of all multimedia streams in the network, the multiple The above isochronous packets are rearranged in the first period of the clock cycle. 如申請專利範圍第13項所述之網路封包傳送方法,更包括:同步該網路中所有多媒體串流的媒體資訊;以及根據該網路中所有多媒體串流的媒體資訊,在上述多個時脈週期的第一時段中重新排列上述等時性封包。
  17. 17
    The network packet transmission method described in item 13 of the scope of the patent application further includes:storing a plurality of isochronous queues, wherein each of the isochronous queues corresponds to one of the plurality of multimedia streams;and according to The above-mentioned media information stores each of the above-mentioned isochronous packets in one of the above-mentioned multiple isochronous queues. 如申請專利範圍第13項所述之網路封包傳送方法,更包括:儲存多個等時性佇列,其中每一上述等時性佇列對應上述多個多媒體串流其中之一;以及根據上述媒體資訊將每一上述等時性封包存入上述多個等時性佇列其中之一。
  18. 18
    For the network packet transmission method described in item 17 of the patent application, the media information of each multimedia stream includes a stream identification code, and each isochronous packet includes the stream of the multimedia stream to which it belongs. Stream identification code, and the network packet transmission method further includes:configuring the plurality of isochronous queues according to the plurality of stream identification codes;and according to the stream identification code of each of the isochronous packets, the The isochronous packet is stored in the isochronous queue corresponding to the multimedia stream to which it belongs. 如申請專利範圍第17項所述之網路封包傳送方法,其中每一上述多媒體串流的媒體資訊包括一串流識別碼,每一上述等時性封包包括所屬的該多媒體串流的該串流識別碼,而且該網路封包傳送方法更包括:根據上述多個串流識別碼配置上述多個等時性佇列;以及根據每一上述等時性封包的該串流識別碼,將該等時性封包存入所屬的該多媒體串流所對應的該等時性佇列。
  19. 19
    For the network packet transmission method described in item 17 of the scope of patent application, each of the above-mentioned isochronous queues is a link series. 如申請專利範圍第17項所述之網路封包傳送方法,其中每一上述等時性佇列皆為鏈接串列。
  20. 20
    For example, the network packet transmission method described in item 17 of the scope of patent application further includes:when there are isochronous packets waiting to be transmitted in a clock cycle and the bandwidth of the first period of the clock cycle is insufficient, according to the clock cycle Cutting the isochronous packet into multiple small packets;and putting the multiple small packets into the first period of the clock period and the subsequent clock period. Among the remaining bandwidth for a period of time. 如申請專利範圍第17項所述之網路封包傳送方法,更包括:當有等時性封包在一時脈週期等待傳送而且該時脈週期的該第一時段頻寬不足時,根據該時脈週期和後續時脈週期的該第一時段的剩餘頻寬,將該等時性封包切割成多個小封包;以及將上述多個小封包放入該時脈週期和後續時脈週期的該第一時段的剩餘頻寬之中。
  21. 21
    The network packet transmission method described in item 17 of the scope of patent application further includes:storing a non-isochronous queue;and storing the received non-isochronous packet into the non-isochronous queue. 如申請專利範圍第17項所述之網路封包傳送方法,更包括:儲存一非等時性佇列;以及將接收到的非等時性封包存入該非等時性佇列。
  22. 22
    In the network packet transmission method described in item 21 of the scope of patent application, each of the above-mentioned clock cycles is composed of the first period and a second period, and the network packet transmission method further includes:using the first period Transmitting the isochronous packet of the clock cycle;and using the second time period to transmit the non-isochronous packet in the non-isochronous queue. 如申請專利範圍第21項所述之網路封包傳送方法,其中每一上述時脈週期由該第一時段和一第二時段組成,而且該網路封包傳送方法更包括:使用該第一時段傳送該時脈週期的等時性封包;以及使用該第二時段傳送該非等時性佇列中的非等時性封包。
  23. 23
    The network packet transmission method described in item 21 of the scope of patent application further includes when there is no isochronous packet waiting to be transmitted in a certain clock period, or the isochronous packet of the clock period has been transmitted before the end of the first period When finished, immediately switch to transmitting the non-isochronous packets in the non-isochronous queue. 如申請專利範圍第21項所述之網路封包傳送方法,更包括當某一時脈週期沒有等時性封包等待傳送,或該時脈週期的等時性封包在該第一時段結束前已經傳送完畢,則立即切換為傳送該非等時性佇列中的非等時性封包。
  24. 24
    The network packet transmission method described in item 21 of the scope of patent application further includes:when there are non-isochronous packets waiting to be transmitted in a clock cycle and the bandwidth of the second period of the clock cycle is insufficient, according to the clock cycle Cutting the non-isochronous packet into multiple small packets;and putting the multiple small packets into the first clock period and the subsequent clock period. Among the remaining bandwidth in the second period. 如申請專利範圍第21項所述之網路封包傳送方法,更包括:當有非等時性封包在一時脈週期等待傳送而且該時脈週期的第二時段頻寬不足時,根據該時脈週期和後續時脈週期的該第二時段的剩餘頻寬,將該非等時性封包切割成多個小封包;以及將上述多個小封包放入該時脈週期和後續時脈週期的該第二時段的剩餘頻寬之中。
Independent claims24