CN103200440B - A kind of processing method of broadcast data, treatment system and device - Google Patents

A kind of processing method of broadcast data, treatment system and device Download PDF

Info

Publication number
CN103200440B
CN103200440B CN201210001245.7A CN201210001245A CN103200440B CN 103200440 B CN103200440 B CN 103200440B CN 201210001245 A CN201210001245 A CN 201210001245A CN 103200440 B CN103200440 B CN 103200440B
Authority
CN
China
Prior art keywords
broadcast data
broadcast
processing module
terminal processing
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.)
Active
Application number
CN201210001245.7A
Other languages
Chinese (zh)
Other versions
CN103200440A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210001245.7A priority Critical patent/CN103200440B/en
Publication of CN103200440A publication Critical patent/CN103200440A/en
Application granted granted Critical
Publication of CN103200440B publication Critical patent/CN103200440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The invention discloses a kind of processing method of broadcast data, treatment system and device, according to a technical scheme, digital broadcast data can be treated to ethernet data frame, thus the ICP/IP protocol unit in terminal can be processed these data, and then the application program be supplied in terminal, thus the application program achieved in terminal can process broadcast data, improve the utilance of terminal in the processing procedure of broadcast data; According to another technical scheme, the demultiplexing process of broadcast data can be completed by terminal, thus terminal can be processed broadcast data, improves the utilance of terminal in the processing procedure of broadcast data.

Description

