CN103905918A - Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC - Google Patents

Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC Download PDF

Info

Publication number
CN103905918A
CN103905918A CN201210589996.5A CN201210589996A CN103905918A CN 103905918 A CN103905918 A CN 103905918A CN 201210589996 A CN201210589996 A CN 201210589996A CN 103905918 A CN103905918 A CN 103905918A
Authority
CN
China
Prior art keywords
ptu
data
time
svc
time tag
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201210589996.5A
Other languages
Chinese (zh)
Inventor
乐阳
张棪
周旭
白帆
宋俊平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Acoustics CAS
Original Assignee
Institute of Acoustics CAS
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 Institute of Acoustics CAS filed Critical Institute of Acoustics CAS
Priority to CN201210589996.5A priority Critical patent/CN103905918A/en
Publication of CN103905918A publication Critical patent/CN103905918A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a data fragment transmitting and dispatching method and system in a P2P streaming media system based on SVC. The data fragment transmitting method includes the steps that (101) the data of a base layer and an enhancement layer in the P2P video streaming media system based on SVC are equally divided by using the data size as the unit, so that a plurality of equally-divided data pieces are obtained; (102) time labels are added to the equally-divided data pieces according to the steps as follows, and the equally-divided data pieces and the added time labels of all the equally-divided data pieces are connected and then transmitted; (102-1) each data layer is divided into a plurality of PTUs by using the decipher as the unit, namely one PTU corresponds to one decoding unit in a sub layer, the PTUs in each layer are numbered successively according to the playing time sequence, and accordingly PTU serial numbers are formed; (102-2) time labels PTU Seq-inSeq are added to all the equally-divided data pieces according to the playing time unit PTUs, the 'PTU Seq' in the time labels represents the PTU serial numbers which the equally-divided data pieces belong to, and inSeq represents the serial numbers of all the fragments of the PTUs which the equally-divided data pieces belong to.

Description

Data fragmentation transmission, dispatching method and system in P2P stream media system based on SVC
Technical field
The present invention relates to computer network, multimedia communication and P2P technology, be specifically related to data fragmentation transmission, dispatching method and system in a kind of P2P stream media system based on SVC.
Background technology
Scalable video coding (SVC, Scalable Video Coding) technology and the P2P technology video data that can realize easily between heterogeneous terminals that combines is shared.SVC is a basal layer and one or more enhancement layer by Video coding, interlayer data have downward dependence in the time of decoding: the video of a gross can independently be decoded and obtain to basal layer, certain decoding that increases layer needs basal layer and all lower enhancement layers, and the enhancement layer video quality that more multi-user watches of decoding is higher.Than traditional Video coding, in P2P stream media system, apply SVC and can obtain the benefit aspect two: on the one hand, user can dynamically adjust according to s own situation the number of enhancement layers of download, thereby realizes video quality self adaptation; On the other hand, data that also can shared portion layer between dissimilar terminal, thus greatly improve data sharing efficiency.How in P2P stream media system, to transmit SVC video data has become the focus of current research, and this patent mainly solves the SVC data fragmentation problem being applied in P2P stream media system.
In traditional P2P stream media system, video data is shared take burst as unit: single-layer video data such as are divided at the big or small burst, client is determined downloading order the downloading slicing of burst with certain scheduling rule, the complete burst of the every download of client simultaneously can be uploaded to other users by this burst.Identical with traditional P2P video streaming media system, the P2P video streaming media system based on SVC is also shared data take burst as unit.Different is, synchronous for the ease of interlayer data, the sharding methods that adopt based on playing duration in the P2P video streaming media system based on SVC: each layering of SVC is carried out to burst take certain playing duration as unit more, in layer, each burst playing duration is identical, and the playing duration of the each burst of interlayer is also identical.This sharding method such as is called as at the duration burst.
In sum, the big or small sharding method implementation method of the grade of prior art is simple, but can not meet the interlayer synchronisation requirement of SVC data in the time that decoding is play.Can meet the interlayer synchronisation requirement of SVC data in the time that decoding is play Deng duration burst, but the burst that playing duration is identical is but not identical in data volume size.Up-to-date research shows, waits SVC burst gap in data volume size of duration sharding method generation huge, and especially the data volume of lower level burst tends to more much larger than higher level burst.Under the identical condition of packet loss, the larger point smaller burst of sector-meeting is more easily lost, especially in the higher environment of this overall packet loss of mobile network.Concerning SVC data, due to the dependent existence of decoding, lower level burst is more important than higher level burst, and the loss of lower level burst can cause the remarkable decline of video quality, has a strong impact on user and experiences.Therefore, thus in the existing P2P video streaming media system based on SVC, wait duration sharding method to exist compared with bottom burst easily to lose the shortcoming that causes receiving terminal video quality to decline.
Summary of the invention
The object of the invention is to, the invention provides data fragmentation transmission, dispatching method and the system in a kind of P2P stream media system based on SVC for overcoming the problems referred to above.
For achieving the above object, the invention provides data fragmentation transmission method in a kind of P2P video streaming media system based on SVC, described method comprises:
Step 101) each layer data of the basal layer in the P2P video streaming media system based on SVC and enhancement layer is carried out to decile take size of data as unit, obtain some decile data slice;
Step 102) be that above-mentioned decile data slice is added time tag according to following steps, and will wait point data slice and be to transmit after the time tag of each decile data slice interpolation is combined:
Step 102-1) every layer data is divided into some PTU with the unit of being decoded as, i.e. a decoding unit in the corresponding layering of PTU, and to the PTU of every layer according to the time sequencing number consecutively of playing, form the sequence number of PTU;
Wherein, PTU is reproduction time unit;
Step 102-2) be that each decile data slice is added time tag PTUSeq-inSeq according to the PTU of reproduction time unit, " PTUSeq " in described time tag represents the sequence number of the PTU under these divided data sheets, and inSeq represents the sequence number of these divided data sheets in all bursts of affiliated PTU.
Above-mentioned steps 101) and 102) between also comprise:
Obtain the step of the reproduction time of each decile data slice.
Each layering is logically divided into the PTU of equal amount, and the PTU in different layerings with same sequence number plays unit as a complete decoding.
Above-mentioned time tag information is deposited in the index information of video.
The present invention also provides a kind of scheduling data request method of the data fragmentation transmission method based on above-mentioned, and described method comprises:
Step 101) client is by P2P index information, knows the time tag of each burst;
Step 102) in the time playing according to the order of sequence, client is according to successively request msg of time tag, concrete grammar is: in every one deck, according to time tag according to PTUSeq order request data fragmentation from small to large; In same PTU, according to inSeq order request data fragmentation from small to large; Step 103) in the time dragging broadcasting, in the time that the point sometime that navigates to video is play, the data of download are located and asked to need to client according to time tag, concrete grammar is: first judge which PTU the video data sometime that navigates to video belongs to, and then successively asks last data fragmentation in all data fragmentations and the previous PTU in this PTU.
In addition, the present invention also provides data fragmentation transmission system in a kind of P2P video streaming media system based on SVC, and described system comprises:
Deng sub-module, for each layer data of the basal layer of the P2P video streaming media system based on SVC and enhancement layer is carried out to decile take size of data as unit, obtain some decile data slice;
Time tag generation module, this module such as is used to add time tag at each burst that waits that sub-module obtains, and the generation of described time tag is measured as:
Step 102-1) every layer data is divided into some PTU with the unit of being decoded as, i.e. a decoding unit in the corresponding layering of PTU, and to the PTU of every layer according to the time sequencing number consecutively of playing, form the sequence number of PTU;
Wherein, PTU is reproduction time unit;
Step 102-2) be that each decile data slice is added time tag PTUSeq-inSeq according to the PTU of reproduction time unit, " PTUSeq " in described time tag represents the sequence number of the PTU under these divided data sheets, and inSeq represents the sequence number of these divided data sheets in all bursts of affiliated PTU.
Said system also comprises:
Reproduction time acquisition module, for obtaining the reproduction time of each decile data slice, and offers time tag generation module by the time of acquisition.
Each layering is logically divided into the PTU of equal amount, and the PTU in different layerings with same sequence number plays unit as a complete decoding.
Above-mentioned time tag information is deposited in the index information of video.
Compared with prior art, technical advantage of the present invention is:
The present invention proposes a kind of brand-new big or small sharding method such as grade with time tag, the method has been avoided the big or small sharding methods such as the simple employing of prior art and has been waited the deficiency of duration sharding method, can be meeting between SVC data Layer in synchronisation requirement, the problem of easily losing compared with bottom burst that solution waits duration sharding method to cause, thereby improve the transmission success rate of lower level burst, guaranteed user's viewing experience.
In a word, compared with traditional big or small sharding method such as grade, the big or small sharding method such as grade with time tag is by providing the reproduction time information of each burst, and the interlayer when can meeting SVC data in decoding and playing is synchronous; Wait compared with duration sharding method with popular, can solve the problem of easily losing compared with bottom burst with the big or small sharding method such as grade of time tag, thereby improve the transmission success rate of lower level burst, guaranteed user's viewing experience;
Accompanying drawing explanation
Fig. 1 is the burst with time tag that the present invention produces.
Fig. 2 is the flow chart of the time stamp methods of point data slice such as generation of the present invention;
Fig. 3 is the schematic flow sheet of the request scheduling method of the data slice based on time tag provided by the invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, technical scheme of the present invention is described in detail.
The implementation method of the big or small sharding method such as grade with time tag that the present invention proposes as shown in Figure 2, specifically comprises following four steps:
1) data in SVC video are separated according to the difference of its layering;
2) data of every one deck are divided into etc. to big or small burst;
3) former SVC video is analyzed, obtained the reproduction time information of all bursts;
4) for each burst adds time tag, leave in P2P index information.
The key of the grade big or small sharding method of realization with time tag is how to be each burst generation time label.The present invention defines concept PTU(Playback Time Unit by name, reproduction time unit), a PTU comprises the data in fixed qty GOP, can be regarded as a decoding unit in layering.In fact, PTU such as is similar at the burst that duration sharding method produces.In the present invention, each layering can logically be divided into the PTU of equal amount, and the PTU in different layerings with same sequence number can be regarded as forming a complete decoding and play unit.Intuitively, in each layering, a PTU may comprise more than one burst, and a burst also may be crossed over more than one PTU.Therefore the present invention makes following regulation, and " certain burst belongs to certain PTU " refers to that the original position of this burst is arranged in this PTU, and " burst in certain PTU " refers to all bursts that belong to this PTU.So, can use the time tag of PTUSeq-inSeq as certain burst in layering, wherein PTUSeq represents the sequence number of the affiliated PTU of this burst, inSeq represents the sequence number of this burst in all bursts of affiliated PTU.For example, suppose that the original position of a burst is positioned at i PTU, and it is j burst in this PTU, its time tag is exactly i-j so.
In the present invention, being before each burst adds time tag, must know the reproduction time information of each burst.These information can obtain by analyzing original SVC video.As long as determined PTU length and burst size, the reproduction time information of each burst also just can be determined thereupon.
Fig. 1 has provided the example with time tag burst that the present invention produces.In Fig. 1, the burst of the size such as pane representative, the footage number of pane top and numeral represent respectively original position and the sequence number of PTU.The time tag of each burst is presented in each pane.According to these time tags, can learn the reproduction time information of these bursts such as size such as grade.For example, the time tag 2-1 in 0 layer represents that this burst is the 2nd burst in the 3rd PTU in basal layer.According to these reproduction time information, burst dispatching algorithm such as just can solve between different layers well at the stationary problem of big or small burst.
Concrete burst dispatching method as shown in Figure 3, specifically describes as follows:
A) client, by P2P index information, is known the time tag information of each burst.
B) in the time of normal play, client is according to successively request msg of time tag information, and concrete grammar is: in every one deck, according to time tag information according to PTUSeq order request data fragmentation from small to large; In same PTU, according to-inSeq order request data fragmentation from small to large.
C) in the time that the point sometime that navigates to video is play, the data of download are located and asked to need to client according to time tag information, concrete grammar is: first judge which PTU this belongs to, then successively asking label is last data fragmentation in all data fragmentations and the previous PTU in this PTU.Such as, for the base layer data burst in Fig. 1, in the time navigating to the time point that belongs to the 3rd PTU, should ask label is the data fragmentation of " 0-1 " and " 2-0 ", " 2-1 " and " 2-2 ".
In P2P content share system, client can first be obtained its index information before downloading a content file.For example, in BitTorrent, the .torrent file including of a content file content description, filename, MD5 verification and, the information such as the sequence number of burst and HSAH check value.Client can first be obtained .torrent file, then according to index information scheduling burst downloading process.The existing P2P stream media system based on SVC is also taked such mechanism, stores and issue P2P index information with .torrent file.
In the present invention, the time tag of burst also will add in the index information of video.Obviously, adding these time tags can increase the data volume of index information, i.e. the size of .torrent file.By the analysis to many SVC video files, find that the large I of each time tag information is set as 3 bytes, wherein 2 bytes are used for storing PTUSeq value, and residue 1 byte is used for storing inSeq value.Such setting can provide the space of enough sizes to meet the needs of most of SVC video file.As previously mentioned, recorded the HSAH check value of each burst in the .torrent file of a SVC video, the space size that each HSAH check value occupies is about 20 bytes, and data in .torrent file are all almost burst HSAH check value records.Therefore, use the time tag of the extra each burst of 3 byte records that the size that only makes whole .torrent file has been increased to about 15%.Consider .torrent file all very little (tens to a hundreds of kilobytes) conventionally, so the data volume of the time tag of the present invention's generation is also very little, can exert an influence to the Data dissemination in P2P stream media system hardly.
It should be noted that, embodiment of the present invention of more than introducing provide a kind of method that in P2P SVC stream media system, the big or small sharding method such as grade with time tag can move, and the explanation of this embodiment is just for helping to understand method of the present invention and core concept thereof and unrestricted.One of ordinary skill in the art should be appreciated that any modification to technical solution of the present invention or is equal to and substitute the spirit and scope that do not depart from technical solution of the present invention, and it all should be encompassed within the scope of claim of the present invention.

