CN106658177A - Code stream safe broadcasting method and device - Google Patents

Code stream safe broadcasting method and device Download PDF

Info

Publication number
CN106658177A
CN106658177A CN201510740683.9A CN201510740683A CN106658177A CN 106658177 A CN106658177 A CN 106658177A CN 201510740683 A CN201510740683 A CN 201510740683A CN 106658177 A CN106658177 A CN 106658177A
Authority
CN
China
Prior art keywords
code stream
channel
wrong
decoded
packet loss
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.)
Withdrawn
Application number
CN201510740683.9A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510740683.9A priority Critical patent/CN106658177A/en
Priority to PCT/CN2016/104583 priority patent/WO2017076325A1/en
Publication of CN106658177A publication Critical patent/CN106658177A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/454Content or additional data filtering, e.g. blocking advertisements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a code stream safe broadcasting method and device. The code stream safe broadcasting method comprises the steps of receiving a channel code stream uploaded by a channel server and detection data acquired by the channel server through performing detection on the channel code stream; detecting the channel code stream according to the detection data, filtering out an error code stream, and outputting a code stream to be decoded; and decoding the code stream to be decoded, and acquiring audio and video data to play. The code stream safe broadcasting method solves a problem of abnormal decoding possibly occurred in directly performing decoding on the received channel code stream in the prior art through a mode of firstly carrying out detection and filtering on the received channel code stream and then performing decoding.

Description

