CN102111670A - Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box - Google Patents

Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box Download PDF

Info

Publication number
CN102111670A
CN102111670A CN2009101894655A CN200910189465A CN102111670A CN 102111670 A CN102111670 A CN 102111670A CN 2009101894655 A CN2009101894655 A CN 2009101894655A CN 200910189465 A CN200910189465 A CN 200910189465A CN 102111670 A CN102111670 A CN 102111670A
Authority
CN
China
Prior art keywords
menu
password
top box
menu item
receives
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.)
Pending
Application number
CN2009101894655A
Other languages
Chinese (zh)
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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN2009101894655A priority Critical patent/CN102111670A/en
Publication of CN102111670A publication Critical patent/CN102111670A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention is suitable for the field of digital televisions, and provides a locking method and device of a set top box menus, an unlocking method and device of the set top box menus as well as a set top box. The locking method of the set top box menu comprises the following steps: displaying the encryption statuses of stored menu items after a menu item encryption setting command is received; receiving the input menu encryption setting command; and setting the encryption statuses and codes of the stored corresponding menu items according to the received menu item encryption setting command. In the embodiment of the invention, the encryption statuses and codes of the stored corresponding menu items are set according to the received menu item encryption setting command, thereby achieving the locking method of the set top box menus and encrypting the set top box menus. The achievement is simple, and the use safety of the set top box is improved.

Description

