CN107613367B - Stream medium data playback method and player - Google Patents

Stream medium data playback method and player Download PDF

Info

Publication number
CN107613367B
CN107613367B CN201610538916.1A CN201610538916A CN107613367B CN 107613367 B CN107613367 B CN 107613367B CN 201610538916 A CN201610538916 A CN 201610538916A CN 107613367 B CN107613367 B CN 107613367B
Authority
CN
China
Prior art keywords
data packet
media data
flow media
mentioned
packet
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.)
Active
Application number
CN201610538916.1A
Other languages
Chinese (zh)
Other versions
CN107613367A (en
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.)
Chengdu Dingqiao Communication Technology Co Ltd
Original Assignee
Chengdu Dingqiao Communication Technology Co Ltd
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 Chengdu Dingqiao Communication Technology Co Ltd filed Critical Chengdu Dingqiao Communication Technology Co Ltd
Priority to CN201610538916.1A priority Critical patent/CN107613367B/en
Publication of CN107613367A publication Critical patent/CN107613367A/en
Application granted granted Critical
Publication of CN107613367B publication Critical patent/CN107613367B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of stream medium data playback method and player.Stream medium data playback method provided by the invention, comprising the following steps: the flow media data packet of the same business of receiving multicast business channel and dedicated service channel transfer, above-mentioned flow media data packet carry identification information;According to above-mentioned identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of above-mentioned flow media data packet;If above-mentioned flow media data packet is not present in above-mentioned broadcasting caching, above-mentioned flow media data packet is deposited into above-mentioned broadcasting caching;Play the flow media data packet being stored in above-mentioned broadcasting caching.Stream medium data playback method and player provided by the invention can effectively avoid that packet loss phenomenon occurs, and result of broadcast is preferable.

Description

