CN102131116A - Digital television electronic program guide (EPG) data receiving and resolution method - Google Patents

Digital television electronic program guide (EPG) data receiving and resolution method Download PDF

Info

Publication number
CN102131116A
CN102131116A CN2011100264928A CN201110026492A CN102131116A CN 102131116 A CN102131116 A CN 102131116A CN 2011100264928 A CN2011100264928 A CN 2011100264928A CN 201110026492 A CN201110026492 A CN 201110026492A CN 102131116 A CN102131116 A CN 102131116A
Authority
CN
China
Prior art keywords
data
section
epg
digital television
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100264928A
Other languages
Chinese (zh)
Other versions
CN102131116B (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN 201110026492 priority Critical patent/CN102131116B/en
Publication of CN102131116A publication Critical patent/CN102131116A/en
Application granted granted Critical
Publication of CN102131116B publication Critical patent/CN102131116B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to a digital television application technology, in particular to a digital television electronic program guide (EPG) data receiving and resolution method, which aims to solve the problem of EPG data receiving and resolution flow complexity in the prior art. A data receiving module and a data resolution module both process data based on section data in real time by a multi-task module, so sections can be processed in real time without a temporary cache with relatively higher capacity. The digital television EPG data receiving and resolution method is implemented by a series of steps, and is applied in the field of digital television EPG data processing application.

Description

A kind of Digital Television EPG Data Receiving and analytic method
Technical field
The present invention relates to digital television application technical data message pick-up and analytic method, particularly a kind of Digital Television EPG Data Receiving and analytic method.
Background technology
EPG(Electronic Program Guide, electric program menu) provide all interior TV program information of a period of time in " channel-time " mode, realize the function of browse of professional and descriptor, be basic function indispensable in the Digital Television; The EPG data are packed at front end, be embedded in the SI form and in network (transmission system, can transmit one group of transport stream) in transmission, STB terminal is responsible for the transport stream packets that all business information that Section(is used for this standard is defined become GB/T17975.1-2000) Data Receiving and parsing.
Reception and the analytic method that STB terminal is commonly used has at present:
Method A. is provided with and startup EPG data filter, according to SI form standard, the section that is embedded with the EPG data that filter is received forms segment, forms the table(form by segment again), again according to from table to segment again the order to section resolve; The EPG data are to be embedded into SI EIT(Event Information Table) in, forming structure is that 8 section form a segment, and 8 segment are arranged at most in the table;
Method B. is provided with and starts the EPG data filter, and according to SI form standard, each section that is embedded with the EPG data that filter is received stores in the interim buffer memory, just begins to resolve each section after waiting all section to collect;
Though more than two kinds of methods feasible, following problem points is arranged:
Method A. characteristics are section will be formed segment and table according to standard, and not only operating process complexity, and risk is bigger, in case any problem appears in the assembling link, whole EPG data can't be resolved.
Method B. compares with method A, does not need assembling process, only the section that receives need be stored in the interim buffer memory, just begin to resolve after waiting section to collect, and interim buffer memory will be as much as possible greatly.
Whether above-mentioned two kinds of methods all collect section the threshold of the resolution data as whether, if certain section because send, transmission or receive unusual in the link and can't normally receive the time, the parsing of data will be subjected to very big influence, especially the current information subsequently to having relatively high expectations in real time.
Summary of the invention
Technical problem to be solved by this invention is to overcome the EPG Data Receiving that exists in the prior art and the flow process challenge of parsing, a kind of Digital Television EPG Data Receiving and analytic method are proposed, do not need section is assembled into segment, again segment is formed form, all data reception modules and data resolution module all are based on the section cell data, and, can handle section in real time because handle in real time by the multitask module, do not need bigger interim buffer memory.
The technical solution used in the present invention:
A kind of Digital Television EPG Data Receiving and analytic method, to section receive, parsing and condition monitoring, concrete steps comprise:
A. initialization EPG module is carried out data filter, execution in step b by filter to section;
B. data reception module receives the section that is embedded with the EPG data, and section is stored in the interim buffer memory, if interim buffer memory is full, loses this section, and data reception module continues to receive next section data; Otherwise store the section data in interim buffer memory, execution in step c;
C. data resolution module is in running status always, if free of data in the interim buffer memory, the data resolution module effect is a parse state of monitoring section in real time; Otherwise execution in step d;
If in the d. interim buffer memory section that does not resolve is arranged, the data resolution module effect is to resolve data cached section, and the data after will resolving are stored; Otherwise execution in step c;
If e. all section all resolve and finish execution in step c; Otherwise execution in step d.
Described initialization EPG module comprises creates data reception module, data resolution module, semaphore, message queue.
Described data resolution module is monitored the parse state while of section in real time, also monitors internal memory user mode, data user mode in real time.
When described data reception module received section, version number and CRC by section judged whether section is correct.
After described section resolved through data resolution module, resolution data was stored in Ram or Flash.
In sum, owing to adopted technique scheme, the invention has the beneficial effects as follows:
The reception of EPG data and parsing all are to be unit with section, do not need to carry out data combination, data processing method is simple, and data reception module and data resolution module deal with data are that asynchronous process (so-calledly asynchronously refers to storage that Data Receiving only is responsible for receiving in interim buffer memory, only be responsible for reading of data from buffer memory and resolve, resolve and the monitor data parse state, the internal memory user mode, the data user mode), do not need too big interim buffer memory by Data Receiving task and the real-time processing of data parsing task, be whether the data parsing link collects data and do not rely on requirement, neither influence information rate, promoted the efficient of data parsing again greatly, for the user provides real-time EPG data in time.
Description of drawings
The present invention will illustrate by example and with reference to the mode of accompanying drawing, wherein:
Accompanying drawing 1 is that Digital Television EPG of the present invention receives and the analytic method flow chart.
Embodiment
Disclosed all features in this specification, or the step in disclosed all methods or the process except mutually exclusive feature and/or step, all can make up by any way.
Disclosed arbitrary feature in this specification (comprising any accessory claim, summary and accompanying drawing) is unless special narration all can be replaced by other equivalences or the alternative features with similar purpose.That is, unless special narration, each feature is an example in a series of equivalences or the similar characteristics.
It is shown in Figure 1 that the present invention solves the problems of the technologies described above the technical scheme such as the flow process that are adopted, at first carries out the EPG module initialization, and then to section receive, parsing and condition monitoring, concrete steps comprise:
A. initialization EPG module is carried out data filter, execution in step b by filter to section;
B. data reception module receives the section that is embedded with the EPG data, and section is stored in the interim buffer memory, if interim buffer memory is full, loses this section, and data reception module continues to receive next section data; Otherwise store the section data in interim buffer memory, execution in step c;
C. data resolution module is in running status always, if free of data in the interim buffer memory, the data resolution module effect is a parse state of monitoring section in real time; Otherwise execution in step d;
If in the d. interim buffer memory section that does not resolve is arranged, the data resolution module effect is to resolve data cached section, and the data after will resolving are stored; Otherwise execution in step c;
If e. all section all resolve and finish execution in step c; Otherwise execution in step d;
If in the f. interim buffer memory section that does not resolve is arranged, resolve this section data, with storage Ram or the Flash after resolving; If all section all resolve and finish, execution in step e.
The EPG data processing is by initialization EPG module, data filter, data reception module, and data resolution module is realized.
Initialization EPG module comprises creates data reception module, data resolution module, semaphore, message queue
Data filter is realized by filter.Section is the section of same table section, only a filter need be set, as the 0x51 that is designated of form, 0x52 ... 0x5f all belongs to 0x5x table section and carries out data filter.
The Data Receiving task is carried out the reception of effective section data, and section is stored in interim buffer memory, and when wherein the Data Receiving task received section, version number and CRC by section judged whether section is correct.
The data parsing task, if in the interim buffer memory data are arranged, it is data cached that the data parsing task act as parsing; If free of data in the interim buffer memory, data parsing task so act as monitor state, i.e. the parse state of monitoring in real time and execution section data, the internal memory user mode, the data user mode, in case in the interim buffer memory data are arranged, the parsing task switches to the parsing data in buffer.
The present invention is not limited to aforesaid embodiment.The present invention expands to any new feature or any new combination that discloses in this manual, and the arbitrary new method that discloses or step or any new combination of process.

Claims (5)

1. Digital Television EPG Data Receiving and analytic method, it is characterized in that to section receive, parsing and condition monitoring, concrete steps comprise:
A. initialization EPG module is carried out data filter, execution in step b by filter to section;
B. data reception module receives the section that is embedded with the EPG data, and section is stored in the interim buffer memory, if interim buffer memory is full, loses this section, and data reception module continues to receive next section data; Otherwise store the section data in interim buffer memory, execution in step c;
C. data resolution module is in running status always, if free of data in the interim buffer memory, the data resolution module effect is a parse state of monitoring section in real time; Otherwise execution in step d;
If in the d. interim buffer memory section that does not resolve is arranged, the data resolution module effect is to resolve data cached section, and the data after will resolving are stored; Otherwise execution in step c;
If e. all section all resolve and finish execution in step c; Otherwise execution in step d.
2. a kind of Digital Television EPG Data Receiving according to claim 1 and analytic method is characterized in that described initialization EPG module comprises establishment data reception module, data resolution module, semaphore, message queue.
3. a kind of Digital Television EPG Data Receiving according to claim 1 and analytic method is characterized in that parse state that described data resolution module monitors section in real time simultaneously, also monitoring internal memory user mode, data user mode in real time.
4. a kind of Digital Television EPG Data Receiving according to claim 1 and analytic method, when it is characterized in that described data reception module receives section, version number and CRC by section judge whether section is correct.
5. a kind of Digital Television EPG Data Receiving according to claim 1 and analytic method, it is characterized in that described section resolves through data resolution module after, resolution data is stored in Ram or Flash.
CN 201110026492 2011-01-25 2011-01-25 Digital television electronic program guide (EPG) data receiving and resolution method Expired - Fee Related CN102131116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110026492 CN102131116B (en) 2011-01-25 2011-01-25 Digital television electronic program guide (EPG) data receiving and resolution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110026492 CN102131116B (en) 2011-01-25 2011-01-25 Digital television electronic program guide (EPG) data receiving and resolution method

Publications (2)

Publication Number Publication Date
CN102131116A true CN102131116A (en) 2011-07-20
CN102131116B CN102131116B (en) 2013-04-03

Family

ID=44268983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110026492 Expired - Fee Related CN102131116B (en) 2011-01-25 2011-01-25 Digital television electronic program guide (EPG) data receiving and resolution method

Country Status (1)

Country Link
CN (1) CN102131116B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521441A (en) * 2018-03-13 2018-09-11 沈阳东软医疗***有限公司 A kind of document analysis method, apparatus and equipment
CN108777811A (en) * 2018-06-08 2018-11-09 山东浪潮商用***有限公司 A kind of quickly complete method and system for receiving electronic program guides

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625237A (en) * 2003-12-03 2005-06-08 北京中视联数字***有限公司 Receiving method of multi-frequency point electronic programme guide information
CN101771803A (en) * 2008-12-26 2010-07-07 深圳Tcl新技术有限公司 Method for receiving electronic program guide data
CN101834978A (en) * 2009-12-23 2010-09-15 福建新大陆通信科技有限公司 Method for optimizing digital set-top box EPG system
CN101917592A (en) * 2010-07-21 2010-12-15 深圳创维数字技术股份有限公司 Unidirectional and bidirectional parallel reception method of EPG (Electronic Program Guide) data and set top box thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1625237A (en) * 2003-12-03 2005-06-08 北京中视联数字***有限公司 Receiving method of multi-frequency point electronic programme guide information
CN101771803A (en) * 2008-12-26 2010-07-07 深圳Tcl新技术有限公司 Method for receiving electronic program guide data
CN101834978A (en) * 2009-12-23 2010-09-15 福建新大陆通信科技有限公司 Method for optimizing digital set-top box EPG system
CN101917592A (en) * 2010-07-21 2010-12-15 深圳创维数字技术股份有限公司 Unidirectional and bidirectional parallel reception method of EPG (Electronic Program Guide) data and set top box thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521441A (en) * 2018-03-13 2018-09-11 沈阳东软医疗***有限公司 A kind of document analysis method, apparatus and equipment
CN108777811A (en) * 2018-06-08 2018-11-09 山东浪潮商用***有限公司 A kind of quickly complete method and system for receiving electronic program guides

Also Published As

Publication number Publication date
CN102131116B (en) 2013-04-03

Similar Documents

Publication Publication Date Title
CN103024456B (en) A kind of Online Video player method and video playback server
CN101710934B (en) Set-top box edition upgrading method and system
EP2890133B1 (en) System and method for distributing live broadcast content
CN111010614A (en) Method, device, server and medium for displaying live caption
CN102412999B (en) Packet capturing based remote fault location method, system and device
CN104270684B (en) It is a kind of towards the video/audio network transmission system and method applied in real time
EP2876945A1 (en) Method for processing data, modem and terminal
CN103686448A (en) Video transcoding download speed limiting method and system
EP3127287B1 (en) Signaling and operation of an mmtp de-capsulation buffer
CN101707786B (en) Multilink video packet receiving and playing method based on public mobile communication
EP3029869B1 (en) Information processing device, information processing method, and program
CN103795980A (en) Cascading video device and data processing method thereof
CN105898625B (en) Playing processing method and terminal equipment
KR102480751B1 (en) Method and apparatus for signaling and operation of low delay consumption of media data in mmt
CN105872728A (en) Screen transfer video processing method for multi-screen interaction
CN105847946A (en) Screen transmission video processing method
CN102131116B (en) Digital television electronic program guide (EPG) data receiving and resolution method
CN113938704B (en) Screen projection method, screen projection end, screen projected end, cloud server and screen projection system
CN101765005A (en) Method for realizing data transmission by utilizing TS-packet continuous null bytes in DVB
EP3029870B1 (en) Information processing device, information processing method, and program
CN110753234A (en) Real-time conversion method for converting national standard PS stream into RTMP live stream
CN102905174A (en) Sharing method of transport stream
CN100551076C (en) Transmission flow demultiplexing apparatus and method
CN105847971A (en) Method for processing screen transmission video
CN103152134B (en) Receiving terminal based on Real-time Transport Protocol resets the method and system of voice packet

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110720

Assignee: SICHUAN CHANGHONG NETWORK TECHNOLOGY Co.,Ltd.

Assignor: SICHUAN CHANGHONG ELECTRIC Co.,Ltd.

Contract record no.: 2015510000048

Denomination of invention: Digital television electronic program guide (EPG) data receiving and resolution method

Granted publication date: 20130403

License type: Exclusive License

Record date: 20150527

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130403

CF01 Termination of patent right due to non-payment of annual fee