CN101500138B - Digital television receiving terminal and data secret keeping method and system thereof - Google Patents

Digital television receiving terminal and data secret keeping method and system thereof Download PDF

Info

Publication number
CN101500138B
CN101500138B CN200810241574.2A CN200810241574A CN101500138B CN 101500138 B CN101500138 B CN 101500138B CN 200810241574 A CN200810241574 A CN 200810241574A CN 101500138 B CN101500138 B CN 101500138B
Authority
CN
China
Prior art keywords
encryption device
accidental validation
usb encryption
validation character
character
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
CN200810241574.2A
Other languages
Chinese (zh)
Other versions
CN101500138A (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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN200810241574.2A priority Critical patent/CN101500138B/en
Publication of CN101500138A publication Critical patent/CN101500138A/en
Application granted granted Critical
Publication of CN101500138B publication Critical patent/CN101500138B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is applicable to the technical field of digital televisions, providing a digital television receiving terminal and a data securing method and system thereof. The method comprises the following steps: a personal identification number and original random validation characters are obtained, packed and encrypted, thus generating a validation encrypted message; the validation encrypted message is sent to current inserted USB encryption equipment; and the received random validation characters sent back by the current inserted USB encryption equipment are compared and judged, and a starting operation and a shutdown operation are carried out. In the invention, an encryption algorithm of the USB encryption equipment corresponding to the personal identification number is applied for encrypting the personal identification number and the original random validation characters, and the encrypted message is sent to the USB encryption equipment, simultaneously, a comparative judgment of the received random validation characters sent back by the USB encryption equipment and the original random validation characters is carried out, and the starting operation and the shutdown operation are carried out, thus effectively securing the data of a set-top box.

Description

A kind of receiving terminal for digital television and data encryption method and system
Technical field
The invention belongs to digital television techniques field, relate in particular to a kind of receiving terminal for digital television and data encryption method thereof and system.
Background technology
Along with scientific and technical development; people are increasing to the confidentiality demand of information security and data information; USB encryption device is being brought into play increasing effect in different field; be mainly used in the fields such as bank's key, booting computer lock, gate inhibition, mainly protect important core data or play safety switch effect.
Set Top Box generally guarantees that by password is set nucleus module and specific program are by unauthorized access, prevents that some setting option from illegally being changed, for example, search for, recover acquiescence etc., can also prevent that some functional module from illegally being entered, such as stock, video request program etc.
But the password that is arranged on Set Top Box is easily cracked, the data security of Set Top Box is constituted a threat to, and concerning user, easily there is situation about forgetting Password, must give tacit consent to recovery to manufacturer, could continue to use, bring unnecessary trouble to user.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of data encryption method of receiving terminal for digital television; being intended to solve the protection Set Top Box password that arranges of the prior art is easily cracked; data security to Set Top Box constitutes a threat to; and easily there is forgetting the situation of Set Top Box password, need to arrive the problem that Set Top Box manufacturer recovers.
The embodiment of the present invention is achieved in that a kind of data encryption method of receiving terminal for digital television, and described method comprises the steps:
Obtain identity code and original accidental validation character;
To described identity code and original accidental validation character packaging ciphering, generate checking ciphertext, described cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with described identity code;
Described checking ciphertext is sent to the USB encryption device of current insertion, checking ciphertext and USB encryption device internal identity are calculated, reduction checking character;
The accidental validation character that the USB encryption device of the current insertion receiving is returned and original accidental validation character compare judgement, and according to described relatively judgement, carry out switching on and shutting down operational motion.
Another object of the embodiment of the present invention is to provide a kind of data privacy system of receiving terminal for digital television, and described system comprises:
Acquisition module, for obtaining identity code and original accidental validation character;
Checking ciphertext generation module, for to described identity code and original accidental validation character packaging ciphering, generates checking ciphertext, and described cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with described identity code;
Checking ciphertext sending module, for described checking ciphertext being sent to the USB encryption device of current insertion, calculates checking ciphertext and USB encryption device internal identity, reduction checking character; And
Judge action executing module, the accidental validation character returning for the USB encryption device to the current insertion receiving and original accidental validation character compare judgement, and according to described relatively judgement, carry out switching on and shutting down operational motion.
Another object of the embodiment of the present invention is to provide a kind of receiving terminal for digital television of the data privacy system that comprises receiving terminal for digital television.
In an embodiment of the present invention; the cryptographic algorithm of applying the USB encryption device corresponding with identity code is encrypted identity code and original accidental validation character; and the ciphertext after encrypting is sent to USB encryption device; the accidental validation character and the original accidental validation character that the USB encryption device receiving are returned compare judgement simultaneously; and carry out switching on and shutting down operational motion according to relatively judging, effectively protect the data security of Set Top Box.
accompanying drawing explanation
Fig. 1 is the realization flow figure of the data encryption method of the receiving terminal for digital television that provides of the embodiment of the present invention;
Fig. 2 is that the accidental validation character that the USB encryption device to the current insertion receiving that the embodiment of the present invention provides returns compares judgement, and according to relatively judgement, carries out the realization flow figure of switching on and shutting down operational motion;
Fig. 3 is the structured flowchart of the data privacy system of the receiving terminal for digital television that provides of the embodiment of the present invention;
Fig. 4 is the structured flowchart of the data privacy system of the receiving terminal for digital television that provides of another embodiment of the present invention;
Fig. 5 is the structured flowchart of the judgement action executing module that provides of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
In an embodiment of the present invention, the cryptographic algorithm of applying the USB encryption device corresponding with identity code is encrypted identity code and original accidental validation character, and the ciphertext after encrypting is sent to USB encryption device, the accidental validation character and the original accidental validation character that the USB encryption device receiving are returned compare judgement simultaneously, and carry out switching on and shutting down operational motion according to relatively judging.
Fig. 1 shows the realization flow of the data encryption method of the receiving terminal for digital television that the embodiment of the present invention provides, and its detailed step is as described below:
In step S101, obtain identity code and original accidental validation character.
In embodiments of the present invention, in the time of system boot, the corresponding program function of Automatically invoked carries out reading and the generation of original accidental validation character of identity code, and this origin authentication character is the random number of 1 byte, but not in order to limit the present invention.
In embodiments of the present invention, the receiving terminal of this identity code unique identification including Set Top Box and vehicle mobile terminals, in this embodiment take Set Top Box as example, but not in order to limit the present invention, this identity code carries out associated binding with the USB encryption device that is applied to this Set Top Box, the corresponding unique USB encryption device of each Set Top Box.
In step S102, to the identity code obtaining and original accidental validation character packaging ciphering, generate checking ciphertext, wherein, cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with identity code.
As one embodiment of the present of invention, encapsulate in advance the cryptographic algorithm program of the USB encryption device corresponding with identity code, for example in advance under the environment of Set Top Box, the cryptographic algorithm of the source program to USB encryption device compiles, and cryptographic algorithm is encapsulated into Set Top Box.In the time of system boot, get after identity code and original accidental validation character, call this cryptographic algorithm identity code and original accidental validation character are encrypted, generate checking ciphertext.
In step S103, checking ciphertext is sent to the USB encryption device of current insertion.
In embodiments of the present invention, the checking ciphertext of generation is sent to the USB encryption device of current insertion, wherein, can send this checking ciphertext by I2C (Inter-Integrated Circuit) bus, also can adopt other modes, but not in order to limit the present invention.
In step S104, the accidental validation character that the USB encryption device of the current insertion receiving is returned and original accidental validation character compare judgement, and according to relatively judgement, carry out switching on and shutting down operational motion.
As an alternative embodiment of the invention, the accidental validation character that the USB encryption device to the current insertion receiving that Fig. 2 shows the embodiment of the present invention to be provided returns compares judgement, and according to relatively judgement, carry out the realization flow of switching on and shutting down operational motion, its detailed step is as described below:
In step S201, receive the accidental validation character that the USB encryption device of current insertion returns.
In step S202, judge that whether the accidental validation character that USB encryption device returns is identical with original accidental validation character, be to perform step S203, otherwise execution step S204.
In step S203, when the accidental validation character that returns when USB encryption device is identical with original accidental validation character, carry out the action of the relevant setting operation after current start operational motion and start.
In step S204, when the accidental validation character that returns when USB encryption device is not identical with original accidental validation character, carry out power-off operation action.
As one embodiment of the present of invention; in the time that user need to carry out locking protection by USB encryption device; need to insert the USB encryption device corresponding with identity code; call and add release interface is set according to user's key command; user arranges interface and carries out switching on and shutting down, menu or program and add release setting adding release; herein to add release setting the same with common encryption menu setting, do not repeat them here, but need not limit the present invention.
In embodiments of the present invention, after inserting the USB encryption device corresponding with identity code and verifying by start, user can call and above-mentioned add release and interface is set revises accordingly or reduce the operation arranging, in the time of system closedown, add release and be set to default setting and preserve with current, in the time that this starts shooting, verify at this; Under the state of start, in the time that USB encryption device is extracted, that can not be correlated with adds release setting.
In embodiments of the present invention, the USB encryption device of above-mentioned employing is existing USB softdog or other USB encryption devices, not in order to limit the present invention.
When USB encryption device receives after the checking ciphertext of transmission, the process chip of USB encryption device application self is processed this checking ciphertext, checking ciphertext and USB encryption device internal identity are calculated, reduction checking character, and return to this checking character, in this embodiment, in the time that this USB encryption device and identity code are not corresponding, this USB encryption device reduces after processing to checking ciphertext, and the accidental validation character obtaining is not identical with the original accidental validation character generating in above-mentioned steps; In the time that this USB encryption device is corresponding with identity code, USB encryption device reduces after processing to checking ciphertext, the accidental validation character obtaining is identical with the original accidental validation character generating in above-mentioned steps, the handling process of this USB encryption device and existing realization flow are similar, do not repeat them here, but need not be in order to limit the present invention.
Fig. 3 shows the structured flowchart of the data privacy system of the receiving terminal for digital television that the embodiment of the present invention provides, for convenience of explanation, in figure, only provide the part relevant to the embodiment of the present invention, the data privacy system of receiving terminal for digital television can be for being built in software unit, hardware cell or the software and hardware combining unit of receiving terminal for digital television, this receiving terminal for digital television comprises Set Top Box or vehicle mobile terminals, but need not limit the present invention.
Acquisition module 11 obtains identity code and original accidental validation character; Checking ciphertext generation module 12, to identity code and original accidental validation character packaging ciphering, generates checking ciphertext, and wherein, cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with identity code; Checking ciphertext sending module 13 sends to checking ciphertext the USB encryption device of current insertion; Judge that accidental validation character and original accidental validation character that action executing module 14 is returned the USB encryption device of the current insertion receiving compare judgement, and according to relatively judgement, carry out switching on and shutting down operational motion.
Fig. 4 shows the structured flowchart of the data privacy system of the receiving terminal for digital television that another embodiment of the present invention provides, the embodiment that acquisition module 11 in this embodiment, checking ciphertext generation module 12, checking ciphertext sending module 13 provide with Fig. 3 with the functional description that judges action executing module 14 is identical, do not repeat them here, but not in order to limit the present invention.
In embodiments of the present invention, package module 15 encapsulates the cryptographic algorithm program of the USB encryption device corresponding with identity code in advance.
In embodiments of the present invention, add release and interface calling module 16 is set in the time that the USB encryption device corresponding with identity code inserts, call and add release interface is set according to key command; Module 17 is set to be arranged interface and carries out switching on and shutting down, menu or program and add release setting adding release.
Fig. 5 shows the structured flowchart of the judgement action executing module 14 that the embodiment of the present invention provides, and for convenience of explanation, has only provided the part relevant to the embodiment of the present invention in figure.
Accidental validation receive character module 141 receives the accidental validation character that the USB encryption device of current insertion returns; Judge module 142 judges that whether the accidental validation character that USB encryption device returns is identical with original accidental validation character; The first action executing module 143, in the time that judge module 142 judges that accidental validation character that USB encryption device returns is identical with original accidental validation character, is carried out start and relevant setting operation action; The second action executing module 144, in the time that judge module 142 judges that accidental validation character that USB encryption device returns is not identical with original accidental validation character, is carried out power-off operation action.
In an embodiment of the present invention, the cryptographic algorithm of applying the USB encryption device corresponding with identity code is encrypted identity code and original accidental validation character, and the ciphertext after encrypting is sent to USB encryption device, the accidental validation character and the original accidental validation character that the USB encryption device receiving are returned compare judgement simultaneously, and carry out switching on and shutting down operational motion and the relevant motion action that arranges according to relatively judging, effectively protect the data security of Set Top Box, realize and prevented from illegally opening, Set Top Box is set, prevent that some program that locks from illegally being watched, bring advantage to the user, prevent that top-set hardware from being copied version simultaneously, pirate, safeguard the copyright of Set Top Box.
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is can carry out the hardware that instruction is relevant by program to complete, described program can be being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a data encryption method for receiving terminal for digital television, is characterized in that, described method comprises the steps:
Obtain identity code and the original accidental validation character of receiving terminal for digital television;
To described identity code and original accidental validation character packaging ciphering, generate checking ciphertext, described cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with described identity code;
Described checking ciphertext is sent to the USB encryption device of current insertion, checking ciphertext and USB encryption device internal identity are calculated, reduction checking character;
The accidental validation character that the USB encryption device of the current insertion receiving is returned and original accidental validation character compare judgement, and according to described relatively judgement, carry out switching on and shutting down operational motion.
2. the method for claim 1, is characterized in that, described in also comprise the steps: before obtaining the step of identity code and accidental validation character
Encapsulate in advance the cryptographic algorithm program of the USB encryption device corresponding with described identity code.
3. the method for claim 1, it is characterized in that, the described accidental validation character that the USB encryption device of the current insertion receiving is returned and original accidental validation character compare judgement, and according to described relatively judgement, the step of carrying out switching on and shutting down operational motion specifically comprises the steps:
Receive the accidental validation character that the USB encryption device of current insertion returns;
Judge that whether the accidental validation character that described USB encryption device returns is identical with described original accidental validation character;
When the accidental validation character that returns when described USB encryption device is identical with described original accidental validation character, carry out start and relevant setting operation action;
When the accidental validation character that returns when described USB encryption device is not identical with described original accidental validation character, carry out power-off operation action.
4. the method for claim 1, is characterized in that, described method also comprises the steps:
In the time that the USB encryption device corresponding with described identity code inserts, call and add release interface is set according to key command;
Add release and interface is set carries out switching on and shutting down, menu or program and add release setting described.
5. a data privacy system for receiving terminal for digital television, is characterized in that, described system comprises:
Acquisition module, for obtaining identity code and the original accidental validation character of receiving terminal for digital television;
Checking ciphertext generation module, for to described identity code and original accidental validation character packaging ciphering, generates checking ciphertext, and described cryptographic algorithm is the cryptographic algorithm in the USB encryption device corresponding with described identity code;
Checking ciphertext sending module, for described checking ciphertext being sent to the USB encryption device of current insertion, calculates checking ciphertext and USB encryption device internal identity, reduction checking character; And
Judge action executing module, the accidental validation character returning for the USB encryption device to the current insertion receiving and original accidental validation character compare judgement, and according to described relatively judgement, carry out switching on and shutting down operational motion.
6. system as claimed in claim 5, is characterized in that, described system also comprises:
Package module, for the cryptographic algorithm program of the USB encryption device corresponding with identity code of encapsulation in advance.
7. system as claimed in claim 5, is characterized in that, described judgement action executing module specifically comprises:
Accidental validation receive character module, the accidental validation character returning for receiving the USB encryption device of current insertion;
Whether judge module is identical with described original accidental validation character for judging the accidental validation character that described USB encryption device returns;
The first action executing module, when judging that when described judge module accidental validation character that USB encryption device returns is identical with described original accidental validation character, carries out start and relevant setting operation action; And
The second action executing module, when judging that when described judge module accidental validation character that USB encryption device returns is not identical with described original accidental validation character, carries out power-off operation action.
8. system as claimed in claim 5, is characterized in that, described system also comprises:
Add release interface calling module is set, in the time that the USB encryption device corresponding with described identity code inserts, call and add release interface is set according to key command; And
Module is set, for adding release and interface is set carries out switching on and shutting down, menu or program and add release setting described.
9. one kind comprises the receiving terminal for digital television of the data privacy system of the receiving terminal for digital television described in claim 5 to 8 any one.
10. receiving terminal for digital television as claimed in claim 9, is characterized in that, described receiving terminal for digital television comprises Set Top Box or vehicle mobile terminals.
CN200810241574.2A 2008-12-26 2008-12-26 Digital television receiving terminal and data secret keeping method and system thereof Expired - Fee Related CN101500138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810241574.2A CN101500138B (en) 2008-12-26 2008-12-26 Digital television receiving terminal and data secret keeping method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810241574.2A CN101500138B (en) 2008-12-26 2008-12-26 Digital television receiving terminal and data secret keeping method and system thereof

Publications (2)

Publication Number Publication Date
CN101500138A CN101500138A (en) 2009-08-05
CN101500138B true CN101500138B (en) 2014-06-18

Family

ID=40946986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810241574.2A Expired - Fee Related CN101500138B (en) 2008-12-26 2008-12-26 Digital television receiving terminal and data secret keeping method and system thereof

Country Status (1)

Country Link
CN (1) CN101500138B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102104801A (en) * 2010-12-21 2011-06-22 福建二菱电子有限公司 Confidential method for set-top box software
CN104796745A (en) * 2015-03-26 2015-07-22 成都市斯达鑫辉视讯科技有限公司 Safety protection method for set top box
CN105827396B (en) * 2016-05-28 2019-01-18 浙江中星光电子科技有限公司 A kind of car antenna and set top box communication encryption method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051292A (en) * 2007-01-08 2007-10-10 中国信息安全产品测评认证中心 Reliable U disc, method for realizing reliable U disc safety and its data communication with computer
CN101165696A (en) * 2006-10-16 2008-04-23 中国长城计算机深圳股份有限公司 Safety identification method based on safe computer
CN101271534A (en) * 2008-03-25 2008-09-24 华南理工大学 RFID label and reading device thereof, reading system and safety authentication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CZ2005209A3 (en) * 2002-09-10 2005-12-14 Ivi Smart Technologies, Inc. Safe biometric verification of identity
CN101262348A (en) * 2008-03-19 2008-09-10 阎琳 USB digital signature device and its operation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101165696A (en) * 2006-10-16 2008-04-23 中国长城计算机深圳股份有限公司 Safety identification method based on safe computer
CN101051292A (en) * 2007-01-08 2007-10-10 中国信息安全产品测评认证中心 Reliable U disc, method for realizing reliable U disc safety and its data communication with computer
CN101271534A (en) * 2008-03-25 2008-09-24 华南理工大学 RFID label and reading device thereof, reading system and safety authentication method

Also Published As

Publication number Publication date
CN101500138A (en) 2009-08-05

Similar Documents

Publication Publication Date Title
US11651113B2 (en) Program execution device
KR101172093B1 (en) Digital audio/video data processing unit and method for controlling access to said data
US9479825B2 (en) Terminal based on conditional access technology
EP2696305B1 (en) Method and device for file protection
US20090290704A1 (en) Method for protecting a cap file for an ic card
EP2979392B1 (en) A challenge-response method and associated client device
EP3771138B1 (en) Cryptographic chip and related methods
CN102938032A (en) Method and system for encrypting and decrypting application program on communication terminal as well as terminal
US8731191B2 (en) Data encryption method and system and data decryption method
CN111404682B (en) Android environment key segmentation processing method and device
US20120137372A1 (en) Apparatus and method for protecting confidential information of mobile terminal
KR20100120671A (en) Securing a smart card
CN100596188C (en) STB terminal and its verification method
JP6146476B2 (en) Information processing apparatus and information processing method
CN110324358B (en) Video data management and control authentication method, module, equipment and platform
CN104123506A (en) Data access method and device and data encryption storage and access method and device
CN101815292B (en) Device and method for protecting data of mobile terminal
CN101763469A (en) Digital copyright management system and implementation method thereof
KR101625785B1 (en) Method and device for information security management of mobile terminal, and mobile terminal
CN103971034A (en) Method and device for protecting Java software
CN101500138B (en) Digital television receiving terminal and data secret keeping method and system thereof
KR20070059891A (en) Application authentication security system and method thereof
US8095805B2 (en) Security flash memory, data encryption device and method for accessing security flash memory
CN112804195A (en) Data security storage method and system
CN107862209B (en) File encryption and decryption method, mobile terminal and device with storage function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1135824

Country of ref document: HK

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1135824

Country of ref document: HK

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

Granted publication date: 20140618

Termination date: 20211226