Stream medium data playback method and player
Technical field
The present invention relates to the communication technology more particularly to a kind of stream medium data playback methods and player.
Background technique
With the rapid development of Web TV, the communication technology and Streaming Media product, stream media play system is increasingly becoming heat Point.
Single cell point, which standardizes multiple spot SC-PTM (single-cell point to multipoint), supports receiving end same When receive mode of unicast and multicast transmission same business stream medium data.But since mode of unicast transmits data Channel it is different from the channel of multicast transmission data, the stream medium data transmitted on two channels is independent of each other.Cause This, currently, DST PLAYER generally only receives the data transmitted on one of channel in terms of stream medium data broadcasting, Packet loss phenomenon is more serious, and result of broadcast is poor.
Summary of the invention
The present invention provides a kind of stream medium data playback method and player, to avoid packet loss phenomenon occurs, improves stream matchmaker The result of broadcast of body player.
One aspect of the present invention provides a kind of stream medium data playback method.Stream medium data broadcasting side provided by the invention Method includes the following steps:
The flow media data packet of the same business of receiving multicast business channel and dedicated service channel transfer, above-mentioned Streaming Media Data packet carries identification information;
According to above-mentioned identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of above-mentioned stream medium data Packet;
If above-mentioned flow media data packet is not present in above-mentioned broadcasting caching, above-mentioned flow media data packet is deposited into above-mentioned It plays in caching;
Play the flow media data packet being stored in above-mentioned broadcasting caching.
Further, in an embodiment of the present invention, above-mentioned identification information is what above-mentioned flow media data packet packet header carried Sequence number or synchronous source identifier, above-mentioned sequence number or above-mentioned synchronisation source identifier are in transmitting terminal or network application layer convection current matchmaker It is generated when volume data progress package processing in flow media data packet packet header.
Further, the flow media data packet being stored in the above-mentioned broadcasting caching of above-mentioned broadcasting specifically:
According to the sequence number that above-mentioned flow media data packet packet header carries, it has been stored in the above-mentioned broadcasting caching of played in order Flow media data packet.
Further, in an embodiment of the present invention, above-mentioned identification information is in above-mentioned flow media data packet extension header The sequence number of carrying;Above-mentioned sequence number is the process for increasing the flow media data packet received extension header in network application layer Middle generation.
Further, the flow media data packet being stored in the above-mentioned broadcasting caching of above-mentioned broadcasting specifically:
According to the sequence number carried in above-mentioned flow media data packet extension header, in the above-mentioned broadcasting caching of played in order The flow media data packet of deposit.
Further, in an embodiment of the present invention, above-mentioned according to above-mentioned identification information, judge broadcasting for DST PLAYER Slow down in depositing with the presence or absence of after above-mentioned flow media data packet, further includes:
If either, above-mentioned broadcasting caching is without remaining cache there are when above-mentioned flow media data packet in above-mentioned broadcasting caching When space, either, when above-mentioned identification information fails, then above-mentioned flow media data packet is abandoned.
Another aspect of the present invention provides a kind of DST PLAYER.DST PLAYER provided by the invention, comprising: receive Module, judgment module, cache module, playing module;Wherein:
Above-mentioned receiving module, the same business Streaming Media number for receiving multicast business channel and dedicated service channel transfer According to packet, above-mentioned flow media data packet carries identification information;
Above-mentioned judgment module, for judging whether deposit in the broadcasting caching of DST PLAYER according to above-mentioned identification information In above-mentioned flow media data packet;
Above-mentioned cache module, for judging that there is no above-mentioned flow media data packets in above-mentioned broadcasting caching when judgment module When, above-mentioned flow media data packet is deposited into above-mentioned broadcasting caching;
Above-mentioned playing module, for playing the flow media data packet being stored in above-mentioned broadcasting caching.
Further, in an embodiment of the present invention, above-mentioned identification information is what above-mentioned flow media data packet packet header carried Sequence number or synchronous source identifier, above-mentioned sequence number or above-mentioned synchronous source identifier are in transmitting terminal or network application layer convection current matchmaker It is generated when volume data progress package processing in flow media data packet packet header.
Further, above-mentioned playing module, is specifically used for,
According to the sequence number that above-mentioned flow media data packet packet header carries, it has been stored in the above-mentioned broadcasting caching of played in order Flow media data packet.
Further, in an embodiment of the present invention, above-mentioned identification information is in above-mentioned flow media data packet extension header The sequence number of carrying;Above-mentioned sequence number is the process for increasing the flow media data packet received extension header in network application layer Middle generation.
Further, above-mentioned playing module, is specifically used for,
According to the sequence number carried in above-mentioned flow media data packet extension header, in the above-mentioned broadcasting caching of played in order The flow media data packet of deposit.
Stream medium data playback method and player provided by the invention, DST PLAYER is in play stream media data When, while the flow media data packet of the same business of receiving multicast business channel and dedicated service channel transfer, above-mentioned Streaming Media Data packet carries identification information;And according to above-mentioned identification information, judge to whether there is in the broadcasting caching of DST PLAYER Above-mentioned flow media data packet;When above-mentioned flow media data packet is not present in above-mentioned broadcasting caching, then by above-mentioned flow media data packet It is deposited into above-mentioned broadcasting caching, the generation of packet loss phenomenon can be efficiently avoided, result of broadcast is preferable.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of stream medium data playback method embodiment one of the present invention;
Fig. 2 is the schematic diagram of DST PLAYER embodiment one of the present invention;
Fig. 3 is the flow chart of stream medium data playback method embodiment two of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Real-time transport protocol (Real-time Transport Protocol, RTP) is processing stream matchmaker on internet A kind of network protocol of volume data stream, using it can one-to-one (unicast, unicast) or it is one-to-many (multicast, Multicast) network environment in realize and spread the real-time Transmission of media data.Wherein, unicast mode is a kind of one-to-one communication mould Formula uses dedicated service channel transmission data;Multicast pattern is a kind of one-to-many communication mode, it should be noted that this In refer to multiple receiving ends in need more.
Single cell point, which standardizes multiple spot SC-PTM (single-cell point to multipoint), supports receiving end same When receive mode of unicast and multicast transmission same business stream medium data.But since mode of unicast is in transmission number According to when using dedicated service channel, and multicast mode when transmitting data using multicast service channel, and the two Channel is entirely different, thus the stream medium data transmitted on the two channels is independent of each other.Therefore, currently, flowing Media data plays aspect, and DST PLAYER generally only selects the data transmitted on one of channel to be received, and only When the data transmitted on one of channel being selected to be received, since there are certain packet loss phenomenons for the channel transmission data. At this point, DST PLAYER cannot be using the data transmitted on another channel, result of broadcast is poor, and quality of service is poor.
The present invention provides a kind of stream medium data playback method and player, to avoid packet loss phenomenon occurs, improves stream matchmaker The result of broadcast of body player.
Embodiment one
Fig. 1 is the stream medium data playback method that the embodiment of the present invention one provides.Stream medium data provided in this embodiment Playback method includes the following steps:
The flow media data packet of the same business of S101, receiving multicast business channel and dedicated service channel transfer, it is above-mentioned Flow media data packet carries identification information.
Specifically, according to real-time Transmission Real-time Transport Protocol, when carrying out transmission of flow media data, transmitting terminal streaming media first Data carry out package processing, generate flow media data packet, i.e. generation RTP packet;Secondly, transmitting terminal sends out above-mentioned flow media data packet Be sent to network application layer, network application layer according to the request of receiving end, by the flow media data packet of same business by unicast or The mode of multicast is transferred to receiving end, i.e. stream medium data is passed through multicast service channel and dedicated service channel by network application layer It is transferred to receiving end, receiving end receives the Streaming Media number of the same business of above-mentioned multicast service channel and dedicated service channel transfer According to packet.
More specifically, above-mentioned stream medium data can be audio data, it is also possible to video data, can also be simultaneously Stream medium data comprising audio data and video data.
It should be noted that above-mentioned flow media data packet carries identification information, specifically, identification information can be used for distinguishing stream The difference for the content that media data packet carries.For example, in same business, for what is transmitted in above-mentioned two different channel For the identical flow media data packet of two contents, the identification information that the two flow media data packets carry is identical;And it is right For the different flow media data packet of two contents transmitted in above-mentioned two different channel, the two stream medium datas The identification information that packet carries is different.
S102, according to above-mentioned identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of above-mentioned Streaming Media Data packet.
Specifically, during DST PLAYER play stream media data, DST PLAYER will usually be received Flow media data packet be cached in broadcasting caching, reach preset data when playing the stream medium data that has been stored in caching When amount, just start to play the stream medium data being stored in caching.
Due to the flow media data packet for same business, multicast service channel and dedicated service channel will transmit identical Flow media data packet, the flow media data packet in DST PLAYER receiving multicast business channel and dedicated service channel transfer When, to avoid identical two data packets of content while being stored in broadcasting caching, in turn result in the Streaming Media number of same content The case where according to being played twice.Therefore, by the same of the multicast service channel received and dedicated service channel transfer During the flow media data packet deposit of business plays caching, the identification information carried according to flow media data packet is needed, is sentenced It is disconnected to play in caching above-mentioned flow media data packet whether will be present.For example, when the mark letter of the flow media data packet received When ceasing identical as the identification information that a certain flow media data packet played in caching carries, judge to have existed in broadcasting caching State flow media data packet.When the flow media data packet received identification information and play and either one or two of be stored in stream in caching When the identification information that media data packet carries is all different, judge that there is no above-mentioned flow media data packets in broadcasting caching.
If above-mentioned flow media data packet is not present in S103, above-mentioned broadcasting caching, above-mentioned flow media data packet is stored in Into above-mentioned broadcasting caching.
Specifically, as previous step is introduced, when the identification information of the flow media data packet received and broadcasting are slow When the identification information that any one flow media data packet being stored in depositing carries is all different, judge to be not present in broadcasting caching Above-mentioned flow media data packet.At this point, above-mentioned flow media data packet is deposited into broadcasting caching.
S104, the flow media data packet being stored in above-mentioned broadcasting caching is played.
Specifically, it when the data volume for playing the stream medium data being stored in caching reaches preset threshold, plays slow The flow media data packet being stored in depositing.It should be noted that above-mentioned preset threshold, which can be user oneself, sets ground, it can also To be DST PLAYER setting, reacts, after the buffering of certain time, then start play stream media data.
Stream medium data playback method provided in this embodiment, DST PLAYER is in play stream media data, simultaneously The flow media data packet of the same business of receiving multicast business channel and dedicated service channel transfer, above-mentioned flow media data packet are taken Tape identification information;And according to above-mentioned identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of above-mentioned Streaming Media Data packet;When above-mentioned flow media data packet is not present in above-mentioned broadcasting caching, then above-mentioned flow media data packet is deposited into above-mentioned It plays in caching.In this way, can avoid in the prior art, only selecting the data transmitted on one of channel, when the channel uploads When packet loss phenomenon occurs for defeated data, the data for the same business transmitted on another channel can not be efficiently used, because packet loss is existing As existing, the problem of result of broadcast difference.Stream medium data playback method provided in this embodiment can effectively avoid packet loss existing As result of broadcast is preferable.
Further, in this embodiment above-mentioned identification information is the sequence number or synchronization that flow media data packet packet header carries Source identifier, above-mentioned sequence number or above-mentioned synchronous source identifier are sealed in transmitting terminal or network application layer streaming media data It is generated when packet processing in flow media data packet packet header.
Specifically, according to Real-time Transport Protocol, transmitting terminal needs convection current matchmaker for before transmission of flow media data to network application layer Volume data carries out package processing, to generate flow media data packet.Package processing is carried out in transmitting terminal streaming media data packet to generate During flow media data packet, the flow media data packet packet header can generate corresponding sequence number (Sequence number) and Synchronization identifier (Synchronization source identifier), for the stream medium data of different content, Streaming Media The sequence number and synchronization identifier that packet header generates are different, and therefore, can pass through above-mentioned sequence number and sync id It accords with to distinguish the flow media data packet of different content.
In addition, after flow media data packet is sent network application layer by transmitting terminal, when receiving end is sent out to network application layer It rises when needing to obtain the stream medium data of a certain business, the stream medium data of the business can directly be forwarded and be sent by network application layer To receiving end, at this point, sequence number or synchronous source identifier that the flow media data packet packet header that receiving end receives carries are to send out It is generated when the progress package processing of sending end streaming media data in flow media data packet packet header.Certainly, in transmitting terminal by Streaming Media After data packet is sent to network application layer, when receiving end initiates to need to obtain the stream medium data of a certain business to network application layer When, at this point, network application layer can re-start package processing to the stream medium data of the business, after later again handling package Stream medium data be sent to receiving end, at this point, the sequence number or same that flow media data packet packet header for receiving of receiving end carries Step source identifier is then to generate when network application layer streaming media data carry out package processing in flow media data packet packet header.
Stream medium data playback method provided in this embodiment, the sequence number carried by flow media data packet packet header or same Source identifier is walked to distinguish the different stream medium data of content, can avoid the identical two stream matchmakers of content of two channel transfers Volume data is all deposited into broadcasting caching, and then appearance the case where avoid the identical stream medium data of content from being played twice, and plays Effect is preferable.
Further, in the present embodiment, above-mentioned steps S104 specifically: carried according to above-mentioned flow media data packet packet header Sequence number, the flow media data packet being stored in played in order above-mentioned broadcasting caching.
Specifically, in this step, DST PLAYER has been deposited in play stream media data according to playing in caching The flow media data packet packet header entered carries sequence number, successively takes out flow media data packet composition speech frame and/or video frame, and lead to It crosses after above-mentioned speech frame and/or video frame are decoded by decoder and is sent in player, play out sound and/or video.
Further, above-mentioned according to above-mentioned identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of upper After stating flow media data packet, further includes:
If either, above-mentioned broadcasting caching is without remaining cache there are when above-mentioned flow media data packet in above-mentioned broadcasting caching When space, either, when above-mentioned identification information fails, then above-mentioned flow media data packet is abandoned.
Specifically, by judgement, if sequence number and broadcasting that the flow media data packet packet header that discovery receives carries cache In the sequence number that carries of some flow media data packet packet header for being stored in it is identical.Either, by judgement, discovery is received The synchronous source identifier that carries of flow media data packet packet header and play some flow media data packet for being stored in caching The synchronous source identifier that packet header carries is identical, at this point, then judging to have existed above content Streaming Media number in above-mentioned broadcasting caching According to packet, at this point, the flow media data packet received is abandoned.
It should be noted that referring to the flow media data packet received when above-mentioned identification information fails and having played A certain flow media data packet be the identical flow media data packet of content, due to stream matchmaker identical with the flow media data packet content Volume data packet has played, then it is assumed that the stream medium data is no longer valid.
Below with reference to stream medium data playback method provided in this embodiment, simple declaration executes the stream matchmaker of this method step The structure composition of body player.Fig. 2 is the schematic diagram of DST PLAYER embodiment one of the present invention.As shown in Fig. 2, the present embodiment The DST PLAYER of offer, comprising: receiving module 100, judgment module 200, cache module 300, playing module 400;Wherein:
Receiving module 100, the Streaming Media for receiving multicast business channel and the same business of dedicated service channel transfer Data packet, above-mentioned flow media data packet carry identification information;
Judgment module 200, for judging in the broadcasting caching of DST PLAYER with the presence or absence of stream matchmaker according to identification information Volume data packet;
Cache module 300, for will flow when judgment module 200 judges to play and flow media data packet is not present in caching Media data packet is deposited into broadcasting caching;
Playing module 400, for playing the flow media data packet being stored in above-mentioned broadcasting caching.
It should be noted that in the present embodiment, DST PLAYER is by the multicast service channel received and dedicated industry The flow media data packet of the same business for channel transfer of being engaged in is deposited into the same broadcasting caching.
Specifically, above-mentioned apparatus is introduced in realization principle and embodiment of the method for executing preceding method embodiment Similar, details are not described herein.
DST PLAYER provided in this embodiment, receiving module while receiving multicast business channel and dedicated service channel The flow media data packet of the same business of transmission, above-mentioned flow media data packet carry identification information;Judgment module is according to above-mentioned Identification information judges in the broadcasting caching of DST PLAYER with the presence or absence of above-mentioned flow media data packet;When above-mentioned broadcasting caches In be not present above-mentioned flow media data packet, cache module by above-mentioned flow media data packet be deposited into broadcasting caching in, can be effectively The generation of packet loss phenomenon is avoided, result of broadcast is preferable.
Further, in the present embodiment, above-mentioned identification information is the sequence number that above-mentioned flow media data packet packet header carries Or synchronous source identifier, above-mentioned sequence number or above-mentioned synchronous source identifier are in transmitting terminal or network application layer streaming media data It is generated when progress package processing in flow media data packet packet header.
Further, in this embodiment above-mentioned playing module 400, is specifically used for,
According to the sequence number that above-mentioned flow media data packet packet header carries, it has been stored in the above-mentioned broadcasting caching of played in order Flow media data packet.
Specifically, above-mentioned apparatus is introduced in realization principle and embodiment of the method for executing preceding method embodiment Similar, details are not described herein.
Embodiment two
The present embodiment provides a kind of stream medium data playback method and DST PLAYERs.Fig. 3 is Streaming Media number of the present invention According to the flow chart of player embodiment two, as shown in figure 3, stream medium data playback method provided in this embodiment, equally includes Such as each step that embodiment one is introduced, stream medium data playback method provided in this embodiment, the difference with embodiment one It is, stream medium data playback method provided in this embodiment, in step s 201, above-mentioned identification information is above-mentioned Streaming Media number According to the sequence number carried in packet extension header;Above-mentioned sequence number is to increase in network application layer the flow media data packet received It is generated during extension header.In step S204, be according to the sequence number carried in flow media data packet extension header, The flow media data packet being stored in the above-mentioned broadcasting caching of played in order.In addition, stream medium data provided in this embodiment is broadcast It is similar with the step S102 and S103 in embodiment one to put method, step S202 and step S203, details are not described herein again.
Specifically, the flow media data packet for sealing packet is sent network application layer by transmitting terminal, when receiving end is answered to network When needing to obtain the stream medium data of a certain business with layer initiation, network application layer is to the flow media data packet of the business according to one Fixed rule increases extension header, and in corresponding extension header formation sequence number, and above-mentioned sequence number can distinguish content not Same flow media data packet, the i.e. different flow media data packet of content, the sequence number that extension header carries are different.Work as net After network application layer streaming media data packet has increased extension header, the flow media data packet of the business is passed through group by network application layer Service channel and dedicated service channel transfer are broadcast to receiving end.Correspondingly, which supports to above-mentioned flow media data packet packet The extension of head can identify whether flow media data packet has head extension according to the extension flag position in above-mentioned flow media data packet packet header; If there is head extends, corresponding sequence number can be read out from extension header.In this way, judgment module can be according to above-mentioned extension The sequence number carried in packet header judges to play in caching with the presence or absence of stream matchmaker identical with the flow media data packet content received Volume data packet.
Specifically, in step S204, in DST PLAYER play stream media data, according to play caching in The sequence number carried in the flow media data packet extension header of deposit, successively take out flow media data packet composition speech frame and/or Video frame, and player will be sent to after above-mentioned speech frame and/or video frame decoding by decoder, play out sound and/or view Frequently.
Stream medium data playback method provided in this embodiment passes through the sequence carried in flow media data packet extension header It number distinguishes the different stream medium data of content, can avoid for the stream medium data of identical content being deposited into broadcasting caching, in turn The case where avoiding the identical stream medium data of content from being played twice appearance, result of broadcast are preferable.
Below with reference to stream medium data playback method provided in this embodiment, simple introduce executes above method embodiment The structure of DST PLAYER.Referring to figure 2., the stream matchmaker that DST PLAYER provided in this embodiment and a upper embodiment provide Body player structure is consistent, the area of the DST PLAYER of DST PLAYER provided in this embodiment and the offer of a upper embodiment It is not, DST PLAYER provided in this embodiment, the identification information that the received flow media data packet of receiving module 100 carries For the sequence number carried in above-mentioned flow media data packet extension header;Above-mentioned sequence number is in network application layer to the stream received What media data packet generated during increasing extension header.
Further, in this embodiment playing module 400, is specifically used for,
According to the sequence number carried in above-mentioned flow media data packet extension header, in the above-mentioned broadcasting caching of played in order The flow media data packet of deposit.
Specifically, above-mentioned apparatus is introduced in realization principle and embodiment of the method for executing preceding method embodiment Similar, details are not described herein.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of stream medium data playback method, which comprises the steps of:
According to the stream medium data in real-time transport protocol receiving multicast business channel and the same business of dedicated service channel transfer Packet, the flow media data packet carry identification information;
According to the identification information, judge in the broadcasting caching of DST PLAYER with the presence or absence of the flow media data packet;
If the flow media data packet is not present in the broadcasting caching, the flow media data packet is deposited into the broadcasting In caching;
Play the flow media data packet for playing and being stored in caching.
2. stream medium data playback method according to claim 1, which is characterized in that the identification information is the stream matchmaker The sequence number or synchronous source identifier that volume data packet packet header carries, the sequence number or the synchronous source identifier are in transmitting terminal Or generated when the progress package processing of network application layer streaming media data in flow media data packet packet header.
3. stream medium data playback method according to claim 2, which is characterized in that described to play in the broadcasting caching The flow media data packet being stored in specifically:
According to the sequence number that the flow media data packet packet header carries, the stream matchmaker being stored in caching is played described in played in order Volume data packet.
4. stream medium data playback method according to claim 1, which is characterized in that the identification information is the stream matchmaker The sequence number carried in volume data packet extension header;The sequence number is in network application layer to the flow media data packet received It is generated during increasing extension header.
5. stream medium data playback method according to claim 4, which is characterized in that described to play in the broadcasting caching The flow media data packet being stored in specifically:
According to the sequence number carried in the flow media data packet extension header, it has been stored in broadcasting caching described in played in order Flow media data packet.
6. a kind of DST PLAYER characterized by comprising receiving module, judgment module, cache module, playing module;Its In:
The receiving module, for according to the same of real-time transport protocol receiving multicast business channel and dedicated service channel transfer The flow media data packet of business, the flow media data packet carry identification information;
The judgment module, for judging in the broadcasting caching of DST PLAYER with the presence or absence of institute according to the identification information State flow media data packet;
The cache module is used for when judgment module judges that the flow media data packet is not present in the broadcasting caching, will The flow media data packet is deposited into the broadcasting caching;
The playing module, for playing the flow media data packet being stored in the broadcasting caching.
7. DST PLAYER according to claim 6, which is characterized in that the identification information is the stream medium data Sequence number or synchronous source identifier that packet header carries are wrapped, the sequence number or the synchronous source identifier are in transmitting terminal or network It is generated when the progress package processing of application layer streaming media data in flow media data packet packet header.
8. DST PLAYER according to claim 7, which is characterized in that the playing module is specifically used for,
According to the sequence number that the flow media data packet packet header carries, the stream matchmaker being stored in caching is played described in played in order Volume data packet.
9. DST PLAYER according to claim 6, which is characterized in that the identification information is the stream medium data The sequence number carried in packet extension header;The sequence number is to increase in network application layer the flow media data packet received to expand It is generated during exhibition packet header.
10. DST PLAYER according to claim 9, which is characterized in that the playing module is specifically used for,
According to the sequence number carried in the flow media data packet extension header, it has been stored in broadcasting caching described in played in order Flow media data packet.
CN201610538916.1A 2016-07-11 2016-07-11 Stream medium data playback method and player Active CN107613367B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610538916.1A CN107613367B (en) 2016-07-11 2016-07-11 Stream medium data playback method and player

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610538916.1A CN107613367B (en) 2016-07-11 2016-07-11 Stream medium data playback method and player

