TWI502998B - Method and system of video information acquisition based on video data traffic - Google Patents

Method and system of video information acquisition based on video data traffic Download PDF

Info

Publication number
TWI502998B
TWI502998B TW100110598A TW100110598A TWI502998B TW I502998 B TWI502998 B TW I502998B TW 100110598 A TW100110598 A TW 100110598A TW 100110598 A TW100110598 A TW 100110598A TW I502998 B TWI502998 B TW I502998B
Authority
TW
Taiwan
Prior art keywords
packet
picture
data flow
interval time
image frame
Prior art date
Application number
TW100110598A
Other languages
Chinese (zh)
Other versions
TW201240468A (en
Original Assignee
Univ Hungkuang
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Univ Hungkuang filed Critical Univ Hungkuang
Priority to TW100110598A priority Critical patent/TWI502998B/en
Publication of TW201240468A publication Critical patent/TW201240468A/en
Application granted granted Critical
Publication of TWI502998B publication Critical patent/TWI502998B/en

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

基於視訊資料流量的視訊資訊獲得方法及系統Video information acquisition method and system based on video data traffic

本發明是有關於一種視訊資訊獲得方法及系統,特別是指一種基於視訊資料流量的視訊資訊獲得方法及系統。The present invention relates to a method and system for obtaining video information, and more particularly to a method and system for obtaining video information based on video data traffic.

隨著網際網路相關技術的蓬勃發展,越來越多的多媒體資訊仰賴網際網路來傳輸,例如圖片、視訊串流(Video Stream)等等。然而在網路頻寬有限的情況下,過量的網路封包會衍伸出封包延遲(Packet Delay)或者是封包丟失(Packet Loss)的問題,使得接收端需要花更多的時間才能完整地接收到網路封包,甚至是無法接收到完整的網路封包,因此也導致了使用者透過網際網路觀看視訊的時候,會有視訊畫面不連貫或者是破圖的現象。所以,如何有效率地傳送網路封包便成為很重要的課題。With the rapid development of Internet-related technologies, more and more multimedia information is transmitted over the Internet, such as pictures, video streams, and so on. However, in the case of limited network bandwidth, excessive network packets may cause packet delay or packet loss, causing the receiver to take more time to receive completely. When the network packet is received, even the complete network packet cannot be received, which also causes the user to watch the video through the Internet, and the video picture may be inconsistent or broken. Therefore, how to efficiently transmit network packets becomes an important issue.

現有用來解決上述問題的其中一種方式是藉由應用程式判斷視訊的影像畫面的畫面型態,使得網路封包以更有效率的方式在網際網路上傳輸。其方式是藉由對每個網路封包加上一個即時協定標頭(Real Time Protocol Header,RTP Header)。該即時協定標頭包括一用以代表對應該影像畫面的畫面型態的資料欄位。該資料欄位用以供傳輸端的應用程式填入畫面型態的資訊。因此在傳輸網路封包的時候,該資料欄位便可供其它網路端點的應用程式判斷對應該網路封包的影像畫面的畫面型態。One of the existing methods for solving the above problem is to determine the picture type of the video image by the application, so that the network packet is transmitted on the Internet in a more efficient manner. This is done by adding a Real Time Protocol Header (RTP Header) to each network packet. The instant protocol header includes a data field for representing the picture type corresponding to the image frame. This data field is used by the application on the transmission side to fill in the information of the screen type. Therefore, when the network packet is transmitted, the data field can be used by other network endpoint applications to determine the picture type of the image frame corresponding to the network packet.

上述方式的缺點有二,一是對於不同的影像標準(例如H.261,MPEG4等等),即時協定標頭會有不同的定義,且傳輸端的應用程式未必會完整地填入畫面型態的資訊;二是除了傳送端之外,傳輸過程中的其它網路端點必須具備解析帶有即時協定標頭的網路封包的能力。The shortcomings of the above methods are two. First, for different image standards (such as H.261, MPEG4, etc.), the instant protocol headers will have different definitions, and the application on the transmission side may not completely fill in the picture type. Information; second, in addition to the transmitting end, other network endpoints in the transmission process must have the ability to resolve network packets with instant protocol headers.

因此,本發明之目的,即在提供一種基於視訊資料流量的視訊資訊獲得方法。Accordingly, it is an object of the present invention to provide a method of obtaining video information based on video data traffic.

於是,本發明基於視訊資料流量的視訊資訊獲得方法,包含下列步驟。Therefore, the method for obtaining video information based on video data traffic of the present invention comprises the following steps.

(A)接收一影像畫面封包,並記錄對應該影像畫面封包的一接收時間及一封包資料流量。(B)根據該接收時間,與對應該影像畫面封包的前一影像畫面封包的一先前接收時間,計算一封包間隔時間。(C)將該封包間隔時間與一平均畫面間隔時間進行比較。(A) receiving an image picture packet, and recording a receiving time and a packet data flow corresponding to the image picture packet. (B) Calculating a packet interval time based on the reception time and a previous reception time of the previous video picture packet corresponding to the video picture packet. (C) Comparing the packet interval time with an average picture interval time.

(D)若該封包間隔時間小於等於該平均畫面間隔時間,則根據該封包資料流量求得一累計資料流量,並回到步驟(A)。(E)若該封包間隔時間大於該平均畫面間隔時間,則以此時的累計資料流量做為一影像畫面的一畫面資料流量。(F)根據該畫面資料流量判斷出該影像畫面的對應一畫面型態。(D) If the packet interval time is less than or equal to the average picture interval time, an accumulated data flow rate is obtained according to the packet data flow, and the process returns to step (A). (E) If the packet interval time is greater than the average picture interval time, the accumulated data traffic at this time is used as a picture data flow of an image frame. (F) determining a corresponding picture type of the image picture based on the data flow rate of the picture.

本發明之另一目的,即在提供一種基於視訊資料流量的視訊資訊獲得系統。Another object of the present invention is to provide a video information obtaining system based on video data traffic.

於是,本發明基於視訊資料流量的視訊資訊獲得系統,包含一接收單元、一封包資訊獲得單元,及一畫面型態分析單元。Therefore, the video information obtaining system based on the video data traffic of the present invention comprises a receiving unit, a packet information obtaining unit, and a picture type analyzing unit.

該接收單元用以接收複數個影像畫面封包。The receiving unit is configured to receive a plurality of image frame packets.

該封包資訊獲得單元用以根據該等影像畫面封包計算一畫面資料流量,其中對於每一影像畫面封包而言,該封包資訊獲得單元用以進行以下動作:記錄對應該影像畫面封包的一接收時間及一封包資料流量。The packet information obtaining unit is configured to calculate a frame data traffic according to the image frame packets, wherein for each image frame packet, the packet information obtaining unit is configured to perform the following actions: recording a receiving time corresponding to the image frame packet And a packet of data traffic.

根據分別對應該影像畫面封包及與其相鄰的影像畫面封包的該等接收時間,計算一封包間隔時間。A packet interval time is calculated according to the receiving times of the corresponding image frame packets and the adjacent image frames.

根據該封包資料流量求得一累計資料流量。A cumulative data flow is obtained based on the packet data flow.

根據該封包間隔時間判斷是否以該累計資料流量做為一影像畫面的一畫面資料流量。According to the packet interval time, it is determined whether the accumulated data traffic is used as a picture data flow of an image frame.

該畫面型態分析單元用以根據該畫面資料流量判斷出該影像畫面的一畫面型態。The picture type analyzing unit is configured to determine a picture type of the image picture according to the picture data flow.

本發明之功效在於,無論應用程式是否填入畫面型態的資訊,也無論傳輸過程中的各端點是否具備解析帶有即時協定標頭的網路封包的能力,只要藉由該畫面資料流量,即可判斷出影像畫面的畫面型態以獲得視訊資訊。The effect of the present invention is that no matter whether the application fills in the information of the screen type or whether the endpoints in the transmission process have the ability to parse the network packet with the instant protocol header, the data traffic through the screen is used. , the picture type of the image picture can be judged to obtain video information.

有關本發明之前述及其他技術內容、特點與功效,在以下配合參考圖式之一個較佳實施例的詳細說明中,將可清楚的呈現。The above and other technical contents, features and advantages of the present invention will be apparent from the following detailed description of the preferred embodiments.

參閱圖1,本發明基於視訊資料流量的視訊資訊獲得系統1之較佳實施例包含一接收單元11、一封包資訊獲得單元12,及一畫面(Frame)型態分析單元13。在本較佳實施例中,該基於視訊資料流量的視訊資訊獲得系統1之封包資訊獲得單元12,及畫面型態分析單元13係以軟體方式實施,其實施態樣為內儲基於視訊資料流量的視訊資訊獲得程式的電腦程式產品。當一電子裝置(例如,電腦之處理器,圖未示)載入該程式並執行後,可完成該封包資訊獲得單元12,及該畫面型態分析單元13之功能。Referring to FIG. 1, a preferred embodiment of the video information obtaining system 1 based on video data traffic of the present invention comprises a receiving unit 11, a packet information obtaining unit 12, and a frame type analyzing unit 13. In the preferred embodiment, the packet information obtaining unit 12 and the picture type analyzing unit 13 of the video information obtaining system 1 based on the video data traffic are implemented in a software manner, and the implementation manner is the internal storage based on the video data traffic. The video information obtained by the program is a computer program product. When an electronic device (for example, a processor of a computer, not shown) is loaded into the program and executed, the packet information obtaining unit 12 and the function of the picture type analyzing unit 13 can be completed.

該接收單元11用以接收多數個影像畫面封包。The receiving unit 11 is configured to receive a plurality of image frame packets.

該封包資訊獲得單元12用以根據該等影像畫面封包計算一畫面資料流量,其中對於每一影像畫面封包而言,該封包資訊獲得單元12用以進行以下動作:記錄對應該影像畫面封包的一接收時間及一封包資料流量;根據分別對應該影像畫面封包及與其相鄰的影像畫面封包的該等接收時間,計算一封包間隔時間;根據該封包資料流量求得一累計資料流量;及根據該封包間隔時間判斷是否以該累計資料流量做為一影像畫面的一畫面資料流量。The packet information obtaining unit 12 is configured to calculate a frame data traffic according to the image frame packets, wherein for each image frame packet, the packet information obtaining unit 12 is configured to perform the following actions: recording one corresponding to the image frame packet Receiving time and a packet data flow; calculating a packet interval time according to the receiving time corresponding to the image frame packet and the adjacent image frame packet; and obtaining a cumulative data flow according to the packet data flow; The packet interval time determines whether the accumulated data traffic is used as a picture data flow of an image frame.

該畫面型態分析單元13用以根據該畫面資料流量判斷出該影像畫面的一畫面型態。The picture type analyzing unit 13 is configured to determine a picture type of the picture picture according to the picture data flow.

因此,電腦內(圖未示)所安裝之與視訊處理相關的應用程式便可根據該影像畫面的畫面型態,對於相對應的影像畫面封包進行後續處理,使得影像畫面封包可以更有效率地被傳輸。其中與視訊處理相關的應用程式對於影像畫面封包所進行的處理為熟悉該領域者所能輕易理解,且非本發明的重點,因此不在此贅述。Therefore, the video processing related application installed in the computer (not shown) can perform subsequent processing on the corresponding image frame packet according to the picture type of the image picture, so that the image picture package can be more efficiently Being transmitted. The processing performed by the application related to the video processing for the video picture packet is easily understood by those skilled in the art and is not the focus of the present invention, and therefore will not be described herein.

參閱圖1與圖2,以下配合本發明基於視訊資料流量的視訊資訊獲得方法,針對本較佳實施例中上述各單元之間運作的步驟,進一步地做說明。Referring to FIG. 1 and FIG. 2, in the following, in accordance with the method for obtaining video information based on video data traffic according to the present invention, the steps of operation between the above units in the preferred embodiment are further described.

如步驟S0所示,該封包資訊獲得單元12進行初始化,即,將一計數值與一累計資料流量初始化為零;並將一平均畫面間隔時間及一平均資料流量,分別設定為一預設平均畫面間隔時間及一預設平均資料流量。其中該預設平均畫面間隔時間及該預設平均資料流量皆為經驗值;該等經驗值係根據由大量網路封包的接收時間計算出的多個封包間隔時間,以及由大量網路封包計算出的多個畫面資料流量分別統計出的平均值。As shown in step S0, the packet information obtaining unit 12 initializes, that is, initializes a count value and a cumulative data flow to zero; and sets an average picture interval time and an average data flow rate as a preset average. Screen interval time and a preset average data flow. The preset average picture interval time and the preset average data flow are experience values; the experience values are calculated according to a plurality of packet interval times calculated by a receiving time of a plurality of network packets, and are calculated by a plurality of network packets. The average of the multiple screen data flows is calculated.

如步驟S1所示,該接收單元11會先接收一影像畫面封包。As shown in step S1, the receiving unit 11 first receives an image picture packet.

如步驟S2所示,該封包資訊獲得單元12會記錄對應該影像畫面封包的該接收時間及該封包資料流量,並根據該接收時間與對應該影像畫面封包的前一(Previous)影像畫面封包的一先前接收時間,計算出一封包間隔時間。As shown in step S2, the packet information obtaining unit 12 records the receiving time and the packet data traffic corresponding to the image frame packet, and encapsulates the previous (Previous) image frame corresponding to the image frame packet according to the receiving time. A packet interval is calculated based on a previous reception time.

亦即,當該影像畫面封包為該接收單元11所接收到的第一個影像畫面封包時,該封包資訊獲得單元12會記錄對應其的接收時間及封包資料流量;當該影像畫面封包非為該接收單元11所接收到的第一個影像畫面封包時,該封包資訊獲得單元12除了記錄對應其的接收時間及封包資料流量之外,還會計算該封包間隔時間。其中該封包間隔時間為該接收時間與該先前接收時間的差值。That is, when the image frame packet is the first image frame packet received by the receiving unit 11, the packet information obtaining unit 12 records the receiving time and the packet data flow corresponding thereto; when the image frame packet is not When the first image frame received by the receiving unit 11 is encapsulated, the packet information obtaining unit 12 calculates the packet interval time in addition to the receiving time and the packet data flow corresponding thereto. The packet interval time is the difference between the receiving time and the previous receiving time.

如步驟S3所示,該封包資訊獲得單元12將該封包間隔時間與該平均畫面間隔時間進行比較。As shown in step S3, the packet information obtaining unit 12 compares the packet interval time with the average picture interval time.

如步驟S4所示,若步驟S3比較的結果為該封包間隔時間小於該平均畫面間隔時間,則該封包資訊獲得單元12根據該封包資料流量求得該累計資料流量,並回到步驟S1。其中該封包資訊獲得單元12係利用下列算式以求得該累計資料流量:As shown in step S4, if the result of the comparison in step S3 is that the packet interval time is less than the average picture interval time, the packet information obtaining unit 12 obtains the accumulated data flow according to the packet data flow, and returns to step S1. The packet information obtaining unit 12 uses the following formula to obtain the accumulated data flow:

S _curr =S _curr +S _p S _ curr = S _ curr + S _ p ;

其中S _curr 代表該累計資料流量,S _p 代表該封包資料流量。Where S _ curr represents the accumulated data traffic and S _ p represents the packet data traffic.

如步驟S5所示,若步驟S3比較的結果為該封包間隔時間大於等於該平均畫面間隔時間,則該封包資訊獲得單元12以此時的累計資料流量做為一影像畫面的一畫面資料流量。As shown in step S5, if the result of the comparison in step S3 is that the packet interval time is greater than or equal to the average picture interval time, the packet information obtaining unit 12 uses the accumulated data traffic at this time as a picture data flow of an image frame.

亦即,當該封包間隔時間大於該平均畫面間隔時間時,理論上即代表對應該封包間隔時間的兩個先後收到的影像畫面封包應屬於不同的影像畫面,因此該封包資訊獲得單元12將此時的累計資料流量當作該影像畫面的畫面資料流量。以一視訊串流(Video Stream)3的畫面封包為例(見圖3),當其中二個影像畫面封包31、32的該封包間隔時間大於該平均畫面間隔時間時,即代表該等影像畫面封包31、32屬於不同的影像畫面。That is, when the packet interval time is greater than the average picture interval time, theoretically, the two image frame packets received in sequence corresponding to the packet interval time should belong to different image frames, so the packet information obtaining unit 12 will The accumulated data flow at this time is taken as the screen data flow of the image screen. Taking a picture packet of a video stream (Video Stream) 3 as an example (see FIG. 3), when the interval time of the packets of the two image frame packets 31 and 32 is greater than the average picture interval time, it represents the image frames. The packets 31, 32 belong to different image frames.

如步驟S6所示,該封包資訊獲得單元12根據該平均畫面間隔時間、該封包間隔時間、一第三權重值,及一第四權重值更新該平均畫面間隔時間。其中該封包資訊獲得單元12係利用下列算式以更新該平均畫面間隔時間:T _avg =β ×T _avg +(1-βT _curr ;其中T _avg 代表該平均畫面間隔時間、T _curr 代表該封包間隔時間、β 代表該第三權重值,及(1-β )代表該第四權重值。在本較佳實施例中,β 越趨近於1,則越能模擬出長期平均的狀況;反之,若β 越趨近於0,則越能反映出目前的實際狀況。As shown in step S6, the packet information obtaining unit 12 updates the average picture interval time according to the average picture interval time, the packet interval time, a third weight value, and a fourth weight value. The packet information obtaining unit 12 updates the average picture interval time by using the following formula: T _ avg = β × T _ avg + (1 - β ) × T _ curr ; where T _ avg represents the average picture interval time, T _ curr represents the packet interval time, β represents the third weight value, and (1- β ) represents the fourth weight value. In the preferred embodiment, the more β is closer to 1, the more the long-term average condition can be simulated; conversely, if β is closer to 0, the current actual situation can be reflected.

如步驟S7所示,該封包資訊獲得單元12根據該平均資料流量、該累計資料流量、一第一權重值,及一第二權重值更新該平均資料流量。其中該封包資訊獲得單元12係利用下列算式以更新該平均資料流量:S _avg =α ×S _avg +(1-αS _curr ;其中S _avg 代表該平均資料流量、α 代表該第一權重值,及(1-α )代表該第二權重值。類似地,α 越趨近於1,則越能模擬出長期平均的狀況;反之,若α 越趨近於0,則越能反映出目前的實際狀況。As shown in step S7, the packet information obtaining unit 12 updates the average data traffic according to the average data traffic, the accumulated data traffic, a first weight value, and a second weight value. The packet information obtaining unit 12 updates the average data flow by using the following formula: S _ avg = α × S _ avg + (1 - α ) × S _ curr ; where S _ avg represents the average data flow, α represents The first weight value, and (1- α ) represent the second weight value. Similarly, the closer α is to 1, the more it can simulate the long-term average; on the other hand, if α is closer to 0, the more the current situation is reflected.

如步驟S8所示,該封包資訊獲得單元12將該計數值加上1。As shown in step S8, the packet information obtaining unit 12 adds 1 to the count value.

如步驟S9所示,該封包資訊獲得單元12判斷該計數值是否大於一特定次數N;若是,則進行步驟S10;若否,則回到步驟S1。As shown in step S9, the packet information obtaining unit 12 determines whether the count value is greater than a certain number of times N; if so, proceeds to step S10; if not, returns to step S1.

最後,如步驟S10所示,該畫面型態分析單元13根據該畫面資料流量與該平均資料流量,判斷出該影像畫面對應的一畫面型態。亦即,若該畫面資料流量大於或等於一平均資料流量,則進行步驟S11,即該畫面型態分析單元13判斷該影像畫面對應的畫面型態為一I畫面;若該畫面資料流量小於一平均資料流量,則進行步驟S12,即該畫面型態分析單元13判斷該影像畫面對應的畫面型態為一P畫面或一B畫面。值得一提的是,在步驟S12中,該畫面型態分析單元13係根據預設的一壓縮格式(例如,H.261,MPEG4等等),來判斷該影像畫面對應的畫面型態是屬於該P畫面還是該B畫面。Finally, as shown in step S10, the picture type analyzing unit 13 determines a picture type corresponding to the image picture according to the picture data flow rate and the average data flow rate. That is, if the screen data traffic is greater than or equal to an average data traffic, step S11 is performed, that is, the screen type analyzing unit 13 determines that the screen type corresponding to the image screen is an I screen; if the screen data traffic is less than one The average data flow proceeds to step S12, that is, the screen type analyzing unit 13 determines that the screen type corresponding to the image screen is a P picture or a B picture. It is worth mentioning that, in step S12, the picture type analyzing unit 13 determines, according to a preset compression format (for example, H.261, MPEG4, etc.), that the picture type corresponding to the image picture belongs to This P picture is also the B picture.

在本較佳實施例中,該畫面型態分析單元13係根據多數個畫面資料流量及對應的壓縮格式,判斷出其等所分別對應的畫面型態。其中,不同的壓縮格式所分別對應的畫面型態的細節非本發明的重點,且為熟悉該領域者所能輕易理解,因此不在此贅述。In the preferred embodiment, the picture type analyzing unit 13 determines the picture type corresponding to each of the picture data traffic and the corresponding compression format. The details of the picture types corresponding to different compression formats are not the focus of the present invention, and can be easily understood by those skilled in the art, and thus are not described herein.

延續上述以視訊串流3的畫面封包為例(見圖3),包括該影像畫面封包31且對應屬於同一影像畫面的該等影像畫面封包,其對應的畫面型態為I畫面;包括該影像畫面封包32且對應屬於同一影像畫面的該等影像畫面封包,其對應的畫面型態為B畫面。For example, the image packet of the video stream 3 is continued as shown in FIG. 3, and includes the image frame packet 31 corresponding to the same image frame, and the corresponding picture type is an I picture; The picture packet 32 corresponds to the video picture packets belonging to the same video picture, and the corresponding picture type is a B picture.

綜上所述,藉由判斷該畫面資料流量與該平均資料流量二者間的大小關係,即可獲得相對應的影像畫面的畫面型態(即,視訊資訊);而與視訊處理相關的應用程式不需根據影像畫面的影像標準於即時協定標頭填入相關資訊;因此傳輸過程中的各網路端點不需具備解析帶有即時協定標頭的網路封包的能力亦可獲得視訊資訊,故確實能達成本發明之目的。In summary, by determining the size relationship between the data flow of the picture and the average data flow, the picture type of the corresponding image frame (ie, video information) can be obtained; and the application related to the video processing The program does not need to fill in the relevant information in the instant protocol header according to the image standard of the image picture; therefore, the network endpoints in the transmission process do not need to have the ability to parse the network packet with the instant protocol header or the video information. Therefore, the object of the present invention can be achieved.

惟以上所述者,僅為本發明之較佳實施例而已,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及發明說明內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。The above is only the preferred embodiment of the present invention, and the scope of the invention is not limited thereto, that is, the simple equivalent changes and modifications made by the scope of the invention and the description of the invention are All remain within the scope of the invention patent.

1...基於視訊資料流量的視訊資訊獲得系統1. . . Video information acquisition system based on video data traffic

11...接收單元11. . . Receiving unit

12...封包資訊獲得單元12. . . Packet information obtaining unit

13...畫面型態分析單元13. . . Picture type analysis unit

S0~S12...步驟S0~S12. . . step

3...視訊串流3. . . Video streaming

31...影像畫面封包31. . . Image frame packet

32...影像畫面封包32. . . Image frame packet

圖1是一系統圖,說明本發明基於視訊資料流量的視訊資訊獲得系統之較佳實施例;1 is a system diagram illustrating a preferred embodiment of a video information obtaining system based on video data traffic of the present invention;

圖2是一流程圖,說明本發明基於視訊資料流量的視訊資訊獲得方法之步驟;及2 is a flow chart illustrating steps of a method for obtaining video information based on video data traffic of the present invention; and

圖3是一示意圖,說明在本較佳實施例中一視訊串流的範例。Figure 3 is a schematic diagram showing an example of a video stream in the preferred embodiment.

S0~S12...步驟S0~S12. . . step

Claims (10)

一種基於視訊資料流量的視訊資訊獲得方法,利用一電腦來執行,該方法包含下列步驟:(A)接收一影像畫面封包,並記錄對應該影像畫面封包的一接收時間及一封包資料流量;(B)根據該接收時間,與對應該影像畫面封包的前一影像畫面封包的一先前接收時間,計算一封包間隔時間;(C)將該封包間隔時間與一平均畫面間隔時間進行比較;(D)若該封包間隔時間小於等於該平均畫面間隔時間,則根據該封包資料流量求得一累計資料流量,並回到步驟(A);(E)若該封包間隔時間大於該平均畫面間隔時間,則以此時的累計資料流量做為一影像畫面的一畫面資料流量;及(F)根據該畫面資料流量判斷出該影像畫面的對應一畫面型態。A method for obtaining video information based on video data traffic is performed by using a computer, and the method comprises the following steps: (A) receiving an image picture packet, and recording a receiving time and a packet data flow corresponding to the image picture packet; B) calculating, according to the receiving time, a packet interval time corresponding to a previous receiving time of the previous image frame packet corresponding to the image frame packet; (C) comparing the packet interval time with an average picture interval time; If the packet interval time is less than or equal to the average picture interval time, obtaining a cumulative data flow according to the packet data flow, and returning to step (A); (E) if the packet interval time is greater than the average picture interval time, Then, the accumulated data flow at this time is used as a picture data flow of an image frame; and (F) determining a corresponding picture type of the image picture according to the flow of the picture data. 根據申請專利範圍第1項所述之基於視訊資料流量的視訊資訊獲得方法,其中在步驟(F)中,若該畫面資料流量大於一平均資料流量,則判斷該影像畫面對應的畫面型態為一I畫面,否則為一P畫面或一B畫面。According to the method for obtaining video information based on video data traffic according to claim 1, wherein in step (F), if the screen data traffic is greater than an average data traffic, determining that the image mode corresponding to the image image is An I picture, otherwise a P picture or a B picture. 根據申請專利範圍第1項所述之基於視訊資料流量的視訊資訊獲得方法,步驟(E)與(F)之間還包括一步驟(G):根據該平均資料流量、該累計資料流量、一第一權重值,及一第二權重值更新該平均資料流量。According to the method for obtaining video information based on video data traffic according to claim 1, the step (E) and (F) further includes a step (G): according to the average data flow, the accumulated data flow, and The first weight value, and a second weight value update the average data flow. 根據申請專利範圍第3項所述之基於視訊資料流量的視訊資訊獲得方法,其中在步驟(G)中,係利用下列算式以更新該平均資料流量:S_avg =α×S_avg +(1-α)×S_curr ;其中S_avg 代表該平均資料流量、S_curr 代表該累計資料流量、α代表該第一權重值,及(1-α)代表該第二權重值。The method for obtaining video information based on video data traffic according to item 3 of the patent application scope, wherein in step (G), the average data flow is updated by using the following formula: S_avg = α × S_avg + (1-α) × S_curr ; where S_avg represents the average data flow, S_curr represents the accumulated data flow, α represents the first weight value, and (1-α) represents the second weight value. 根據申請專利範圍第4項所述之基於視訊資料流量的視訊資訊獲得方法,其中在步驟(D)中,係利用下列算式以求得該累計資料流量:S_curr =S_curr +S_p ;其中S_p 代表該封包資料流量。The method for obtaining video information based on video data traffic according to item 4 of the patent application scope, wherein in step (D), the accumulated data flow is obtained by using the following formula: S_curr = S_curr + S_p ; wherein S_p represents the Packet data flow. 根據申請專利範圍第3項所述之基於視訊資料流量的視訊資訊獲得方法,步驟(E)與(F)之間還包括下列步驟:(I)根據該平均畫面間隔時間、該封包間隔時間、一第三權重值,及一第四權重值更新該平均畫面間隔時間。According to the method for obtaining video information based on video data traffic according to item 3 of the patent application scope, the following steps are further included between steps (E) and (F): (I) according to the average picture interval time, the packet interval time, A third weight value and a fourth weight value update the average picture interval time. 根據申請專利範圍第6項所述之基於視訊資料流量的視訊資訊獲得方法,其中在步驟(I)中,係利用下列算式以更新該平均畫面間隔時間:T _avg =β×T _avg +(1-β)×T _curr ;其中T _avg 代表該平均畫面間隔時間、T _curr 代表該封包間隔時間、β代表該第三權重值,及(1-β)代表該第四權重值。The method for obtaining video information based on video data traffic according to item 6 of the patent application scope, wherein in step (I), the average picture interval is updated by using the following formula: T _ avg = β × T _ avg + (1-β)× T _ curr ; where T _ avg represents the average picture interval time, T _ curr represents the packet interval time, β represents the third weight value, and (1-β) represents the fourth weight value . 根據申請專利範圍第6項所述之基於視訊資料流量的視訊資訊獲得方法,步驟(G)及(I)之後還包括一步驟(J):將步驟(A)至(I)重複執行一特定次數。According to the method for obtaining video information based on video data traffic described in claim 6 of the patent application, steps (G) and (I) further include a step (J): repeating steps (A) to (I) to perform a specific frequency. 根據申請專利範圍第8項所述之基於視訊資料流量的視訊資訊獲得方法,其中在步驟(F)中,還根據多數個畫面資料流量及預設的一壓縮格式,判斷出多數個影畫面分別對應的多數個畫面型態。The method for obtaining video information based on video data traffic according to item 8 of the patent application scope, wherein in step (F), judging according to a plurality of picture data flows and a preset compression format, determining a plurality of video frames respectively Corresponding majority of screen types. 一種基於視訊資料流量的視訊資訊獲得系統,包含:一接收單元,用以接收多數個影像畫面封包;一封包資訊獲得單元,用以根據該等影像畫面封包計算一畫面資料流量,其中對於每一影像畫面封包而言,該封包資訊獲得單元用以進行以下動作:記錄對應該影像畫面封包的一接收時間及一封包資料流量;根據分別對應該影像畫面封包及與其相鄰的影像畫面封包的該等接收時間,計算一封包間隔時間;根據該封包資料流量求得一累計資料流量;根據該封包間隔時間判斷是否以該累計資料流量做為一影像畫面的一畫面資料流量;及一畫面型態分析單元,用以根據該畫面資料流量判斷出該影像畫面的一畫面型態。A video information obtaining system based on video data traffic includes: a receiving unit for receiving a plurality of image frame packets; and a packet information obtaining unit for calculating a picture data flow according to the image frame packets, wherein For the image frame packet, the packet information obtaining unit is configured to: record a receiving time corresponding to the image frame packet and a packet data flow; and respectively package the image frame corresponding to the image frame and the adjacent image frame. Waiting for the receiving time, calculating a packet interval time; obtaining a cumulative data flow according to the packet data flow; determining whether to use the accumulated data traffic as a picture data flow of an image frame according to the packet interval time; and a picture type The analyzing unit is configured to determine a picture type of the image frame according to the data flow of the picture.
TW100110598A 2011-03-28 2011-03-28 Method and system of video information acquisition based on video data traffic TWI502998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW100110598A TWI502998B (en) 2011-03-28 2011-03-28 Method and system of video information acquisition based on video data traffic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100110598A TWI502998B (en) 2011-03-28 2011-03-28 Method and system of video information acquisition based on video data traffic

Publications (2)

Publication Number Publication Date
TW201240468A TW201240468A (en) 2012-10-01
TWI502998B true TWI502998B (en) 2015-10-01

Family

ID=47599805

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100110598A TWI502998B (en) 2011-03-28 2011-03-28 Method and system of video information acquisition based on video data traffic

Country Status (1)

Country Link
TW (1) TWI502998B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090041114A1 (en) * 2007-07-16 2009-02-12 Alan Clark Method and system for viewer quality estimation of packet video streams

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090041114A1 (en) * 2007-07-16 2009-02-12 Alan Clark Method and system for viewer quality estimation of packet video streams

Also Published As

Publication number Publication date
TW201240468A (en) 2012-10-01

Similar Documents

Publication Publication Date Title
CN113271316B (en) Multimedia data transmission control method and device, storage medium and electronic equipment
US8908049B2 (en) Monitoring device and method for monitoring a video session in a data network
CN104618195B (en) Bandwidth estimation method and apparatus
EP2086174A1 (en) A method and system of multimedia service performance monitoring
US20130091528A1 (en) Video reproduction system, receive terminal, home gateway device, and quality control system
US8750293B2 (en) Apparatus and method for rendering video with retransmission delay
US20160330484A9 (en) Method and System for Determining a Quality Value of a Video Stream
WO2013064115A1 (en) Streaming media transmission quality evaluation and information acquisition method, relevant device and system
EP3491784B1 (en) Estimation of losses in a video stream
US20170034059A1 (en) Identifying a network condition using estimated processor load
JP4787210B2 (en) Video quality estimation method, apparatus, and program
CN113473185B (en) Method and device for detecting available bandwidth based on video stream key frame burst characteristics
WO2012116558A1 (en) Method and device for evaluating video quality
Li et al. Real‐Time QoE Monitoring System for Video Streaming Services with Adaptive Media Playout
JP4914400B2 (en) Quality estimation method, quality estimation system, user terminal, quality management terminal and program
JP4787303B2 (en) Video quality estimation apparatus, method, and program
TWI502998B (en) Method and system of video information acquisition based on video data traffic
EP3420698A1 (en) Predicting multimedia session mos
Chen et al. Study on relationship between network video packet loss and video quality
JP4733071B2 (en) Video quality estimation method and apparatus
Stensen Evaluating QoS and QoE Dimensions in Adaptive Video Streaming
KR101067229B1 (en) Apparatus and method for analyzing trouble of real time service using timestamp
JP5405915B2 (en) Video quality estimation apparatus, video quality estimation method, and video quality estimation apparatus control program
JP2010063004A (en) Video data transmission apparatus, video distribution system, video quality evaluation method and program
CN112653922B (en) Audio and video file processing method and device, terminal and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees