CN103501457A - Method and device for playing programs - Google Patents

Method and device for playing programs Download PDF

Info

Publication number
CN103501457A
CN103501457A CN201310441502.3A CN201310441502A CN103501457A CN 103501457 A CN103501457 A CN 103501457A CN 201310441502 A CN201310441502 A CN 201310441502A CN 103501457 A CN103501457 A CN 103501457A
Authority
CN
China
Prior art keywords
data
program
flow data
audio
group character
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
CN201310441502.3A
Other languages
Chinese (zh)
Other versions
CN103501457B (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.)
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Shenzhen Skyworth Software 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 Shenzhen Skyworth Digital Technology Co Ltd, Shenzhen Skyworth Software Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN201310441502.3A priority Critical patent/CN103501457B/en
Publication of CN103501457A publication Critical patent/CN103501457A/en
Application granted granted Critical
Publication of CN103501457B publication Critical patent/CN103501457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a method and device for playing programs. The method comprises the steps: receiving transmission streaming data transmitted by a front-end server, wherein program data grouping identifications are carried in the transmission streaming data, and the mode that the transmission streaming data transmitted by the front-end server are received is a partial receiving mode; conducting soft analysis and decoding on the transmission streaming data according to the program data grouping identifications carried in the transmission streaming data to obtain program audio and video data for playing; playing the program audio and video data. According to the method and device for playing the programs, ground digital broadcasting services can be well operated on a smart mobile terminal system platform, and the hardware cost is not increased.

Description

The method and apparatus that a kind of program is play
Technical field
The present invention relates to electronic technology field, relate in particular to the method and apparatus that a kind of program is play.
Background technology
Can support the operation of multiple application software on the system platform of the intelligent mobile terminals such as mobile phone, can make people's life more convenient, variation, therefore increasing developer starts to carry out the exploitation based on the intelligent system platform, wherein, it by received terrestrial digital broadcasting class service operation, on the intelligent mobile terminal system platform, is also an important content of current research, prior art has proposed a kind of practicable scheme to this, directly the software and hardware support scheme in conventional set-top box is transplanted in the Android system mobile terminal, make the mobile terminal with Android system platform can support the reception of received terrestrial digital broadcasting class business and program to play.
The method of prior art needs mobile terminal to increase new hardware, and the open effective JAVA interface of encapsulation, can increase the problem of product early development and later maintenance; Secondly, due to the prior art scheme by the conventional set-top box platform scheme directly transplanting past, this represents that the interface in technical scheme also provides control interface according to the traditional tv business, so also will bring code whether open, with platform supplier's problems such as communication, limited the flexibility of software application in exploitation and the process safeguarded.
Summary of the invention
The method and apparatus that the embodiment of the present invention provides a kind of program to play, can be preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, do not increase hardware cost, there is flexibility.
Concrete, a kind of method that the embodiment of the present invention provides program to play, it can comprise:
The transmit flow data of receiving front-end server transmission, carry the program data group character in described transmit flow data, the mode that receives the transmit flow data of described front-end server transmission is the part receive mode;
The program data group character of carrying according to described transmit flow data is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing;
Play described program audio video data.
Preferably, the program data group character of carrying according to described transmit flow data is carried out soft parsing and decoding to described transmit flow data, and the program audio video data obtained for playing comprises:
According to the described transmit flow data of the soft parsing of described program data group character, obtain Basic Flow data and audio/video decoding group character;
To described Basic Flow decoding data, obtain the described program audio video data for playing according to described audio/video decoding group character.
Preferably, according to the described transmit flow data of the soft parsing of described program data group character, obtain the Basic Flow data and the group character of program audio video decode comprises:
Remove the redundant information of described transmit flow data, and invalid data;
Obtain the Basic Flow data by described program data group character from the described transmit flow data of having removed described redundant information and described invalid data;
Judge whether described Basic Flow data comprise Program Map Table;
If judge described Basic Flow packet containing Program Map Table, from described Program Map Table, obtain described audio/video decoding group character;
Do not comprise Program Map Table if judge described Basic Flow data, according to the elementary stream type analysis of stipulating in the packing agreement, go out described audio/video decoding group character.
Preferably, playing described audio, video data comprises:
Obtain the broadcasting record;
If got described broadcasting record, play the corresponding program audio video data of programme information of record in described broadcasting record;
If do not get described broadcasting record, searching programs list, and play the corresponding program audio video data of the top line information comprised in described the rendition list.
Correspondingly, a kind of equipment that the embodiment of the present invention provides, is characterized in that, comprising:
Receiver module, the transmit flow data for the transmission of receiving front-end server, carry the program data group character in described transmit flow data, and the mode that receives the transmit flow data of described front-end server transmission is the part receive mode;
Soft parsing and decoder module, the program data group character of carrying for the described transmit flow data received according to described receiver module is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing;
Playing module, the described program audio video data obtained for playing described soft parsing and decoder module.
Preferably, described soft parsing and decoder module comprise:
Soft resolution unit, for according to the described transmit flow data of the soft parsing of described program data group character, obtain Basic Flow data and audio/video decoding group character;
Decoding unit, to described Basic Flow decoding data, obtain the described program audio video data for playing for the described audio/video decoding group character that parses according to described soft resolution unit.
Preferably, described soft resolution unit comprises:
Remove subelement, for removing the redundant information of described transmit flow data, and invalid data;
Subelement is obtained in soft parsing, for by described program data group character, from the described transmit flow data of having removed described redundant information and described invalid data, obtaining the Basic Flow data;
Whether judgment sub-unit, comprise Program Map Table for judging described Basic Flow data; Also, for judging described Basic Flow packet when the Program Map Table, generate to obtain prompting message and be sent to and obtain subelement; Also when judging described Basic Flow data and do not comprise Program Map Table, generate and analyze prompting message and also be sent to the analysis subelement;
Obtain subelement, for receive that described judgment sub-unit sends described obtain prompting message after, obtain described audio/video decoding group character from described Program Map Table;
Analyze subelement, after the described analysis prompting message that receives described judgment sub-unit transmission, according to the elementary stream type analysis of stipulating in the packing agreement, go out described audio/video decoding group character.
Preferably, described playing module comprises:
Play acquiring unit, for obtaining the broadcasting record; Also when getting described broadcasting and record, generate the first play cuing information and sending to broadcast unit, described the first play cuing message is carried the programme information of record in described broadcasting record; Also when failing to get described broadcasting and record, generate the Search Hints information and sending to search unit;
Broadcast unit, after described the first play cuing message that receives described broadcasting acquiring unit transmission, play the corresponding program audio video data of programme information of record in described broadcasting record;
Search unit, after the described Search Hints message that receives described broadcasting acquiring unit transmission, the searching programs list; Also, for generating the second play cuing information and sending to described broadcast unit, described the second play cuing message is carried the top line information comprised in described the rendition list;
Described broadcast unit, also, for after described the second play cuing message that receives described search unit transmission, play the corresponding program audio video data of the top line information comprised in described the rendition list.
The embodiment of the present invention can be preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, do not increase hardware cost, there is flexibility.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below will the accompanying drawing of required use in embodiment be briefly described, apparently, accompanying drawing in the following describes is some embodiment of the embodiment of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
One embodiment schematic flow sheet of the method that Fig. 1 is program broadcasting of the present invention;
The example structure that Fig. 2 is equipment of the present invention forms schematic diagram;
Another example structure that Fig. 3 is equipment of the present invention forms schematic diagram;
The example structure that Fig. 4 is equipment of the present invention forms schematic diagram.
Another example structure that Fig. 5 is equipment of the present invention forms schematic diagram;
Another example structure that Fig. 6 is equipment of the present invention forms schematic diagram;
The embodiment schematic flow sheet that Fig. 7 is equipment of the present invention;
Another embodiment schematic flow sheet that Fig. 8 is equipment of the present invention.
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 clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
The mode of acquisition for mobile terminal TV service has two kinds, can pass through the conventional digital radio network, and the Internet, in addition, realizes that the TV programme broadcasting needs the hardware unit on the conventional set-top box platform and software service to be transplanted in mobile terminal.Hardware unit on the conventional set-top box platform is transplanted to mobile terminal can make the hardware cost of mobile terminal increase, and, in actual applications, but the modification of TV service control interface increase be subject to code whether open, with the restriction of the problems such as communication of platform provider, so just greatly reduce the flexibility of developing playout software on mobile terminal device.
A kind of method that the embodiment of the present invention provides program to play, it can comprise: the transmit flow data of receiving front-end server transmission, carry the transmit flow data group character in described transmit flow data; The transmit flow data group character of carrying according to described transmit flow data is carried out soft parsing and decoding to described transmit flow data, obtains the audio, video data for playing; Play described audio, video data.The method of the embodiment of the present invention can be preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, complete the TV programme broadcasting work under the part receive mode, do not increase hardware cost, there is flexibility.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of the embodiment of the present invention is elaborated.
One embodiment of the method that as shown in Figure 1, a kind of program provided by the invention is play can comprise the following steps:
Step S110, the transmit flow data of receiving front-end server transmission.Wherein, the main body of the transmit flow data of embodiment of the present invention receiving front-end server transmission is mobile terminal device, and the mobile terminal that the embodiment of the present invention adopts has the function that receives transmit flow data from front-end server.Wherein, carry the program data group character in the transmit flow data that this step receives, and this receive mode is the part receive mode.
The part receive mode can comprise ISDB-T One-Seg receive mode, there is no PAT Program Association Table (stream had does not have PAT Program Association Table, PMT Program Map Table) in the transmit flow data received based on ISDB-T One-Seg receive mode, make the decoding process of prior art to obtain programme information by the PAT Program Association Table.The transmit flow data that the method for the embodiment of the present invention can receive the part receive mode by the software in mobile terminal is resolved, is decoded, and carries out the program broadcasting.
Step S111, the program data group character of carrying according to transmit flow data is carried out soft parsing and decoding to transmit flow data, obtains the program audio video data for playing.This step can specifically be implemented by following steps: according to the soft analytical propagation flow data of program data group character, obtain Basic Flow data and audio/video decoding group character; To the Basic Flow decoding data, obtain the program audio video data for playing according to the audio/video decoding group character.
In specific implementation, according to the soft analytical propagation flow data of program data group character, obtain the Basic Flow data and the audio/video decoding group character can comprise: remove the redundant information of transmit flow data, and invalid data; Obtain the Basic Flow data from the transmit flow data of having removed redundant information and invalid data by the program data group character; Judge whether the Basic Flow data comprise Program Map Table; If judge the Basic Flow packet containing Program Map Table, from Program Map Table, obtain the audio/video decoding group character; Do not comprise Program Map Table if judge the Basic Flow data, according to the elementary stream type analysis of stipulating in the packing agreement, go out the audio/video decoding group character.
Transmit flow data under the part receive mode may be increased supplementary, be to increase several bytes after each TS bag, so at first will filter out according to the supplementary of these bytes invalid TS bag, remove the supplementary after effective TS wraps simultaneously, thus outputting standard TS stream.Then, can be with reference to the method shown in the flow chart of Fig. 7, further remove the invalid TS bag in TS stream according to sync byte (0x47) on TS packet header and error of transmission flag bit (transport_error_indicator), obtained removing the transmit flow data of redundant information and invalid data.
Program data group character PID by transmit flow data obtains Basic Flow data ES from the transmit flow data of having removed redundant information and invalid data.Wherein, Basic Flow data ES comprises the audio, video data without decoding, obtain Basic Flow data ES and need extract the PID of the transmit flow data of the program of playing with need from the aforementioned transmit flow data of having removed redundant information and invalid data, the audio frequency and video packetized elementary stream PES(of this program is comprised to audio frequency PES and video PES) carry out obtaining of Basic Flow data ES after extracting.
The transmit flow data received under the part receive mode may comprise Program Map Table, when the transmit flow data received comprises Program Map Table, obtain the audio/video decoding group character from Program Map Table, wherein, the decoding type that the audio/video decoding group character is audio frequency and video, decoding supplementary etc.The transmit flow data received under the part receive mode does not comprise Program Map Table, when the transmit flow data received does not comprise Program Map Table, can go out the audio/video decoding group character according to the elementary stream type analysis of stipulating in the packing agreement.As, while in the One-Seg source data received, there is no pat table, can filter out pmt table, and then obtain the audio/video decoding group character according to fixedly sequence number (PID of the TS bag) 0x1fc8 of transmit flow data; If the TS that PID is 0x1fc8 bag does not exist, pmt table does not exist, will be according to but minute audio frequency and video of the type of the PES stipulated in the MPEG-2 agreement, and then obtain the audio/video decoding group character.
Obtain audio/video decoding group character and Basic Flow data by above-mentioned part analysis step, can carry out the decoding of Basic Flow data.The data buffer area that Basic Flow data obtained above can deposit mobile terminal in is as intermediate data, calls waiting.
In the mobile terminal adopted due to the embodiment of the present invention with for the treatment of the audio/video decoding player of Basic Flow data, therefore Basic Flow decoding data and the broadcasting that can directly adopt the decoding player in mobile terminal to obtain aforementioned parsing.In specific implementation, according to the audio/video decoding group character, to the Basic Flow decoding data, the program audio video data obtained for playing mainly completes by following steps: the initialization action of carrying out decoder by the audio/video decoding group character; Secondly, obtain the Basic Flow data and complete decoding, obtain the program audio video data for playing.Wherein, the Basic Flow data can be obtained from the data buffer area of mobile terminal, in the time of decoding, also will jointly for the broadcasting of audio frequency and video, provide reference synchronization according to temporal information and the decode time of audio, video data.
Step S112, the broadcast program audio, video data.
Playback action starts after data decode has been moved, so audio-visual synchronization need to be with reference to the timestamp of audio/video frames, decode time and the system time of audio/video frames.In order to reduce the Compiler work in mobile terminal system as far as possible, the broadcasting of program audio video data can directly adopt the broadcasting instrument in mobile terminal, for example, the broadcasting of audio frequency can complete by OpenSLES in mobile terminal system, and the demonstration of video can complete by native-window in mobile terminal system.In mobile terminal system, OpenSLES carrys out the initialization audio player according to information such as sound channel, frame per second, sampling widths, then by callback interface, inputs the PCM data, whole playing process is run in separate threads, as the time reference of audio-visual synchronization.The native-window shown for video returns to the native window object by Java Surface object, then by the native window object, can input decoded data (rgb format) and play up.In order to guarantee video display effect and audio-visual synchronization, video data decoding process and demonstration (playing up) process is respectively at executed in parallel in separate threads, can buffer memory one frame or a few frame decoding data between decode procedure and procedure for displaying, so just can make frame of video show not completed by the moment that affects of decode time, thereby accomplish better audio-visual synchronization, guarantee result of broadcast.
The concrete enforcement of this step can comprise: obtain the broadcasting record; If got the broadcasting record, play the corresponding program audio video data of programme information of record in record; If do not get the broadcasting record, searching programs list, and the corresponding program audio video data of the top line information comprised in broadcast program list.
Can be in the lump with reference to the flow chart shown in Fig. 8, this figure has showed the idiographic flow that the embodiment of the present invention is carried out the audio, video data broadcasting under ISDB-T One-Seg receive mode, it can comprise:
Step S810, after program starts, the ISDB-T One-Seg program recording of being play under the receive mode of judgment part, if there is no program recording, perform step S811 and carry out the tuning action; If there is the program recording of watching program under the part receive mode in mobile terminal, by the setting of the programs in program recording, be current program, execution step S813.
Step S811, the channel searching program.
Step S812, whether the result of judgement search is empty, wherein, and if Search Results is not empty, record searching result, and continuation execution step S813; If Search Results is empty, re-executes this step and carry out the tuning action.
Step S813, arrange frequency point information, cuts platform.
Step S814, recording current program is historical program, preserves configuration information, broadcast program.
In ISDB-T playing flow shown in Fig. 8, the ISDB-T transmit control module mainly comprises two aspects: the Play Control of the one, ISDB-T audio-video frequency content, the one, ISDB-T tuning, cut the control of the action such as platform, video record and EPG information inquiry.For ISDB-T One-Seg live TV stream, the action of the Play Control of audio-video frequency content is relatively simple, only needs beginning, tenth skill, the response time that optimize the content is play.The action control of second portion, mainly complete tuning, cut the platform action by driving, and by the actions such as video record and EPG information inquiry that sent control information.
Due to the particularity of ISDB-T One-Seg program stream, than prior art, the method for the embodiment of the present invention has been simplified some flow process of mobile terminal playing program, has optimized the response time.For example, in the One-Seg program stream, there is no pat table, so can skip search pat table action, the pmt table that 0x1fc8 is PID is take in direct search, therefrom determines the program audio/video decoding group character information such as PID, type of coding of audio/video flow.In addition, in the ISDB-T agreement in regulation One-Seg program stream the Video coding type be H264, the audio coding type is MPEG4AAC, can be so just initialization procedure and the pmt table hunting action executed in parallel of the decoder of mobile terminal, thereby reduce the response time.
The method that the method that the program that the embodiment of the present invention provides is play provides software to resolve, adopt in mobile terminal simultaneously with decoder and player decoded and play, realized not increasing under the prerequisite of hardware unit, completed broadcast program under the part receive mode.The method of the embodiment of the present invention can be processed the transmit flow data that does not carry program data table, Program Map Table, has strengthened data-handling capacity; Directly adopt the decoder in mobile terminal to be decoded, reduced development difficulty, avoided necessity of hardware unit interpolation, improved the applicability of the decoder of mobile terminal; The method of the embodiment of the present invention preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, do not increase hardware cost, there is flexibility.
Correspondingly, the embodiment of the present invention also provides a kind of equipment to play for program, and it can comprise: receiver module, for the transmit flow data of receiving front-end server transmission, carry the program data group character in described transmit flow data, do not carry Program Association Table in described transmit flow data; Soft parsing and decoder module, the program data group character of carrying for the described transmit flow data received according to described receiver module is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing; Playing module, the described program audio video data obtained for playing described soft parsing and decoder module.The equipment that the embodiment of the present invention provides can be preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, do not increase hardware cost, there is flexibility.Wherein, the entity of the equipment of the embodiment of the present invention can be mobile terminal.
Below in conjunction with the drawings and the specific embodiments, the technical scheme of installing in the embodiment of the present invention is elaborated.
As shown in Figure 2, the equipment that a kind of program that the embodiment of the present invention provides is play, it can comprise: receiver module 21, soft parsing and decoder module 22 and playing module 23, can be in the lump with reference to the equipment shown in Fig. 3, the soft parsing of the embodiment of the present invention and decoder module 22 can further include soft resolution unit 221 and decoding unit 222, soft resolution unit 221 can further include removes subelement 2211, subelement 2212 is obtained in soft parsing, judgment sub-unit 2213, obtain subelement 2214 and analyze subelement 2215, playing module 23 can further include plays acquiring unit 231, broadcast unit 232 and search unit 233, wherein:
Receiver module 21, for the transmit flow data of receiving front-end server transmission.Wherein, carry the program data group character in transmit flow data, the mode of the transmit flow data of receiving front-end server transmission is the part receive mode.
Soft parsing and decoder module 22, the program data group character of carrying for the described transmit flow data received according to described receiver module is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing.Wherein, soft parsing and decoder module 22 can be by wherein soft resolution unit 221 and decoding unit 222 are realized soft parsing and decoding.
As shown in Figure 3, soft resolution unit 221 is obtained subelement 2212, judgment sub-unit 2213, obtains subelement 2214 and is analyzed subelement 2215 by removal subelement 2211, soft parsing, realization is according to the soft analytical propagation flow data of program data group character, obtain Basic Flow data and audio/video decoding group character, by these subelements, soft resolution unit 221 can form a kind of software resolver, and it is exclusively used in the parsing of the transmit flow data received under the part receive mode.Can be in the lump with reference to soft resolution unit schematic diagram in the equipment shown in Fig. 5, wherein:
Remove subelement 2211, carry out the removal of redundant information and invalid data for the data by receiving.
Subelement 2212 is obtained in soft parsing, for by the program data group character, from the transmit flow data of having removed redundant information and invalid data, obtaining the Basic Flow data.
Whether judgment sub-unit 2213, comprise Program Map Table for judging the Basic Flow data; Also, for judging the Basic Flow packet when the Program Map Table, generate to obtain prompting message and be sent to and obtain subelement 2214; Also when judging the Basic Flow data and do not comprise Program Map Table, generate and analyze prompting message and also be sent to and analyze subelement 2215.
Obtain subelement 2214, for receive that judgment sub-unit 2213 sends obtain prompting message after, obtain the audio/video decoding group character from Program Map Table.Wherein, the decoding type that the audio/video decoding group character is audio frequency and video, decoding supplementary etc.
Analyze subelement 2215, after the analysis prompting message that receives judgment sub-unit 2213 transmissions, according to the elementary stream type analysis of stipulating in the packing agreement, go out the audio/video decoding group character.
Decoding unit 222, to the Basic Flow decoding data, obtain the program audio video data for playing for the audio/video decoding group character that parses according to soft resolution unit 221.Wherein, decoding unit 222 is based on the decoder comprised in equipment and is decoded, without the software and hardware device that adds other.
Playing module 23, the program audio video data obtained for playing soft parsing and decoder module 22.Can be in the lump with reference to playing module structural representation in the equipment shown in Fig. 6, playing module 23 is play and video playback for audio frequency, realizes the work such as video parameter adjustment by the playing device in equipment, to guarantee result of broadcast.
The described playing module 23 of the embodiment of the present invention can further include:
Play acquiring unit 231, for obtaining the broadcasting record; Also for getting, play while recording, generate the first play cuing information and sending to broadcast unit 232, wherein, the first play cuing message is carried the programme information of record in described broadcasting record; Also for failing to get, play while recording, generate the Search Hints information and sending to search unit 233;
Broadcast unit 232, after receiving the first play cuing message of playing acquiring unit 231 transmissions, play the corresponding program audio video data of programme information of record in record;
Search unit 233, after receiving the Search Hints message of playing acquiring unit 231 transmissions, the searching programs list; Also, for generating the second play cuing information and sending to broadcast unit 232, wherein, the second play cuing message is carried the top line information comprised in the rendition list;
Broadcast unit 232, also for after the second play cuing message that receives search unit 233 transmissions, the corresponding program audio video data of the top line information comprised in broadcast program list.
The equipment of the embodiment of the present invention can also form schematic diagram with the structure shown in Fig. 4 to be realized, in this figure, control the tuning that interface can obtain the user, the operational order of cutting platform, information inquiry etc. by user interface, can realize smoothly watching and controlling of TV programme.For the transmit flow data received under the part receive mode, as ISDB-T One-Seg live TV stream, the action of the Play Control of audio-video frequency content is relatively simple, only needs beginning, tenth skill, the response time that optimize the content is play.For action control, mainly by driving, complete tuning, cut the platform action, and by the actions such as video record and EPG information inquiry that sent control information.
Due to the particularity of the transmit flow data received under the part receive mode, than prior art, the method for the embodiment of the present invention has been simplified some flow process of the device plays programs such as mobile terminal, has optimized the response time.For example, in the One-Seg program stream, there is no pat table, so can skip search pat table action, the pmt table that 0x1fc8 is PID is take in direct search, therefrom determines the program audio/video decoding group character information such as PID, type of coding of audio/video flow.In addition, in the ISDB-T agreement in regulation One-Seg program stream the Video coding type be H264, the audio coding type is MPEG4AAC, can be so just initialization procedure and the pmt table hunting action executed in parallel of the decoder of mobile terminal, thereby reduce the response time.
Method and resolver that software is resolved have been comprised in the equipment that the embodiment of the present invention provides, adopt in mobile terminal simultaneously with decoder and player decoded and play, realized not increasing under the prerequisite of hardware unit, completed broadcast program under the part receive mode.The equipment that the embodiment of the present invention provides can be processed the transmit flow data that does not carry program data table, Program Map Table, has strengthened data-handling capacity; Directly adopt the decoder in mobile terminal to be decoded, reduced development difficulty, avoided necessity of hardware unit interpolation, improved the applicability of the decoder of mobile terminal; The equipment that the embodiment of the present invention provides preferably by received terrestrial digital broadcasting class service operation on the intelligent mobile terminal system platform, do not increase hardware cost, there is flexibility.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, CPU(Central Processing Unit for example, central processing unit), or by ASIC(Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)) realize.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise the flow process as the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, one of ordinary skill in the art will appreciate that all or part of flow process that realizes above-described embodiment, and the equivalent variations of doing according to the claims in the present invention, still belong to the scope that invention is contained.

Claims (8)

1. the method that program is play, is characterized in that, comprising:
The transmit flow data of receiving front-end server transmission, carry the program data group character in described transmit flow data, the mode that receives the transmit flow data of described front-end server transmission is the part receive mode;
The program data group character of carrying according to described transmit flow data is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing;
Play described program audio video data.
2. the method for claim 1, is characterized in that, the program data group character of carrying according to described transmit flow data is carried out soft parsing and decoding to described transmit flow data, and the program audio video data obtained for playing comprises:
According to the described transmit flow data of the soft parsing of described program data group character, obtain Basic Flow data and audio/video decoding group character;
To described Basic Flow decoding data, obtain the described program audio video data for playing according to described audio/video decoding group character.
3. method as claimed in claim 2, is characterized in that, according to the described transmit flow data of the soft parsing of described program data group character, obtains the Basic Flow data and the group character of program audio video decode comprises:
Remove the redundant information of described transmit flow data, and invalid data;
Obtain the Basic Flow data by described program data group character from the described transmit flow data of having removed described redundant information and described invalid data;
Judge whether described Basic Flow data comprise Program Map Table;
If judge described Basic Flow packet containing Program Map Table, from described Program Map Table, obtain described audio/video decoding group character;
Do not comprise Program Map Table if judge described Basic Flow data, according to the elementary stream type analysis of stipulating in the packing agreement, go out described audio/video decoding group character.
4. method as claimed in claim 3, is characterized in that, plays described audio, video data and comprise:
Obtain the broadcasting record;
If got described broadcasting record, play the corresponding program audio video data of programme information of record in described broadcasting record;
If do not get described broadcasting record, searching programs list, and play the corresponding program audio video data of the top line information comprised in described the rendition list.
5. an equipment, is characterized in that, comprising:
Receiver module, the transmit flow data for the transmission of receiving front-end server, carry the program data group character in described transmit flow data, and the mode that receives the transmit flow data of described front-end server transmission is the part receive mode;
Soft parsing and decoder module, the program data group character of carrying for the described transmit flow data received according to described receiver module is carried out soft parsing and decoding to described transmit flow data, obtains the program audio video data for playing;
Playing module, the described program audio video data obtained for playing described soft parsing and decoder module.
6. equipment as claimed in claim 5, is characterized in that, described soft parsing and decoder module comprise:
Soft resolution unit, for according to the described transmit flow data of the soft parsing of described program data group character, obtain Basic Flow data and audio/video decoding group character;
Decoding unit, to described Basic Flow decoding data, obtain the described program audio video data for playing for the described audio/video decoding group character that parses according to described soft resolution unit.
7. equipment as claimed in claim 6, is characterized in that, described soft resolution unit comprises:
Remove subelement, for removing the redundant information of described transmit flow data, and invalid data;
Subelement is obtained in soft parsing, for by described program data group character, from the described transmit flow data of having removed described redundant information and described invalid data, obtaining the Basic Flow data;
Whether judgment sub-unit, comprise Program Map Table for judging described Basic Flow data; Also, for judging described Basic Flow packet when the Program Map Table, generate to obtain prompting message and be sent to and obtain subelement; Also when judging described Basic Flow data and do not comprise Program Map Table, generate and analyze prompting message and also be sent to the analysis subelement;
Obtain subelement, for receive that described judgment sub-unit sends described obtain prompting message after, obtain described audio/video decoding group character from described Program Map Table;
Analyze subelement, after the described analysis prompting message that receives described judgment sub-unit transmission, according to the elementary stream type analysis of stipulating in the packing agreement, go out described audio/video decoding group character.
8. equipment as claimed in claim 7, is characterized in that, described playing module comprises:
Play acquiring unit, for obtaining the broadcasting record; Also when getting described broadcasting and record, generate the first play cuing information and sending to broadcast unit, described the first play cuing message is carried the programme information of record in described broadcasting record; Also when failing to get described broadcasting and record, generate the Search Hints information and sending to search unit;
Broadcast unit, after described the first play cuing message that receives described broadcasting acquiring unit transmission, play the corresponding program audio video data of programme information of record in described broadcasting record;
Search unit, after the described Search Hints message that receives described broadcasting acquiring unit transmission, the searching programs list; Also, for generating the second play cuing information and sending to described broadcast unit, described the second play cuing message is carried the top line information comprised in described the rendition list;
Described broadcast unit, also, for after described the second play cuing message that receives described search unit transmission, play the corresponding program audio video data of the top line information comprised in described the rendition list.
CN201310441502.3A 2013-09-23 2013-09-23 The method and apparatus that a kind of program is play Active CN103501457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310441502.3A CN103501457B (en) 2013-09-23 2013-09-23 The method and apparatus that a kind of program is play

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310441502.3A CN103501457B (en) 2013-09-23 2013-09-23 The method and apparatus that a kind of program is play

Publications (2)

Publication Number Publication Date
CN103501457A true CN103501457A (en) 2014-01-08
CN103501457B CN103501457B (en) 2016-10-05

Family

ID=49866618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310441502.3A Active CN103501457B (en) 2013-09-23 2013-09-23 The method and apparatus that a kind of program is play

Country Status (1)

Country Link
CN (1) CN103501457B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244082A (en) * 2014-09-28 2014-12-24 深圳国微技术有限公司 Digital video broadcasting transport stream playing method and system and terminal
CN104902311A (en) * 2015-05-28 2015-09-09 青岛海信宽带多媒体技术有限公司 Method for sharing audio/video resources, shared gateway and system
CN106791938A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 Trailer player method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179738A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Conversion method from transmission stream to China mobile multimedia broadcasting multiplex protocol
CN101222625A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and system for implementing IPTV multi-format mixed channel time shifting
CN101729179A (en) * 2008-10-27 2010-06-09 深圳市爱国者嵌入式系统科技有限公司 Method for converting mobile multimedia broadcasting code stream to transport stream
CN102256175A (en) * 2011-07-21 2011-11-23 深圳市茁壮网络股份有限公司 Method and system for inserting and presenting additional information in digital television program
CN102984576A (en) * 2012-12-21 2013-03-20 四川九洲电器集团有限责任公司 Audio-video stripping method and system for TS media

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179738A (en) * 2006-11-08 2008-05-14 中兴通讯股份有限公司 Conversion method from transmission stream to China mobile multimedia broadcasting multiplex protocol
CN101222625A (en) * 2008-01-23 2008-07-16 中兴通讯股份有限公司 Method and system for implementing IPTV multi-format mixed channel time shifting
CN101729179A (en) * 2008-10-27 2010-06-09 深圳市爱国者嵌入式系统科技有限公司 Method for converting mobile multimedia broadcasting code stream to transport stream
CN102256175A (en) * 2011-07-21 2011-11-23 深圳市茁壮网络股份有限公司 Method and system for inserting and presenting additional information in digital television program
CN102984576A (en) * 2012-12-21 2013-03-20 四川九洲电器集团有限责任公司 Audio-video stripping method and system for TS media

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104244082A (en) * 2014-09-28 2014-12-24 深圳国微技术有限公司 Digital video broadcasting transport stream playing method and system and terminal
WO2016045208A1 (en) * 2014-09-28 2016-03-31 深圳国微技术有限公司 Digital television broadcast transport stream playing method, system and terminal
CN104902311A (en) * 2015-05-28 2015-09-09 青岛海信宽带多媒体技术有限公司 Method for sharing audio/video resources, shared gateway and system
CN104902311B (en) * 2015-05-28 2019-03-01 青岛海信宽带多媒体技术有限公司 A kind of shared method of audio and video resources, shared gateway and system
CN106791938A (en) * 2016-12-27 2017-05-31 深圳Tcl数字技术有限公司 Trailer player method and system
CN106791938B (en) * 2016-12-27 2020-02-14 深圳Tcl数字技术有限公司 Method and system for playing preview program

Also Published As

Publication number Publication date
CN103501457B (en) 2016-10-05

Similar Documents

Publication Publication Date Title
KR101706956B1 (en) Non-realtime service processing method and broadcasting receiver
US8788933B2 (en) Time-shifted presentation of media streams
WO2013157440A1 (en) Reception device, reception method, transmission device, transmission method, and program
KR101695820B1 (en) Non-real-time service processing method and a broadcasting receiver
CN1152561C (en) Method and apparatus for receiving digit broadcast
EP2854408B1 (en) Information processing apparatus, data management method, and program
KR101685987B1 (en) Non-real-time service processing method and broadcasting receiver
KR101635889B1 (en) Non-real time service processing method and broadcast receiver
US8189987B2 (en) Digital multimedia reproducing apparatus and method of providing digital multimedia broadcasting in the digital multimedia reproducing apparatus
JPH09233419A (en) Television signal receiver
US7523451B2 (en) Method for processing updated application data in headend or terminal of digital data broadcasting system
JP5278059B2 (en) Information processing apparatus and method, program, and information processing system
CN103501457A (en) Method and device for playing programs
CN106385525A (en) Video play method and device
KR102070434B1 (en) Method and apparatus for decoding an audio bitstream comprising system data
JP6415368B2 (en) Video playback device, video playback method, and program
JP2014200099A (en) Transmitting device and method, and receiving device and method
JP6441401B2 (en) Program reproduction control method and digital television apparatus
KR100637914B1 (en) Method for controlling satellite digital multimedia broadcasting service and apparatus thereof
JP2007074671A (en) Pid value detection circuit, stream data receiver and pid value detecting method
KR20060072639A (en) Receiving system for digital multimedia broadcasting able to automatic record the special broadcasting, and mobile phone used it, and automatic recording method for the special broadcasting from digital multimedia broadcasting
JP2009094972A (en) Re-distribution device and receiver
JP2000032362A (en) Device and method for transmitting information
JP2003078892A (en) Television signal receiver
JP2013211890A (en) Transmitting device and method, and receiving device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 008 building, room 704, SKYWORTH A703

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Applicant after: Shenzhen Skyworth Digital Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road No. 008 building, room 704, SKYWORTH A703

Applicant before: Shenzhen Skyworth Software Co., Ltd.

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant