CN101047501B - Method and equipment for raising safety of data flow transmission in mobile TV system - Google Patents

Method and equipment for raising safety of data flow transmission in mobile TV system Download PDF

Info

Publication number
CN101047501B
CN101047501B CN2006100721509A CN200610072150A CN101047501B CN 101047501 B CN101047501 B CN 101047501B CN 2006100721509 A CN2006100721509 A CN 2006100721509A CN 200610072150 A CN200610072150 A CN 200610072150A CN 101047501 B CN101047501 B CN 101047501B
Authority
CN
China
Prior art keywords
shift register
module
random sequence
pseudo random
xor
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.)
Expired - Fee Related
Application number
CN2006100721509A
Other languages
Chinese (zh)
Other versions
CN101047501A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100721509A priority Critical patent/CN101047501B/en
Publication of CN101047501A publication Critical patent/CN101047501A/en
Application granted granted Critical
Publication of CN101047501B publication Critical patent/CN101047501B/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

A method for raising safety of data stream transmission in hand TV system includes carrying out enciphering on MAC data packet by pseudo-random sequence generated from shift register at sending end, carrying out deciphering on enciphered MAC data packet by pseudo-random sequence generated from shift register at received end and carrying out inclusive-OR operation on data stream by random sequence generated from shift register for providing a new and simple safe-enciphering means on said hand TV system.

Description

A kind of method and apparatus that improves safety of data flow transmission in the hand TV system
Technical field
The present invention relates to the data communication technology field, be specifically related to encryption method, data flow transmission method, sending ending equipment and the receiving device of data flow in a kind of hand TV system.
Background technology
Hand held television also claims mobile TV or hand held television, and as its name suggests, hand held television is come TV reception by mobile phone terminal exactly, that is to say, realizes digital television program, Streaming Media and other data, services by the mobile network.
The hand held television business can be enriched daily life and exchange of information greatly, has great market potential, and therefore, hand held television becomes the industry research and development focus of next stage.Naturally, the implication of mobile phone terminal also has been extended on the various portable terminals, holds personal terminal or the like as mobile unit, notebook computer, hand.
At present, the scheme of realization hand held television business mainly contains following three kinds:
Scheme one, realize the hand held television business based on clean culture or the multi-cast system of traditional mobile network such as CDMA, EDGE, GPRS etc., as the MBMS system in the 3G system.
Scheme two, realize the hand held television business based on the clean culture or the broadcast system of satellite system, as S-DMB system etc.
Scheme three, realize the hand held television business based on the system of mobile broadcast network, as systems such as DVB-H, ISDB-T.
Comprehensive each side considers, is the relatively solution of good hand held television business of industry based on the hand TV system of mobile broadcast network, and associated test and commercial network have DVB-H, MediaFlow or the like.But mobile broadcast network also has its weak point, mainly shows to lack up channel as interactive means, thereby causes the user access control and the relative difficulty of chargeing.
If can well solve the problems referred to above of mobile broadcast network, then operator not only can utilize the charge advertisement to provide free program to the user; Also can be by collecting service fee, for the user provides program more horn of plenty, that do not contain advertisement to the user.Accordingly, the user can select to watch the free program with advertisement insertion, also can select to watch more excellent sponsored program.
In order to realize the charging to the terminal use, present most hand TV system has all adopted various access control schemes.Generally, can on two levels, carry out the access control of program, the one, at high level the multimedia data stream of program is controlled, as common DRM (digital copyright management) system; The 2nd, the function of in the system of radio network self, the data that provide being encrypted.
How existing hand held television scheme such as DVB-H, MediaFlow etc. do not have to mention in related protocol the program processing of encrypting and charge; The national terrestrial television standard of same China does not take in this problem yet.In the MediaFlow system, the access control of program and charging are finished by DRM (digital copyright management) system.
DRM (digital copyright management) system can carry out access control flexibly to program, as is used to control the user and watches, copy number of times for specific program.Its basic thought is: the program data that requires to generate after encrypting of deciding to read according to the user reaches relevant licence, and the user gets a license by corresponding payment, utilizes licence to come the program data that receives is decoded then.But the introducing of system for numeral copyright management has also produced new problem.At first, system for numeral copyright management has increased the complexity of system; Secondly, the patent charge that system for numeral copyright management is relevant can further increase the structure and the operation cost of system again.In addition, current system for numeral copyright management also is not very ripe, and various systems are stood in great numbers; In most cases, the generation of program licence is relevant with the terminal concrete configuration that the user uses, if the user wants to transmit or the storage program, will cause the inefficacy of licence, and this situation has caused no small influence to user experience.In addition, normally more popular, low-cost, ageing stronger data of the TV programme of most forms of broadcasting such as news, party, match etc., whether be worth introducing DRM system to protect to these type of data also is to be worth discussion.
Summary of the invention
The objective of the invention is to, provide encryption method, data flow transmission method, sending ending equipment and the receiving device of data flow in a kind of hand TV system, to realize improving the safety of data flow transmission in the hand TV system, the purpose of raising hand TV system fail safe.
For achieving the above object, the encryption method of data flow in a kind of hand TV system provided by the invention comprises:
A, transmitting terminal carry out initialization operation by user key and randomization factor to shift register, and described randomization factor comprises: superframe index number and/or framing call number;
B, transmitting terminal utilize shift register to produce pseudo random sequence;
C, transmitting terminal utilize described pseudo random sequence that the MAC packet is encrypted, and the MAC packet after will encrypting is sent to receiving terminal.
Described step a comprises:
Transmitting terminal is by low 16 and the 8 hyte frame index initialization shift registers of 24 user keys, superframe index.
When described shift register was 48, described step b comprised:
Transmitting terminal is according to multinomial x 48+ x 28+ x 27+ x+1 produces pseudo random sequence;
Wherein, x 48The 48th bit, x for shift register 28The 28th bit, x for shift register 27Be the 27th bit of shift register, the 1st bit that x is shift register.
Described step c comprises:
Transmitting terminal carries out the cascade combination with the MAC packet in the same framing;
MAC packet after transmitting terminal utilizes pseudo random sequence to described cascade combination is encrypted, and data encrypted stream is sent to receiving terminal.
In the described method: when not needing the MAC packet encrypted, user key is made as the fixed constant value, perhaps user key and described randomization factor all is set to the fixed constant value.
The invention provides data flow transmission method in a kind of hand TV system, described method comprises:
Transmitting terminal carries out initialization operation by user key and randomization factor to shift register, and described randomization factor comprises: superframe index number and/or framing call number;
The pseudo random sequence that transmitting terminal utilizes described shift register to produce is encrypted the MAC packet, and the MAC packet after will encrypting is sent to receiving terminal;
MAC packet after receiving terminal utilizes pseudo random sequence that shift register produces to the encryption of its reception is decrypted operation, to obtain unencrypted MAC packet.
The invention provides the sending ending equipment in a kind of hand TV system, be provided with shift register initialization module, shift register module, XOR XOR module and physical layer emission processing module in the described sending ending equipment;
Store the information of initialization shift register in the shift register initialization module, described information comprises: user key and randomization factor, and described randomization factor comprises: superframe index number and/or framing call number; The shift register initialization module utilizes the described information initializing shift register module of its storage;
XOR XOR module is used for: utilizes shift register module to produce pseudo random sequence, and utilizes this pseudo random sequence that the MAC packet is carried out the XOR operation, and output;
Physical layer emission processing module is used for: the data flow after the XOR operational processes is carried out base band and radio frequency processing, and processed data stream is launched.
Also be provided with MAC package compound module in the described sending ending equipment;
MAC package compound module is used for: the MAC packet of same framing is carried out the cascade combination; At this moment, XOR XOR module utilizes shift register module to produce pseudo random sequence, and the MAC packet after utilizing this pseudo random sequence to the cascade combination is encrypted.
The present invention also provides the receiving device in a kind of hand TV system, is provided with shift register initialization module, shift register module, XOR XOR module and physical layer receiving processing module in the described receiving device;
The physical layer receiving processing module is used for: the data flow that receiving end/sending end equipment emits, and this data flow received processing, and will receive processed data stream output;
Store the information of initialization shift register in the shift register initialization module, described information comprises: user key and randomization factor, and described randomization factor comprises: superframe index number and/or framing call number; The shift register initialization module utilizes the described information initializing shift register module of its storage;
XOR XOR module is used for: utilize shift register module to produce pseudo random sequence, the MAC packet that utilizes this pseudo random sequence that the physical layer receiving processing module is exported carries out the XOR operation, and output.
Also be provided with the MAC bag in the described receiving device and separate composite module;
The MAC bag is separated composite module and is used for: the cascade combination MAC packet of XOR XOR module output is divided into original MAC packet, and output.
Description by technique scheme as can be known, the present invention encrypts the MAC packet by the pseudo random sequence of utilizing shift register to produce, for hand TV system provide a kind of new, simple, easily realize, the encryption method of safety; By the random sequence of utilizing shift register to produce data stream is carried out xor operation, when data stream is encrypted, realized scrambling process data flow; The present invention is in conjunction with the characteristics of hand TV system, by utilizing user key, superframe index number and framing call number shift register is carried out initialization, in ciphering process, introduced more enchancement factor, strengthened the complexity of ciphering process, thereby made the broadcast data after the encryption be difficult to crack; Carry out the cascade combination and utilize the MAC packet after described pseudo random sequence makes up cascade to encrypt by the program MAC packet that will be in the same framing, the length of data package of using in cryptographic operation is increased greatly, further increased the complexity of ciphering process, made the broadcast data after the encryption be difficult to more crack; Be set at fixing constant value by initialization information, make transmitting terminal can enable/stop the ciphering process of MAC packet provided by the invention flexibly shift register; Thereby realized improving the purpose of hand TV system fail safe by technical scheme provided by the invention.
Description of drawings
Fig. 1 is the frame structure schematic diagram in the hand TV system;
Fig. 2 is the time slicing schematic diagram in the hand TV system;
Fig. 3 is the encryption method schematic diagram of data flow in the hand TV system of the embodiment of the invention;
Fig. 4 is the sending ending equipment schematic diagram of the embodiment of the invention;
Fig. 5 is the receiving device schematic diagram of the embodiment of the invention.
Embodiment
In the hand held television broadcast system, provide encryption function, can make operator customize whole hand held television broadcast system more neatly.Consider the cost and the complexity of cryptographic operation, the present invention provides a kind of by using user key, shift register to realize the method for traffic encryption for the hand held television broadcast system.
At present, the hand TV system of main flow all adopts OFDM (OFDM) modulation system, and corresponding system frame structure is divided substantially similar.To a little day frame, time frame, branch frame, second frame, superframe, the Frame etc. of can being divided into successively, wherein day frame, time frame, branch frame, second frame are all synchronous with natural time from big for the frame structure of system.Fig. 1 has provided a kind of typical frame structure of current hand TV system, a superframe structure under this scheme in the system and a second frame structure equivalence, and between superframe structure and data frame structure, defined a framing structure.A framing is made up of 8 Frames usually, and therefore, a framing is called little eight frames again.Among Fig. 1, first framing in each superframe is used to carry public information, public information such as system time, listing, subdistrict frequency point or the like, therefore, first framing public information frame that is otherwise known as; Other framings in the superframe are used to carry the data of each program, therefore, and other framings programme information frame that is otherwise known as.Frame is made up of frame head and 3780 s' OFDM symbol, and Frame is minimum whole frame structure.Synchronizing signal is made up of random sequence.
Framing number in the superframe depends on a plurality of factors, as frame head length, framing size, OFDM symbol lengths etc.
In hand TV system, be that the power consumption of user terminal has been introduced the notion of " time slicing " in order to save receiving device, that is to say, the data of same program are carried out concentration of transmissions with the form of burst.The schematic diagram of time slicing as shown in Figure 2.In the typical hand TV system shown in Fig. 1, the least unit of time slicing is a framing, i.e. 8 OFDM Frames.
In the hand TV system of current main-stream, in the specific region of public information frame, all there is a field that is used for indication mechanism fiducial time or superframe index number; Because in the current hand TV system, the frame structure of superframe is fixed, therefore, system fiducial time and superframe index number are consistent in itself, have a simple conversion relation between the two.In the hand TV system shown in Fig. 1, superframe is identical with a second frame, so, the call number of superframe with second counting system time be identical, as the 1000th second of the 1000th superframe correspondence system time.In addition, in the framing of the typical hand TV system shown in Fig. 1, also there is a similar field to be used for indicating the call number of framing at superframe; This field is generally 8 bits, and resets to 0 when each superframe begins.
In method provided by the invention, at first, transmitting terminal needs the initialization information of shift register such as user key to come the initialization shift register, then, transmitting terminal utilizes above-mentioned shift register to produce pseudo random sequence, and utilizes described pseudo random sequence that data stream is encrypted, and encryption can be undertaken by utilizing pseudo random sequence that the data bit stream is carried out XOR (XOR) operation, at last, transmitting terminal is sent to receiving terminal with data encrypted stream.
Subsequently, receiving terminal can utilize the shift register with identical init state to generate identical pseudo random sequence, that is to say, shift register initialization information such as user key that the receiving terminal utilization is identical with transmitting terminal come the initialization shift register, then, receiving terminal utilizes this shift register to produce pseudo random sequence, and utilize this pseudo random sequence that data stream is carried out decryption processing, as utilize pseudo random sequence that its data bit flow that receives is carried out XOR (XOR) operation etc., can obtain original unencrypted data flow data.
In order to strengthen the fail safe of hand TV system, transmitting terminal of the present invention can also be further improved above-mentioned traffic encryption process, comes the MAC packet is carried out encryption as introduce extra random factor in ciphering process; In ciphering process, earlier the MAC packet in the same framing is carried out the cascade combination for another example, then, utilize the MAC packet after user key makes up cascade to carry out encryption again; Also have, also can adopt the scheme of introducing randomization factor and MAC packet cascade combined ciphering to realize ciphering process simultaneously.Be example with above-mentioned three kinds of methods mentioning below, the traffic encryption process of transmitting terminal is described in detail.
Scheme one, transmitting terminal adopt the scheme that the MAC packet in the same framing is carried out the cascade combination to realize the ciphering process of data flow.
In Fig. 2, comprised two superframes, comprised the data burst of 2 programs in each superframe, be i.e. the data burst of program A and program B.A program has only a data burst usually in a superframe.Because it is framing that the minimum of data burst is formed unit, promptly framing is to send and the least unit that receives, and therefore, the MAC packet cascaded series that transmitting terminal can belong to data flow a framing lumps together.After the MAC packet carried out cascade combination, MAC packet after the pseudo random sequence that transmitting terminal need utilize shift register to produce makes up cascade carries out encryption, and the data bit flow after promptly transmitting terminal utilizes pseudo random sequence to the cascade combination carries out XOR (XOR) operation.At last, the data flow of transmitting terminal after with encryption is sent to receiving terminal.In this scheme, transmitting terminal utilizes user key that shift register is carried out initialization process.
Receiving terminal should utilize identical user key to come the initialization shift register, then, receiving terminal utilizes this shift register to produce pseudo random sequence, and utilize described pseudo random sequence that the cascade combination MAC packet that receives is carried out XOR (XOR) arithmetic operation, and the MAC packet after the XOR operation separated the cascade combined treatment, can obtain original unencrypted MAC packet.
From above-mentioned to the description of scheme one as can be seen, by the cascade combination to the MAC packet, the length of the pseudo random sequence that is used to encrypt has also increased greatly, therefore, the difficulty that encrypting traffic is cracked also is the geometric multiplicity growth, thereby has strengthened the fail safe of hand TV system.
Scheme two, transmitting terminal adopt user key and randomization factor to realize the ciphering process of data flow.
In order to strengthen the fail safe of traffic encryption process, transmitting terminal can not only use user key that shift register is carried out initialization operation, transmitting terminal can also make full use of the characteristics of hand TV system, adopt user key and transmitting-receiving two-end all as can be known randomization factor together shift register is carried out initialization operation, transmitting terminal can utilize the predetermined figure of user key initialization shift register and utilize other figure places of randomization factor initialization shift register, so that shift register is carried out initialization operation.Behind the initialization operation that has carried out shift register, the pseudo random sequence that transmitting terminal should utilize shift register to produce is carried out encryption to the MAC packet, as utilizes pseudo random sequence that the MAC packet is carried out XOR (XOR) operation respectively.At last, the data flow of transmitting terminal after with encryption is sent to receiving terminal.The randomization factor that transmitting terminal uses also can be sent to receiving terminal with data flow.
Subsequently, receiving terminal also should utilize user key and the randomization factor initialization shift register of coming together, and adopts as receiving terminal and utilizes the predetermined figure of user key initialization shift register and utilize the method for other figure places of randomization factor initialization shift register to come shift register is carried out initialization operation.Behind the initialization operation that has carried out shift register, receiving terminal utilizes this shift register to produce pseudo random sequence, and utilize this pseudo random sequence that the MAC packet of program is decrypted processing, promptly utilize pseudo random sequence that its program MAC packet that receives is carried out XOR (XOR) operation respectively, can obtain original unencrypted data flow data.
Above-mentioned randomization factor can be superframe index number and/or framing call number, that is to say, transmitting terminal can utilize user key and superframe index number shift register to be carried out initialization process, also can utilize user key and framing call number that shift register is carried out initialization process, can also utilize user key, superframe index number and framing call number that shift register is carried out initialization process.Certainly, transmitting terminal also can adopt randomization factor that shift register is carried out initialization process separately, and this moment, above-mentioned flow process only played the effect of scrambling, not encryption function.
Transmitting terminal can be chosen the length of the initiation parameter information of above-mentioned three shift registers and come shift register is carried out initialization flexibly according to the predetermined figure of the shift register in the hand TV system.Because all have corresponding field to be used to indicate superframe index number and framing call number in public information frame and each program data frame, therefore, receiving terminal can be obtained these randomization factor.Like this, receiving terminal can utilize the user key, superframe index number of equal length, framing call number three jointly shift register to carry out initialization process.
From above-mentioned to the description of scheme two as can be seen; by in the initialized process of shift register, increasing randomization factor; make user cipher protect under the constant situation; the pseudo random sequence that MAC packet in the different framing is encrypted also is different; thereby increased the difficulty that data flow is cracked, finally strengthened the fail safe of hand TV system.
Scheme three, transmitting terminal adopt the scheme of user key, randomization factor and MAC packet cascade combination that data stream is carried out encryption.
In order to strengthen the fail safe of traffic encryption process, transmitting terminal not only needs to adopt user key and randomization factor together shift register to be carried out initialization operation, also need the MAC packet in the same framing in the data flow is carried out the cascade combination, like this, MAC packet after the pseudo random sequence that transmitting terminal can utilize shift register to produce makes up cascade carries out encryption, as the MAC packet after utilizing pseudo random sequence to the cascade combination carries out XOR (XOR) operation.At last, the data flow of transmitting terminal after with encryption is sent to receiving terminal.
Receiving terminal should utilize user key and the randomization factor initialization shift register of coming together, and adopts as receiving terminal and utilizes the predetermined figure of user key initialization shift register and utilize the method for other figure places of randomization factor initialization shift register to come shift register is carried out initialization operation.Behind the initialization operation that has carried out shift register, receiving terminal utilizes this shift register to produce pseudo random sequence, and utilize this pseudo random sequence that the combination of the cascade in corresponding framing MAC packet data streams is decrypted processing, promptly utilize this pseudo random sequence that it is received cascade combination MAC packet data streams and carry out XOR (XOR) operation, can obtain original unencrypted cascade combination MAC packet, receiving terminal can obtain original unencrypted MAC packet after the MAC packet being separated the cascade combination.
When randomization factor is a superframe index number during with the framing call number, receiving terminal can solve corresponding superframe index number and framing call number from the public information frame of signal and framing, then, and in conjunction with the user key initialization shift register of coming together.Transmitting terminal can be chosen the length of above-mentioned three initiation parameter information and come shift register is carried out initialization neatly according to the predetermined figure of the shift register of system.Behind the initialization operation that has carried out shift register, receiving terminal utilizes this shift register to produce pseudo random sequence, and utilize this pseudo random sequence that the combination of the cascade in corresponding framing MAC packet data streams is decrypted processing, as utilize this pseudo random sequence that it is received cascade combination MAC packet data streams and carry out XOR (XOR) operation, can obtain original unencrypted cascade combination MAC packet data streams data.
From above-mentioned to the description of scheme three as can be seen, by in initialized process, introducing extra enchancement factor such as superframe index number, framing call number to shift register, increased the complexity of transmitting terminal to the data stream encryption, by the MAC packet in the same framing being carried out the cascade combination, increased the length of corresponding pseudo random sequence, thereby made the concrete better fail safe of hand TV system.
Utilize scheme three to come the program MAC packet in the framing is carried out encrypted process with a concrete example explanation below.
According to the introduction of front to the typical hand TV system frame structure among Fig. 1, as can be seen: superframe is made up of several framings, and wherein first framing is used to carry public information, therefore is also referred to as the public information frame, other framings are used to carry programme information, are called the programme information frame.Framing is combined by several Frame cascades, and in general, framing is combined by 5~10 Frame cascades, and the framing among Fig. 1 is made up of 8 Frames.If the transmission bandwidth of hand TV system is 7.56M, the length of synchronizing signal is 420, and the size of superframe is 1s, and the size of framing is made as 8 OFDM symbols, and then superframe is that the Frame in second frame is 1800, and the framing number in the superframe is 255.
If the superframe index field in the public information frame is 32 bits, being used for indicating the field of the framing call number of superframe is 8 bits, and the generator polynomial of establishing the shift register that is used to generate pseudo random sequence is: x 48+ x 28+ x 27+ x+1, wherein, x 48The 48th bit, x for shift register 28The 28th bit, x for shift register 27Be the 27th bit of shift register, the 1st bit that x is shift register; Corresponding initialization register is 48 bits, utilizes user key, superframe index number, framing call number that shift register is carried out initialized process as shown in Figure 3.
Among Fig. 3, transmitting terminal utilizes 24 user key that the b01~b24 bit of shift register is carried out initialization process, utilize minimum 16 bits in the superframe index number of 32 bits that the b25~b40 bit of shift register is carried out initialization process, utilize 8 framing rope phase quotation marks that the b41~b48 bit of shift register is carried out initialization.
Transmitting terminal utilizes the shift register after Fig. 3 initialization to produce pseudo random sequence, and each the MAC packet in the same framing is carried out cascade make up, then, MAC packet after utilizing this pseudo random sequence to the cascade combination carries out XOR (XOR) operational processes, at last, the superframe after the XOR processing is sent to receiving terminal.
Certainly, transmitting terminal also can not carry out the MAC packet in the framing cascade combination, but directly utilizes this pseudo random sequence that each MAC packet is carried out XOR (XOR) operational processes respectively, then, the superframe after the XOR processing is sent to receiving terminal.
In above-mentioned example, by introduce superframe index number and framing call number in encryption flow, even user key is not changed for a long time, the init state of shift register also will be separated by 2 at least 24Just can reset once in/3600=466 hour; In this case, if the assailant attempts to crack the encryption key of data flow, the cost that it spent will be higher than the scheme that independent use user key comes the initialization shift register far away.
In addition,, make the pseudo random sequence that is used for once encrypting also extend greatly, increased the difficulty that the assailant cracks user key equally by to the cascade of the MAC packet in same framing combination.
Adopting technical scheme of the present invention to realize in the data flow transmission process, if do not need to enable above-mentioned encryption flow in the hand TV system, then only user key need be fixedly installed and be a certain constant value, perhaps user key and superframe index number and framing call number all being set to a certain constant value and getting final product, is 101010101010101010101010 or complete zero or other constants as user key is fixedly installed; Like this, the present invention only has been equivalent to the process of a scrambling to the ciphering process of data flow, because the scrambling operation is a generalized flowsheet in the communication system, therefore, this process can not introduced extra expense to system yet.
Sending ending equipment in the hand TV system provided by the invention as shown in Figure 4.
Among Fig. 4, be provided with shift register initialization module 10, shift register module 11, XOR XOR module 12, MAC package compound module 13, physical layer emission processing module 14 in the sending ending equipment.
Store the initialization information of shift register in the shift register initialization module 10, this initialization information can only be a user key, and like this, initialization module should utilize the user key initialization shift register of its storage.The initialization information of storing in the shift register initialization module can also be user key and randomization factor, and the randomization factor here can be superframe index number and/or framing call number.Like this, initialization module can utilize the user key of its storage and randomization factor to come the initialization shift register.
Can store user key, superframe index number, the above-mentioned three's of framing call number various combinations in the shift register initialization module; Only store user key and superframe rope Xiang Hao etc. as the shift register initialization module.And it is complete zero that user key can be set to, and only stores superframe index number and framing call number.Concrete as the description in the above-mentioned method.
Shift register module 11 is mainly used in: the pseudo random sequence of using when carrying out the XOR XOR when producing encryption or scrambling.
MAC package compound module 13 is mainly used in: the MAC packet in the same framing is carried out simple head and the tail cascade combination, to form bigger be-encrypted data piece; Certainly, fashionable when the MAC packet not being carried out cascaded series, this module also can be changed to inefficacy.
XOR XOR module 12 is mainly used in: utilize shift register module to produce pseudo random sequence, and utilize this pseudo random sequence that the MAC packet is carried out encryption.XOR XOR module 12 can directly utilize this pseudo random sequence that the MAC packet is all carried out encryption; The cascade combination MAC packet that XOR XOR module 12 also can utilize this pseudo random sequence that MAC package compound module 13 is exported carries out encryption.Concrete as the description in the above-mentioned method.
Physical layer emission processing module 14 is mainly used in: data encrypted stream is carried out a series of conventional emissions such as chnnel coding, constellation demodulation, channel Mapping, signal D/A conversion, signal up-conversion handle, data are gone out by antenna transmission the most at last.
Receiving device in the hand TV system provided by the invention as shown in Figure 5.
Among Fig. 5, be provided with shift register initialization module 10, shift register module 11, XOR XOR module 12 in the sending ending equipment, the MAC bag is separated composite module 15 and physical layer receiving processing module 16.
Physical layer receiving processing module 16 is mainly used in: carry out the conversion of signal down-conversion, signal A/D to received signal, channel is separated a series of conventional receptions such as mapping, constellation demodulation, channel-decoding and handled, received signal is converted to data encrypted and flows the most at last.
Shift register initialization module 10 in the receiving device, shift register module 11 and XOR XOR module 12 are identical with above-mentioned description to transmitting terminal, here, XOR XOR module 12 is the data flow of physical layer receiving processing module 16 outputs to be carried out XOR handle operation, no longer is repeated in this description at this.
The MAC bag is separated composite module 15 and is used for: the cascade combination MAC packet of same framing is separated the cascade combination, to form original MAC packet; Certainly, the MAC packet not to be carried out cascaded series fashionable when transmitting terminal, and the MAC bag of receiving terminal is separated composite module 15 and also can be changed to inefficacy.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and do not break away from spirit of the present invention, and the claim of application documents of the present invention comprises these distortion and variation.

Claims (10)

1. the encryption method of data flow in the hand TV system is characterized in that, comprising:
A, transmitting terminal carry out initialization operation by user key and randomization factor to shift register, and described randomization factor comprises: superframe index number and/or framing call number;
B, transmitting terminal utilize shift register to produce pseudo random sequence;
C, transmitting terminal utilize described pseudo random sequence that the MAC packet is encrypted, and the MAC packet after will encrypting is sent to receiving terminal.
2. the encryption method of data flow is characterized in that in a kind of hand TV system as claimed in claim 1, and described step a comprises:
Transmitting terminal is by low 16 and the 8 hyte frame index initialization shift registers of 24 user keys, superframe index.
3. the encryption method of data flow is characterized in that in a kind of hand TV system as claimed in claim 1 or 2, and when described shift register was 48, described step b comprised:
Transmitting terminal is according to multinomial x 48+ x 28+ x 27+ x+1 produces pseudo random sequence;
Wherein, x 48The 48th bit, x for shift register 28The 28th bit, x for shift register 27Be the 27th bit of shift register, the 1st bit that x is shift register.
4. the encryption method of data flow is characterized in that in a kind of hand TV system as claimed in claim 1 or 2, and described step c comprises:
Transmitting terminal carries out the cascade combination with the MAC packet in the same framing;
MAC packet after transmitting terminal utilizes pseudo random sequence to described cascade combination is encrypted, and data encrypted stream is sent to receiving terminal.
5. the encryption method of data flow in a kind of hand TV system as claimed in claim 1 or 2, it is characterized in that, in the described method: when not needing the MAC packet encrypted, user key is made as the fixed constant value, perhaps user key and described randomization factor all is set to the fixed constant value.
6. one kind based on data flow transmission method in the hand TV system of claim 1, it is characterized in that described method comprises:
Transmitting terminal carries out initialization operation by user key and randomization factor to shift register, and described randomization factor comprises: superframe index number and/or framing call number;
The pseudo random sequence that transmitting terminal utilizes described shift register to produce is encrypted the MAC packet, and the MAC packet after will encrypting is sent to receiving terminal;
MAC packet after receiving terminal utilizes pseudo random sequence that shift register produces to the encryption of its reception is decrypted operation, to obtain unencrypted MAC packet;
The shift register of described receiving terminal has identical init state with the shift register of described transmitting terminal, and the pseudo random sequence that the shift register of described receiving terminal produces is identical with the pseudo random sequence that the shift register of described transmitting terminal produces.
7. the sending ending equipment in the hand TV system is characterized in that, is provided with shift register initialization module, shift register module, XOR XOR module and physical layer emission processing module in the described sending ending equipment;
Store the information of initialization shift register in the shift register initialization module, described information comprises: user key and randomization factor, and described randomization factor comprises: superframe index number and/or framing call number; The shift register initialization module utilizes the described information initializing shift register module of its storage;
XOR XOR module is used for: utilizes shift register module to produce pseudo random sequence, and utilizes this pseudo random sequence that the MAC packet is carried out the XOR operation, and output;
Physical layer emission processing module is used for: the data flow after the XOR operational processes is carried out base band and radio frequency processing, and processed data stream is launched.
8. the sending ending equipment in a kind of hand TV system as claimed in claim 7 is characterized in that, also is provided with MAC package compound module in the described sending ending equipment;
MAC package compound module is used for: the MAC packet of same framing is carried out the cascade combination; At this moment, XOR XOR module utilizes shift register module to produce pseudo random sequence, and the MAC packet after utilizing this pseudo random sequence to the cascade combination is encrypted.
9. the receiving device in the hand TV system is characterized in that, is provided with shift register initialization module, shift register module, XOR XOR module and physical layer receiving processing module in the described receiving device;
The physical layer receiving processing module is used for: the data flow that receiving end/sending end equipment emits, and this data flow received processing, and will receive processed data stream output;
Store the information of initialization shift register in the shift register initialization module, described information comprises: user key and randomization factor, and described randomization factor comprises: superframe index number and/or framing call number; The shift register initialization module utilizes the described information initializing shift register module of its storage;
XOR XOR module is used for: utilizes shift register module to produce pseudo random sequence, and utilizes this pseudo random sequence that the MAC packet of physical layer receiving processing module output is carried out the XOR operation, and output;
The shift register of described receiving device has identical init state with the shift register of described sending ending equipment, and the pseudo random sequence that the shift register of described receiving device produces is identical with the pseudo random sequence that the shift register of described sending ending equipment produces.
10. the receiving device in a kind of hand TV system as claimed in claim 9 is characterized in that, also is provided with the MAC bag in the described receiving device and separates composite module;
The MAC bag is separated composite module and is used for: the cascade combination MAC packet of XOR XOR module output is divided into original MAC packet, and output.
CN2006100721509A 2006-04-14 2006-04-14 Method and equipment for raising safety of data flow transmission in mobile TV system Expired - Fee Related CN101047501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100721509A CN101047501B (en) 2006-04-14 2006-04-14 Method and equipment for raising safety of data flow transmission in mobile TV system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100721509A CN101047501B (en) 2006-04-14 2006-04-14 Method and equipment for raising safety of data flow transmission in mobile TV system

