Background technology
DVB, it is digital video broadcasting, be that " the joint specialist group " that european telecommunications standards institute, European electronic standard tissue and European Broadcasting Union constitute jointly initiated, according to the difference of transmission channel, be divided into four kinds of satellite television DVB-S, cable TV DVB-C, terrestrial television DVB-T and hand-held terrestrial wireless TV DVB-H.The DVB standard comprises a plurality of contents compositions such as chnnel coding, information source coding, condition reception, captions transmission.At present, the improvement standard of DVB standard and compatible with DVB is widely used in each countries and regions such as Europe, Japan, Canada, China.
Condition receiving system CAS in the DVB standard is the system that disposes for the digital television program charge that the DVB standard is transmitted.The composition of CAS includes Subscriber Management System, business information generation system, program editing system, program scheduling treatment system, user authorization management system and condition and receives CA.The two large divisions who mainly is divided into leading subscriber and managing programm.In the existing DVB standard, the program encryption of its CAS has adopted three grades of encryption technologies, be that the programme content of control word KW is encrypted, business cipher key SK is, and KW encrypts, for the SK of identity code PDK of the unique distribution of each user encrypts, to ensure that program is not decoded easily, guarantee the validity of digital television program charge.Wherein at receiving terminal, PDK is burnt in smart card and can't be read out, and has in the receiving terminal of descrambling system when smart card inserts, and triggers three grades of decodings to digital television program.
But, in the existing digital television program customer group, existing needs the very high-end user of high definition programme content, they afford expensive TV programme expense and comparatively complicated receiving terminal, therefore watch the high definition programme content by three level decryptions, but there are some low-income groups equally, they just move past from free simulated television customer group transfer, for them, the economy of the continuity of program and program importantly, therefore, for they provide resolution general but charge elementary stream seldom, and low-cost charging terminal is provided, make them can watch for example TV programme of SD.
Therefore, the DVB conditional receiving device that needs a kind of integrated master data, normal data descrambling, provide two kinds of data flow and two kinds of corresponding different scrambling modes that resolution is different at receiving terminal for the user, and in same transport stream TS stream, launch all data flow and scramble information are multiplexing, so that receiving terminal is according to user type, select data flow and corresponding descrambling mode, watch demand with the difference of taking into account the different user group, thereby, effectively promoted corresponding Fare Collection System in popularization and the use in each area.
Summary of the invention
In order to address the above problem, the invention provides a kind of integrated master data, the DVB conditional receiving device of normal data descrambling, described DVB conditional receiving device and integrated master data, the DVB condition dispensing device correspondence of normal data scrambling, can receive the data content of two kinds of different resolutions simultaneously, and it is integrated respectively at two different descrambling modes of the data content of described two kinds of different resolutions, be convenient to receiving terminal according to user type, formulate different descramblings and receive strategy, on the one hand, greatly satisfied the seeing and hearing enjoyment of high-end user, on the other hand, also satisfied low end subscriber to the requirement of watching of programme content, under the situation that increases small number of modules, enlarged the customer group scale of DVB digital television broadcasting.
According to an aspect of the present invention, a kind of integrated master data is provided, the DVB conditional receiving device of normal data descrambling, comprise demodulation multiplexer, controller, parse module and descrambling module, comprise the acquisition rate difference in the transport stream that demodulation multiplexer receives, the master data that programme content is identical and normal data, demodulation multiplexer, parse module and descrambling module carry out demultiplexing to the transport stream that receives successively, unpack and descrambling operation, its middle controller connects descrambling module and receives User Priority, to start master data descrambling operation or normal data descrambling operation according to different User Priorities.More specifically, described integrated master data, the DVB conditional receiving device of normal data descrambling further comprises: demodulation multiplexer, the transport stream TS stream that receives is carried out demultiplexing, to obtain and output scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the Entitlement Control Message ECM table of business information PSI/SI, the Entitlement Management Message EMM table of PSI/SI and the network information table NIT table of PSI/SI, in described transport stream, described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the ECM table, EMM table and NIT table have different Packet Identifier PID, described PID be for TS flow in the be responsible for assigning identifier of different value of different types of data; Controller, when starting described DVB conditional receiving device, the user receives the user authentication information of user's input, from described user authentication information, obtain User Priority, according to described User Priority the user is divided into high-end user and low end subscriber, when judging that the user is high-end user, send normal descramble signal, when judging that the user when hanging down end subscriber, sends basic descramble signal; Parse module, connect described demodulation multiplexer, receive described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, Entitlement Control Message ECM table, Entitlement Management Message EMM table and network information table NIT table, and respectively to described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the ECM table, EMM table and NIT tabulation bag are to obtain corresponding scrambling elementary audio data respectively, the scrambling basic video data, scrambling normal audio data, the scrambling normal video data, Entitlement Control Message, Entitlement Management Message and the basic scrambling control word of encryption; Descrambling module, connect controller to receive normal descramble signal or normal descramble signal, connect parse module to receive described scrambling elementary audio data, the scrambling basic video data, scrambling normal audio data, the scrambling normal video data, Entitlement Control Message, Entitlement Management Message and the basic scrambling control word of encryption, when receiving normal descramble signal, descrambling module is according to burned and unreadable user designation code in the smart card corresponding with described DVB conditional receiving device, Entitlement Management Message is deciphered to obtain business cipher key, and according to business cipher key Entitlement Control Message is deciphered to obtain normal scrambling control word, according to normal scrambling control word scrambling normal audio data and scrambling normal video data are deciphered, to obtain normal audio data and normal video data, when receiving basic descramble signal, descrambling module carries out static Hafman decoding to encrypting basic scrambling control word, to obtain basic scrambling control word, according to basic scrambling control word scrambling elementary audio data and scrambling basic video data are deciphered, to obtain elementary audio data and basic video data; The audio decompression module connects described descrambling module, obtains normal audio data or elementary audio data and decompresses normal audio signal or elementary audio signal after decompressing with acquisition; The video decompression module connects described descrambling module, obtains normal video data or basic video data and decompresses normal video signal or elementary video signal after decompressing with acquisition; Audio playing module connects described audio decompression module, plays normal audio signal or elementary audio signal after decompressing; The video playback module connects described video decompression module, plays normal video signal or elementary video signal after decompressing; Wherein, descrambling module comprises scrambling voice data and the deciphering of scrambling video data according to the scrambling control word, descrambling module generates pseudo random streams according to the scrambling control word, pseudo random streams is carried out the XOR computing with scrambling voice data and scrambling video data respectively, obtain scrambling preceding voice data and video data respectively; Wherein, elementary audio data, basic video data have lower acquisition rate than normal audio data, normal video data respectively, and elementary audio data, basic video data are identical with the program that normal audio data, normal video data are play respectively; Wherein, TS stream is made up of packet header and load, described packet header comprises a sync byte SYNC1 and three other bytes, described three other bytes are used for traffic identification, scrambling and control information, described load comprises the MPEG-2 data of 184 bytes, specifically being distributed as of three other bytes in described packet header, 1 transmission error code indication bit position, 1 net amount is according to initial indication bit position, unit, 1 is transmitted the priority bit position, 13 bag identifier PID bits, 2 are transmitted scrambling control bit position, control bit position, 2 self adaptation districts and 4 continuous counter bits.
More specifically, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: except the business cipher key that will transmit, can also comprise key set Key Set, program distribution merchant's title Distributor Lable, service Serviee Number, current date Current Date in the described ECM table.
More specifically, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: described digital TV broadcast signal can pass through one of satellite television DVB-S, cable TV DVB-C, terrestrial television DVB-T and hand-held terrestrial wireless TV DVB-H channel and transmit.
More specifically, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: described audio playing module is left and right sides loud speaker, described video playback module is the LCD LCD, and the resolution of described LDC LCD is any one in 160 * 128,384 * 320,640 * 480 or 1024 * 600.
Embodiment
Embodiment to the DVB conditional receiving device of integrated master data of the present invention, normal data descrambling is elaborated below with reference to accompanying drawings.
Fig. 1 illustrates the block diagram of the DVB conditional receiving device of the integrated master data that illustrates according to an embodiment of the present invention, normal data descrambling.Wherein can receive the different audio, video data of two-way resolution supplies the different brackets user to select the integrated master data of playing, the DVB conditional receiving device of normal data descrambling comprises, demodulation multiplexer 1, controller 2, parse module 3 and descrambling module 4, comprise the acquisition rate difference in the transport stream TS stream that demodulation multiplexer 1 receives, the master data that programme content is identical and normal data, demodulation multiplexer 1, parse module 3 and descrambling module 4 carry out demultiplexing to the transport stream that receives successively, unpack and descrambling operation, its middle controller 2 connects descrambling module 4 and receives User Priority, to start master data descrambling operation or normal data descrambling operation according to different User Priorities.Further, described integrated master data, the DVB conditional receiving device of normal data descrambling also comprises: demodulation multiplexer 1, the transport stream TS stream that receives is carried out demultiplexing, to obtain and output scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the Entitlement Control Message ECM table of business information PSI/SI, the Entitlement Management Message EMM table of PSI/SI and the network information table NIT table of PSI/SI, in described transport stream, described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the ECM table, EMM table and NIT table have different Packet Identifier PID, described PID be for TS flow in the be responsible for assigning identifier of different value of different types of data; Controller 2, when starting described DVB conditional receiving device, the user receives the user authentication information of user's input, from described user authentication information, obtain User Priority, according to described User Priority the user is divided into high-end user and low end subscriber, when judging that the user is high-end user, send normal descramble signal, when judging that the user when hanging down end subscriber, sends basic descramble signal; Parse module 3, connect described demodulation multiplexer 1, receive described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, Entitlement Control Message ECM table, Entitlement Management Message EMM table and network information table NIT table, and respectively to described scrambling elementary audio data TS bag, scrambling basic video data TS bag, scrambling normal audio data TS bag, scrambling normal video data TS bag, the ECM table, EMM table and NIT tabulation bag are to obtain corresponding scrambling elementary audio data respectively, the scrambling basic video data, scrambling normal audio data, the scrambling normal video data, Entitlement Control Message, Entitlement Management Message and the basic scrambling control word of encryption; Descrambling module 4, connect controller 2 to receive normal descramble signal or normal descramble signal, connect parse module 3 to receive described scrambling elementary audio data, the scrambling basic video data, scrambling normal audio data, the scrambling normal video data, Entitlement Control Message, Entitlement Management Message and the basic scrambling control word of encryption, when receiving normal descramble signal, descrambling module 4 is according to burned and unreadable user designation code in the smart card corresponding with described DVB conditional receiving device, Entitlement Management Message is deciphered to obtain business cipher key, and according to business cipher key Entitlement Control Message is deciphered to obtain normal scrambling control word, according to normal scrambling control word scrambling normal audio data and scrambling normal video data are deciphered, to obtain normal audio data and normal video data, when receiving basic descramble signal, descrambling module carries out static Hafman decoding to encrypting basic scrambling control word, to obtain basic scrambling control word, according to basic scrambling control word scrambling elementary audio data and scrambling basic video data are deciphered, to obtain elementary audio data and basic video data; Audio decompression module 5 connects described descrambling module 4, obtains normal audio data or elementary audio data and decompresses normal audio signal or elementary audio signal after decompressing with acquisition; Video decompression module 7 connects described descrambling module 4, obtains normal video data or basic video data and decompresses normal video signal or elementary video signal after decompressing with acquisition; Audio playing module 6 connects described audio decompression module 5, plays normal audio signal or elementary audio signal after decompressing; Video playback module 8 connects described video decompression module 7, plays normal video signal or elementary video signal after decompressing; Wherein, descrambling module 4 comprises scrambling voice data and the deciphering of scrambling video data according to the scrambling control word, descrambling module 4 generates pseudo random streams according to the scrambling control word, pseudo random streams is carried out the XOR computing with scrambling voice data and scrambling video data respectively, obtain scrambling preceding voice data and video data respectively; Wherein, elementary audio data, basic video data have lower acquisition rate than normal audio data, normal video data respectively, and elementary audio data, basic video data are identical with the program that normal audio data, normal video data are play respectively; Wherein, TS stream is made up of packet header and load, described packet header comprises a sync byte SYNC1 and three other bytes, described three other bytes are used for traffic identification, scrambling and control information, described load comprises the MPEG-2 data of 184 bytes, specifically being distributed as of three other bytes in described packet header, 1 transmission error code indication bit position, 1 net amount is according to initial indication bit position, unit, 1 is transmitted the priority bit position, 13 bag identifier PID bits, 2 are transmitted scrambling control bit position, control bit position, 2 self adaptation districts and 4 continuous counter bits.
Wherein, Huffman encoding is Huffman Coding, is a kind of of variable word length coding (VLC).Huffman proposes a kind of coding method in nineteen fifty-two, and this method is constructed the shortest code word of average length of different prefix fully according to the character probability of occurrence, be referred to as forced coding sometimes, generally just is called the Huffman coding.Huffman compression is a harmless compression algorithm, generally is used for compressed text and program file.Huffman compression belongs to variable code length algorithm gang.The meaning is that individual symbol (for example, the character in the text) is alternative with the bit sequence of a length-specific.Therefore, the high symbol of the frequency of occurrences uses short bit sequence hereof, and the symbol that those seldom occur, then with long bit sequence.In computer information processing, " Huffman encoding " is a kind of consistency compiling method (claiming " entropy compiling method " again), is used for the lossless compression of data.This term refers to use a special coding schedule that source word symbol (a for example symbol in certain file) is encoded.The special character of this coding schedule is, he is (the short coding of setting up according to the estimated probability that each source word symbol occurs of character use that probability of occurrence is high, what otherwise probability of occurrence was low then uses than long coding, this just makes the average expectation length of the character string after the coding reduce, thereby reaches the purpose of harmless packed data).For example, in English, the probability of occurrence of e is very high, and the probability of occurrence of z is then minimum.When utilizing Huffman encoding that one piece of English is compressed, e very likely uses a position (bit) to represent, z then may spend 25 positions (not being 26).During with common method for expressing, each English alphabet all takies a byte (byte), i.e. 8 positions.The two is compared, and e has used 1/8 length of general coding, and z has then used more than 3 times.If we can realize the estimation more accurately for each alphabetical probability of occurrence in the English, just can increase substantially the ratio of harmless compression.
Wherein, conditional access system (CAS), be Conditional Access System, its composition comprises: Subscriber Management System SMS, business information generation system SIG, program PMS/SI editing system, program scheduling are handled EIS, the SAS of user authorization management system, condition receives CA etc.Mainly contain two major parts: one is the SMS of leading subscriber, and one is the CA of managing programm.CA mainly is divided into the two large divisions: the one, and the signal scrambling part, he controls scrambler to the scrambling of signal by the random code (being called control word CW) that a random code generator produces; The 2nd, encryption section, the signal that makes scrambling is at receiving terminal descrambling successfully, receiving terminal also must have with the living control word of scrambling end controls descrambler, so, the CW of front end to be sent to receiving terminal, if directly transmission can be easy to be intercepted and captured by the hacker and make CAS ineffective, for this reason, to be encrypted transmission to CW, this encryption is a kind of multi-layer security mechanism, thereby increase the fail safe that CW transmits, the ciphertext that the direct ground floor that CW is encrypted produces is called Entitlement Control Message ECM, transmit by the code stream of multiplexer with scrambling, ECM also contains if having time, the program price, information such as program authorization control, so ECM is the management information towards program.The CW encrypted secret key is called working key SK, and SK is a month key usually again, changes once in every month, whenever changes SK one time, and system all will authorize all users again.It is to be encrypted with being called the SK of program key PDK that the second layer is encrypted, the ciphertext that produces and the authorization message composition Entitlement Management Message EMM that generates by SAS from the authorized order that SMS obtains, EMM also contains authorized user messages such as intelligent card numbers, mandate time, authorization mechanism.If these information spinners are finished the mandate to the user, therefore EMM is user oriented management information, when the user of EMM sees, sees that what channel authorizes, and he also transmits with the scrambling code stream by multiplexer, more than these have formed the most basic encryption system of CA.
In addition, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: except the business cipher key that will transmit, can also comprise key set KeySet, program distribution merchant's title Distributor Lable, service Serviee Number, current date Current Date in the described ECM table.
Wherein, SI is the abbreviation of Specific Information, PSI is program Specific Information, in the DVB standard, the PID that has defined a standard is used for realizing PSI/SI, and some PID are that system keeps, so can't be with these PID as Video PID or Audio PID the DVB coding time, SI information can comprise not some services and the event in current transport stream, allows the user more to select and understands more other services.SI comprises SDT(PID=0x0011,2 sublists), EIT(PID=0x0012,3 sublists), BAT(PID=0x0011 TOT(PID=0x0014 TDT(PID=0x0014)),, 1 group) etc., PSI comprises PAT(PID=0x0000), PMT(8 road program), CAT(PID=0x0001), NIT(PID=0x0010) etc.
In addition, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: described digital TV broadcast signal can pass through one of satellite television DVB-S, cable TV DVB-C, terrestrial television DVB-T and hand-held terrestrial wireless TV DVB-H channel and transmit.
In addition, the DVB conditional receiving device of described integrated master data, normal data descrambling further comprises: described audio playing module 6 is left and right sides loud speakers, described video playback module 8 is LCD LCD, and the resolution of described LDC LCD is any one in 160 * 128,384 * 320,640 * 480 or 1024 * 600.
Wherein, LCDs, English is commonly referred to as LCD(Liquid Crystal Display), be belong to flat-panel screens a kind of, be used for the screen display of television set and computer.Two polarization material have been used in the LCD demonstration, are the quartzy solution of liquid between them.Electric current can make crystal rearrange during by this liquid, so that light can't see through them.Therefore, each crystal is just as shutter, can allow light to pass and can obstruct the light.The scientific and technological information product is all towards light, thin, short, little target development at present for LCD (LCD), and the display product that has long history in the computer periphery is no exception certainly.Be easy to carry with carry to preceding topic under, traditional display mode such as CRT crt display and LED display panel etc. all are limited by factors such as the excessive or power consumption of volume is very huge, can't reach user's actual demand.And the development of lcd technology just in time suits the trend of present information products, no matter is little, or the advantage such as zero radiation of right angle demonstration, low power consumption, volume, can both allow the user enjoy best visual environment.
Adopt integrated master data of the present invention, the DVB conditional receiving device of normal data descrambling, transformed original conditional receiving device in the face of sole user group, with integrated master data, the DVB condition dispensing device correspondence of normal data scrambling, for formulating different data, the different user group sends, data scrambling, data de-scrambling and data receiver's case, thereby the difference that satisfies all types of user is watched demand, it is the successional requirement of programme content that the high-quality programme content of high-end user required and hanged down end subscriber, by increasing small number of modules, improve the applicability of corresponding transmitting device and receiving system, effectively ensured popularization and the use of Related product in various places.
Be understandable that though the present invention with the preferred embodiment disclosure as above, yet above-described embodiment is not in order to limit the present invention.For any those of ordinary skill in the art, do not breaking away under the technical solution of the present invention scope situation, all can utilize the technology contents of above-mentioned announcement that technical solution of the present invention is made many possible changes and modification, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not break away from technical solution of the present invention according to any simple modification, equivalent variations and the modification that technical spirit of the present invention is done above embodiment, all still belongs in the scope of technical solution of the present invention protection.