Publications (2)

Publication Number Publication Date
CN107613367A CN107613367A (en) 2018-01-19
CN107613367B true CN107613367B (en) 2019-12-03

Family

ID=61054673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610538916.1A Active CN107613367B (en) 2016-07-11 2016-07-11 Stream medium data playback method and player

Country Status (1)

Country Link
CN (1) CN107613367B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697354A (en) * 2005-06-17 2005-11-16 顾红波 Method for reliable transmitting data through multicast and unicast protocol, and host of receiving data
CN101227745A (en) * 2008-02-02 2008-07-23 华为软件技术有限公司 System, apparatus and method for switching network of mobile multimedia business
CN101257374A (en) * 2007-03-01 2008-09-03 鼎桥通信技术有限公司 Method and system for realizing parallel transmission of broadcast/multicasting service and special service
CN101969431A (en) * 2010-09-28 2011-02-09 广东威创视讯科技股份有限公司 Method for implementing unicast and multicast seamless switching for streaming media play
CN103685314A (en) * 2013-12-27 2014-03-26 广东威创视讯科技股份有限公司 Method for achieving seamless switching of unicast and multicast of stream media playing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7430222B2 (en) * 2004-02-27 2008-09-30 Microsoft Corporation Media stream splicer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1697354A (en) * 2005-06-17 2005-11-16 顾红波 Method for reliable transmitting data through multicast and unicast protocol, and host of receiving data
CN101257374A (en) * 2007-03-01 2008-09-03 鼎桥通信技术有限公司 Method and system for realizing parallel transmission of broadcast/multicasting service and special service
CN101227745A (en) * 2008-02-02 2008-07-23 华为软件技术有限公司 System, apparatus and method for switching network of mobile multimedia business
CN101969431A (en) * 2010-09-28 2011-02-09 广东威创视讯科技股份有限公司 Method for implementing unicast and multicast seamless switching for streaming media play
CN103685314A (en) * 2013-12-27 2014-03-26 广东威创视讯科技股份有限公司 Method for achieving seamless switching of unicast and multicast of stream media playing

Also Published As

Publication number Publication date
CN107613367A (en) 2018-01-19

Similar Documents

Publication Publication Date Title
CN101917389B (en) Network television direct broadcasting system
CN102742249B (en) Method, system and device for synchronization of media streams
CN102739627B (en) Method and system for switching and playing video
US20130294747A1 (en) Content playing device, content playing method, distribution system, content playing program, recording medium, and data structure
CN102333083B (en) A kind of method and system of transmission data
WO2008028367A1 (en) A method for realizing multi-audio tracks for mobile mutilmedia broadcasting system
JP2003304511A (en) Communication terminal, server apparatus, relay apparatus, broadcast communication system, broadcast communication method, and program
WO2016203850A1 (en) Reception apparatus, transmission apparatus, and data processing method
CN103648011B (en) A kind of audio-visual synchronization apparatus and method based on HLS protocol
CN107295364B (en) For the real-time streaming transport control method of barrage video, control device
JP2004272712A (en) Receiving device and information browsing method
CN102469346B (en) Method and system for generating interactive film played at one-way digital television receiving terminal
CN112751849B (en) Conference control method, device, equipment and medium based on video networking
CN106385525A (en) Video play method and device
JPWO2017047434A1 (en) Transmitting apparatus, receiving apparatus, and data processing method
CN105900443A (en) Method and system for synchronizing media streams
JP2011087070A (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
CN107613367B (en) Stream medium data playback method and player
US20110136526A1 (en) Apparatus and method for allocating multicast connection indetifier in wireless access system
CN101151897B (en) Apparatus and method for processing data in digital broadcasting receiver
CN110677394B (en) Multimedia data transmission method and system
KR20110139525A (en) Method and apparatus for random access of multimedia contents in wireless communication system
WO2014036873A1 (en) Method for sharing transport stream
EP2654311B1 (en) Synchronization method and synchronization apparatus for multicast group quick access, and terminal
WO2009140909A1 (en) Method and system for forcibly transferring multicast message, route apparatus and terminal apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant