Graphic channel Business Project

Source: Internet
Author: User

The graphic channel business is a service in the set-top box software. It provides enterprise information for TV users in the form of images and sounds,

Product Information and Related Knowledge are closely related to the life of the audience.

The predecessor of the graphic channel business is the advertising business. During the playback process, images and sounds are changed every fixed period, and

Step, it adopts multi-protocol encapsulation and needs to parse Pat, PMT, DSI, DiI and DDB.

 

Preparations:

Use servict type to find the corresponding serviceid and ts_id In the SDT table, and then use ts_id to find the frequency point in the NIT table

Information, and save it as preparation for future search.

 

Post-Search:

(1) After the frequency lock, download Pat and find the pmt pid through serviceid.

(2) The PMT can be downloaded through PID addressing, and the PID of DSI, DII, and DDB of graphic channels can be parsed in PMT, and

The ID of the forward PID. When use = 0x0000 in the association_tag_descriptor () descriptor of PMT, you can obtain the DSI

And table_id_extension (moduleid ). And put the data into the cache.

Note: The moduleid obtained by this method is not reliable (as mentioned in the Protocol). The other method is: moduleid <= 1. 

 

(3) DSI can be downloaded to DSI by the PID, table_id = 0x3b, and table_id _ extension (moduleid) of DSI. DSI description

Describes the DiI tag and the moduleid in the root directory.

(4) According to the tag in DSI, the PID of the DiI is found in the PMT. The PID of the DII, table_id = 0x3b, and moduleid> 1,

To download to DiI. Dii describes the moduleid, tag, and number of file objects of all file objects.

  In this case, you can calculate all the PID, tableid, and moduleid of the Service in the transmission stream.

(5) Find the corresponding root tag in DiI through the root moduleid in DSI, and then find the root PID in PMT through the tag,

Root can be downloaded Based on the found PID, table_id = 0x3c, and root moduleid. The moduleid of all files is described in root.

And file name (filename ).

 

Key erdiagram:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.