A kind of method and device of code stream safe broadcast
Technical field
The present embodiments relate to IPTV IPTV technical fields, and more particularly, to A kind of method and device of code stream safe broadcast.
Background technology
With the continuous development of Web TV technology, IPTV becomes the important tool that people obtain information. And the code stream safe broadcast of IPTV is always the most basic requirement of bandwidth operator and content supplier, IPTV The content through content supplier's examination & verification can only be broadcasted, streaming media server is will to take from channel in prior art The code stream that business device is received is directly decoded, but the content that content supplier provides may in network transmission Because the reasons such as malicious interference or transmission fault cause output code flow mistake, decoding exception is in turn resulted in, it is right The safe broadcast of IPTV contents is challenged.
The content of the invention
The embodiment of the present invention provides a kind of method and device of code stream safe broadcast, direct to solve prior art Channel code stream to receiving is decoded, in fact it could happen that the abnormal problem of decoding.
First aspect, there is provided a kind of method of code stream safe broadcast, the method includes:Receive channel service Device upload channel code stream and channel server channel code stream is detected obtained by detection data;According to Detection data detects to channel code stream, filters out wrong code stream therein, and exports code stream to be decoded; Treat decoded bit stream to be decoded, obtain the audio, video data for playing.
Alternatively, the channel code stream and channel server for receiving channel server upload is examined to channel code stream Detection data obtained by surveying, specially:Receive channel code stream and channel server that channel server is uploaded The packet loss of the channel code stream obtained by being detected to channel code stream;
Wherein, channel code stream is detected according to detection data, filters out wrong code stream therein, and it is defeated The step of going out code stream to be decoded, including:Channel code stream is detected according to packet loss, is filtered out therein Mistake code stream, and export code stream to be decoded.
Alternatively, the step of channel code stream being detected according to packet loss, including:By packet loss with it is default Packet loss is contrasted, and when packet loss no more than default packet loss, mark channel code stream is normal code stream, when The channel code stream is marked when packet loss is more than default packet loss for wrong code stream.
Alternatively, channel code stream is detected according to detection data, filters out wrong code stream therein, and The step of exporting code stream to be decoded includes:Wrong code stream in marking band code stream;According to the group of wrong code stream The quantity of address and port is broadcast, the type of wrong code stream is marked;According to the type of wrong code stream, to mistake Code stream is filtered, and exports code stream to be decoded.
Alternatively, according to the multicast address and the quantity of port of wrong code stream, the type of wrong code stream is marked The step of, including:When wrong code stream contains multiple identical multicast address and port, marked erroneous code stream Type be abnormal code stream;When the channel received in the multicast address and port and Preset Time of wrong code stream When the multicast address of code stream is identical with port, the type of marked erroneous code stream is repetition code stream.
Alternatively, according to the type of wrong code stream, wrong code stream is filtered, and exports code stream to be decoded The step of, including:When the type of wrong code stream is to repeat code stream, wrong code stream is filtered out;Work as error code When the type of stream is abnormal code stream, retain the first code stream in wrong code stream, filter out in addition to the first code stream Other code streams, and export the first code stream as code stream to be decoded.
Second aspect, additionally provides a kind of device of code stream safe broadcast, and the device includes:Receiver module, Obtained by channel code stream and channel server for receiving channel server upload is detected to channel code stream The detection data for arriving;Filtering module, for detecting to channel code stream according to detection data, filters out it In wrong code stream, and export code stream to be decoded;Decoder module, is decoded for treating decoded bit stream, Obtain the audio, video data for playing.
Alternatively, the receiver module specifically for:Receive channel code stream and channel that channel server is uploaded Server channel code stream is detected obtained by channel code stream packet loss;
Wherein, filtering module specifically for:Channel code stream is detected according to packet loss, is filtered out wherein Wrong code stream, and export code stream to be decoded.
Alternatively, filtering module specifically for:Packet loss is contrasted with default packet loss, is worked as packet loss Mark channel code stream is normal code stream when no more than presetting packet loss, when packet loss is more than default packet loss markers Note channel code stream is wrong code stream.
Alternatively, the filtering module includes:First indexing unit, for the mistake in marking band code stream Code stream;Second indexing unit, for according to the quantity of the multicast address of wrong code stream and port, mark error The type of error code stream;Filter element, for according to the type of wrong code stream, filtering to wrong code stream, And export code stream to be decoded.
Alternatively, the second indexing unit specifically for:When wrong code stream contain multiple identical multicast address and During port, the type of marked erroneous code stream is abnormal code stream;When wrong code stream multicast address and port with it is pre- If the multicast address of the channel code stream received in the time is identical with port, the type of marked erroneous code stream is Repeat code stream.
Alternatively, filter element specifically for:When the type of wrong code stream is to repeat code stream, mistake is filtered out Error code stream;When the type of wrong code stream is abnormal code stream, retain the first code stream in wrong code stream, filter Fall other code streams in addition to the first code stream, and export the first code stream as code stream to be decoded.
The method and device of code stream safe broadcast has the beneficial effect that described in the specific embodiment of the invention:
The present invention is entered by receiving the channel code stream and channel server of channel server upload to channel code stream Detection data obtained by row detection;Channel code stream is detected according to detection data, is filtered out therein Mistake code stream, and export code stream to be decoded;Treat decoded bit stream to be decoded, obtain the sound for playing and regard Frequency evidence.Improve channel code stream of the prior art directly to receiving to decode, in fact it could happen that decoding is different Normal problem.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be to embodiment or prior art The accompanying drawing to be used needed for description is briefly described, it should be apparent that, drawings in the following description are only It is some embodiments of the present invention, for those of ordinary skill in the art, is not paying creative work Property on the premise of, can be obtaining other accompanying drawings according to these accompanying drawings.
Fig. 1 is the flow chart of the method for the code stream safe broadcast of the first embodiment of the present invention;
Fig. 2 is the flow chart of the method for the code stream safe broadcast of the second embodiment of the present invention;
Fig. 3 is the flow chart of the method for the code stream safe broadcast of the third embodiment of the present invention;
Fig. 4 is the structure chart of the device of the code stream safe broadcast of the fourth embodiment of the present invention;
Fig. 5 is the structure chart of the device of the code stream safe broadcast of the fifth embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation Property work under the premise of the every other embodiment that obtained belong to the scope of protection of the invention.
First embodiment
Fig. 1 is referred to, Fig. 1 shows the method for the code stream safe broadcast in the first embodiment of the present invention Flow chart, comprises the following steps that:
Step 101, receive the channel code stream and channel server of channel server upload is carried out to channel code stream Detection data obtained by detection.
It should be noted that the channel server that the channel server received in step 101 is uploaded is to channel code Stream detected obtained by detection data can be channel code stream packet loss, or other can use To judge whether channel code stream transmits normal data, it is of course possible to be understood by, the present embodiment is not limited The specific data type of the detection data for receiving.
Step 102, detects according to detection data to channel code stream, filters out wrong code stream therein, And export code stream to be decoded.
It should be noted that step 102 is detected according to detection data to channel code stream, filter out wherein Wrong code stream, concretely comprise the following steps:Wrong code stream first in marking band code stream;Then according to error code The multicast address of stream and the quantity of port, mark the type of wrong code stream;Finally according to the class of wrong code stream Type, filters to wrong code stream.
Wherein, it can be according to channel code stream channel code stream to be divided into into normal code stream and the method for wrong code stream Packet loss, specifically, the packet loss of channel code stream is contrasted with default packet loss, when packet loss it is little Mark channel code stream is normal code stream when default packet loss, the mark frequency when packet loss is more than default packet loss Road code stream is wrong code stream.Of course, it should be understood that the present embodiment is not limited for distinguishing channel code stream It is the specific method of normal code stream or wrong code stream.
For the type of wrong code stream, the present embodiment mainly enumerates two kinds.A kind of wrong code stream is that code stream is being passed Due to some cause specifics during defeated, such as business networking exception or switch configure improper reason, cause Channel code stream is duplicated into as living two parts in transmitting procedure, and now channel code stream can not be normal Decoding, is abnormal code stream.Another kind of mistake code stream is in the multicast address and port numbers and certain hour of code stream An original channel code stream multicast address it is identical with port numbers, therefore the wrong code stream can be to original channel code The raw interference of miscarriage, now the wrong code stream attach most importance to multiple code stream.For example, the multicast address of original code stream 1 is 239.255.1.1, port numbers are 1234;Meanwhile, the multicast address of code stream 2 also uses 239.255.1.1, Port numbers are similarly 1234.So code stream 2 will produce interference to code stream 1, and code stream 2 is exactly duplication code Stream.
For the method for the type for marking wrong code stream can be multicast address in wrong code stream and Port number judged, specifically, when wrong code stream contains multiple identical multicast address and port, The type of marked erroneous code stream is abnormal code stream;When in the multicast address and port and Preset Time of wrong code stream When the multicast address of the channel code stream for receiving is identical with port, the type of marked erroneous code stream is repetition code stream. Of course, it should be understood that the present embodiment does not limit the specific determination methods of the type of misjudgment code stream.
And for the filtration of wrong code stream, specifically, when the type of wrong code stream is to repeat code stream, filtering Fall wrong code stream;When the type of wrong code stream is abnormal code stream, retain the first code stream in wrong code stream, Filter out other code streams in addition to the first code stream.Wherein, the first code stream can be any one in abnormal code stream Code stream with normal multicast address and port.
Step 103, treats decoded bit stream and is decoded, and obtains the audio, video data for playing.
It should be noted that the code stream to be decoded in step 103 is the channel code stream through detecting and filter, Can be normal channel code stream itself, it is also possible to code stream resulting after filter is flow through to error code.
The present embodiment is by receiving the channel code stream and channel server of channel server upload to channel code stream Detection data obtained by being detected;Channel code stream is detected according to detection data, is filtered out wherein Wrong code stream, and export code stream to be decoded;Treat decoded bit stream to be decoded, obtain the sound for playing Video data.Improve channel code stream of the prior art directly to receiving to decode, in fact it could happen that decoding Abnormal problem.
Second embodiment
Fig. 2 is referred to, Fig. 2 shows the stream of the method for code stream safe broadcast in the second embodiment of the present invention Cheng Tu, comprises the following steps that:
Step 201, receive the channel code stream and channel server of channel server upload is carried out to channel code stream Detection data obtained by detection.
It should be noted that the channel server that the channel server received in step 201 is uploaded is to channel code Stream detected obtained by detection data can be channel code stream packet loss, or other can use To judge whether channel code stream transmits normal data, it is of course possible to be understood by, the present embodiment is not limited The specific data type of the detection data for receiving.
Step 202, the wrong code stream in marking band code stream.
It should be noted that the method for the wrong code stream in step 202 marking band code stream can be according to frequency The packet loss of road code stream, specifically, the packet loss of channel code stream is contrasted with default packet loss, when losing Mark channel code stream is normal code stream when bag rate no more than presets packet loss, when packet loss is more than default packet loss When mark channel code stream be wrong code stream.Of course, it should be understood that the present embodiment is not limited for marking The specific method of the wrong code stream in channel code stream.
Step 203, according to the multicast address and the quantity of port of wrong code stream, marks the class of wrong code stream Type.
It should be noted that for the type of the wrong code stream mentioned in step 203, the present embodiment is mainly arranged Lift two kinds.A kind of wrong code stream be code stream in transmitting procedure due to some cause specifics, such as business networking is different Normal or switch configures the reason such as improper, causes channel code stream to be duplicated in transmitting procedure as striking resemblances Two parts, now channel code stream can not be abnormal code stream by normal decoder.Another kind of mistake code stream is code stream Multicast address and port numbers and certain hour in an original channel code stream multicast address and port numbers phase Together, therefore the wrong code stream can produce interference to original channel code stream, now the wrong code stream is attached most importance to multiple code stream. For example, the multicast address of original code stream 1 is 239.255.1.1, and port numbers are 1234.Meanwhile, code stream 2 Multicast address also uses 239.255.1.1, port numbers to be similarly 1234.So code stream 2 will be to code stream 1 Interference is produced, code stream 2 is exactly to repeat code stream.
For the method for the type for marking wrong code stream can be multicast address in wrong code stream and Port number judged, specifically, when wrong code stream contains multiple identical multicast address and port, The type of marked erroneous code stream is abnormal code stream;When in the multicast address and port and Preset Time of wrong code stream When the multicast address of the channel code stream for receiving is identical with port, the type of marked erroneous code stream is repetition code stream. Of course, it should be understood that the present embodiment does not limit the specific labeling method of the type of marked erroneous code stream.
Step 204, according to the type of wrong code stream, filters to wrong code stream, and exports code to be decoded Stream.
It should be noted that in step 204, according to the type of wrong code stream, wrong code stream is filtered, Specifically, when the type of wrong code stream is to repeat code stream, filtering out wrong code stream;When the class of wrong code stream When type is abnormal code stream, retain the first code stream in wrong code stream, filter out other codes in addition to the first code stream Stream, and export the first code stream as code stream to be decoded.Wherein, the first code stream can be in abnormal code stream Any one code stream with normal multicast address and port.
Step 205, treats decoded bit stream and is decoded, and obtains the audio, video data for playing.
It should be noted that the code stream to be decoded in step 205 is the channel code stream through detecting and filter, Can be normal channel code stream itself, it is also possible to code stream resulting after filter is flow through to error code.
The present embodiment is by receiving the channel code stream and channel server of channel server upload to channel code stream Detection data obtained by being detected;Wrong code stream in marking band code stream;According to the group of wrong code stream The quantity of address and port is broadcast, the type of wrong code stream is marked;According to the type of wrong code stream, to mistake Code stream is filtered, and exports code stream to be decoded;Treat decoded bit stream to be decoded, obtain for broadcasting Audio, video data.Improve channel code stream of the prior art directly to receiving to decode, in fact it could happen that solution The abnormal problem of code.
3rd embodiment
Fig. 3 is referred to, Fig. 3 shows the stream of the method for code stream safe broadcast in the third embodiment of the present invention Cheng Tu, comprises the following steps that:
Step 301, receive the channel code stream and channel server of channel server upload is carried out to channel code stream The packet loss of the channel code stream obtained by detection, subsequently into step 302.
Whether step 302, judge packet loss more than default packet loss, when packet loss is more than default packet loss Into step 304, otherwise into step 303.
Step 303, marking band code stream is normal code stream, subsequently into step 307.
Step 304, marking band code stream is wrong code stream, subsequently into step 305.
Step 305, according to the multicast address and the quantity of port of wrong code stream, marks the class of wrong code stream Type, subsequently into step 306.
It should be noted that for the type of the wrong code stream mentioned in step 305, the present embodiment is mainly arranged Lift two kinds.A kind of wrong code stream be code stream in transmitting procedure due to some cause specifics, such as business networking is different Normal or switch configures the reason such as improper, causes channel code stream to be duplicated in transmitting procedure as striking resemblances Two parts, now channel code stream can not be abnormal code stream by normal decoder.Another kind of mistake code stream is code stream Multicast address and port numbers and certain hour in an original channel code stream multicast address and port numbers phase Together, therefore the wrong code stream can produce interference to original channel code stream, now the wrong code stream is attached most importance to multiple code stream. For example, the multicast address of original code stream 1 is 239.255.1.1, and port numbers are 1234.Meanwhile, code stream 2 Multicast address also uses 239.255.1.1, port numbers to be similarly 1234.So code stream 2 will be to code stream 1 Interference is produced, code stream 2 is exactly to repeat code stream.
For the method for the type for marking wrong code stream can be multicast address in wrong code stream and Port number judged, specifically, when wrong code stream contains multiple identical multicast address and port, The type of marked erroneous code stream is abnormal code stream;When in the multicast address and port and Preset Time of wrong code stream When the multicast address of the channel code stream for receiving is identical with port, the type of marked erroneous code stream is repetition code stream. Of course, it should be understood that the present embodiment does not limit the specific labeling method of the type of marked erroneous code stream.
Step 306, according to the type of wrong code stream, filters, subsequently into step 307 to wrong code stream.
It should be noted that in step 306, according to the type of wrong code stream, wrong code stream is filtered, Specifically, when the type of wrong code stream is to repeat code stream, filtering out wrong code stream;When the class of wrong code stream When type is abnormal code stream, retain the first code stream in wrong code stream, filter out other codes in addition to the first code stream Stream, and export the first code stream as code stream to be decoded.Wherein, the first code stream can be in abnormal code stream Any one code stream with normal multicast address and port.
Step 307, exports code stream to be decoded, subsequently into step 308.
It should be noted that the code stream to be decoded of step 307 output is the channel code stream through detecting and filter, When channel code stream is normal code stream, directly export channel code stream as code stream to be decoded;Work as channel code stream For wrong code stream when, channel code stream is filtered, using the code stream obtained after filtration as code stream to be decoded.
Step 308, treats decoded bit stream and is decoded, and obtains the audio, video data for playing.
The present embodiment is by receiving the channel code stream and channel server of channel server upload to channel code stream The packet loss of the channel code stream obtained by being detected;Packet loss is contrasted with default packet loss, when losing Mark channel code stream is normal code stream when bag rate no more than presets packet loss, when packet loss is more than default packet loss When mark channel code stream be wrong code stream;According to the multicast address and the quantity of port of wrong code stream, mark The type of mistake code stream;According to the type of wrong code stream, wrong code stream is filtered, and export to be decoded Code stream;Treat decoded bit stream to be decoded, obtain the audio, video data for playing.Improve prior art Directly the channel code stream to receiving is decoded, in fact it could happen that the abnormal problem of decoding.
Fourth embodiment
Fig. 4 is referred to, Fig. 4 shows the knot of the device of code stream safe broadcast in the fourth embodiment of the present invention Composition, concrete structure includes receiver module 401, filtering module 402 and decoder module 403, wherein:
Receiver module 401, for receiving the channel code stream and channel server of channel server upload to channel Code stream detected obtained by detection data.
Filtering module 402, for detecting to channel code stream according to detection data, filters out mistake therein Error code stream, and export code stream to be decoded.
Decoder module 403, is decoded for treating decoded bit stream, obtains the audio, video data for playing.
On the basis of Fig. 4, filtering module 402 specifically includes the first indexing unit 4021, second and marks Unit 4022 and filter element 4023, refer to Fig. 5, wherein:
First indexing unit 4021, for marking band code stream in wrong code stream.
Second indexing unit 4022, for according to the quantity of the multicast address of wrong code stream and port, mark Make mistake the type of code stream.
Filter element 4023 for according to the type of wrong code stream, filtering and defeated to wrong code stream Go out code stream to be decoded.
Said apparatus can realize each process that device is realized in the embodiment of Fig. 1 to Fig. 3, to avoid weight It is multiple, repeat no more here.
The present embodiment is by receiving the channel code stream and channel server of channel server upload to channel code stream Detection data obtained by being detected;Channel code stream is detected according to detection data, is filtered out wherein Wrong code stream, and export code stream to be decoded;Treat decoded bit stream to be decoded, obtain the sound for playing Video data.Improve channel code stream of the prior art directly to receiving to decode, in fact it could happen that decoding Abnormal problem.
Those of ordinary skill in the art are it is to be appreciated that respectively showing with reference to the embodiments described herein description The unit and algorithm steps of example, can be come with the combination of electronic hardware or computer software and electronic hardware Realize.These functions are performed with hardware or software mode actually, depending on the application-specific of technical scheme And design constraint.Professional and technical personnel can use different methods to realize to each specific application Described function, but this realization is it is not considered that beyond the scope of this invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, foregoing description System, device and unit specific work process, may be referred to the corresponding process in preceding method embodiment, Will not be described here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, Ke Yitong Cross other modes to realize.For example, device embodiment described above is only schematic, for example, The division of the unit, only a kind of division of logic function can have other division side when actually realizing Formula, such as multiple units or component can with reference to or be desirably integrated into another system, or some features can To ignore, or do not perform.It is another, shown or discussed coupling each other or direct-coupling or logical Letter connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, can be it is electrical, Mechanical or other forms.
It is described as separating component explanation unit can be or may not be it is physically separate, as The part that unit shows can be or may not be physical location, you can with positioned at a place, or Can also be distributed on multiple NEs.Can select according to the actual needs therein some or all of Unit is realizing the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, Can also be that unit is individually physically present, it is also possible to which two or more units are integrated in a unit In.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, the skill of the present invention Part that art scheme substantially contributes in other words to prior art or the part of the technical scheme can be with Embodied in the form of software product, the computer software product is stored in a storage medium, including Some instructions are used so that a computer equipment (can be that personal computer, server, or network set It is standby etc.) perform all or part of step of each embodiment methods described of the invention.And aforesaid storage medium Including:USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art the invention discloses technical scope in, can readily occur in Change or replacement, all should be included within the scope of the present invention.Therefore, protection scope of the present invention should It is defined by scope of the claims.