Claims (9)

1. a data fragmentation transmission method in the P2P video streaming media system based on SVC, described method comprises:
Step 101) each layer data of the basal layer in the P2P video streaming media system based on SVC and enhancement layer is carried out to decile take size of data as unit, obtain some decile data slice;
Step 102) be that above-mentioned decile data slice is added time tag according to following steps, and will wait point data slice and be to transmit after the time tag of each decile data slice interpolation is combined:
Step 102-1) every layer data is divided into some PTU with the unit of being decoded as, i.e. a decoding unit in the corresponding layering of PTU, and to the PTU of every layer according to the time sequencing number consecutively of playing, form the sequence number of PTU;
Wherein, PTU is reproduction time unit;
Step 102-2) be that each decile data slice is added time tag PTUSeq-inSeq according to the PTU of reproduction time unit, " PTUSeq " in described time tag represents the sequence number of the PTU under these divided data sheets, and inSeq represents the sequence number of these divided data sheets in all bursts of affiliated PTU.
2. data fragmentation transmission method in the P2P video streaming media system based on SVC according to claim 1, is characterized in that described step 101) and 102) between also comprise:
Obtain the step of the reproduction time of each decile data slice.
3. data fragmentation transmission method in the P2P video streaming media system based on SVC according to claim 1, it is characterized in that, each layering is logically divided into the PTU of equal amount, and the PTU in different layerings with same sequence number plays unit as a complete decoding.
4. data fragmentation transmission method in the P2P video streaming media system based on SVC according to claim 1, is characterized in that, described time tag information is deposited in the index information of video.
5. the scheduling data request method based on data fragmentation transmission method claimed in claim 1, described method comprises: step 101) client is by P2P index information, knows the time tag of each burst;
Step 102) in the time playing according to the order of sequence, client is according to successively request msg of time tag, concrete grammar is: in every one deck, according to time tag according to PTUSeq order request data fragmentation from small to large; In same PTU, according to inSeq order request data fragmentation from small to large; Step 103) in the time dragging broadcasting, in the time that the point sometime that navigates to video is play, the data of download are located and asked to need to client according to time tag, concrete grammar is: first judge which PTU the video data sometime that navigates to video belongs to, and then successively asks last data fragmentation in all data fragmentations and the previous PTU in this PTU.
6. a data fragmentation transmission system in the P2P video streaming media system based on SVC, described system comprises:
Deng sub-module, for each layer data of the basal layer of the P2P video streaming media system based on SVC and enhancement layer is carried out to decile take size of data as unit, obtain some decile data slice;
Time tag generation module, this module such as is used to add time tag at each burst that waits that sub-module obtains, and the generation of described time tag is measured as:
Step 102-1) every layer data is divided into some PTU with the unit of being decoded as, i.e. a decoding unit in the corresponding layering of PTU, and to the PTU of every layer according to the time sequencing number consecutively of playing, form the sequence number of PTU;
Wherein, PTU is reproduction time unit;
Step 102-2) be that each decile data slice is added time tag PTUSeq-inSeq according to the PTU of reproduction time unit, " PTUSeq " in described time tag represents the sequence number of the PTU under these divided data sheets, and inSeq represents the sequence number of these divided data sheets in all bursts of affiliated PTU.
7. data fragmentation transmission system in the P2P video streaming media system based on SVC according to claim 6, is characterized in that, described system also comprises:
Reproduction time acquisition module, for obtaining the reproduction time of each decile data slice, and offers time tag generation module by the time of acquisition.
8. data fragmentation transmission system in the P2P video streaming media system based on SVC according to claim 6, it is characterized in that, each layering is logically divided into the PTU of equal amount, and the PTU in different layerings with same sequence number plays unit as a complete decoding.
9. data fragmentation transmission system in the P2P video streaming media system based on SVC according to claim 6, is characterized in that, described time tag information is deposited in the index information of video.
CN201210589996.5A 2012-12-28 2012-12-28 Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC Pending CN103905918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210589996.5A CN103905918A (en) 2012-12-28 2012-12-28 Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210589996.5A CN103905918A (en) 2012-12-28 2012-12-28 Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC

Publications (1)

Publication Number Publication Date
CN103905918A true CN103905918A (en) 2014-07-02

Family

ID=50997032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210589996.5A Pending CN103905918A (en) 2012-12-28 2012-12-28 Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC

Country Status (1)

Country Link
CN (1) CN103905918A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028078A (en) * 2016-08-18 2016-10-12 深圳看到科技有限公司 Personalized content creating method, personalized content creating device, personalized content play method and personalized content play device
CN107094141A (en) * 2017-04-28 2017-08-25 山东交通学院 SVC video files burst and dispatching method in a kind of P2P stream media systems
CN107124414A (en) * 2017-04-28 2017-09-01 山东交通学院 A kind of P2P Streaming Medias burst and dispatching method based on SVC data characteristics

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YAN ZHANG, XU ZHOU, JUNPING SONG,YANG YUE, DAN LIAO: ""Time-Stamped Equal Size Segmentation and Chunk Scheduling Algorithms for SVC based P2P Streaming Systems"", 《PROCEEDINGS OF THE 2012 IEEE 18TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS(ICPADS 2012)》 *
胡庆宝,周旭,白帆,黄威,唐朝伟,宗伟: ""基于H.264/SVC的P2P内容分发系统设计与实现"", 《计算机技术与应用》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028078A (en) * 2016-08-18 2016-10-12 深圳看到科技有限公司 Personalized content creating method, personalized content creating device, personalized content play method and personalized content play device
CN107094141A (en) * 2017-04-28 2017-08-25 山东交通学院 SVC video files burst and dispatching method in a kind of P2P stream media systems
CN107124414A (en) * 2017-04-28 2017-09-01 山东交通学院 A kind of P2P Streaming Medias burst and dispatching method based on SVC data characteristics
CN107094141B (en) * 2017-04-28 2020-06-02 山东交通学院 SVC video file slicing and scheduling method in P2P streaming media system