A kind of set-top box menu locking method, unlock method, device and set-top box
Technical field
The invention belongs to digital TV field, relate in particular to a kind of set-top box menu locking method, unlock method, device and set-top box.
Background technology
Existing set-top box major part has functions such as father and mother's lock, start lock.Father and mother lock and make that needing correctly to import password when forwarding certain encoded channel to just can watch this channel, but child still can handle remote controller and change platform, enters operations such as menu setting, can also update and unlocks encoded channel if some child knows password; It is the back to be set eject prompting frame when each start that start is locked, and has only correct input password ability starter motor top box subsequent action, if forget Password, can cause watching program normally.
In sum, the encryption function of existing set-top box can't satisfy user's needs fully, for example can't limit turntable, enter menu setting etc.
Summary of the invention
The purpose of the embodiment of the invention is intended to solve the problem that prior art exists, and a kind of set-top box menu locking method is provided, and can encrypt set-top box menu, realizes simply improving the safe in utilization of set-top box.
The embodiment of the invention is achieved in that a kind of set-top box menu locking method, and described method comprises the steps:
Receiving menu encrypts the encrypted state that shows each menu item of storage after the order is set;
The menu item encryption that receives input is provided with order;
According to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage is set.
Another purpose of the embodiment of the invention is to provide a kind of set-top box menu unlock method, and described method comprises the steps:
Search the encrypted state of the respective menu items of storage according to the sign of the menu item in the menu item operational order that receives;
Judge that according to the encrypted state of the respective menu items that finds this menu item encrypts, then the password according to the respective menu items of password that receives and storage carries out safety certification, through safety certification after, show respective menu items;
Judge this menu item unencryption according to the encrypted state of the respective menu items that finds, then show respective menu items.
Another purpose of the embodiment of the invention is to provide a kind of set-top box menu locking device, and described device comprises:
The encrypted state output module is used for according to the menu encryption that receives order being set, and shows the encrypted state of each menu item of storage; And
Menu item is encrypted module is set, and is used for according to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage being set.
Another purpose of the embodiment of the invention is to provide a kind of set-top box that comprises above-mentioned top box menu locking device.
Another purpose of the embodiment of the invention is to provide a kind of top box menu tripper, and described device comprises:
Encrypted state is searched module, is used for searching the encrypted state of the respective menu items of storage according to the menu item sign of the menu item operational order that receives;
Processing module is used for showing the response menu item;
The encrypted response module is used for carrying out safety certification according to the password of the respective menu items of the password that receives and storage, through safety certification after, just trigger described processing module demonstration respective menu items; And
Encrypt judge module, be used for according to described encrypted state search module searches to the encrypted state of respective menu items judge whether this menu item is encrypted, if encrypt then trigger described encrypted response module and carry out safety certification, show respective menu items otherwise trigger described processing module.
Another purpose of the embodiment of the invention is to provide a kind of set-top box that comprises the set-top box menu tripper.
In embodiments of the present invention, according to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage is set, realized a kind of set-top box menu locking method, can encrypt set-top box menu, realize simply improving the safe in utilization of set-top box.
Description of drawings
Fig. 1 is the realization flow figure of the set-top box menu locking method that provides of the embodiment of the invention;
Fig. 2 is the realization flow figure of the set-top box menu unlock method that provides of the embodiment of the invention;
Fig. 3 is the structural representation of the set-top box menu locking device that provides of the embodiment of the invention;
Fig. 4 is the structural representation of the set-top box menu tripper that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, encrypted state and the password that order is provided with the respective menu items of storage is set, realized a kind of set-top box menu locking method according to the menu item encryption that receives.
Fig. 1 shows the realization flow of the set-top box menu locking method that the embodiment of the invention provides, and details are as follows:
In step S101, receive menu and encrypt the encrypted state that shows each menu item of storage after the order is set;
In step S102, the menu item encryption that receives input is provided with order;
Wherein, this menu item is encrypted and order is set is comprised that menu item sign, encrypted state configuration information and password setting info menu item sign are used for each menu item of unique identification set-top box menu, can be for menu item names etc.
In step S103, encrypted state and the password that order is provided with the respective menu items of storage is set according to the menu item encryption that receives.
In embodiments of the present invention, the cryptographic attributes of each menu item comprises encrypted state and password in the set-top box menu.Wherein, encrypted state can only be for not being or not, when encrypted state when being, represent that this menu item is encrypted, otherwise represent that this menu item is not encrypted; Password is encrypts the password that is adopted to this menu item.When specific implementation, cryptographic attributes that can opening space is preserved each menu item in the set-top box menu in E2PROM, before the node number menu not being carried out any encryption and being provided with, the encrypted state of each menu item is defaulted as not, and password be a sky.
Here, can offer the menu item that the user carries out the menu encryption by in set-top box menu, setting up one, after the user selects to enter this menu item (being that the encryption of user's input menu is provided with order), read the encrypted state of each menu item of storing among the E2PROM, and show the encrypted state of each menu item read, for example, can show the encrypted state of each menu item by the menu item encryption indicator after each menu item names, this menu item encryption indicator can be designed as that open an or closed lock.According to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storing among the E2PROM is set, the unencrypted menu item can be encrypted, the menu item of perhaps having encrypted is set to not encrypt, and can also revise the password of the menu item of having encrypted.
Provide the code of realizing that set-top box menu is encrypted and whether father and mother's lock activates below, only for reference:
SW_LOCAL?SW_ERROR?swcw_cblistaction(SW_U32?index,SW_U32?value)
{
SW_U32?stemp=0;
switch(index)
{
Case 0 :/* father and mother lock set up */
stemp=value%2;
if(stemp==0)
{
stemp=1;
}
else
{
stemp=0;
}
SWFTA_SetCommE2PInfo(E2P_cParentLock,&stemp);
SWWin_TopMostNeedPlay(0,0);
break;
Case 1 :/* set-top box menu lock set up */
stemp=value%2;
if(stemp==0)
{
stemp=1;
}
else
{
stemp=0;
}
SWFTA_SetCommE2PInfo(E2P_cMenuLock,&stemp);
SWWin_TopMostNeedPlay(0,0);
break;
default:
break;
}
return?0;
}
One of ordinary skill in the art will appreciate that, realize that all or part of step in the foregoing description method is to instruct relevant hardware to finish by program, described program can be in being stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc., this program is used for carrying out following steps:
Receiving menu encrypts the encrypted state that shows each menu item of storage after the order is set;
The menu item encryption that receives input is provided with order;
According to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage is set.
Fig. 2 shows the realization flow of the set-top box menu unlock method of the corresponding above-mentioned set-top box menu locking method that the embodiment of the invention provides, and details are as follows:
In step S201, search the encrypted state of the respective menu items of storage according to the sign of the menu item in the menu item operational order that receives;
In step S202, judge according to the encrypted state of the respective menu items that finds whether this menu item is encrypted, if encrypt then execution in step S203, otherwise execution in step S204;
In step S203, carry out safety certification according to the password of the respective menu items of password that receives and storage, through safety certification after, execution in step S204;
In step S204, show respective menu items.
Wherein, information stores such as the encrypted state of this menu item, password are in E2PROM.
Further, when specific implementation, as shown in Figure 2, above-mentioned steps S203 specifically comprises:
In step S2031, the output menu item is encrypted information, for example output " * * * encrypt, please input password " etc., and eject password box;
In step S2032, receive the password of input, and judge according to the password of the respective menu items of storage whether the password that receives is correct, if then execution in step S204, not person's execution in step S2033;
In step S2033, the information of output password input error, display password frame, execution in step S2032.
When providing the user below and entering menu item (promptly receiving the menu item operational order), judge whether respective menu items encrypts, then eject password box in this way, carry out this processing code of safety certification, only for reference:
SW_LOCAL SW_ERROR swcw_mainproc(SW_VOID_P handle,SW_VOID_Pparam,SW_U32_P?param1)
{
SW_U32?module=0;
SW_U32?temp0=0;
SW_U32?temp1=0;
SWOSD_Msg_t*msg_p=(SWOSD_Msg_t*)param;
SW_CWindow_t*win=(SW_CWindow_t*)handle;
if((NULL==msg_p)||(NULL==win))return?SW_NULLPOINT_ERROR;
module=msg_p->From_M;
switch(module)
{
case?SW_GLOBALMODULE:
break;
case?SW_OSDSYS:
temp0=msg_P->param1;
RecallWindow=msg_P->param2;
if(SWOSD_REFRESH==temp0)
{
temp1=SWOSD_GetRedraw();
if(SWOSD_REDRAW==temp1)
{
SW_U32?pwd=0;
SW_U32MenuLock=0;
SW_U8?tempbuf[100]={0};
SWFAT_GetCommE2PInfo(E2P_cMenuLock,&MenuLock);
if((MenuLock==1)&&(RecallWindow!=SW_MAINWINDOW))
{
MenuLockFlag=1;
SWFAT_GetCommE2PInfo(E2P_Password,&pwd);
SWOSD_ConfPassBox(pwd,SW_PassBOX_XY,SW_MAINWIN
DOW,SW_TELLPASS,MenuLockFlag,0);
sprintf((SW_CHAR_P)tempbuf,″%s″,setpassTxt[1][Lauge]);
SWOSD_ConfPassBoxHint(tempbuf,NULL,NULL,NULL);
MainWin_Exit(SW_PASSWORD,0,0);
}
else
{
ActionTime=SW_CentiSecTimer();
temp0=SWCW_ShowWindow(WinHandle,SWOSD_SHOW);
}
}
}
break;
return?SW_NO_ERROR;
case?SW_KEYMODULE:
temp0=msg_p->param0;
ActionTime=SW_CentiSecTimer();
swcw_mainkeyproc(temp0);
break;
return?SW_NO_ERROR;
case?SW_OSDMODULE:
temp0=msg_p->param1;
temp1=msg_p->param2;
if((temp0 == SW_PASSWORD)&&(temp1 ==
SW_KEYRIGHT)&&(MachineLockFlag==1))
{
MachineLockFlag=0;
temp0=SW_SETUPWINDOW;
MainWin_Exit(temp0,0,0);
}
else if((temp0 == SW_PASSWORD)&&(temp1 ==
SW_KEYRIGHT)&&(MenuLockFlag==1))
{
MenuLockFlag=0;
temp0=SW_MAINWINDOW;
MainWin_Exit(temp0,0,0);
}
break;
default:
break;
}
return?SW_NO_ERROR;
}
Fig. 3 shows the structure of the set-top box menu locking device that the embodiment of the invention provides, and only shows the part relevant with the embodiment of the invention for convenience of explanation.
This device can be used for set-top box, can be to run on the unit that software unit, hardware cell or software and hardware in these set-top box combine, and also can be used as independently, suspension member is integrated in the set-top box or runs in the application system of set-top box, wherein:
Encrypted state output module 301, according to the menu encryption that receives order is set, shows the encrypted state of each menu item of storage, this menu item encryption is provided with order and comprises menu item sign, encrypted state configuration information and password setting information, its implementation repeats no more as mentioned above.
Menu item is encrypted module 302 is set, and encrypts according to the menu item that receives encrypted state and the password that order is provided with the respective menu items of storage is set, and its implementation repeats no more as mentioned above.
Fig. 4 shows the structure of the set-top box menu tripper that the embodiment of the invention provides, and only shows the part relevant with the embodiment of the invention for convenience of explanation.
This device can be used for set-top box, can be to run on the unit that software unit, hardware cell or software and hardware in these set-top box combine, and also can be used as independently, suspension member is integrated in the set-top box or runs in the application system of set-top box, wherein:
Encrypted state is searched module 401, search the encrypted state of the respective menu items of storage according to the sign of the menu item in the menu item operational order that receives, information stores such as the encrypted state of this menu item, password are in E2PROM, and its implementation repeats no more as mentioned above.
Encrypt judge module 402, search the encrypted state of the respective menu items that module 401 finds according to encrypted state and judge whether this menu item is encrypted, if encrypt then trigger encrypted response module 403 and carry out safety certification, otherwise trigger processing module 404 and show respective menu items, its implementation repeats no more as mentioned above.
Encrypted response module 403 is carried out safety certification according to the password of the respective menu items of password that receives and storage, through safety certification after, just trigger processing module 404 and show respective menu items, its implementation repeats no more as mentioned above.
Processing module 404 shows the response menu item.
In embodiments of the present invention, according to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage is set, realized a kind of set-top box menu locking method, can encrypt set-top box menu, realize simply improving the safe in utilization of set-top box.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. a set-top box menu locking method is characterized in that, described method comprises the steps:
Receiving menu encrypts the encrypted state that shows each menu item of storage after the order is set;
The menu item encryption that receives input is provided with order;
According to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage is set.
2. the method for claim 1 is characterized in that, described menu item encryption is provided with order and comprises menu item sign, encrypted state configuration information and password setting information.
3. a set-top box menu unlock method is characterized in that, described method comprises the steps:
Search the encrypted state of the respective menu items of storage according to the sign of the menu item in the menu item operational order that receives;
Judge that according to the encrypted state of the respective menu items that finds this menu item encrypts, then the password according to the respective menu items of password that receives and storage carries out safety certification, through safety certification after, show respective menu items;
Judge this menu item unencryption according to the encrypted state of the respective menu items that finds, then show respective menu items.
4. method as claimed in claim 3 is characterized in that, the step that the password of the password that described basis receives and the respective menu items of storage carries out safety certification is specially:
The output menu item is encrypted information;
Receive the password of input, and judge according to the password of the respective menu items of storing whether the password that receives is correct;
When the password that receives in judgement is correct, through safety certification;
When the password bad that judgement receives, the information of output password input error, the display password frame continue to be carried out the password of described reception input, and judges the step that the password that receives is whether correct according to the password of the respective menu items of storage.
5. a set-top box menu locking device is characterized in that, described device comprises:
The encrypted state output module is used for according to the menu encryption that receives order being set, and shows the encrypted state of each menu item of storage; And
Menu item is encrypted module is set, and is used for according to the menu item encryption that receives encrypted state and the password that order is provided with the respective menu items of storage being set.
6. device as claimed in claim 7 is characterized in that, described menu item encryption is provided with order and comprises menu item sign, encrypted state configuration information and password setting information.
7. set-top box that comprises claim 5 or 6 described top box menu locking devices.
8. top box menu tripper is characterized in that described device comprises:
Encrypted state is searched module, is used for searching the encrypted state of the respective menu items of storage according to the menu item sign of the menu item operational order that receives;
Processing module is used for showing the response menu item;
The encrypted response module is used for carrying out safety certification according to the password of the respective menu items of the password that receives and storage, through safety certification after, just trigger described processing module demonstration respective menu items; And
Encrypt judge module, be used for according to described encrypted state search module searches to the encrypted state of respective menu items judge whether this menu item is encrypted, if encrypt then trigger described encrypted response module and carry out safety certification, show respective menu items otherwise trigger described processing module.
9. set-top box that comprises the described set-top box menu tripper of claim 8.
CN2009101894655A 2009-12-25 2009-12-25 Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box Pending CN102111670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101894655A CN102111670A (en) 2009-12-25 2009-12-25 Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101894655A CN102111670A (en) 2009-12-25 2009-12-25 Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box

Publications (1)

Publication Number Publication Date
CN102111670A true CN102111670A (en) 2011-06-29

Family

ID=44175671

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101894655A Pending CN102111670A (en) 2009-12-25 2009-12-25 Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box

Country Status (1)

Country Link
CN (1) CN102111670A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860693A (en) * 2010-04-30 2010-10-13 深圳创维-Rgb电子有限公司 Method for locking and unlocking functions of television
CN104159135A (en) * 2014-07-22 2014-11-19 小米科技有限责任公司 Encryption method and device
CN105307015A (en) * 2015-10-30 2016-02-03 四川长虹电器股份有限公司 Processing method of intelligent television children lock
CN106612451A (en) * 2015-10-26 2017-05-03 腾讯科技(北京)有限公司 Information processing method and electronic equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860693A (en) * 2010-04-30 2010-10-13 深圳创维-Rgb电子有限公司 Method for locking and unlocking functions of television
CN101860693B (en) * 2010-04-30 2012-12-26 深圳创维-Rgb电子有限公司 Method for locking and unlocking functions of television
CN104159135A (en) * 2014-07-22 2014-11-19 小米科技有限责任公司 Encryption method and device
CN106612451A (en) * 2015-10-26 2017-05-03 腾讯科技(北京)有限公司 Information processing method and electronic equipment
CN105307015A (en) * 2015-10-30 2016-02-03 四川长虹电器股份有限公司 Processing method of intelligent television children lock

Similar Documents

Publication Publication Date Title
US7512795B2 (en) Method and apparatus for authenticating components
CN103218570B (en) For the device and method of the portable terminal of application data protection
CN105981398B (en) Content security method and electronic device for providing content security function
CN101180827B (en) Network device registration
CN103488940A (en) Password protection system and method for application programs of intelligent equipment
CN103167169A (en) Terminal unlocking method and terminal unlocking device
US20100080387A1 (en) Portable memory and a method for encrypting the same
US9667412B2 (en) Key, system and method of unlocking electronic device using the key
US11042624B2 (en) Wireless injection of passwords
CN103034417A (en) Unlocking method for touch screen and terminal equipment
CN102833402A (en) Mobile terminal and method and device for unlocking same
CN102034286A (en) Display device, drive recorder, display method and computer-readable medium
CN102111670A (en) Locking method and device of set top box menus, unlocking method and device of set top box menus and set top box
CN105379171A (en) Communications techniques for secure near field communication architecture
CN101916233B (en) Computer and data elimination method thereof
US20170337788A1 (en) Electronic device and anti-theft method
CN102685326A (en) Message encryption method and device and mobile terminal
CN105389319A (en) Database operation method and device
CN106210240B (en) A kind of encryption and decryption method and system based on intelligent terminal gyroscope
EP1933317A1 (en) DVD-Video content protection system with integrated unlock code
US8478104B2 (en) Copy secure multimedia RFID with analog transmitter
CN110851881B (en) Security detection method and device for terminal equipment, electronic equipment and storage medium
CN103686294A (en) Television device for implementing unlocking by using NFC (near field communication) and implementing method for television device
CN103782304B (en) The method of pre-configured key during for manufacture
CN102315940A (en) Data transmission and processing system and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110629