Claims (12)

1. a kind of method of code stream safe broadcast, it is characterised in that the method bag of the code stream safe broadcast Include:
Receive the channel code stream and the channel server of channel server upload is carried out to the channel code stream Detection data obtained by detection;
The channel code stream is detected according to the detection data, filters out wrong code stream therein, and Export code stream to be decoded;
The code stream to be decoded is decoded, the audio, video data for playing is obtained.
2. the method for claim 1, it is characterised in that what the reception channel server was uploaded Channel code stream and the channel server channel code stream is detected obtained by detection data, specifically For:
Receive the channel code stream and the channel server of channel server upload is carried out to the channel code stream The packet loss of the channel code stream obtained by detection;
Wherein, it is described the channel code stream is detected according to the detection data, filter out mistake therein Error code stream, and the step of export code stream to be decoded, including:
The channel code stream is detected according to the packet loss, filters out wrong code stream therein, and it is defeated Go out code stream to be decoded.
3. method as claimed in claim 2, it is characterised in that it is described according to the packet loss to described The step of channel code stream is detected, including:
The packet loss is contrasted with default packet loss, when the packet loss is not more than the default packet loss The channel code stream is marked during rate for normal code stream, the mark when the packet loss is more than the default packet loss The channel code stream is wrong code stream.
4. the method for claim 1, it is characterised in that it is described according to the detection data to institute The step of stating channel code stream to be detected, filter out wrong code stream therein, and export code stream to be decoded includes:
Mark the wrong code stream in the channel code stream;
According to the multicast address and the quantity of port of the wrong code stream, the type of the wrong code stream is marked;
According to the type of the wrong code stream, the wrong code stream is filtered, and export code stream to be decoded.
5. method as claimed in claim 4, it is characterised in that the group according to the wrong code stream The quantity of address and port is broadcast, the step of mark the type of the wrong code stream, including:
When the wrong code stream contains multiple identical multicast address and port, the wrong code stream is marked Type is abnormal code stream;
When the group of the channel code stream received in the multicast address and port and Preset Time of the wrong code stream Broadcast address it is identical with port when, mark the type of the wrong code stream to repeat code stream.
6. method as claimed in claim 5, it is characterised in that the class according to the wrong code stream Type, the step of filtering to the wrong code stream, and export code stream to be decoded, including:
When the type of the wrong code stream is to repeat code stream, the wrong code stream is filtered out;
When the type of the wrong code stream is abnormal code stream, retain the first code stream in the wrong code stream, Other code streams in addition to first code stream are filtered out, and using first code stream as the code stream to be decoded Output.
7. a kind of device of code stream safe broadcast, it is characterised in that the device bag of the code stream safe broadcast Include:
Receiver module, for receiving the channel code stream and the channel server of channel server upload to described Channel code stream detected obtained by detection data;
Filtering module, for being detected to the channel code stream according to the detection data, filters out wherein Wrong code stream, and export code stream to be decoded;
Decoder module, for decoding to the code stream to be decoded, obtains the audio, video data for playing.
8. device as claimed in claim 7, it is characterised in that the receiver module specifically for:
Receive the channel code stream and the channel server of channel server upload is carried out to the channel code stream The packet loss of the channel code stream obtained by detection;
Wherein, the filtering module specifically for:
The channel code stream is detected according to the packet loss, filters out wrong code stream therein, and it is defeated Go out code stream to be decoded.
9. device as claimed in claim 8, it is characterised in that the filtering module specifically for:
The packet loss is contrasted with default packet loss, when the packet loss is not more than the default packet loss The channel code stream is marked during rate for normal code stream, the mark when the packet loss is more than the default packet loss The channel code stream is wrong code stream.
10. device as claimed in claim 7, it is characterised in that the filtering module includes:
First indexing unit, for marking the channel code stream in wrong code stream;
Second indexing unit, for according to the quantity of the multicast address of the wrong code stream and port, marking The type of the wrong code stream;
Filter element, for according to the type of the wrong code stream, filtering to the wrong code stream, and Export code stream to be decoded.
11. device as claimed in claim 10, it is characterised in that second indexing unit is specifically used In:
When the wrong code stream contains multiple identical multicast address and port, the wrong code stream is marked Type is abnormal code stream;
When the group of the channel code stream received in the multicast address and port and Preset Time of the wrong code stream Broadcast address it is identical with port when, mark the type of the wrong code stream to repeat code stream.
12. devices as claimed in claim 11, it is characterised in that the filter element specifically for:
When the type of the wrong code stream is to repeat code stream, the wrong code stream is filtered out;
When the type of the wrong code stream is abnormal code stream, retain the first code stream in the wrong code stream, Other code streams in addition to first code stream are filtered out, and using first code stream as the code stream to be decoded Output.
CN201510740683.9A 2015-11-04 2015-11-04 Code stream safe broadcasting method and device Withdrawn CN106658177A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510740683.9A CN106658177A (en) 2015-11-04 2015-11-04 Code stream safe broadcasting method and device
PCT/CN2016/104583 WO2017076325A1 (en) 2015-11-04 2016-11-04 Code stream playing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510740683.9A CN106658177A (en) 2015-11-04 2015-11-04 Code stream safe broadcasting method and device

Publications (1)

Publication Number Publication Date
CN106658177A true CN106658177A (en) 2017-05-10

Family

ID=58661934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510740683.9A Withdrawn CN106658177A (en) 2015-11-04 2015-11-04 Code stream safe broadcasting method and device

Country Status (2)

Country Link
CN (1) CN106658177A (en)
WO (1) WO2017076325A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739715A (en) * 2019-01-22 2019-05-10 京东方科技集团股份有限公司 A kind of fault detection method and device
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116886678B (en) * 2023-09-06 2023-12-05 中移(杭州)信息技术有限公司 Abnormal code stream filtering method, system, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130821A (en) * 2010-08-11 2011-07-20 华为技术有限公司 Method and system for processing packet loss in international protocol television (IPTV) system as well as server
CN103200396A (en) * 2013-04-09 2013-07-10 广东粤铁瀚阳科技有限公司 Real-time video stream display method and system based on information display platform
EP2645711A1 (en) * 2012-03-28 2013-10-02 Nagravision S.A. Method to bind the use of a television receiver to a particular network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159843A (en) * 2007-10-29 2008-04-09 中兴通讯股份有限公司 Image switching method and system for improving video switch effect in video session
CN103297772A (en) * 2013-05-02 2013-09-11 深圳市比维视创科技有限公司 Method and system for processing transmission screen image and display equipment
CN103701634B (en) * 2013-12-10 2017-02-15 广州华多网络科技有限公司 Method and device for transmitting multimedia data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130821A (en) * 2010-08-11 2011-07-20 华为技术有限公司 Method and system for processing packet loss in international protocol television (IPTV) system as well as server
EP2645711A1 (en) * 2012-03-28 2013-10-02 Nagravision S.A. Method to bind the use of a television receiver to a particular network
CN103200396A (en) * 2013-04-09 2013-07-10 广东粤铁瀚阳科技有限公司 Real-time video stream display method and system based on information display platform

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109739715A (en) * 2019-01-22 2019-05-10 京东方科技集团股份有限公司 A kind of fault detection method and device
CN109739715B (en) * 2019-01-22 2022-07-29 京东方科技集团股份有限公司 Fault detection method and device
CN112735117A (en) * 2020-12-28 2021-04-30 深圳市路畅科技股份有限公司 Filtering method, system and application of IR analysis based on NEC standard

Also Published As

Publication number Publication date
WO2017076325A1 (en) 2017-05-11

Similar Documents

Publication Publication Date Title
CN104620235B (en) For the section boundary in adaptive crossfire and the system and method for identification
CN103299366B (en) Devices for encoding and detecting a watermarked signal
DE112017004230T5 (en) Systems and techniques for remote bus release
EP2051388B1 (en) Demodulation circuit, digital microwave system and demodulation method
CN106658177A (en) Code stream safe broadcasting method and device
EP2317657A2 (en) Apparatus for adaptable/variable type modulation and demodulation in digital tx/rx system
CN106170966A (en) Transmission equipment, transmission method, reception equipment and method of reseptance
RU2012118254A (en) DEVICE FOR TRANSMISSION OF PROTOCOL DATA UNIT FOR MACHINE ACCESS CONTROL LEVEL "MAC PDU" WITH AN EXTENDED HEAD OF FRAGMENTATION AND COMBINING AND AN APPROPRIATE METHOD
RU2010150108A (en) QUICK CHANNEL CHANGE AND HIGH QUALITY STREAM PROTECTION ON A BROADCAST CHANNEL
CN106233692A (en) Broadcast singal dispensing device, broadcast receiver, broadcast singal sending method and broadcast signal received method
CA2699102C (en) Apparatus and method for storing and reading a file having a media data container and a metadata container
US11876723B2 (en) Method and apparatus for transmitting and receiving packet in communication system
CN105611319B (en) A kind of method that video content is anti-tamper
US8724745B2 (en) Method and apparatus for decoding coded data streams
CN106464944A (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
CN106134158A (en) Broadcast singal transmission equipment, broadcasting signal receiving, broadcast signal transmission method and broadcast signal received method
CN103281560A (en) Satellite digital television program broadcast quality detecting system
CN102281171B (en) Loop detection method and equipment for two-layer network
CN101980238B (en) Method for encrypting RM/RMVB file
US20130317829A1 (en) Audio Decoding Method and Associated Apparatus
EP3419231A1 (en) Method and device for transmitting and receiving media data in multimedia system
JP2008103852A5 (en)
CN102341784B (en) Method for quick map recovery in case of error in moca
US20130185466A1 (en) Application of alternate align primitives during sas rate matching to improve continuous adaptation
CN108206719B (en) For receiving the method and apparatus for receiving broadcasting of broadcast singal

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20170510

WW01 Invention patent application withdrawn after publication