Summary of the invention
The present invention is intended to overcome existing hard disc player and operates shortcoming random, poor stability, and then provide a hard disc player with double-encryption program, at first the film source of its broadcast must be the legal film source of encrypting through special, and the player content has only under the authorization conditions and could increase, delete or revise.
The technical solution used in the present invention is for achieving the above object: a kind of hard disc player is provided, comprises: main control module is used for the Interface status detection so that responsive state changes other module work of control and guiding man-machine interaction; Identity authenticating unit is connected with main control module, is used to be provided with user key and carries out authentication mutual; Decoder module is connected with a main control module and a USB modular converter, is used for audio-video signal deciphering and the output of decoding back; Encryption Tool is independent of outside the hard disc player, uses on computers, is used for audio-video document is carried out particular encryption.Described player has the basic USB 2.0 HOST interfaces that are used for being connected with movable storage device, be used for and computing machine connects USB 2.0 SLAVE interfaces, network interface, various audio-video interface and the USB modular converter of pegging graft.
Further, the storage medium hard disk is set in the described hard disc player, this storage medium hard disk is connected with the USB modular converter.
Further, described hard disc player also comprises the display module that is connected with decoder module, in order to play-over decoding back film source.
Wherein, the user key of described identity authenticating unit is kept in the described player after encrypting; Described Encryption Tool uses pre-partial content information of encrypting film source as seed, and in order to produce random number sequence, this random number sequence is the random key that film source is encrypted; Encryption Tool calculates the specific encryption key of generation with preset user key and this random key by special algorithm then, uses encryption key that film source is encrypted at last, is about to pre-data and the specific key displacement corresponding data of encrypting film source.
Wherein, the decoder module user key that uses the decryption unit read to preset carries out the operation opposite with ciphering process with the film source contents decryption with the film source content information of pre-encryption; To decipher film source at last and be decoded into the audio-video signal form output of standard.
The present invention adopts two encryption mechanisms, the interior data of hard disc player that the public place is used have good safety guarantee, even the subscriber authentication pattern is cracked, player also can utilize the second road encipheror promptly can only play the legitimacy that the particular encryption film source ensures the content of player plays.
Embodiment
For the ease of those skilled in the art's understanding, the present invention is described in further detail below in conjunction with embodiment and accompanying drawing:
With reference to Fig. 1, hard disc player described in the embodiment comprises main control module 1 and connected decoder module 11, USB modular converter 12 and identity authenticating unit 13; The built-in SATA medium of product hard disk 14 simultaneously, and it is connected with USB modular converter 12, and other comprises display module 15, the power management module 16 that is connected with decoder module; USB 2.0 HOST interfaces, USB 2.0 SLAVE interfaces are connected with the USB modular converter, and network interface is that CPU is connected with various audio-video interfaces by bus mode and main control module.
Described identity authenticating unit is the functional unit that specific program is realized, cooperates common this functional unit work of supporting with deciphering module by main control module.Described Encryption Tool is the functional unit that specific program is realized, it can be installed on the computing machine as install software, and the user can be encrypted to the specific film source that described player can be play to its operation with common film source on computers.
Hard disc player of the present invention has three kinds of mode of operations, is respectively player mode, identity verification mode and portable hard drive pattern.
Fig. 2 is described hard disc player workflow synoptic diagram, connection status and then the selection corresponding work mode of described player main control module by detecting USB 2.0 SLAVE interfaces.
At first need in existing hard disc player, to open up a memory body space and be used for registered user's key, make things convenient for the user independently to revise key, Shu Ru user key is kept in this space after by certain data replacement simultaneously, can increase its difficulty that is cracked like this, has certain security.
Described hard disc player is in player mode when not connecting computer; Under player mode, the user can revise key by information by rights option in the setup menu.
With reference to Fig. 2, when detecting the player USB interface, main control module CPU arranged when connection with computer, and enter identity verification mode: eject the authentication interactive picture, prompting user input reference password carries out authentication.Identity authenticating unit determines in the encrypting module by determining relatively whether active user's key has been registered in whether current operation user is the user who authorizes; If authorized user then switches to the portable hard drive pattern and allows the user by the film source in the described hard disk of computation, up to detecting the signal that USB interface and computing machine disconnect.If judged result is a unauthorized user, then do not switch, import key but continue the prompting user.After three authentication faileds, then withdraw from the authentication interface and return player mode.
Above-mentioned authentication process itself is the safety outpost of the tax office, first road of described hard disc player.In fact, described hard disc player can not be play for the film source of common standard formats such as VCD/DVD/MPEG4, has only to have passed through the legal film source that described Encryption Tool encrypted and can use this player plays.Even the disabled user has cracked user key and still can't normally use this player like this.Can only play the particular encryption film source is the safety outpost of the tax office, second road of the present invention.
Fig. 3 is the encryption method schematic flow sheet of Encryption Tool of the present invention.The present invention adopts the symmetrical expression pin mode that film source is encrypted, and according to the privacy degrees of actual password, uses displacement establishment principle to handle.Described Encryption Tool is installed on the computing machine, and its key that is used for user on film encrypted secret key and the hard disc player is preset is consistent.
Its concrete encrypting step is as follows:
(1) use pre-a part of content information of encrypting film source to produce random number sequence as seed;
(2) use above-mentioned random number sequence to obtain specific key by certain operations as key and user key;
(3) data and the specific key that will encrypt film source in advance replaced corresponding data;
(4) film source that obtains after the storage data replacement.
Certain operations described in the step (2) includes but not limited to add, subtracts, multiplication and division, ask average, ask root or the like, or each mathematical method of integrated use carries out complex calculations to described key, finally obtains specific key.
Displacement is data of obtaining film source by specific data structure described in the step (3), then with the specific key computing after the enciphered data that obtains replace corresponding data in the film source.
The film source of standard downloads to by authorized user in the storage hard disk of player after encrypting through Encryption Tool.During broadcast, decoder module reads sheet source information from the storage hard disk, by will being decrypted into through the dark text of encrypting expressly, and then carry out audio/video decoding with encrypting opposite process, at last with the audio-video signal form of standard by self display module or export to other display device broadcast.
Only for preferred embodiment of the present invention, need to prove below, conceive under the prerequisite not breaking away from the present invention that any conspicuous, the impartial variation with modifying all belonged to protection scope of the present invention to the present invention does.