Similar Documents

Publication Publication Date Title
US10542065B2 (en) Method and apparatus for transmitting/receiving media contents in multimedia system
CN101795297B (en) Live broadcasting time shifting system based on P2P (peer-to-peer) technology and method thereof
CN103814562B (en) Represent the network stream transmission for media data for the characteristic of fragment with signal
US8768984B2 (en) Media container file management
CN103039087B (en) For launching the method and apparatus of encoded video data
CN102547478B (en) Triggered slice on-demand system and method of streaming media based on CDN (Content Distribution Network)
CN104270646A (en) Self-adaption transmission method and system based on mobile streaming media
KR20120083744A (en) Apparatus and method for storing and playing contents in multimedia streaming system
CN102694831B (en) Mobile terminal streaming compensation data method and system, content distributing network
JP2016527794A (en) Dependent signal based on cluster
CN103763637A (en) Stream media broadcasting method and system
CN104380754A (en) Method and apparatus for transmitting adaptive media structure in multimedia system
CN112584087B (en) Video conference recording method, electronic device and storage medium
KR101280806B1 (en) Apparatus for provisioning preview channel guide in digital network and its method
CN103081488A (en) Signaling video samples for trick mode video representations
CN104270672A (en) Video processing method and device
CN102165776B (en) Transmission method, receiving method and device for scalable video coding files
CN103905918A (en) Data fragment transmitting and dispatching method and system in P2P streaming media system based on SVC
CN102572514A (en) Service system based on video content epitome
CN101848366A (en) Filing and program transmitting method and equipment of time shift slicing files in IPTV (Internet Protocol Television) system
CN106851331B (en) Easy broadcast processing method and system
CN103167319A (en) Transmission processing method, device and system of streaming media
CN107124646A (en) Mobile intelligent terminal video recording system and method thereof
CN114640862A (en) Video processing method, device, computer readable storage medium and processor
CN116389774A (en) Method for improving playing efficiency and player

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140702