A kind of processing method of broadcast data, treatment system and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of processing method of broadcast data, treatment system and device.
Background technology
Terminal, as a kind of networked communication device be widely used, as mobile terminal, household digital TV set-top box, car-mounted terminal, sector application terminal etc., has penetrated into the various aspects of social life by various product form.
Generally various application program can be installed in the processing module (being called terminal processing module) of terminal, usually these application programs carry out connected network communication by TCP/IP (TransmissionControlProtocol/InternetProtocol, transmission control protocol/Internet Protocol).Such as, mobile terminal can install browser program, music program, video reproduction program, photo browser, games etc.; Car-mounted terminal can install GPS (GlobalPositioningSystem, global positioning system) communication navigation program, digital television program playing program, music program, games etc.
Along with the maturation of digital broadcast technologies, terminal can pass through integrating digital broadcast receiver module, as CMMB (ChinaMobileMultimediaBroadcasting, China Mobile multimedia broadcasting) module, carry out the broadcast data that receiving digital broadcast network provides.Digital broadcast technologies has high bandwidth, real-time, the advantage that can carry all kinds of multi-medium data, and increasing terminal obtains colourful digital information digital broadcast network by integrating digital broadcast receiver module from digital broadcast network.Digital broadcast network can be wired broadcasting network, also can be wireless broadcast network.
Fig. 1 shows the schematic diagram of integrating digital broadcast receiver module in the terminal, as shown in Figure 1, Digital Broadcasting Receiver module is mainly connected with terminal processing module, this Digital Broadcasting Receiver module mainly comprises broadcast data reception unit 101, Data Analysis unit 102 and datagram controller 103, wherein, broadcast data reception unit 101 is mainly used in receiving digital broadcast signal, carries out preliminary treatment to the digital broadcast signal received, and exports broadcast data transmission stream (TS) code stream; Data Analysis unit 102, is mainly used in the TS code stream receiving the output of broadcast data reception unit 101, and obtains multiplexed frame or multiplexed sub frame to TS code stream demultiplexing; Datagram controller 103 mainly provides the interface channel with terminal processing module, Data Analysis unit 102 is processed broadcast data payload transmission to the terminal processing module obtained and carries out playing or showing.
The problem of following two aspects can be there is in actual applications in the terminal processing module being integrated with Digital Broadcasting Receiver module shown in Fig. 1:
One, the application program in terminal processing module can not participate in the process to the broadcast data that Digital Broadcasting Receiver module receives.
Application program, for music program, when obtaining data by ICP/IP protocol networking, is undertaken alternately by the communication pattern of " request/response " and IP communication network.In order to obtain the data in IP network, as certain music file, application program in terminal processing module wants designated tone music file download address, as IP address or URL (Uniform/UniversalResourceLocator, URL(uniform resource locator)) address, initiate music file download request to network side again, the music file download service program in network responds the download request sent by application program, sends music file to application program by the mode of response.And for being integrated with the terminal processing module of Digital Broadcasting Receiver module, music file can be sent to terminal processing module by the mode pushed by radio network, music program is without the need to obtaining music file to the request of radio network initiating communication again.Like this, be existingly representative with music program application program just exists a defect, lack a suitable communication plan and make music program extract the music file received by Digital Broadcasting Receiver module.
The reasons that there is above-mentioned defect is, existing music program adopts the communication pattern of " request/response " of ICP/IP protocol, the address designator of a communication cohesion must be had, as IP address or URL address, the request of ability initiating communication, and " request/response " communication pattern required by ICP/IP protocol architecture do not deferred to by radio network, Digital Broadcasting Receiver module cannot the Base communication ability of ICP/IP protocol directly required by support application program, as mark or assign physical communication address or logic communication address.Further, Digital Broadcasting Receiver module generally has oneself independently CPU (CentralProcessingUnit, central processing unit) and computing environment, receives and process broadcast singal demodulation broadcast data out.Simultaneously, Digital Broadcasting Receiver module is the ancillary equipment of terminal processing module, the broadcast data received can only be forwarded to terminal processing module by the physical interface of peripheral communication and driver thereof, even all understand and whether support ICP/IP protocol less than in terminal processing module, more do not understand the music program whether being provided with and using ICP/IP protocol networking.
Visible, the terminal processing module of above-mentioned integrating digital broadcast receiver module, just play or show the broadcast data that Digital Broadcasting Receiver module receives simply, and the application program do not comprised by terminal processing module participates in the process to digital broadcast data.
Two, terminal processing module can not participate in the process to the broadcast data that Digital Broadcasting Receiver module receives.
For the terminal processing module of integrating digital broadcast receiver module, in order to lifting section electrical efficiency, the average battery consumption of terminal processing module during to reduce receiving broadcast signal as far as possible, at present, with the CMMB demodulator power consumption of radio frequency amplifying circuit and applicable mobile reception between 0.73mW to 1.3mW, and personal hand-held mobile terminal requires to adopt powered battery, and considers heat dissipation problem, power consumption is less than 100mW, just can meet the needs of terminal use.Time slicing techniques is the power-saving technology introduced in mobile digital broadcast, effectively can reduce the average power consumption that mobile terminal receives and processes broadcast singal.
The burst oriented data transmission of transmitting terminal due to broadcast system, intensively sends broadcast data business in each time burst, and this business monopolizes whole bandwidth.The timeslice of receiving terminal at selected business place receives information, and between two timeslices, (i.e. idling cycle) makes energy-efficient treatment, thus effectively reduces receiving terminal average power consumption.Certainly, during this, the transmitter of front end works always, can transmit other business datum between two timeslices of identical services, and broadcast singal is exactly be made up of so many timeslices.From the angle of receiver, the business datum received is not traditional continuous input mode of constant rate of speed, and data in a discrete fashion interval arrive, and are therefore called burst mode transmission.Meanwhile, time slicing techniques provides the mechanism of from TS code stream extraction time parameter information, counts the Delta-T time, and this relative time indicates that current business burst has the relative time of the timeslice of identical services to the next one.Therefore, receiving terminal can be transformed into operating state when next timeslice arrives from power save mode according to this parameter.Time slicing techniques, by being optimized broadcast singal transmission mode, by optimizing the radio frequency amplifying circuit of receiving terminal and the operating state of demodulator, thus reaches the average power consumption reducing receiving terminal and receive and process broadcast singal.
Broadcast system data link layer adopts multiplex/demultiplex technology to carry out transfer of data.The transmitter of front end adopts multiplex technique to carry out digital broadcasting.The multiplexing multiple multiplexed frame of broadcast channel frame, each multiplexed frame is multiplexing multiple multiplexed sub frame again, is filled again form by multiplex frame head, one or more multiplexed sub frame.Each multiplexed sub frame is made up of subframe head, video-frequency band, audio section and data segment again, wherein, comprises again some control informations and retain position in subframe head.Receiving terminal will carry out multiplexing reverse process (i.e. demultiplexing), solves multiplexed sub frame, solve video-frequency band, audio section and data segment from multiplexed sub frame from multiplexed frame.As a rule, video-frequency band and audio section carrying audio frequency and video TV service, data segment carrying digital broadcast service.For convenience of description, follow-up receiving terminal receiving broadcast signal to be called " preprocessing process " to the process exporting TS transport stream, the broadcast singal received is converted to baseband signal and sends demodulator in broadcast data reception unit 101 to by the radio frequency amplifying circuit in broadcast data reception unit 101, demodulator carries out OFDM demodulation system, Veterbi decoding, convolution de-interleaving and RS decoding successively, exports decoded TS code stream afterwards; After preprocessing process, Data Analysis unit 102 carries out demultiplexing processing procedure.
In practical application, in order to meet the requirement of real-time of broadcast data, broadcast data reception module can be carried out preprocessing process by broadcast data reception unit 101 simultaneously and carry out demultiplexing processing procedure by Data Analysis unit 102, and these two processes can only process in a serial fashion respectively in real time, such Problems existing really can not play time division technology to bring potential power savings to terminal processing module.Because: broadcast data reception module is when carrying out preprocessing process, in order to receiving broadcast signal, need to make radio frequency amplifying circuit and demodulator in running order, namely broadcast data reception module is in running order, and time division technology is at performance energy-saving effect, require after preprocessing process terminates, radio frequency amplifying circuit and demodulator are in power save mode., broadcast data reception module also will carry out demultiplexing process, and is carry out in a serial fashion after preprocessing process terminates.This just requires that broadcast data reception module is still in non-energy-conservation operating state.Therefore, time division technology is that broadcast data reception module provides the idling cycle entering power save mode after preprocessing process, but in this idling cycle, because of the restriction of the demultiplexing process that serial is carried out, broadcast data reception module will carry out demultiplexing process, power save mode cannot be entered
In sum, the application program in existing terminal processing module or terminal processing module can not process broadcast data, thus reduces the utilance of terminal processing module in the processing procedure of broadcast data.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of processing method of broadcast data, treatment system and device, adopts this technical scheme, can improve the utilance of terminal processing module in broadcast data processing procedure.
The embodiment of the present invention is achieved through the following technical solutions:
According to an aspect of the embodiment of the present invention, provide a kind of processing method of broadcast data, comprising:
Digital Broadcasting Receiver module receives broadcast data, process is carried out to the described broadcast data received and obtains transport stream TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS grouping, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the terminal processing module of connection;
After described terminal processing module receives the ethernet data frame of described Digital Broadcasting Receiver module transmission, call in advance in the virtual ethernet device driver that the operating system of described terminal processing module is registered, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module, and after protocol processes being carried out to described ethernet data frame by described ICP/IP protocol unit, is sent to the setting application program that described terminal processing module comprises.
According to another aspect of the embodiment of the present invention, additionally provide a kind of processing method of broadcast data, comprising:
Digital Broadcasting Receiver module receives broadcast data in the time burst of time slicing, process is carried out to the described broadcast data received and obtains transport stream TS code stream, and from described TS code stream, extract TS packetized file according to datagram fetch strategy, described TS packetized file is sent to the terminal processing module of connection;
Described terminal processing module carries out to described TS grouping multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data, and adopts setting means to play or show multiplexed frame and/or the multiplexed sub frame of described broadcast data.
According to another aspect of the embodiment of the present invention, additionally provide a kind for the treatment of system of broadcast data, comprise Digital Broadcasting Receiver module and terminal processing module; Wherein:
Described Digital Broadcasting Receiver module, for receiving broadcast data, process is carried out to the described broadcast data received and obtains transport stream TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS grouping, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the described terminal processing module of connection;
Described terminal processing module, for receive described Digital Broadcasting Receiver module send ethernet data frame after, call in advance in the virtual ethernet device driver that the operating system of described terminal processing module is registered, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module, and after protocol processes being carried out to described ethernet data frame by described ICP/IP protocol unit, is sent to the setting application program that described terminal processing module comprises.
According to another aspect of the embodiment of the present invention, additionally provide a kind of processing unit of broadcast data, comprising:
Broadcast data pretreatment unit, Data Analysis unit and datagram controller;
Wherein, described broadcast data pretreatment unit, for receiving broadcast data, carrying out process to the described broadcast data received and obtaining transport stream TS grouping, and described TS grouping is sent to described Data Analysis unit;
Described Data Analysis unit, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out in TS grouping for sending described broadcast data pretreatment unit, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and are sent the ethernet data frame encapsulating and obtain by described datagram controller.
According to another aspect of the embodiment of the present invention, additionally provide a kind of processing unit of broadcast data, comprising:
Terminal processing module controller, broadcast data interface unit and ICP/IP protocol unit;
Wherein, described terminal processing module controller, for receiving ethernet data frame, and sends to described broadcast data interface unit by described ethernet data frame;
Described broadcast data interface unit, for calling the virtual ethernet device driver of the operating system registration of the terminal processing module in advance at place, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module;
Described ICP/IP protocol unit, for being sent to the setting application program that described terminal processing module comprises after carrying out protocol processes to described ethernet data frame.
According to another aspect of the embodiment of the present invention, additionally provide a kind for the treatment of system of broadcast data, comprise Digital Broadcasting Receiver module and terminal processing module; Wherein:
Digital Broadcasting Receiver module, for receiving broadcast data in the time burst of time slicing, process is carried out to the described broadcast data received and obtains transport stream TS code stream, and from described TS code stream, extract TS packetized file according to datagram fetch strategy, described TS packetized file is sent to the described terminal processing module of connection;
Described terminal processing module, for receive described Digital Broadcasting Receiver module send TS packetized file after, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS packetized file, and adopts multiplexed frame and/or the multiplexed sub frame of setting means broadcasting or display of broadcast data.
According to another aspect of the embodiment of the present invention, additionally provide a kind of processing unit of broadcast data, comprising:
Broadcast data pretreatment unit, datagram extraction unit and datagram controller;
Wherein, described broadcast data pretreatment unit, for receiving broadcast data in the time burst of time slicing, carrying out process to the described broadcast data received and obtaining transport stream TS code stream, and described TS code stream is sent to described datagram extraction unit;
Described datagram extraction unit, for extracting TS packetized file according to datagram fetch strategy from the TS code stream that described broadcast data pretreatment unit sends, will send described TS packetized file.
According to another aspect of the embodiment of the present invention, additionally provide a kind of processing unit of broadcast data, comprising:
Terminal processing module controller and datagram Multiplexing Unit;
Wherein, described terminal processing module controller, for receiving TS packetized file, and sends to described datagram Multiplexing Unit by described TS packetized file;
Described datagram Multiplexing Unit, after receiving described TS packetized file, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS packetized file, and adopts setting means to play or show multiplexed frame and/or the multiplexed sub frame of described broadcast data.
By at least one technical scheme above-mentioned that the embodiment of the present invention provides, Digital Broadcasting Receiver module receives broadcast data, process is carried out to the broadcast data received and obtains TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data is carried out to TS grouping, multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the terminal processing module of connection, after the ethernet data frame that terminal processing module receiving digital broadcast receiver module sends, call in advance in the virtual ethernet device driver that the operating system of terminal processing module is registered, ethernet data frame is sent to the ICP/IP protocol unit in the operating system of terminal processing module, and after protocol processes being carried out to ethernet data frame by ICP/IP protocol unit, be sent to the setting application program that terminal processing module comprises, according to this technical scheme, digital broadcast data can be treated to ethernet data frame, thus the ICP/IP protocol unit in terminal can be processed these data, and then the application program be supplied in terminal, thus the application program achieved in terminal can process broadcast data, improve the utilance of terminal in the processing procedure of broadcast data.
By at least one technical scheme above-mentioned that the embodiment of the present invention provides, Digital Broadcasting Receiver module receives broadcast data in the time burst of time slicing, process is carried out to the broadcast data received and obtains transport stream TS code stream, and from TS code stream, extract TS packetized file according to datagram fetch strategy, TS packetized file is sent to the terminal processing module of connection, terminal processing module carries out to TS grouping multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data, and adopts multiplexed frame and/or the multiplexed sub frame of setting means broadcasting or display of broadcast data.According to this technical scheme, the demultiplexing process of broadcast data can be completed by terminal, thus terminal can be processed broadcast data, improves the utilance of terminal in the processing procedure of broadcast data.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, is used from explanation the present invention, is not construed as limiting the invention with the embodiment of the present invention one.In the accompanying drawings:
The schematic diagram of the terminal processing module integrating digital broadcast receiver module that Fig. 1 provides for background technology;
The schematic diagram of the treatment system of the broadcast data that Fig. 2 provides for the embodiment of the present application one;
The schematic flow sheet realizing the process of broadcast data that Fig. 3 provides for the embodiment of the present application one;
The terminal processing module 202 that Fig. 4 provides for the embodiment of the present application one generates the schematic flow sheet controlling record;
The schematic flow sheet controlling the accepting state of broadcast data according to monitoring record that Fig. 5 provides for the embodiment of the present application one;
Another schematic flow sheet controlling the accepting state of broadcast data according to monitoring record that Fig. 6 provides for the embodiment of the present application one;
The logical construction schematic diagram of the Digital Broadcasting Receiver module 201 that Fig. 7 provides for the embodiment of the present application one and terminal processing module 202;
The schematic diagram of the treatment system of the broadcast data that Fig. 8 provides for the embodiment of the present application two;
The schematic flow sheet realizing the process of broadcast data that Fig. 9 provides for the embodiment of the present application two;
The schematic flow sheet extracting TS packetized file according to datagram fetch strategy from TS code stream that Figure 10 provides for the embodiment of the present application two;
Figure 11 generates the schematic flow sheet of data fetch strategy for terminal processing module 802 that the embodiment of the present application two provides;
The logical construction schematic diagram of the Digital Broadcasting Receiver module 801 that Figure 12 provides for the embodiment of the present application two and terminal processing module 802;
Figure 13 realizes the schematic flow sheet that broadcast data extracts electricity-saving control method for datagram controller 801C that the embodiment of the present application two provides.
Embodiment
In order to provide the implementation improving the utilance of terminal in the processing procedure of broadcast data, embodiments provide a kind of method of terminal processes broadcast data, treatment system and device, below in conjunction with Figure of description, the preferred embodiments of the present invention are described, be to be understood that, preferred embodiment described herein, only for instruction and explanation of the present invention, is not intended to limit the present invention.And when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
The terminal processing module related in the present embodiment refers to the module with Digital Broadcasting Receiver model calling, when Digital Broadcasting Receiver module integration is at terminal inner, this terminal processing module mainly refers in terminal for realizing the module of basic communication and parsing, also can be understood as the other parts except integrated Digital Broadcasting Receiver module in terminal, Digital Broadcasting Receiver module can be communicated by terminal inner Interface realization with terminal processing module; When Digital Broadcasting Receiver module is independent of terminal, this terminal processing module can refer to terminal, and Digital Broadcasting Receiver module can realize communicating by Peripheral Interface with terminal, such as, by USB (UniversalSerialBUS, USB) Interface realization communication.
Embodiment one
The embodiment of the present invention one provides a kind of processing method of broadcast data, this processing method mainly provides a kind of application program made in terminal, as music player, the scheme that can process broadcast data, thus the application program in terminal can be processed, to improve the utilance of terminal in broadcast data processing procedure to broadcast data.
Fig. 2 shows the schematic diagram of the treatment system of the broadcast data that the embodiment of the present application one provides, and as shown in Figure 2, the treatment system of this broadcast data mainly comprises:
Digital Broadcasting Receiver module 201 and terminal processing module 202; Wherein:
Digital Broadcasting Receiver module 201, for receiving broadcast data, process is carried out to the broadcast data received and obtains transport stream TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data is carried out to TS grouping, multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the terminal processing module 202 of connection;
Terminal processing module 202, for after the ethernet data frame that receiving digital broadcast receiver module 201 sends, call in advance in the virtual ethernet device driver that the operating system of terminal processing module is registered, ethernet data frame is sent to the ICP/IP protocol unit in the operating system of terminal processing module, and after protocol processes being carried out to ethernet data frame by ICP/IP protocol unit, is sent to the setting application program that terminal processing module comprises.
Fig. 3 treatment system shown based on the broadcast data shown in Fig. 2 realizes the schematic flow sheet of the processing method of broadcast data, and as shown in Figure 3, the processing procedure of this broadcast data, mainly comprises the steps:
Step 301, Digital Broadcasting Receiver module 201 receive broadcast data, and to receive broadcast data carry out process obtain TS grouping.
Step 302, the 201 pairs of TS groupings of Digital Broadcasting Receiver module are carried out multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data, and multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame.
In this step 302, multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame by Digital Broadcasting Receiver module 201, mainly the parsing of broadcast data tunneling is carried out to multiplexed frame and/or multiplexed sub frame, therefrom parse broadcast data payload, and this broadcast data payload is adapted to ethernet frame.
Step 303, Digital Broadcasting Receiver module 201 send to the terminal processing module 202 of connection by encapsulating the ethernet data frame obtained.
Above-mentioned steps 301 to step 303 constitutes the processing procedure of Digital Broadcasting Receiver module 201 pairs of digital broadcastings independently.
After the ethernet data frame that step 304, terminal processing module 202 receiving digital broadcast receiver module send, call in advance in the virtual ethernet device driver that the operating system of terminal processing module is registered.
Ethernet data frame is sent to the ICP/IP protocol unit in the operating system of terminal processing module by step 305, virtual ethernet equipment.
After this step 305, ICP/IP protocol unit is sent to the setting application program that terminal processing module comprises after can carrying out protocol processes to ethernet data frame.
Above-mentioned steps 304 to step 305 constitutes the processing procedure of terminal processing module 202 pairs of digital broadcastings independently.
So far, the handling process of broadcast data that the present embodiment one provides terminates.By the flow process that Fig. 3 is corresponding, digital broadcast data can be treated to ethernet data frame, thus the ICP/IP protocol unit in terminal can be processed these data, and then the application program be supplied in terminal, thus the application program achieved in terminal can process broadcast data, improve the utilance of terminal in the processing procedure of broadcast data.
In the step 301 that the corresponding flow process of Fig. 3 comprises, Digital Broadcasting Receiver module 201 can be carried out the reception of broadcast data based on the control of terminal processing module 202 and stop receiving, and specific implementation process is as follows:
Terminal processing module 202 needs generate and control record, and the control record that terminal processing module generates comprises control figure broadcast reception module 201 and starts to receive the control record of broadcast data and the control record of control figure broadcast reception module 201 stopping reception broadcast data; Wherein, the control record that control figure broadcast reception module 201 starts to receive broadcast data generally comprises broadcast start time, broadcast data mark and receives frequency, wherein, broadcast start time is mainly used in identifying the time starting to receive broadcast data, and broadcast data mark is used to indicate the broadcast data that will receive; Control figure broadcast reception module 201 stops the control record receiving broadcast data to generally comprise broadcast-end-time and broadcast data mark, wherein, broadcast-end-time is mainly used in identifying the time stopping receiving broadcast data, and broadcast data mark is used to indicate the broadcast data that will receive.Fig. 4 shows terminal processing module 202 and generates the schematic flow sheet controlling record, and as shown in Figure 4, terminal processing module 202 generates and controls record, mainly comprises the steps:
Step 401, terminal processing module 202 obtain electronic program guides by Digital Broadcasting Receiver module 201.
In this step 401, terminal processing module 202 can active obtaining electronic program guides (EPG), namely sends electronic program guides to Digital Broadcasting Receiver module 201 and obtains request, and the electronic program guides that receiving digital broadcast receiver module 201 obtains; Digital Broadcasting Receiver module 201 also initiatively can provide electronic program guides to terminal processing module, and namely Digital Broadcasting Receiver module 201 is after getting electronic program guides, initiatively sends to terminal processing module.
Electronic program guides is shown to user and selects electronic programming by step 402, terminal processing module 202.
In this step 402, electronic program guides can be shown to user by the screen display program calling terminal processing module and select by terminal processing module 202.
The electronic programming that step 403, terminal processing module 202 are selected according to user, generates and comprises the broadcast data mark corresponding with electronic programming and the control record of respective broadcast time.
In this step 403, if generate control figure broadcast reception module 201 to start the control record receiving broadcast data, then the control record generated needs the reception frequency comprising broadcast data mark, broadcast start time and selected electronic programming; The control record that control figure broadcast reception module 201 terminates to receive broadcast data if generate, then the control record generated needs to comprise broadcast data mark and broadcast-end-time.
So far, the flow process that terminal processing module 202 generation controls to record terminates.By the flow process that Fig. 4 is corresponding, terminal processing module 202 can generate to control to record and start to receive or stop to receive broadcast data with designation number broadcast reception module 201.
Terminal processing module 202 can control the situation that Digital Broadcasting Receiver module 201 receives broadcast data according to this control record after generating control record by the corresponding flow process of Fig. 4, particularly, embodiments provides both preferred implementations following:
Preferred implementation one
The time controlled in record is monitored, as broadcast start time or broadcast-end-time by terminal processing module 202.
Fig. 5 shows the schematic flow sheet of the accepting state (terminating as started, terminating to receive) controlling broadcast data according to monitoring record, as shown in Figure 5, mainly comprises the steps:
Step 501, terminal processing module 202 are monitored the temporal information controlled in record.
In this step 501, be recorded as if control the control record that control figure broadcast reception module 201 starts to receive broadcast data, then terminal processing module 202 is mainly to broadcast start time monitoring wherein; Be recorded as the control record that control figure broadcast reception module 201 stops receiving broadcast data if control, then terminal processing module 202 is mainly to broadcast-end-time monitoring wherein.
This control record, monitoring after time corresponding to temporal information reaches, is sent to Digital Broadcasting Receiver module 201 by step 502, terminal processing module 202.
The control record that the corresponding time that step 503, Digital Broadcasting Receiver module 201 receiving terminal processing module send arrives, according to the accepting state controlling record controls broadcast data.
In this step 503, if the control that the time arrives is recorded as the control record that control figure broadcast reception module 201 starts to receive broadcast data, then Digital Broadcasting Receiver module 201 mainly identifies according to controlling to record the broadcast data comprised and receives frequency, receives identify corresponding broadcast data with broadcast data at reception frequency; If the control that the time arrives is recorded as the control record that control figure broadcast reception module 201 stops receiving broadcast data, then Digital Broadcasting Receiver module 201 mainly records according to controlling the broadcast data mark comprised, and stops receiving controlling to record the broadcast data comprised identify corresponding broadcast data with described.
So far, the flow process controlling the accepting state of broadcast data according to monitoring record terminates.
Preferred implementation two
The time controlled in record is monitored, as broadcast start time or broadcast-end-time by Digital Broadcasting Receiver module 201.
Fig. 6 shows the schematic flow sheet of the accepting state controlling broadcast data according to monitoring record, as shown in Figure 6, mainly comprises the steps:
Control record is sent to Digital Broadcasting Receiver module 201 by step 601, terminal processing module 202.
Step 602, Digital Broadcasting Receiver module 201 are monitored the temporal information in the control record received.
In this step 602, be recorded as the control record controlling to start to receive broadcast data if control, then Digital Broadcasting Receiver module 201 is mainly to broadcast start time monitoring wherein; Be recorded as the control record controlling to stop receiving broadcast data if control, then Digital Broadcasting Receiver module 201 is mainly to broadcast-end-time monitoring wherein.
Step 603, Digital Broadcasting Receiver module 201 monitoring after time corresponding to temporal information reaches, according to the accepting state controlling record controls broadcast data.
In this step 603, specific implementation process substantially identical with the specific implementation process of above-mentioned steps 503, repeat no more herein.
So far, the flow process controlling the accepting state of broadcast data according to monitoring record terminates.
In practical application, Digital Broadcasting Receiver module 201 and terminal processing module 202 for realizing above-mentioned functions can be respectively the logical construction of Digital Broadcasting Receiver module and the logical construction of terminal processing module as shown in Figure 7, as shown in Figure 7, Digital Broadcasting Receiver module 201 specifically can comprise broadcast data pretreatment unit 201A, Data Analysis unit 201B and datagram controller 201C; Terminal processing module 202 specifically can comprise terminal processing module controller 202A, broadcast data interface unit 202B and ICP/IP protocol unit 202C; Wherein, the function of each logic module is as follows:
Wherein, broadcast data pretreatment unit 201A, specifically for receiving broadcast data, carrying out process to the broadcast data received and obtaining transport stream TS grouping, and TS grouping is sent to Data Analysis unit 201B;
Data Analysis unit 201B, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data is carried out in TS grouping specifically for sending broadcast data pretreatment unit 201A, multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and ethernet data frame encapsulation obtained sends to the terminal processing module controller 201C of connection by datagram controller;
Terminal processing module controller 202A, the ethernet data frame specifically for being sent by datagram controller sends to broadcast data interface unit 202B;
Broadcast data interface unit 202B, specifically for calling in advance in the virtual ethernet device driver that the operating system of terminal processing module is registered, is sent to the ICP/IP protocol unit 202C in the operating system of terminal processing module by ethernet data frame;
ICP/IP protocol unit 202C, specifically for being sent to the setting application program that terminal processing module comprises after carrying out protocol processes to ethernet data frame.
Should be appreciated that the above logical partitioning carried out for Digital Broadcasting Receiver module 201 and terminal processing module 202 is only a kind of implementation realizing the embodiment of the present invention, in practical application, multiple dividing mode can also be had, will not enumerate herein.Further, the logic module that above-mentioned Digital Broadcasting Receiver module 201 comprises and the module that terminal processing module 202 comprises separate, namely above-mentioned Digital Broadcasting Receiver module 201 can independently exist, and above-mentioned terminal processing module 202 also can independently exist.
In system shown in Figure 7, the connecting interface between each unit is as follows:
In terminal processing module 202, be connected between Digital Broadcasting Receiver module 201 with terminal processing module 202 by communication interface, an embodiment of this communication interface is USB (USB, UniversalSerialBus) interface.In practical application, datagram controller 201C is the physical interface that broadcast data reception module 201 is connected with terminal processing module 202.
Wherein, datagram controller 201C is connected by physical interface with Data Analysis unit 201B, as SPI (SerialPeripheralInterface, Serial Peripheral Interface (SPI)), GPIO (GeneralPurposeInputOutput, universal input/output) interface;
Datagram controller 201C is connected by the physical interface of prior art with broadcast data pretreatment unit 201A, as I2C (Inter-IntegratedCircuit, twin wire universal serial bus) interface, ISO-7816 interface;
Data Analysis unit 201B is connected by the physical interface of prior art with broadcast data pretreatment unit 201A, as SPI interface, GPIO interface.
In system shown in Figure 7, the detailed implementation of each logical block that Digital Broadcasting Receiver module 201 comprises is as follows:
Datagram controller 201C has can the embedded computer system function of independent operating, comprises the CPU computing function, system clock function, data storage function, the equipment physical interface management function that have oneself; And, this datagram controller 201C can installation and operation physical interface driver and for datagram receive control application program, there is provided broadcast data to monitor and receiving function, control broadcast data pretreatment unit 201A and whether receive or stop receiving broadcast data.
Data Analysis unit 201B, perform broadcast data demultiplexing process, the TS stream demultiplexing sent from broadcast data pretreatment unit 201A goes out multiplexed frame or multiplexed sub frame, and by carrying out the parsing of broadcast data tunneling to multiplexed frame or multiplexed sub frame, broadcast data payload is parsed from multiplexed frame or multiplexed sub frame, and broadcast data payload is adapted to ethernet frame, by USB interface driver in calling data report controller 201C, broadcast data payload is sent to USB interface.
Wherein, the specific embodiment that Data Analysis unit 201B parses broadcast data payload from multiplexed frame or multiplexed sub frame is: CMMB radio network is when sending IP packet, at transmitting terminal, IP packet is deferred to XPE agreement before broadcast and the payload that IP packet wraps as XPE is carried out protocol encapsulation, be packaged into XPE and wrap in the data segment of CMMB multiplexed sub frame and carry out broadcasting transmitting.Data Analysis unit 201B will extract the XPE bag in the data segment of CMMB multiplexed sub frame, defer to XPE agreement and carry out protocol analysis taking-up IP packet, i.e. broadcast data payload;
Wherein, the specific embodiment that broadcast data payload is adapted to ethernet frame by Data Analysis unit 201B is: the broadcast data payload belonging to same XPE bag is kept in a temporary file by Data Analysis unit 201B, call a virtual Ethernet interface driver and the broadcast data payload in temporary file is packaged into ethernet frame, call USB interface driver again, ethernet frame is sent to USB interface.
Broadcast data pretreatment unit 201A, be responsible for process digital broadcast signal to receive and baseband communication, particularly, receiving broadcast signal, convert this broadcast singal to baseband signal, after completing OFDM (OrthogonalFrequencyDivisionMultiplexing, the OFDM) rectification in the chnnel coding process of a series of digital broadcast signal, viterbi convolutional codes decoding and convolution de-interleaving, export decoded broadcast transmission stream TS and divide into groups.In practical application, this broadcast data pretreatment unit 201A can adopt hardware technology to realize digital broadcast signal by radio frequency amplifying circuit and demodulator for demodulating digital broadcast signals and receive and baseband communication; Further, this broadcast data pretreatment unit 201A is managed by hardware clock and realizes data decode condition managing.Datagram controller 201C for broadcast data pretreatment unit 201A clock signal is provided time, the radio frequency amplifying circuit of hardware system and/or demodulator for demodulating digital broadcast signals are according to clock start signal broadcast data decode procedure, when datagram controller 201C turns off the clock of radio frequency amplifying circuit and/or demodulator for demodulating digital broadcast signals, close broadcast data decode procedure.
In system shown in Figure 7, the detailed implementation of each logical block that terminal processing module 202 comprises is as follows:
Terminal processing module controller 202A, having can the embedded computer system hardware system of independent operating and operation system of software function, comprises the CPU computing function, system clock function, data storage function, device driver installation function etc. that have oneself; Further, this end device controller 202A can installation and operation application program, as music program, Picture-viewer etc.
Broadcast data interface unit 202B, provides broadcast data reception service unit, and be made up of broadcast data reception service routine and control record, wherein, the basic structure controlling an embodiment of record is as follows:
{
Broadcast reception frequency;
Broadcast start time;
Broadcast-end-time;
Broadcast data title;
}
Broadcast data interface unit 202B, a set of physical interface USB device driver can be provided, a set of virtual ethernet device driver is provided, and virtual registration is ethernet device in the operating system of terminal processing module, for the physical communication interface between call number broadcast reception module 201 and terminal processing module controller 202A, carry out data receiver by virtual for the physical interface of communication for Ethernet interface.Wherein, virtual ethernet device driver, comprising:
Receiving function unit, the data that the physical communication interface between receiving digital broadcast receiver module 201 and terminal processing module controller 202A transmits, by the data retransmission that receives to the ICP/IP protocol unit 202C in terminal processing module operation system of software;
Registration function, to terminal processing module 202 operating system virtual registration described in receiving function unit be ethernet device receiving function unit.
ICP/IP protocol unit 202C, realizes ICP/IP protocol processing capacity, for application program provides the ICP/IP protocol port of data receiver.
Corresponding to the flow process that Fig. 4 provides, the terminal processing module controller 202A that terminal processing module 202 comprises, also obtain electronic program guides for obtaining by broadcast data pretreatment unit 201A, and this electronic program guides is shown to user selects electronic programming, and receive the electronic programming of user's selection, and selection result is sent to broadcast data interface unit 202B;
Correspondingly, broadcast data interface unit 202B, the electronic programming also for selecting according to user, generates and comprises the broadcast data mark corresponding with electronic programming and the control record of respective broadcast time.Wherein, the basic structure of an embodiment of the control record of generation is as follows:
{
Broadcast reception frequency;
Broadcast start time;
Broadcast-end-time;
Broadcast data title;
}
The control provided corresponding to Fig. 5 is recorded as the flow process controlled when starting the control record receiving broadcast data, the datagram controller 201C that Digital Broadcasting Receiver module 201 comprises, the control record that the broadcast start time that the terminal processing module controller 202A also comprised for receiving terminal processing module 202 sends arrives, and control this broadcast data pretreatment unit reception broadcast data; Correspondingly, broadcast data pretreatment unit 201A, the broadcast data specifically for comprising according to this control record identifies and receives frequency, receives identify corresponding broadcast data with described broadcast data at reception frequency.
The control provided corresponding to Fig. 5 is recorded as the flow process during control record controlling to stop receiving broadcast data, the datagram controller 201C that Digital Broadcasting Receiver module 201 comprises, the control record that the broadcast-end-time that the terminal processing module controller 202A also comprised for receiving terminal processing module 202 sends arrives, and control broadcast data pretreatment unit 201A stopping reception broadcast data; Correspondingly, broadcast data pretreatment unit 201A, identifies corresponding broadcast data specifically for stopping receiving with the broadcast data that this control record comprises.
The control provided corresponding to Fig. 6 is recorded as the flow process controlled when starting the control record receiving broadcast data, the datagram controller 201C that Digital Broadcasting Receiver module 201 comprises, the control record that the terminal processing module controller 202A also comprised for receiving terminal processing module 202 sends, and monitoring after broadcast start time that this control record comprises arrives, controlling this broadcast data pretreatment unit and receiving broadcast data;
Correspondingly, broadcast data pretreatment unit 201A, the broadcast data specifically for comprising according to this control record identifies and receives frequency, receives identify corresponding broadcast data with this broadcast data at this reception frequency.
The control provided corresponding to Fig. 6 is recorded as the flow process during control record controlling to stop receiving broadcast data, the datagram controller 201C that Digital Broadcasting Receiver module 201 comprises is also for the control record of receiving terminal processing module controller 202A transmission, and monitoring after broadcast-end-time that this control record comprises arrives, controlling this broadcast data pretreatment unit 201A and stopping receiving broadcast data;
Correspondingly, broadcast data pretreatment unit 201A, identifies corresponding broadcast data specifically for stopping receiving with the broadcast data that this control record comprises.
For understanding the embodiment of the present invention better, below provide several specific embodiment to understand technical solution of the present invention better.
One, to control to start to receive the specific embodiment of broadcast data as follows for terminal processing module 202:
After terminal processing module startup work, the broadcast data reception service routine in broadcast data interface unit 202B is responsible for sending to broadcast data reception module 201 starting broadcast data decoding service request (namely controlling the request that broadcast data reception module 201 receives broadcast data).Wherein, terminal processing module 202 sends the embodiment starting the request of broadcast data decoding service:
Broadcast data reception service routine is polling system record periodically;
When " broadcast start time " that certain record finding to control record sheet stores mates with the system time of terminal processing module 202, perform:
1, call the USB device driver in terminal processing module 202, control record is sent to USB interface, send Digital Broadcasting Receiver module 201 to;
2, call the virtual ethernet device driver in terminal processing module 202, start the registration that its registration function completes virtual ethernet device driver;
3, call the virtual ethernet device driver in terminal processing module 202, start the reception that its receiving function unit carries out Ethernet data message.
Two, terminal processing module 202 controls to stop the specific embodiment of reception broadcast data as follows:
After terminal processing module startup work, the broadcast data reception service routine in broadcast data interface unit 202B is responsible for sending the broadcast data decoding service request that stops (namely controlling the request stopping receiving broadcast data) to broadcast data reception module.Wherein, terminal processing module 202 sends the embodiment stopping the request of broadcast data decoding service:
Broadcast data reception service routine is polling system record periodically;
When " broadcast-end-time " that certain record finding to control record sheet stores mates with the system time of terminal processing module 202, perform:
1, call the USB device driver in terminal processing module 202, control record is sent to USB interface, send Digital Broadcasting Receiver module 201 to;
2, call the virtual ethernet device driver in broadcast data interface unit 202B, close the reception of the Ethernet data message that its receiving function unit carries out;
3, call the virtual ethernet device driver in broadcast data interface unit 202B, start the cancellation that its registration function completes virtual ethernet device driver.
Three, the specific embodiment of broadcast data reception is as follows:
After terminal processing module startup work, the broadcast data decoding service program in datagram controller 201C is responsible for controlling broadcast data decoding service, and foundation controls record, starts or stops broadcast data decoding, broadcast data parsing and data transmission; Wherein, the broadcast data reception that broadcast data reception module provides serves an embodiment:
Monitor and receive the control record on usb bus;
Often receive one and control record, register a broadcast reception according to the broadcast start time of record and start timer;
Often receive one and control record, the broadcast according to record starts to terminate registration broadcast reception timeing closing device;
Whenever broadcast reception starts timer then, data pre-processing unit 201A is set to operating state, and the broadcast frequency provided in recording with control, the broadcast reception value of frequency point of configuration data pretreatment unit 201A;
Whenever broadcast reception timeing closing device then, data pre-processing unit 201A is set to sleep state, does not carry out broadcast data decoding.
According to the technique scheme that the embodiment of the present invention one provides, existing application program and broadcast data reception module in terminal processing module is made to complete the reception of broadcast data, thus make existing application program in not modified situation, also can obtain the digital content in radio network.
Embodiment two
The embodiment of the present invention two provides a kind of processing method of broadcast data, and this processing method mainly provides one enables terminal process broadcast data, to improve the utilance of terminal in broadcast data processing procedure.
Fig. 8 shows the schematic diagram of the treatment system of the broadcast data that the embodiment of the present application two provides, and as shown in Figure 8, the treatment system of this broadcast data mainly comprises:
Digital Broadcasting Receiver module 801 and terminal processing module 802; Wherein:
Digital Broadcasting Receiver module 801, for receiving broadcast data in the time burst of time slicing, process is carried out to the broadcast data received and obtains transport stream TS code stream, and from TS code stream, extract TS packetized file according to datagram fetch strategy, TS packetized file is sent to the terminal processing module 802 of connection;
Terminal processing module 802, for after the TS packetized file that receiving digital broadcast receiver module 801 sends, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data is carried out to TS packetized file, and adopts multiplexed frame and/or the multiplexed sub frame of setting means broadcasting or display of broadcast data.
Fig. 9 treatment system shown based on the broadcast data shown in Fig. 8 realizes the schematic flow sheet of the processing method of broadcast data, and as shown in Figure 9, the processing procedure of this broadcast data, mainly comprises the steps:
Step 901, Digital Broadcasting Receiver module 801 receive broadcast data in the time burst of time slicing, carry out process obtain transport stream TS code stream to the broadcast data received.
Step 902, Digital Broadcasting Receiver module 801 extract TS packetized file according to datagram fetch strategy from TS code stream.
TS packetized file is sent to the terminal processing module 802 of connection by step 903, Digital Broadcasting Receiver module 801.
Above-mentioned steps 901 to step 903 constitutes the processing procedure of Digital Broadcasting Receiver module 801 pairs of digital broadcastings independently.
Multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data is carried out in the TS grouping that step 904, terminal processing module 802 pairs of Digital Broadcasting Receiver modules 801 send.
Step 905, terminal processing module 802 adopt multiplexed frame and/or the multiplexed sub frame of setting means broadcasting or display of broadcast data.
Above-mentioned steps 904 to step 905 constitutes the processing procedure of terminal processing module 802 pairs of digital broadcastings independently.
So far, the handling process of broadcast data that the present embodiment two provides terminates.By the flow process that Fig. 9 is corresponding, the demultiplexing process of digital broadcast data can complete in terminal processing module, thus improves the utilance of terminal in the processing procedure of broadcast data.
In a preferred embodiment of the invention, after execution above-mentioned steps 903, namely, after TS packetized file to be sent to the terminal processing module 802 of connection by Digital Broadcasting Receiver module 801, Digital Broadcasting Receiver module 801 can send hardware interrupt and enter power save mode to control self.
In a preferred embodiment of the invention, before the step 902 that the corresponding flow process of execution Fig. 9 comprises, namely Digital Broadcasting Receiver module 801 before extracting TS packetized file according to datagram fetch strategy from TS code stream, the fetch strategy of Digital Broadcasting Receiver module 801 meeting receiving terminal processing module 802 transmission in advance, this fetch strategy comprises transmission package identification code PID, the extraction time started of TS grouping and extracts end time information.
Figure 10 shows Digital Broadcasting Receiver module 801 extracts TS packetized file from TS code stream schematic flow sheet according to datagram fetch strategy, and as shown in Figure 10, this leaching process mainly comprises the steps:
Step 1001, Digital Broadcasting Receiver module 801, when monitoring the extraction time started arrival that fetch strategy comprises, start TS grouping extraction algorithm.
Step 1002, extraction current system time clock value.
Step 1003, reception hardware interrupt and idling cycle value.
Step 1004, Digital Broadcasting Receiver module 801 generate TS packetized file name according to current system time clock value and idling cycle value.
Step 1005, Digital Broadcasting Receiver module 801 divide into groups to save as TS packetized file with the TS mated with the PID that fetch strategy comprises in the TS packetized file star data buffer area generated.
Whether step 1006, the extraction end time judged in fetch strategy arrive, and if so, process ends, if not, returns step 1003.
So far, the flow process that Digital Broadcasting Receiver module 801 extracts TS packetized file according to datagram fetch strategy from TS code stream terminates.
In above-mentioned steps 902, the datagram fetch strategy that Digital Broadcasting Receiver module 801 extracts TS packetized file institute foundation from TS code stream can be generated by terminal processing module 802.Particularly, Figure 11 shows the schematic flow sheet that terminal processing module 802 generates data fetch strategy, as shown in figure 11, mainly comprises the steps:
Step 1101, terminal processing module 802 obtain digital broadcast transmission control information table by Digital Broadcasting Receiver module 801, and therefrom obtain the PID of broadcast start time, broadcast-end-time and data-reusing employing.
The described broadcast start time obtained and broadcast-end-time are defined as extracting the time started and extracting the end time by step 1102, terminal processing module 802 respectively, and generate the fetch strategy comprising and extract the time started, extract end time and PID.
So far, the flow process that terminal processing module 802 generates data fetch strategy terminates.
In practical application, Digital Broadcasting Receiver module 801 and terminal processing module 802 for realizing above-mentioned functions can be respectively the logical construction of Digital Broadcasting Receiver module 801 as shown in figure 12 and the logical construction of terminal processing module 802, as shown in figure 12, Digital Broadcasting Receiver module 801, comprises broadcast data pretreatment unit 801A, datagram extraction unit 801B and datagram controller 801C; Terminal processing module 802 comprises terminal processing module controller 802A, datagram Multiplexing Unit 802B and datagram fetch strategy generation unit 802C; Wherein, the function of each logic module is as follows:
Broadcast data pretreatment unit 801A, specifically for receiving broadcast data in the time burst of time slicing, carrying out process to the broadcast data received and obtaining transport stream TS code stream, and TS code stream is sent to datagram extraction unit 801B;
Datagram extraction unit 801B, specifically for extracting TS packetized file according to datagram fetch strategy from the TS code stream that broadcast data pretreatment unit sends, TS packetized file is sent to the terminal processing module controller 802A of connection by datagram controller 801C;
Terminal processing module controller 802A, the TS packetized file specifically for being sent by datagram controller 801C sends to datagram Multiplexing Unit 802B;
Datagram Multiplexing Unit 802B, after receiving TS packetized file, carries out to TS packetized file multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains broadcast data, and adopts multiplexed frame and/or the multiplexed sub frame of setting means broadcasting or display of broadcast data.
Should be appreciated that the above logical partitioning carried out for Digital Broadcasting Receiver module 801 and terminal processing module 802 is only a kind of implementation realizing the embodiment of the present invention, in practical application, multiple dividing mode can also be had, will not enumerate herein.Further, the logic module that above-mentioned Digital Broadcasting Receiver module 801 comprises and the module that terminal processing module 802 comprises separate, namely above-mentioned Digital Broadcasting Receiver module 801 can independently exist, and above-mentioned terminal processing module 802 also can independently exist.
In system shown in Figure 12, the connecting interface between each unit is as follows:
In terminal processing module 802, be connected between Digital Broadcasting Receiver module 801 with terminal processing module 802 by communication interface, an embodiment of this communication interface is USB (universal serial bus).Another embodiment of physical interface is PCI (PedpherdComponentInterconnect, peripheral element extension interface) interface.
Datagram controller 801C is the physical interface that Digital Broadcasting Receiver module 801 is connected with terminal processing module 802; Datagram controller 801C is connected by data communication interface with datagram extraction unit 801B, and data communication interface can be serial communication interface (SerialPort), SPI interface or GPIO interface.
In system shown in Figure 12, the detailed implementation of each logical block that Digital Broadcasting Receiver module 801 comprises is as follows:
Datagram controller 801C provides clock signal for broadcast data pretreatment unit 801A; For datagram extraction unit 801B provides data buffer zone and provides file management system.
Datagram controller 801C, also for TS packetized file is sent to connection terminal processing module controller 802A after, send the Digital Broadcasting Receiver module 801 that hardware interrupt controls place and enter power save mode.
Broadcast data pretreatment unit 801A, adopts hardware technology to realize time slicing processing scheme by radio frequency amplifying circuit and demodulator for demodulating digital broadcast signals; An embodiment is managed by hardware clock to realize energy-efficient treatment.The time slicing mechanism object of digital broadcasting designs to reduce average power consumption.In timeslice, transmit data in the mode happened suddenly, do not need the data received at timeslice idle phase, namely turn off the clock of radio frequency amplifying circuit and/or demodulator for demodulating digital broadcast signals.Because in hardware designs, various logic function realizes mainly through various trigger, and the door upset of these triggers is main sources of various power consumption, when after the clock turning off all these triggers, namely significantly reduces power consumption.
Broadcast data pretreatment unit 801A, in a time burst of time slicing, converts the broadcast singal received to baseband signal, then carries out OFDM demodulation system, Veterbi decoding, convolution de-interleaving and RS decoding successively, exports TS grouping.
Broadcast data pretreatment unit 801A, also at the end of a time burst of time slicing, for datagram extraction unit 801B provides the idling cycle value of cutting energy state, such as, in time burst, time slicing realization mechanism agreement idling cycle value can be extracted from TS code stream.
Broadcast data pretreatment unit 801A, also for datagram extraction unit 801B provides hardware interrupt.
Datagram extraction unit 801B, receives the fetch strategy that datagram controller 801C sends, and adopts software engineering to realize TS grouping extraction algorithm.Wherein, following control item can be comprised in fetch strategy:
{
TS group PID (PacketIDdentifier, transmission package identification code) identifies;
Extract the time started;
Extract the end time;
}
In system shown in Figure 12, the detailed implementation of each logical block that terminal processing module 802 comprises is as follows:
Terminal processing module controller 802A, having can the embedded computer system hardware system of independent operating and equipment management system function, comprises the CPU computing function, system clock function, data storage function, device driver installation function etc. that have oneself;
Datagram Multiplexing Unit 802B, after receiving the TS information on services bag of datagram extraction unit 801B transmission, reads TS packetized file according to TS information on services bag, and is undertaken assembled by the TS packetized file of reading, generate multiplexed frame or multiplexed sub frame.
Datagram fetch strategy generation unit 802C, main generation broadcast data fetch strategy, wherein, the broadcast data fetch strategy of generation can comprise:
{
Broadcast start time;
Broadcast-end-time;
Digital broadcasting PID used;
PID filtering policy (exact matching stores along separate routes);
}
Datagram fetch strategy generation unit 802C, the data record (i.e. broadcast data fetch strategy) that data extract control table is generated by software engineering, specific implementation process comprises: for the terminal processing module 802 being integrated with broadcast data reception module, and terminal processing module 802 can obtain the Values broadcasting transmitting control information table such as electronic program guides (EPG), SI, PSI of broadcast data in advance from digital broadcast data receiver module 801.Terminal processing module 802 can recognize radio network is from when in advance, to when terminating, the PID that data-reusing adopts.Datagram fetch strategy generation unit 802C can extract control table record by software program XianCheng broadcast data.
In a specific embodiment, datagram controller 801C, also for the fetch strategy that receiving terminal processing module controller 802A sends, and sends to datagram extraction unit 801B by this fetch strategy;
Correspondingly, datagram extraction unit 801B, also for before extracting TS packetized file according to datagram fetch strategy from TS code stream, receive the fetch strategy that described datagram controller sends, this fetch strategy comprises transmission package identification code PID, the extraction time started of TS grouping and extracts end time information.
Particularly, datagram extraction unit 801B, specifically for when monitoring the extraction time started arrival that fetch strategy comprises, start TS grouping extraction algorithm, and receive hardware interrupt and idling cycle value, TS packetized file name is generated according to current system time clock value and idling cycle value, and divide into groups to save as TS packetized file with the TS mated with the PID that fetch strategy comprises in the TS packetized file star data buffer area generated, if the extraction end time that fetch strategy comprises reaches, then terminate this to extract, otherwise proceed to the step receiving hardware interrupt.
In a specific embodiment, terminal processing module controller 802A, also obtain digital broadcast transmission control information table for obtaining by broadcast data pretreatment unit 801A, and this digital broadcast transmission control information table is sent to described datagram fetch strategy generation unit 802C;
Correspondingly, datagram fetch strategy generation unit 802C, also for obtaining the PID that broadcast start time, broadcast-end-time and data-reusing adopt from digital broadcast transmission control information table, the described broadcast start time obtained and broadcast-end-time are defined as respectively extract the time started and extract the end time, and generate the fetch strategy comprising and extract the time started, extract end time and PID.
For understanding the embodiment of the present invention better, below provide several specific embodiment to understand technical solution of the present invention better.
One, terminal processing module 802 control data extracts the specific embodiment of control table record (i.e. fetch strategy):
Terminal processing module 802 is registered a broadcast reception according to the broadcast start time of record and is started timer;
Terminal processing module 802 starts to terminate registration broadcast reception timeing closing device according to the broadcast of record;
PID used for digital broadcasting downloads and is supplied to datagram extraction unit 801B by terminal processing module 802;
PID filtering policy used for digital broadcasting is downloaded and is supplied to datagram extraction unit 801B by terminal processing module 802;
Two, datagram controller 801C, realizes the specific embodiment that broadcast data extracts electricity-saving control method:
Figure 13 shows datagram controller 801C and realizes the schematic flow sheet that broadcast data extracts electricity-saving control method, as shown in figure 13, mainly comprises the steps:
Step 1301, datagram controller 801C receive the interruption that broadcast reception starts timer transmission;
Step 1302, datagram controller 801C power to broadcast data pretreatment unit 801A, and provide clock signal;
Step 1303, datagram controller 801C receive idling cycle value from datagram extraction unit 801B;
Step 1304, datagram controller 801C switch clock signal;
Step 1305, datagram controller 801C presets time delay provides clock signal timer.Presetting method is that current time delays idling cycle;
The interruption that step 1306, datagram controller 801C reception delay provide clock signal timer to send, provides clock signal;
Step 1307, datagram controller 801C judge whether the interruption receiving broadcast reception then timer transmission, if not, return step 1303, if so, perform step 1308;
Step 1308, to the power-off of broadcast data pretreatment unit.
So far, process ends.
The data extraction method of new broadcast data in terminal processing module that the embodiment of the present invention two provides, the optimization power savings making Digital Broadcasting Receiver module 801 and terminal processing module 802 reach time slicing techniques when using digital broadcasting service to reach.Further, digital broadcast data receiver module 801 only carries out the preliminary treatment of broadcast data, can play the power savings of time slicing techniques.
Terminal processing module 802 itself carries out follow-up demultiplexing process, do not increase the power consumption of system, terminal processing module 802 is in powered operation state and just carries out these works for the treatment of, is not waken up from sleep by terminal processing module, or restriction terminal processing module cannot carry out sleep state.
Consider that preprocessing process is conciliate multiplexing process process in Digital Broadcasting Receiver module 801 and carried out in a serial fashion being unnecessary by prior art, because digital broadcasting service is different from audio frequency and video TV service, broadcast data can carry out storing and forwarding, and does not have enforceable requirement of real-time.Therefore, according to the technical scheme that the present embodiment two provides, after preprocessing process terminates, data can be carried out storing or forwarding, not need the process carrying out demultiplexing serially.Thus Digital Broadcasting Receiver module 801 can be made after preprocessing process to enter power save mode.In fact, the process of demultiplexing can independent of preprocessing process, independent of Digital Broadcasting Receiver module 801.For terminal processing module 802, only having when showing that the application program of broadcast data is run, just carrying out demultiplexing process, not affecting quality of service, reaching the effect of Digital Broadcasting Receiver module 801 and terminal receiver power saving simultaneously.
Although described the preferred embodiment of the application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the application's scope.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (11)

1. a processing method for broadcast data, is characterized in that, comprising:
Digital Broadcasting Receiver module receives broadcast data, process is carried out to the described broadcast data received and obtains transport stream TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS grouping, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the terminal processing module of connection;
After described terminal processing module receives the ethernet data frame of described Digital Broadcasting Receiver module transmission, call in advance in the virtual ethernet device driver that the operating system of described terminal processing module is registered, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module, and after protocol processes being carried out to described ethernet data frame by described ICP/IP protocol unit, is sent to the setting application program that described terminal processing module comprises;
Wherein: described Digital Broadcasting Receiver module receives broadcast data, specifically comprise: described Digital Broadcasting Receiver module receives the control record of the broadcast start time arrival that described terminal processing module sends, and the broadcast data mark and reception frequency that comprise is recorded according to described control, receive at described reception frequency and identify corresponding broadcast data with described broadcast data; Or described Digital Broadcasting Receiver module receives the control record of described terminal processing module transmission, and describedly control to record after the broadcast start time that comprises arrives monitoring, record the broadcast data mark and reception frequency that comprise according to described control, receive at described reception frequency and identify corresponding broadcast data with described broadcast data.
2. the method for claim 1, is characterized in that, described Digital Broadcasting Receiver module also comprises after receiving broadcast data:
Described Digital Broadcasting Receiver module receives the control record that broadcast-end-time that described terminal processing module sends arrives, and stops receiving and control to record the broadcast data comprised identify corresponding broadcast data with described; Or
Described Digital Broadcasting Receiver module receives the control record that described terminal processing module sends, and describedly controls to record after the broadcast-end-time that comprises arrives monitoring, and stops receiving controlling to record the broadcast data comprised identify corresponding broadcast data with described.
3. method as claimed in claim 1 or 2, is characterized in that, described control record is generated by described terminal processing module, and wherein, described terminal processing module generates described control record, specifically comprises:
Described terminal processing module obtains electronic program guides by described Digital Broadcasting Receiver module, and described electronic program guides is shown to user selects electronic programming;
According to the electronic programming that described user selects, generate and comprise the broadcast data corresponding with described electronic programming and identify and the control record of respective broadcast time.
4. the method for claim 1, is characterized in that, described multiplexed frame and/or multiplexed sub frame is encapsulated as ethernet data frame, specifically comprises:
The parsing of broadcast data tunneling is carried out to described multiplexed frame and/or multiplexed sub frame, therefrom parses broadcast data payload, and described broadcast data payload is adapted to ethernet frame.
5. a treatment system for broadcast data, is characterized in that, comprises Digital Broadcasting Receiver module and terminal processing module; Wherein:
Described Digital Broadcasting Receiver module, for receiving broadcast data, process is carried out to the described broadcast data received and obtains transport stream TS grouping, and multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out to described TS grouping, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and the ethernet data frame that encapsulation obtains is sent to the described terminal processing module of connection;
Described terminal processing module, for receive described Digital Broadcasting Receiver module send ethernet data frame after, call in advance in the virtual ethernet device driver that the operating system of described terminal processing module is registered, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module, and after protocol processes being carried out to described ethernet data frame by described ICP/IP protocol unit, is sent to the setting application program that described terminal processing module comprises;
Wherein, described Digital Broadcasting Receiver module receives broadcast data, specifically comprise: described Digital Broadcasting Receiver module receives the control record of the broadcast start time arrival that described terminal processing module sends, and the broadcast data mark and reception frequency that comprise is recorded according to described control, receive at described reception frequency and identify corresponding broadcast data with described broadcast data; Or described Digital Broadcasting Receiver module receives the control record of described terminal processing module transmission, and describedly control to record after the broadcast start time that comprises arrives monitoring, record the broadcast data mark and reception frequency that comprise according to described control, receive at described reception frequency and identify corresponding broadcast data with described broadcast data.
6. a processing unit for broadcast data, is characterized in that, comprising:
Broadcast data pretreatment unit, Data Analysis unit and datagram controller;
Wherein, described broadcast data pretreatment unit, for receiving broadcast data, carrying out process to the described broadcast data received and obtaining transport stream TS grouping, and described TS grouping is sent to described Data Analysis unit;
Described Data Analysis unit, multiplexed frame and/or the multiplexed sub frame that demultiplexing process obtains described broadcast data is carried out in TS grouping for sending described broadcast data pretreatment unit, described multiplexed frame and/or multiplexed sub frame are encapsulated as ethernet data frame, and are sent the ethernet data frame encapsulating and obtain by described datagram controller;
Wherein said datagram controller, also for receiving the control record that broadcast start time arrives, and controls described broadcast data pretreatment unit reception broadcast data; Or, receive and control record, and describedly control to record after the broadcast start time that comprises arrives monitoring, control described broadcast data pretreatment unit and receive broadcast data; Described broadcast data pretreatment unit, specifically for recording the broadcast data mark and reception frequency that comprise according to described control, receives at described reception frequency and identifies corresponding broadcast data with described broadcast data.
7. device as claimed in claim 6, is characterized in that, described datagram controller, also for receiving the control record that broadcast-end-time arrives, and controls described broadcast data pretreatment unit stopping reception broadcast data; Or, receive and control record, and describedly control to record after the broadcast-end-time that comprises arrives monitoring, control described broadcast data pretreatment unit and stop receiving broadcast data;
Described broadcast data pretreatment unit, controls to record the broadcast data comprised specifically for stopping receiving identify corresponding broadcast data with described.
8. device as claimed in claim 6, it is characterized in that, described Data Analysis unit, specifically for carrying out the parsing of broadcast data tunneling to described multiplexed frame and/or multiplexed sub frame, therefrom parse broadcast data payload, and described broadcast data payload is adapted to ethernet frame.
9. a Digital Broadcasting Receiver module, is characterized in that, comprises the processing unit of the broadcast data described in any one of claim 6 to 8.
10. a processing unit for broadcast data, is characterized in that, comprising:
Terminal processing module controller, broadcast data interface unit and ICP/IP protocol unit;
Wherein, described terminal processing module controller, for receiving ethernet data frame, and sends to described broadcast data interface unit by described ethernet data frame;
Described broadcast data interface unit, for calling the virtual ethernet device driver of the operating system registration of the terminal processing module in advance at place, described ethernet data frame is sent to the ICP/IP protocol unit in the operating system of described terminal processing module;
Described ICP/IP protocol unit, for being sent to the setting application program that described terminal processing module comprises after carrying out protocol processes to described ethernet data frame;
Wherein, described terminal processing module controller, also for obtaining electronic program guides, and is shown to user by described electronic program guides and selects electronic programming, and receive the electronic programming of described user selection, and selection result is sent to described broadcast data interface unit; Described broadcast data interface unit, the electronic programming also for selecting according to described user, generates and comprises the broadcast data corresponding with described electronic programming and identify and the control record of respective broadcast time.
11. 1 kinds of terminal processing modules, is characterized in that, comprise the processing unit of broadcast data according to claim 10.
CN201210001245.7A 2012-01-04 2012-01-04 A kind of processing method of broadcast data, treatment system and device Active CN103200440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210001245.7A CN103200440B (en) 2012-01-04 2012-01-04 A kind of processing method of broadcast data, treatment system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210001245.7A CN103200440B (en) 2012-01-04 2012-01-04 A kind of processing method of broadcast data, treatment system and device

Publications (2)

Publication Number Publication Date
CN103200440A CN103200440A (en) 2013-07-10
CN103200440B true CN103200440B (en) 2016-03-02

Family

ID=48722778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210001245.7A Active CN103200440B (en) 2012-01-04 2012-01-04 A kind of processing method of broadcast data, treatment system and device

Country Status (1)

Country Link
CN (1) CN103200440B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613548B (en) * 2017-09-07 2021-01-12 乐鑫信息科技(上海)股份有限公司 Low-power-consumption realization method of wireless chip in AP mode and corresponding wireless chip

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1424853A1 (en) * 2001-09-03 2004-06-02 Sony Corporation Digital broadcast reception apparatus and communication information transmission method
CN1871800A (en) * 2003-01-09 2006-11-29 汤姆森许可贸易公司 Method and an apparatus for mapping an MPEG transport stream into IP packets for WLAN broadcast
KR20080020800A (en) * 2006-09-01 2008-03-06 엘지전자 주식회사 A internet terminal and method for transmitting data
CN101273561A (en) * 2005-09-28 2008-09-24 Kddi株式会社 Content sending apparatus, content receiving apparatus, content sending method and content receiving method
CN101317396A (en) * 2005-11-30 2008-12-03 Kddi株式会社 Broadcast contents transmission device, broadcast contents receiving device, broadcast contents transmission method, broadcast contents receiving method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1424853A1 (en) * 2001-09-03 2004-06-02 Sony Corporation Digital broadcast reception apparatus and communication information transmission method
CN1871800A (en) * 2003-01-09 2006-11-29 汤姆森许可贸易公司 Method and an apparatus for mapping an MPEG transport stream into IP packets for WLAN broadcast
CN101273561A (en) * 2005-09-28 2008-09-24 Kddi株式会社 Content sending apparatus, content receiving apparatus, content sending method and content receiving method
CN101317396A (en) * 2005-11-30 2008-12-03 Kddi株式会社 Broadcast contents transmission device, broadcast contents receiving device, broadcast contents transmission method, broadcast contents receiving method, and program
KR20080020800A (en) * 2006-09-01 2008-03-06 엘지전자 주식회사 A internet terminal and method for transmitting data