Publications (2)

Publication Number Publication Date
CN101047501A CN101047501A (en) 2007-10-03
CN101047501B true CN101047501B (en) 2010-08-11

Family

ID=38771759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100721509A Expired - Fee Related CN101047501B (en) 2006-04-14 2006-04-14 Method and equipment for raising safety of data flow transmission in mobile TV system

Country Status (1)

Country Link
CN (1) CN101047501B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337728A (en) * 2015-10-28 2016-02-17 济南知芯集成电路技术有限公司 Data encryption method and system
CN105391701A (en) * 2015-10-28 2016-03-09 济南知芯集成电路技术有限公司 Data encryption method and system
CN105429748A (en) * 2015-10-28 2016-03-23 济南知芯集成电路技术有限公司 Data encryption method and system
CN114666624A (en) * 2022-04-07 2022-06-24 乾三(北京)科技有限公司 Video file encryption and decryption method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536801A (en) * 2003-04-07 2004-10-13 华为技术有限公司 Medium access control layer treatment unit of netowrk side and user side
WO2005010850A1 (en) * 2003-07-14 2005-02-03 Sony Corporation Encryption/decryption device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536801A (en) * 2003-04-07 2004-10-13 华为技术有限公司 Medium access control layer treatment unit of netowrk side and user side
WO2005010850A1 (en) * 2003-07-14 2005-02-03 Sony Corporation Encryption/decryption device and method

Also Published As

Publication number Publication date
CN101047501A (en) 2007-10-03

Similar Documents

Publication Publication Date Title
CN101518073A (en) Method for generating the counter block value
CN1290328C (en) Dynamic random mess correction and enciphering-deenciphering method for video frequency information
CN1918914A (en) System for selective data transmission
CN101998384B (en) Method for encrypting transmission medium stream, encryption server and mobile terminal
CN103686333A (en) Audio video protecting method and audio video terminal
CN101047501B (en) Method and equipment for raising safety of data flow transmission in mobile TV system
CN1549595A (en) Information transmitting method and apparatus for interactive digital broadcast television system
CN103248918B (en) The DVB condition dispensing device of integrated master data, normal data scrambling
CN111884802A (en) Media stream encryption transmission method, system, terminal and electronic equipment
CN101697511A (en) Method and system for receiving mobile streaming media conditions
CN100547955C (en) A kind of method of protecting mobile multimedia service, system and equipment
CN103281572B (en) The DVB conditional receiving device of integrated master data, normal data descrambling
US8843954B2 (en) Information transmission method, system and data card
CN101146209A (en) A method and system for program stream secret key encryption in mobile multi-media broadcasting service
CN101145932B (en) A realization method and system for program stream secret key in mobile multi-media broadcast service
CN101668168A (en) Mobile terminal television program recording and playing method and system
CN101841669B (en) Mobile multimedia broadcast receiving chip, device, and method, and baseband processing chip
TWI514859B (en) Cascading dynamic crypto periods
CN100356789C (en) Method and device for protecting broadband audio-video broadcasting content
KR100851016B1 (en) Apparatus for scrambling/descrambling and the system for transceiving using the same
CN101426199B (en) ZigBee wireless network data safe transmission system
CN101119170A (en) Frequency modulated subcarrier based user management method
CN101437143A (en) Encipher apparatus for image and sound transmission
JP2004208107A (en) Scrambled broadcast system, broadcast transmission device, and reception device
CN101193308A (en) Method and device for playing video/audio signals in communication network

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100811

Termination date: 20180414

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