2007(13)CHINADIGITALCABLETV:TN949.197:B:1007-7022(2007)13-1237-07PSI/SI(,361012):PSI/SIPATPMTCATNITSDTEITBAT,,PSI/SI:/;DVB;MPEG-2;;AnalysisandApplicationofPSI/SIHUAPi2huan(XiamenBroadcastTelevisionNetworkCo.,Ltd,FujianXiamen361012,China)Abstract:ThesyntaxandfunctionofPSI/SImajortables,suchasPAT,PMT,CAT,NIT,SDT,EITandBATareanalyzedinthispaper,andthesolutionsofrealizingmosaicservice,set2top2boxpower2onpictureon2lineupdate,programsorting,soundchannelsettingandvolumeoffsettingarealsobroughtforwardbasedonPSI/SI.Keywords:PSI/SI;DVB;MPEG-2;table;descriptor1,,,,,,,,?PSI/SIPSI(ProgramSpecificInformation)MPEG-2,,,PSI,DVBSI(ServiceInformation)PSI,,,PSISI,1.1(Table)MPEG-2,1(Sub_table),(table_id)1.2(Section)PSI/SI,1,:(19732),,,,E-mail:huaph@zx.xmgd.com7321256,1.3(Descriptor),,8descriptor_tag,8,3,11PSISI_descriptor(){descriptor_tag8uimsbfdescriptor_length8uimsbfdescriptor_content}2PSIPSIPAT(ProgramAssociationTable)PMT(ProgramMapTa2ble)CAT(ConditionalAccessTable)NIT(NetworkInformationTable),PSI,,PSI,PSI12.1PATPATPMTPIDNITPID,MPEG-2,PATPID0,PSI,PID0,PMTPID,PMT,PAT22PATprogram_association_section(){table_id8uimsbfsection_syntax_indicator1bslbf01bslbfReserved2bslbfsection_length12uimsbftransport_stream_id16uimsbfReserved2bslbfversion_number5uimsbfcurrent_next_indicator1bslbfsection_number8uimsbflast_section_number8uimsbffor(i=0;iN;i++){program_number16uimsbfReserved3bslbfif(program_number==0){network_PID13uimsbfelse{program_map_PID13uimsbf}}CRC_3232rpchof}2,program_number0,NIT,PIDNITPID;program_number0,PMTPID8321:PSI/SI2007132.2PMTPMTPIDPCRPID,PMT,,,PMT,PMT33PMTprogram_map_section(){table_id8uimsbfsection_syntax_indicator1bslbfReserved_future_use1bslbfReserved2bslbfsection_length12uimsbfProgram_number16uimsbfReserved2bslbfversion_number5uimsbfcurrent_next_indicator1bslbfsection_number8uimsbflast_section_number8uimsbfReserved3bslbfPCR_PID13uimsbfReserved4bslbfprogram_info_length12uimsbffor(i=0;iN;i++){descriptor()}for(i=0;iN;i++){stream_type8uimsbfreserved3bslbfelementary_PID13uimsbfreserved4bslbfES_info_length12uimsbfFor(j=0;jN;j++){descriptor()}}CRC_3232rpchof}3program_number,PCR_PIDPCR(ProgramClockRef2erence)PIDPMT,,stream_type,elementary_PIDPIDPMT,PCR_PIDPCR,,elementary_PID,,2.3CATCAT,CAEMM(entitledmanagementmessage)ECM(entitledcontrolmessage)PID,MPEG-2,CATPID1,CATEMMECMPID,,CATCA44CATconditional_access_section(){section_headerfor(i=0;iN;i++){descriptor()}CRC_3232rpchof}CA_descriptor(){descriptor_tag8uimsbfdescriptor_length8uimsbfCA_system_ID16uimsbfreserved3bslbfCA_PID13uimsbffor(i=0;iN;i++){private_data_byte8uimsbf}}CA,CATCA,CACA_system_ID9321200713:PSI/SI,CA_PIDEMMECMPID2.4NITNIT,MPEG-2,NIT,NITPID0x00100x1FFF,,PATprogram_number=0NITPIDDVBNIT,NITPID=0x0010,NITPATPID,PID=0x0010,NIT55NITnetwork_information_section(){table_id8uimsbfnetwork_id16uimsbffor(i=0;iN;i++){descriptor()}reserved_future_use4bslbftransport_stream_loop_length12uimsbffor(i=0;iN;i++){transport_stream_id16uimsbforiginal_network_id16uimsbfreserved_future_use4bslbftransport_descriptors_length12uimsbffor(j=0;jN;j++){descriptor()}}CRC_3232rpchof}5,table_id0x400x41,table_id=0x40,NIT;table_id=0x41,NIT;DVB,table_id=0x40NITnetwork_idNIT,NITnetwork_id3SISI(ServiceInformation)DVB,SI,MPEG-2,MPEG-2section,SI,SISDT(ServiceDescriptionTa2ble)EIT(EventInformationTable)BAT(BouquetAssociationTable)RST(RunningStatusTable)TDT(TimeDateTable)TOT(TimeOffsetTa2ble)ST(StuffingTable)SIT(Se2lectionInformationTable)DIT(Disconti2nuityInformationTable)9,SDTEITBAT3.1SDTSDT,,DVBSDTPID=0x0011,SDT66SDTservice_description_section(){table_id8uimsbftransport_stream_id16uimsbforiginal_network_id16uimsbffor(i=0;iN;i++){service_id16uimsbfreserved_future_use6bslbfEIT_schedule_flag1bslbfEIT_present_following_flag1bslbfrunning_status3uimsbffree_CA_mode1bslbfdescriptors_loop_length12uimsbffor(j=0;jN;j++){descriptor()}}CRC_3232rpchof}0421:PSI/SI2007136,table_id0x420x46,table_id=0x42,SDT;table_id=0x46,SDT;DVB,table_id=0x42SDTSDT,service_idPMTprogram_numberEIT_schedule_flagEIT_present_fol2lowing_flagEITscheduleEIT/,running_sta2tus,free_CA_mode3.2EITEIToriginal_network_idTS_idservice_id(event),EIT,EITevent,event1,event,DVBEITPID=0x0012,EIT77EITnetwork_information_section(){table_id8uimsbfservice_id16uimsbftransport_stream_id16bslbforiginal_network_id16uimsbfsegment_last_section_number8uimsbflast_table_id8uimsbffor(i=0;iN;i++){event_id16uimsbfstart_time40bslbfduration24uimsbfrunning_status3uimsbffree_CA_mode1bslbfdescriptors_loop_length12uimsbffor(j=0;jN;j++){descriptor()}}CRC_3232rpchof}table_id0x4E0x4FEIT,/event;table_id0x500x5F0x600x6FEIT,event,DVBtable_id=0x4EEIT,event(event_id)(start_time)(dura2tion)(running_status)(free_CA_mode)3.3BATBAT,,DVBBATPID=0x0011,BAT,BAT88BATBouquet_association_section(){bouquet_id16uimsbffor(i=0;iN;i++){descriptor()}reserved_future_use4bslbftransport_stream_loop_length12uimsbffor(i=0;iN;i++){transport_stream_id16uimsbforiginal_network_id16uimsbfreserved_future_use4bslbftransport_descriptors_length12uimsbffor(j=0;jN;j++){Descriptor()}}CRC_3232rpchof}bouqu