Also Published As

Publication number Publication date
CN103200440A (en) 2013-07-10

Similar Documents

Publication Publication Date Title
JP4975967B2 (en) Method, system and network entity for providing digital broadband transmission
TWI473472B (en) Multiple network access system and method
JP4256264B2 (en) Time slice signaling for broadband digital broadcasting
US20140317674A1 (en) Method and apparatus for transmitting and receiving signaling information in digital broadcasting system
RU2292657C2 (en) Quantization of time on basis of clock impulses
KR100800856B1 (en) Method and system for transmitting and receiving electronic service guide update information in digital video broadcasting-hand held system
EP1834492A2 (en) Method of operating a wlan mobile station
JP5774017B2 (en) Method, entity and computer program for deactivating at least one component of an entity of a communication network
CN101371565B (en) Gateway for receiving digital television broadcasting services, terminal and corresponding methods
WO2023066017A1 (en) Transceiving method and apparatus for discontinuous reception signaling
EP1856933B1 (en) Method and apparatus of enabling power savings when no data is being transmitted on a media logical channel
CN104221462A (en) Telecommunications apparatus and methods for communicating with a first and a second type of devices
KR100726175B1 (en) Method and apparatus for broadcasting higher-layer protocol message in wireless portable internet system
CN103200440B (en) A kind of processing method of broadcast data, treatment system and device
EP1869923A2 (en) System and method for wireless communications
CN101815073A (en) Embedded Bluetooth-Ethernet server
EP3160123B1 (en) Digital broadband transmission
CN100466519C (en) Implementation method of downloading files at same time in broadcasting network
CN104221461A (en) Telecommunications apparatus and method for searching a predefined signature sequence
RU2316912C2 (en) Method, system and network object for ensuring transmission of a digital broadcast
WO2008043213A1 (en) A mobile multimedia broadcast system for enhancing transmission efficiency by using variable-length frame and thereof method
CN101132492B (en) Systems and methods for managing digital television (TV) signals
KR100721776B1 (en) Method, system and network entity for providing digital broadband transmission
WO2022032669A1 (en) Data receiving method, apparatus, and terminal device
KR100946891B1 (en) Apparatus and method for receiving a broadcasting data in handheld digital broadcasting system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant