CN108521601A - A kind of fast playing method and device of non-standard code stream - Google Patents

A kind of fast playing method and device of non-standard code stream Download PDF

Info

Publication number
CN108521601A
CN108521601A CN201810168943.3A CN201810168943A CN108521601A CN 108521601 A CN108521601 A CN 108521601A CN 201810168943 A CN201810168943 A CN 201810168943A CN 108521601 A CN108521601 A CN 108521601A
Authority
CN
China
Prior art keywords
hyte
audio
content
mark
video data
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.)
Granted
Application number
CN201810168943.3A
Other languages
Chinese (zh)
Other versions
CN108521601B (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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201810168943.3A priority Critical patent/CN108521601B/en
Publication of CN108521601A publication Critical patent/CN108521601A/en
Application granted granted Critical
Publication of CN108521601B publication Critical patent/CN108521601B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/835Generation of protective data, e.g. certificates
    • H04N21/8352Generation of protective data, e.g. certificates involving content or source identification data, e.g. Unique Material Identifier [UMID]

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

This application discloses a kind of fast playing methods and device of non-standard code stream, which is characterized in that it is provided with mark hyte, mark hyte includes video flag bit and audio signature position, and for the video data and audio data that label target channel carries respectively, including:The Program Map Table PMT for parsing target channel, obtains analysis result, according to analysis result and mark hyte, obtains broadcasting mark hyte, obtains playing mark hyte, according to the content for playing flag bit group broadcasting target channel.Audio, video data content of the application entrained by target channel is added corresponding mark and then generates to pre-set mark hyte plays mark hyte, and according to the technical solution for playing flag bit group broadcasting target channel content, it can be to avoid the drawbacks of when target channel lacks audio, video data, needing user to wait for the long period just in the prior art can to play target channel content.

Description

A kind of fast playing method and device of non-standard code stream
Technical field
This application involves field of communication technology, more particularly to a kind of the fast playing method and device of non-standard code stream.
Background technology
With the development of information age, TV becomes an essential household electrical appliance in people's life.
During the use of TV, user watches different programme contents by searching for different channels.Wherein, it uses Family is during carrying out zapping, it is necessary first to first stop picture and sound that channel being currently played, and continue to keep regarding The state of frequency blank screen and audio mute.Specifically, during user searches for channel, SDT (Service can be parsed first Descriptor Table service describings table), judge to get current channel type as Radio (broadcast) types or DTV (Digital Television DTVs) type, and the correspondence of the channel and its type is deposited into database, So that when playing the channel next time, so that it may with according to directly carrying out corresponding class in database to the corresponding record of the channel The broadcasting of type.Further, during playing the channel, first to the PMT of the channel (Program Map Table clothes Business mapping table) it is parsed, and the video data of the channel obtained after parsing and audio data setting are entered into player In, so that player carries out AV synchronizations (Audio&Video SYNC sounds, which are drawn, to be synchronized) to video data and audio data, and Middleware layer after AV is synchronously completed in notice system respectively carries out picture and sound by middleware layer to release what stopping played Instruction, and then starts to play the programme content of the channel, by this by entrained by new channel picture and sound in the form of best It is presented to user.
However, in a practical situation, when there is no video data or audio data in the corresponding PMT of certain channels, meeting Occur that AV synchronizations can not be completed caused by not receiving video data and audio data simultaneously due to player and broadcasts The problem of putting channel content.For problems, in the prior art be typically in systems be arranged delay process mechanism, i.e., in Between part layer after preset time still without receive AV synchronization notice when, then carry out release stop play instruction, Jin Erkai Beginning plays the programme content of the channel.But the above solution needs the stand-by period that user is significantly greatly increased, to reduce User experience.Therefore, when how to design a kind of PMT in channel does not have video data or audio data, without carrying out AV Synchronize can direct broadcasting channel content method, become those skilled in the art and compel problem to be solved.
Invention content
The embodiment of the present application technical problem to be solved is:A kind of fast playing method of non-standard code stream is provided And device, when can solve to lack audio, video data in channel PMT, the longer problem of period of reservation of number.
According to the one side of the embodiment of the present application, a kind of fast playing method of the non-standard code stream provided, feature It is, is provided with mark hyte, the mark hyte includes video flag bit and audio signature position, for marking target respectively The video data and audio data that channel carries, this method include:
The Program Map Table PMT for parsing the target channel, obtains analysis result;
According to the analysis result and the mark hyte, obtain playing mark hyte;
The content of the target channel is played according to the broadcasting flag bit group.
Optionally, it in another embodiment based on the application above method, obtains playing mark in the following manner Hyte specifically includes:
When not including video data in the PMT, addition is without video data identification in the video flag bit;With/ Or,
When not including audio data in the PMT, addition is without audio data mark in the audio signature position.
Optionally, described that hyte is indicated according to the broadcasting in another embodiment based on the application above method The content of the target channel is played, including:
When detecting the broadcasting mark hyte there is no no video data identification and being identified there is no no audio data, The video data and the audio data are sent in player;
Play the video data content and audio data content of the target channel.
Optionally, it in another embodiment based on the application above method, obtains playing mark in the following manner Hyte specifically includes:
When in the PMT including video data, video data identification is added in the video flag bit;And/or
When in the PMT including audio data, audio data mark is added in the audio signature position.
Optionally, described that hyte is indicated according to the broadcasting in another embodiment based on the application above method The content of the target channel is played, including:
When detecting that the broadcasting indicates that the audio data there are when audio data mark, is sent to player by hyte In and play the audio data content of the target channel;And/or
When detecting that the broadcasting indicates that the video data there are when video data identification, is sent to player by hyte In and play the video data content of the target channel.
Optionally, in another embodiment based on the application above method, described according to the broadcasting flag bit Before group plays the content of the target channel, further include:
When detecting the broadcasting mark hyte, there is only the no video data identifications, and the target frequency is sent to user Road is the notice for being only capable of playing audio-fequency data content channel;Or,
When detecting the broadcasting mark hyte, there is only the no audio datas to identify, and the target frequency is sent to user Road is the notice for being only capable of playing video data content channel;Or,
When the broadcasting indicates hyte there are the no video data identification and is identified there are the no audio data, to User sends the notice that can not play the target channel content.
Optionally, in another embodiment based on the application above method, described according to the broadcasting flag bit Before group mark hyte plays the content of the target channel, further include:
When detecting that the broadcasting mark hyte label is identified there is only audio data, the target frequency is sent to user Road is the notice for being only capable of playing audio-fequency data content channel;Or,
When detecting that there is only when video data identification, the target frequency is sent to user broadcasting mark hyte label Road is the notice for being only capable of playing video data content channel;Or,
When broadcasting mark hyte is there is no the video data identification and is identified there is no the audio data, to User sends the notice that can not play the target channel content.
Optionally, in another embodiment based on the application above method, according to the analysis result and the mark Will hyte obtains playing mark hyte, including:
When judging in the PMT comprising video data and audio data according to the analysis result, the mark is set Hyte is that the broadcasting indicates hyte;
When detecting the broadcasting mark hyte there is no no video data identification and being identified there is no no audio data, The video data and the audio data are sent in player;
Play the video data content and audio data content of the target channel.
Optionally, in another embodiment based on the application above method, described according to the broadcasting flag bit Before group plays the content of the target channel, further include:
When detect audio-video frequency content is currently played when, stop playing current audio-video frequency content.
According to the other side of the embodiment of the present application, a kind of quick playing device of the non-standard code stream provided is special Sign is, applied to the system for being provided with mark hyte, the mark hyte includes video flag bit and audio signature position, is somebody's turn to do Device includes:
Processor;And the memory for storing processor-executable instruction;
Wherein, the processor is used to carry out claim 1-9 any one of them methods.
Audio, video data content of the application entrained by target channel is added to pre-set mark hyte and corresponds to It identifies to generate in turn and plays mark hyte, and according to the technical solution for playing flag bit group broadcasting target channel content, can keep away Exempt from the prior art when target channel lacks audio, video data, user to be needed to wait for the long period that can just play target channel The drawbacks of content.
Below by drawings and examples, the technical solution of the application is described in further detail.
Description of the drawings
The attached drawing of a part for constitution instruction describes embodiments herein, and together with description for explaining The principle of the application.
The application can be more clearly understood according to following detailed description with reference to attached drawing, wherein:
Fig. 1 is the flow chart of one embodiment of the fast playing method of the non-standard code stream of the application.
Fig. 2 is the flow chart of another embodiment of the fast playing method of the non-standard code stream of the application.
Fig. 3 is the flow chart of another embodiment of the fast playing method of the non-standard code stream of the application.
Fig. 4 is the structural schematic diagram of one embodiment of the quick playing device of the non-standard code stream of the application.
Specific implementation mode
The various exemplary embodiments of the application are described in detail now with reference to attached drawing.It should be noted that:Unless in addition having Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of application.
Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality Proportionate relationship draw.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the application And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
The embodiment of the present application can be applied to the electronic equipments such as terminal device, computer system, server, can with it is numerous Other general or specialized computing system environments or configuration operate together.Suitable for electric with terminal device, computer system, server etc. The example for well-known terminal device, computing system, environment and/or the configuration that sub- equipment is used together includes but not limited to: Personal computer system, thin client, thick client computer, hand-held or laptop devices, is based on microprocessor at server computer system System, set-top box, programmable consumer electronics, NetPC Network PC, little types Ji calculate machine Xi Tong ﹑ large computer systems and Distributed cloud computing technology environment including any of the above described system, etc..
The electronic equipments such as terminal device, computer system, server can be in the department of computer science executed by computer system It is described under the general context of system executable instruction (such as program module).In general, program module may include routine, program, mesh Beacon course sequence, component, logic, data structure etc., they execute specific task or realize specific abstract data type.Meter Calculation machine systems/servers can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is by by logical What the remote processing devices of communication network link executed.In distributed cloud computing environment, it includes storage that program module, which can be located at, On the Local or Remote computing system storage medium of equipment.
The side for carrying out data processing according to the application illustrative embodiments is described with reference to Fig. 1 to Fig. 3 Method.It should be noted that above application scene is merely for convenience of understanding spirit herein and principle and showing, the application's Embodiment is unrestricted in this regard.On the contrary, presently filed embodiment can be applied to applicable any scene.This Application is applied to cluster user equipment, such as background server, recommendation server etc..
Fig. 1 schematically shows a kind of stream of the fast playing method of non-standard code stream according to the application embodiment Journey schematic diagram.As shown in Figure 1, this method includes:
A kind of fast playing method of non-standard code stream, which is characterized in that be provided with mark hyte, mark hyte includes regarding Frequency flag bit and audio signature position, for the video data and audio data that label target channel carries respectively, this method packet It includes:
S101 parses the Program Map Table PMT of target channel, obtains analysis result.
Specifically, due in the prior art, user does not have the DTV of video data or audio data frequencies searching some When road, since player does not receive the video data and audio data of the channel simultaneously, cause player can not be into Row AV synchronizes (Audio&Video SYNC sounds, which are drawn, to be synchronized), so occur cannot or delay play the channel content feelings Condition.In order to solve this problem, the application is previously provided with mark hyte in playing device first.Wherein, mark hyte can To be respectively video flag bit and audio signature position, it should be noted that video flag bit can be used for marking the channel to regard The data of frequency information, audio signature position can be used for marking the data of the channel audio information.It is also to be noted that the application In mark hyte in video flag bit and audio signature position be not limited to only comprising for mark the channel video information with And the data of audio-frequency information, i.e. the video flag bit of the application and audio signature position can also include for marking the channel The data of other relevant informations, such as program number data information, geographic location data message etc..It does not repeat one by one herein.
Further, when user searches for target channel, the picture and sound for stopping playing current channel can be issued first Instruction.The PMT of target channel will then be parsed (Program Map Table service mapping table), wherein by parsing the frequency The PMT in road can obtain all information included in the channel, such as video data, audio data, filling data, PSI/SI tables Lattice data and the corresponding PID of each data type etc..
S102 obtains playing mark hyte according to analysis result and mark hyte.
Specifically, after to the PMT of target channel parsing, judged according to analysis result in the PMT of the channel whether Including the information of video data and audio data.And according in the PMT of the channel specifically include video data and audio number According to information choose whether to adding corresponding mark in mark hyte, and then obtain corresponding different broadcasting mark hyte.
S103, according to the content for playing flag bit group broadcasting target channel.
Specifically, according to play mark hyte entrained by identification information, play the video data content of target channel with And audio data content.
Audio, video data content of the application entrained by target channel is added to pre-set mark hyte and corresponds to It identifies to generate in turn and plays mark hyte, and according to the technical solution for playing flag bit group broadcasting target channel content, can keep away Exempt from the prior art when target channel lacks audio, video data, user to be needed to wait for the long period that can just play target channel The drawbacks of content.
Wherein, as the one of which embodiment of the application, (added in indicating hyte according to analysis result in S102 Add corresponding mark, obtain playing mark hyte), adding the mode of corresponding mark in indicating hyte according to analysis result can wrap Include but be not limited to any one of following two modes:
First way:
Specifically, after to the PMT of target channel parsing, judged according to analysis result in the PMT of the channel whether Including video data and audio data.And to this in the case of in the PMT of the channel comprising audio, video data at least one Video flag bit in mark hyte adds corresponding mark and/or adds corresponding mark in audio signature position, further , it is to play mark hyte to add the mark hyte after corresponding mark.
Wherein, corresponding mark is added in indicating hyte, obtains playing in the first way for indicating hyte, Ke Yifen For following several situations:
The first situation:
When not including video data in the PMT of target channel but including audio data, the video mark in indicating hyte Addition is without video data identification in will position.Specifically, can be after the PMT to target channel is parsed, detection is obtained by PMT Whether there is no data information and the Aud i oL i that are obtained by PMT in the Vi deoL i st (video lists catalogue) taken It whether there is data information in st (audio lists catalogue), if being to be, then it is assumed that do not include video data in the PMT but include Audio data, and addition obtains corresponding broadcasting flag bit without video data identification in the video flag bit in indicating hyte Group.
The second situation:
When not including audio data in the PMT of target channel but including video data, the audio mark in indicating hyte Addition is identified without audio data in will position.Specifically, can be after the PMT to target channel is parsed, detection is obtained by PMT In the Aud i oL i st taken whether in the Vi deoL i st obtained there is no data information and by PMT with the presence or absence of counting It is believed that breath, if being to be, then it is assumed that do not include audio data in the PMT but include video data, and the sound in indicating hyte Addition is identified without audio data in frequency flag bit, obtains corresponding broadcasting mark hyte.
The third situation:
Similarly, when application above-mentioned steps confirm target channel PMT in both do not include audio data and also do not include video counts According to when, then addition identifies and video mark in indicating hyte without audio data in the audio signature position in indicating hyte Addition is without video data identification in position, and obtains corresponding broadcasting mark hyte.
It should be noted that in specific application scenarios, the application can be according to entrained sound in the PMT of target channel The corresponding behaviour of one of which of the three kinds of situations referred in above-mentioned first way is individually performed in the quantity of video data type Make.The corresponding operation of the above situation how is specifically executed, the protection domain of the application can't be influenced.
It is further alternative, when in the PMT according to target channel audio data information and video data information indicating Corresponding mark is added in hyte and is obtained after playing mark hyte, which can be passed through RPC (Remote Procedure Ca l l remote procedure call protocols) it is sent in the middleware layer of playing device, and detected by middleware layer The identification information carried in the broadcasting mark hyte.
Further, three kinds referred in for above-mentioned first way, S103 in the application is (according to broadcasting Put the content that flag bit group plays target channel), according to the concrete operation step for playing flag bit broadcasting target channel content In, correspond to three kinds of situations in first way, can be handled as follows respectively:
Corresponding to the first situation in first way:
When detecting in the broadcasting mark hyte there is only when no video data identification, then it is arranged and shape is played to current video State is persistently to forbid broadcast state, and then the audio data in channel PMT is sent in player.It is determined in middleware layer Current video broadcast state is after persistently forbidding broadcast state, to release the instruction for stopping playing sound, and then play the channel Voice data content.Wherein, it should be noted that, can also be first to user before the voice data content for playing the channel It is to be only capable of the notice of playing audio-fequency data content channel to send target channel.
Corresponding to the second situation in first way:
When detect identified there is only no audio data in the broadcasting mark hyte when, then setting to present video play shape State is persistently to forbid broadcast state, and then the video data in channel PMT is sent in player.It is determined in middleware layer Present video broadcast state is after persistently forbidding broadcast state, to release the instruction for stopping playing video, and then play the audio Voice data content.Wherein, also need explanation, play the channel video data content before, can also first to It is to be only capable of the notice of playing video data content channel that user, which sends target channel,.
Corresponding to the third situation in first way:
When detecting in the broadcasting mark hyte both in the presence of no audio data mark there is also when no video data identification, then Judge that the channel is no video data content and the not no channel of audio data content, being sent then to user can not play The notice of target channel content, and no longer any processing is done for the channel.
It should be noted that in video data content or audio number according to above-mentioned three kinds broadcasting target channels Before content, it can also detect first and currently whether there is audio-video frequency content being played on, such as boot animation, it is long-range to record As picture, USB video contents etc. such as detect that there is currently when audio-video frequency content being played on, can select first to stop broadcasting Current audio-video frequency content is put, and after the preset time for stopping playing current audio-video frequency content, starts to play the interior of target channel Hold.Further, the application can also be when detecting there is currently when audio-video frequency content being played on, according to currently playing Audio-video frequency content classification and target channel data content, choose whether to need first to stop playing in current audio and video Hold, and after the preset time for stopping playing current audio-video frequency content, starts the content for playing target channel.For example, working as target Channel before the audio data content for playing target channel, is detected and is currently played there is only when audio data content Start-up picture.At this point, terminating the broadcasting of start-up picture, and after terminating the preset time that start-up picture plays, play target frequency The audio data content in road.The audio data content of start-up picture and target channel is mistakenly considered to avoid user same whole Content.
The second way:
Specifically, after to the PMT of target channel parsing, judged according to analysis result in the PMT of the channel whether Including video data and audio data.And to the mark hyte in the case of in the PMT of the channel comprising audio, video data In video flag bit addition it is corresponding mark and/or corresponding mark is added in audio signature position, further, addition pair Mark hyte after should identifying is to play mark hyte.
Wherein, corresponding mark is added in indicating hyte, obtains playing in the second way for indicating hyte, Ke Yifen For following several situations:
The first situation:
When only including video data in PMT, video data identification is added in video flag bit.Specifically, can be After being parsed to the PMT of target channel, whether data information is not present in the Aud i oL i st that detection is obtained by PMT And whether there is data information in the Vi deoL i st obtained by PMT, if being to be, then it is assumed that only include to regard in the PMT Frequency evidence, and then video data identification is added in the video flag bit of mark hyte, obtain corresponding broadcasting mark hyte.
The second situation:
When only including audio data in PMT, audio data mark is added in audio signature position.Specifically, can be Whether be not present after the PMT of target channel parsing, in the Vi deoL i st that detection is obtained by PMT data information and It whether there is data information in the Aud i oL i st obtained by PMT, if being to be, then it is assumed that only include audio in the PMT Data, and then the addition audio data mark in the audio signature position of mark hyte obtain corresponding broadcasting mark hyte.
The third situation:
Similarly, when application above-mentioned steps, which confirm in the PMT of target channel, both to have been included video data or included audio data, Audio data mark is then added in the audio signature position in indicating hyte and is added in the video flag bit in indicating hyte Add video data identification, and obtains corresponding broadcasting mark hyte.
It should be noted that in specific application scenarios, the application can be according to entrained sound in the PMT of target channel The corresponding behaviour of one of which of the three kinds of situations referred in the above-mentioned second way is individually performed in the quantity of video data type Make.The corresponding operation of the above situation how is specifically executed, the protection domain of the application can't be influenced.
It is further alternative, when in the PMT according to target channel audio data information and video data information indicating Corresponding mark is added in hyte and is obtained after playing mark hyte, which can be passed through RPC (Remote Procedure Ca l l remote procedure call protocols) it is sent in the middleware layer of playing device, and detected by middleware layer The identification information carried in the broadcasting mark hyte.
Further, three kinds referred in for the above-mentioned second way, S103 in the application is (according to broadcasting Put the content that flag bit group plays target channel), according to the concrete operation step for playing flag bit broadcasting target channel content In, correspond to three kinds of situations in the second way, can be handled as follows respectively:
Corresponding to the first situation in the second way:
When detecting that there is only present video broadcast state when video data identification, is then arranged to be in the broadcasting mark hyte Persistently forbid broadcast state, then the video data in channel PMT is sent in player.It is determined in middleware layer current Audio broadcast state is after persistently forbidding broadcast state, to release the instruction for stopping playing video, and then play the video of the channel Data content.Wherein, explanation is also needed, it, can also be first to user before the video data content for playing the channel It is to be only capable of the notice of playing video data content channel to send target channel.
Corresponding to the second situation in the second way:
When detecting that current video broadcast state, which is then arranged, is when being identified there is only audio data in the broadcasting mark hyte Persistently forbid broadcast state, then the audio data in channel PMT is sent in player.It is determined in middleware layer current Video broadcasting condition is after persistently forbidding broadcast state, to release the instruction for stopping playing sound, and then play the sound of the channel Data content.Wherein, it should be noted that before the voice data content for playing the channel, can also first be sent to user Target channel is to be only capable of the notice of playing audio-fequency data content channel.
Corresponding to the third situation in the second way:
When detecting that both there is video data identification in the broadcasting mark hyte identifies there is also audio data, then judge The target channel is the channel with video data content and audio data content, then by regarding in the PMT of target channel Frequency is according to this and audio data is sent in player, after player synchronizes video data and audio data progress AV, to Middleware layer sends AV and synchronizes completed notice.Stop playing video so that middleware layer after receiving the notice, releases With the instruction of sound, and then the video data content and audio data content of the channel are played.
Explanation is also needed, in the video data content or sound according to above-mentioned three kinds broadcasting target channels Before frequency data content, it can also detect first and currently whether there is audio-video frequency content being played on, such as boot animation, far Journey video frames, USB video contents etc. such as detect that there is currently when audio-video frequency content being played on, can select first to stop Current audio-video frequency content is only played, and after the preset time for stopping playing current audio-video frequency content, starts to play target channel Content.Further, the application can also be when detecting there is currently when audio-video frequency content being played on, according to current The classification of the audio-video frequency content of broadcasting and the data content of target channel choose whether to need first to stop playing current audio and video Content, and after the preset time for stopping playing current audio-video frequency content, start the content for playing target channel.For example, working as mesh Channel is marked there is only when audio data content, before the audio data content for playing target channel, is being detected currently When playing start-up picture.At this point, terminating the broadcasting of start-up picture, and after terminating the preset time that start-up picture plays, play The audio data content of target channel.The audio data content of start-up picture and target channel is mistakenly considered to avoid user same Whole content.
As another example, (according to analysis result and mark hyte, obtains playing mark hyte) in S102, also wrap Another specific embodiment is included, specifically, the application further includes a kind of fast playing method of non-standard code stream, is such as schemed Shown in 2, the method further includes:
S201 parses the Program Map Table PMT of target channel, obtains analysis result.
S202, when being judged in PMT comprising video data and audio data according to analysis result, setting mark hyte is to broadcast Put mark hyte.
Optionally, after being parsed to the PMT of target channel, judged according to analysis result in the PMT of the channel whether Including the information of video data and audio data.Further, can be after the PMT to target channel be parsed, detection Whether there is no data information and by being in the Aud i oL i st of PMT acquisitions in the Vi deoL i st obtained by PMT It is no be not present data information, if being to be, then it is assumed that in the PMT both include audio data and also include video data.Further , when in the PMT for judging target channel both including video data or including audio data, do not added into mark hyte any Mark, and mark hyte is set as playing and indicates hyte.
S203 indicates that hyte is there is no no video data identification and there is no no audio data marks when detecting to play When, video data and audio data are sent in player.
Specifically, by RPC, (Remote Procedure Ca l l remote procedure calls are assisted by the broadcasting mark hyte View) it is sent in middleware layer, and the state that identification information is carried in the broadcasting mark hyte is detected by middleware layer.Work as detection To in the broadcasting mark hyte both be not present ignore frequency Data Identification or identified there is no no audio data when, then judge the target Channel is the channel with video data content and audio data content, then by the video data in the PMT of target channel And audio data is sent in player, after player synchronizes video data and audio data progress AV, to middleware Layer sends AV and synchronizes completed notice.Stop playing video and sound so that middleware layer after receiving the notice, releases Instruction, and then play the video data content and audio data content of the channel.
S204, detection currently whether there is audio-video frequency content being played on, such as exist, into S205.Such as it is not present, into Enter S206
S205 stops playing current audio-video frequency content.
S206 plays the video data content and voice data content of target channel.
It is further alternative, as an example, the application further includes a kind of fast playing method of non-standard code stream, such as Fig. 3 Shown, the method further includes:
S301 parses the Program Map Table PMT of target channel, obtains analysis result.
S302, when not including video data in the PMT of target channel but including audio data, regarding in indicating hyte Audio data mark is added in frequency flag bit.
S303, when detect identified there is only audio data in the broadcasting mark hyte when, to user send target channel To be only capable of the notice of playing audio-fequency data content channel.
S304, detection currently whether there is audio-video frequency content being played on, such as exist, into S305.Such as it is not present, into Enter S306
S305 stops playing current audio-video frequency content.
S306 plays the voice data content of the channel.
In the present embodiment, it is that audio is added there is only audio data in the PMT with target channel and in indicating hyte Data Identification illustrates.By foregoing description, the application can also provide other several realization methods, i.e.,:Target channel In PMT there is only when audio data in indicating hyte be added without video data identification, target channel PMT in there is only videos Addition corresponding mark when audio data is also not present there is no video data in the PMT of corresponding mark, target channel is added when data Know etc., since above-mentioned several realization methods have set forth above, do not repeat one by one herein.
After the method for describing the application illustrative embodiments, next, with reference to figure 4 to the exemplary reality of the application The quick playing device for applying a kind of non-standard code stream of mode illustrates.
Referring to Fig. 4, it is schematically shown that filled according to a kind of quick broadcasting of non-standard code stream of one embodiment of the application The structural schematic diagram set, wherein:
The device of the application embodiment includes mainly:Parsing module 401, add module 402, playing module 403, below To included by the device modules and unit illustrate respectively.
Parsing module 401, the Program Map Table PMT for parsing target channel, obtains analysis result.
Add module 402 obtains playing flag bit for adding corresponding mark in indicating hyte according to analysis result Group.
Playing module 403, for according to the content for playing flag bit group broadcasting target channel.
Wherein, add module 402 are additionally operable to, when not including video data in PMT, add and ignore in video flag bit Frequency Data Identification.And/or when not including audio data in PMT, addition is without audio data mark in audio signature position.
Further, the application further includes sending module, wherein
Sending module, for when detect play mark hyte there is only when no video data identification, audio data is sent out It is sent in player and plays the audio data content of target channel.Or, when detecting broadcasting mark hyte, there is only no audios When Data Identification, video data is sent in player and plays the video data content of target channel.
It should be noted that sending module, it is additionally operable to that there is no no video data identifications when detect broadcasting mark hyte And when being identified there is no no audio data, video data and audio data are sent in player.So that playing module 403 Play the video data content and audio data content of target channel.
Further, add module 402 are additionally operable to, when in PMT including video data, add and regard in video flag bit Frequency Data Identification.And/or when in PMT including audio data, audio data mark is added in audio signature position.
Further, video data identification is added in add module 402, and/or, add audio in audio signature position After Data Identification:
Sending module is additionally operable to:Mark hyte is played there are when audio data mark when detecting, audio data is sent To in player and playing the audio data content of target channel;And/or there are video datas when detecting broadcasting mark hyte When mark, video data is sent in player and plays the video data content of target channel.
Wherein, before according to the content for playing flag bit group broadcasting target channel, sending module is additionally operable to:
When detecting broadcasting mark hyte, there is only no video data identifications, and it is to be only capable of playing to send target channel to user The notice of audio data content channel.Or,
When detecting broadcasting mark hyte, there is only no audio datas to identify, and it is to be only capable of playing to send target channel to user The notice of video data content channel.Or,
When playing mark hyte in the presence of no video data identification and being identified in the presence of no audio data, being sent to user can not Play the notice of target channel content.
It is further alternative, before playing the content of target channel according to the broadcasting flag bit group, sending module, also For:
When detecting that play mark hyte label identifies there is only audio data, it is to be only capable of to send target channel to user The notice of playing audio-fequency data content channel.Or,
Mark hyte label is played there is only when video data identification when detecting, it is to be only capable of to send target channel to user The notice of playing video data content channel.Or,
When playing mark hyte there is no video data identification and there is no when audio data mark, being sent to user can not Play the notice of target channel content.
Further, the application further includes stopping modular, wherein:
Stopping modular, for when detect audio-video frequency content is currently played when, stop playing current audio-video frequency content.
It in above-described embodiment, all emphasizes particularly on different fields to the description of each embodiment, there is no the part being described in detail in some embodiment, It may refer to the associated description of other embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of equipment, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the application is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes present context described here, and the description done above to language-specific is to disclose this Shen Preferred forms please.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the application Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of the exemplary embodiment of the application, each feature of the application is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield this application claims the more features of feature than being expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific implementation mode are expressly incorporated in the specific implementation mode, wherein each claim itself All as the separate embodiments of the application.
Those skilled in the art be appreciated that can to the equipment in embodiment carry out adaptively change and They are arranged in the one or more equipment different from the embodiment.May be used any combinations to this specification (including Adjoint claim, abstract and attached drawing) disclosed in all features and so disclosed any method or equipment institute There are process or unit to be combined.Unless expressly stated otherwise, this specification (including adjoint claim, abstract and attached drawing) Disclosed in each feature can be replaced by providing the alternative features of identical, equivalent or similar purpose.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means to be in the application's Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the application can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize that one kind according to the embodiment of the present application prevents from illegally copying software side The some or all functions of some or all components in method and device.The application is also implemented as executing here Some or all equipment or program of device of described method are (for example, computer program and computer program production Product).It is such to realize that the program of the application may be stored on the computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or to appoint What other forms provides.
The application is limited it should be noted that above-described embodiment illustrates rather than the application, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The application can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.

Claims (10)

1. a kind of fast playing method of non-standard code stream, which is characterized in that be provided with mark hyte, the mark hyte includes Video flag bit and audio signature position, for the video data and audio data that label target channel carries respectively, this method Including:
The Program Map Table PMT for parsing the target channel, obtains analysis result;
According to the analysis result and the mark hyte, obtain playing mark hyte;
The content of the target channel is played according to the broadcasting flag bit group.
2. the method as described in claim 1, which is characterized in that it obtains playing mark hyte in the following manner, including:
When not including video data in the PMT, addition is without video data identification in the video flag bit;And/or
When not including audio data in the PMT, addition is without audio data mark in the audio signature position.
3. method as claimed in claim 2, which is characterized in that described to play the target frequency according to the broadcasting flag bit group The content in road, including:
When detecting that the broadcasting indicates that hyte there is only when the no video data identification, the audio data is sent to and is broadcast Put in device and play the audio data content of the target channel;Or,
When detecting that the broadcasting mark hyte is identified there is only the no audio data, the video data is sent to and is broadcast Put in device and play the video data content of the target channel.
4. the method as described in claim 1, which is characterized in that it obtains playing mark hyte in the following manner, including:
When in the PMT including video data, video data identification is added in the video flag bit;And/or
When in the PMT including audio data, audio data mark is added in the audio signature position.
5. method as claimed in claim 4, which is characterized in that described to play the target frequency according to the broadcasting flag bit group The content in road, including:
When detecting that the broadcasting indicates that there are when audio data mark, the audio data is sent in player simultaneously for hyte Play the audio data content of the target channel;And/or
When detecting that the broadcasting indicates that there are when video data identification, the video data is sent in player simultaneously for hyte Play the video data content of the target channel.
6. method as claimed in claim 2, which is characterized in that play the target according to the broadcasting flag bit group described Before the content of channel, further include:
When detecting the broadcasting mark hyte, there is only the no video data identifications, and sending the target channel to user is It is only capable of the notice of playing audio-fequency data content channel;Or,
When detecting the broadcasting mark hyte, there is only the no audio datas to identify, and sending the target channel to user is It is only capable of the notice of playing video data content channel;Or,
When the broadcasting indicates hyte there are the no video data identification and is identified there are the no audio data, to user The notice of the target channel content can not be played by sending.
7. method as claimed in claim 4, which is characterized in that play the target according to the broadcasting flag bit group described Before the content of channel, further include:
When detecting that the broadcasting mark hyte label is identified there is only audio data, sending the target channel to user is It is only capable of the notice of playing audio-fequency data content channel;Or,
When detecting the broadcasting mark hyte label, there is only when video data identification, the target channel is sent to user to be It is only capable of the notice of playing video data content channel;Or,
When broadcasting mark hyte is there is no the video data identification and is identified there is no the audio data, to user The notice of the target channel content can not be played by sending.
8. the method as described in claim 1, which is characterized in that it is described according to the analysis result and the mark hyte, it obtains Indicate hyte to playing, including:
When judging in the PMT comprising video data and audio data according to the analysis result, the mark hyte is set Indicate hyte for the broadcasting;
When detecting the broadcasting mark hyte there is no no video data identification and being identified there is no no audio data, by institute It states video data and the audio data is sent in player;
Play the video data content and audio data content of the target channel.
9. such as claim 3,5,8 any one of them methods, which is characterized in that described according to the broadcasting flag bit multicast Before the content for putting the target channel, further include:
When detect audio-video frequency content is currently played when, stop playing the current audio-video frequency content.
10. a kind of quick playing device of non-standard code stream, which is characterized in that applied to the system for being provided with mark hyte, institute It includes video flag bit and audio signature position to state mark hyte, which includes:
Processor;And the memory for storing processor-executable instruction;
Wherein, the processor is used to carry out claim 1-10 any one of them methods.
CN201810168943.3A 2018-02-28 2018-02-28 Method and device for rapidly playing non-standard code stream Active CN108521601B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810168943.3A CN108521601B (en) 2018-02-28 2018-02-28 Method and device for rapidly playing non-standard code stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810168943.3A CN108521601B (en) 2018-02-28 2018-02-28 Method and device for rapidly playing non-standard code stream

Publications (2)

Publication Number Publication Date
CN108521601A true CN108521601A (en) 2018-09-11
CN108521601B CN108521601B (en) 2022-04-29

Family

ID=63433345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810168943.3A Active CN108521601B (en) 2018-02-28 2018-02-28 Method and device for rapidly playing non-standard code stream

Country Status (1)

Country Link
CN (1) CN108521601B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510978A (en) * 2018-11-07 2019-03-22 西安万像电子科技有限公司 A kind of method for testing performance and device of data processing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078594A (en) * 1997-09-26 2000-06-20 International Business Machines Corporation Protocol and procedure for automated channel change in an MPEG-2 compliant datastream
CN1691762A (en) * 1999-10-06 2005-11-02 Lg电子株式会社 Channel control apparatus of digital television and method thereof
US20070098005A1 (en) * 2005-11-02 2007-05-03 Alcatel Client side pid translation
CN1960485A (en) * 2006-08-29 2007-05-09 中兴通讯股份有限公司 Method for playing back video and audio synchronistically in mobile media broadcast
CN103888832A (en) * 2014-03-07 2014-06-25 青岛海信宽带多媒体技术有限公司 Processing method and device for switching of data sources to which to player terminal has access
CN104270667A (en) * 2014-09-28 2015-01-07 深圳国微技术有限公司 Program switchover method and device and terminal
CN106534961A (en) * 2016-11-24 2017-03-22 青岛海信宽带多媒体技术有限公司 Method for channel switching of network television and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6078594A (en) * 1997-09-26 2000-06-20 International Business Machines Corporation Protocol and procedure for automated channel change in an MPEG-2 compliant datastream
CN1691762A (en) * 1999-10-06 2005-11-02 Lg电子株式会社 Channel control apparatus of digital television and method thereof
US20070098005A1 (en) * 2005-11-02 2007-05-03 Alcatel Client side pid translation
CN1960485A (en) * 2006-08-29 2007-05-09 中兴通讯股份有限公司 Method for playing back video and audio synchronistically in mobile media broadcast
CN103888832A (en) * 2014-03-07 2014-06-25 青岛海信宽带多媒体技术有限公司 Processing method and device for switching of data sources to which to player terminal has access
CN104270667A (en) * 2014-09-28 2015-01-07 深圳国微技术有限公司 Program switchover method and device and terminal
CN106534961A (en) * 2016-11-24 2017-03-22 青岛海信宽带多媒体技术有限公司 Method for channel switching of network television and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109510978A (en) * 2018-11-07 2019-03-22 西安万像电子科技有限公司 A kind of method for testing performance and device of data processing

Also Published As

Publication number Publication date
CN108521601B (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN103975602B (en) Broadcasting service reception method and broadcasting service reception device
CN104904230B (en) Handle the device and method of interactive service
CA2844605C (en) Method for transmitting broadcast service, method for receiving broadcast service, and apparatus for receiving broadcast service
CN102957964B (en) Broadcast signal receiver, method and server that broadcast singal relevant information is provided
CN103548358A (en) Trigger compaction
US9060151B2 (en) Method for transmitting a broadcast service, method for receiving a broadcast service, and apparatus for receiving a broadcast service
CN103650482B (en) Send and receive the method and its reception device of broadcast service
CN103609131A (en) Reception device, reception method, transmission device, transmission method, and program
CA2834046A1 (en) Method for transmitting a broadcast service, apparatus for receiving same, and method for processing an additional service using the apparatus for receiving same
CN104126308A (en) Method, computer program, and reception apparatus for delivery of supplemental content
CN103563393A (en) Information providing apparatus, method, computer program, and reception apparatus for trigger compaction
US9147291B2 (en) Method and apparatus of processing data to support augmented reality
WO2017219527A1 (en) Data statistical analysis method and system for an intelligent terminal
US10979784B1 (en) Track format for carriage of event messages
RU2630261C2 (en) Transmission apparatus, data processing technique, programme, receiving apparatus and app interaction system
CN104662925A (en) Apparatus and method for processing an interactive service
CN110958470A (en) Multimedia content processing method, device, medium and electronic equipment
CN106507159A (en) Display device and its control method
CA3011896A1 (en) Event registration and notification
CN105744341B (en) A kind of off-line type information issuing method and device
KR20160003714A (en) Providing correlated programming information for broadcast media content and streaming media content
CN108521601A (en) A kind of fast playing method and device of non-standard code stream
CN111246245A (en) Method and device for pushing video aggregation page, server and terminal equipment
CN110198481B (en) Program updating method and device, electronic equipment and storage medium
EP3177026A1 (en) Reception device, reception method, transmission device, and transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221017

Address after: 83 Intekte Street, Devon, Netherlands

Patentee after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266555, No. 218, Bay Road, Qingdao economic and Technological Development Zone, Shandong

Patentee before: Hisense Video Technology Co.,Ltd.