CN101894030A - Television set top box USB interface-based data anti-theft updating method - Google Patents

Television set top box USB interface-based data anti-theft updating method Download PDF

Info

Publication number
CN101894030A
CN101894030A CN2010102127776A CN201010212777A CN101894030A CN 101894030 A CN101894030 A CN 101894030A CN 2010102127776 A CN2010102127776 A CN 2010102127776A CN 201010212777 A CN201010212777 A CN 201010212777A CN 101894030 A CN101894030 A CN 101894030A
Authority
CN
China
Prior art keywords
data
top box
data block
usb interface
theft
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
CN2010102127776A
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.)
Fujian Newland Communication Science Technology Co Ltd
Original Assignee
Fujian Newland Communication Science Technology 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 Fujian Newland Communication Science Technology Co Ltd filed Critical Fujian Newland Communication Science Technology Co Ltd
Priority to CN2010102127776A priority Critical patent/CN101894030A/en
Publication of CN101894030A publication Critical patent/CN101894030A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a television set top box USB interface-based data anti-theft updating method, which is to form updated file data which cannot be identified by set top boxes from other manufacturers by dividing, compacting, encrypting, cyclic redundancy check and other treatment of an executable file used for updating the set top box. The updating method can effectively prevent the updated file from being stolen, and the cyclic redundancy check of the update data makes the update process more stable and reliable.

Description

A kind of data anti-theft updating method based on television set top box USB interface
Technical field the present invention relates to a kind of system upgrade method, relates in particular to a kind of data anti-theft updating method based on television set top box USB interface.
Background technology in recent years, along with the popularization of cable digital TV, cable digital TV set-top box is come into huge numbers of families gradually, the function of set-top box is also come powerful more, the model style is constantly weeded out the old and bring forth the new.It is powerful inadequately that the fast development of TV set-top box makes that the set-top box of old money shows function rapidly, and the part defective can't overcome or the like.The user wants to use new function or avoids defective just must constantly buy trendy TV set-top box.In fact, the fastest part of set-top box renewal speed does not lie in hardware but software, therefore, just can enjoy up-to-date function as long as can make software in the set-top box in time obtain upgrading just can to make the user need not to buy new set-top box.Disclose a kind of upgrade method of set-top box software as patent of invention 200910301180.6 " a kind of method for updating set-top box software ", it inserts by the smart card that will have upgrade software in the smart card slot of TV set-top box to come the software in the set-top box is upgraded.There is following problem in this invention, and the first, smart card and smart card slot are not general in existing product, if adopt this upgrade method, the client just needs to buy smart card, producer also needs product is done bigger change.Second, in the existing patent, upgrade software is not carried out any antitheft using and handle, such upgrade software is usurped by other producers or user easily, be applied in the TV set-top box of Fei Ben producer production, this will cause bigger loss to producing the economic interests and the prestige of producing house.
Summary of the invention the purpose of this invention is to provide a kind of convenient stable and difficult TV set-top box upgrade method of being usurped by the set-top box users of other manufacturers or other manufacturers of upgrade file that release of upgrading.
For achieving the above object, the data anti-theft updating method based on television set top box USB interface comprises the steps:
Step 100: in computing machine, the executable file of data upgrading usefulness is cut apart, formed data block;
Step 101: each data block is compressed, formed the data block after compressing;
Step 102: each data block after adopting symmetric encipherment algorithm to compression is encrypted;
Step 103: gather the Data Identification information and the data length information of each data block after compressing, form header information, be added on the head of each data block;
Step 104: each data block is carried out cyclic redundancy check (CRC) (Cyclic Redundancy Check also claims CRC check), the cyclic redundancy check (CRC) code that generates thus is added on the afterbody of each data block;
Step 105: the order that each data block is put down in writing according to Data Identification information in the header information is spliced into the upgrade file data;
Step 200: these upgrade file data are copied in the mobile storage with USB interface by computing machine, and this mobile storage is inserted in the USB interface chip of TV set-top box;
Step 300: by the master chip of TV set-top box the content in the mobile storage that inserts is retrieved, carried out upgrade step after retrieving the upgrade file data, do not retrieve the upgrade file data and then withdraw from upgrade step;
Step 301: the data length information according to the header information record is cut apart the upgrade file data, forms data block;
Step 302: according to Data Identification information in the header information of each data block data block is extracted, and carry out cyclic redundancy check (CRC);
Step 303: each data block after adopting symmetric encipherment algorithm to cyclic redundancy check (CRC) is decrypted;
Step 304: each data block after the deciphering is decompressed, form the data block of original size;
Step 305: the data block behind the decompress(ion) is spliced into the executable file of the data upgrading usefulness of TV set-top box in order, and is stored in the scratch pad memory of TV set-top box.
By set top box upgrading is carried out cutting apart of a certain size piece with executable file, compression is encrypted, and processing such as cyclic redundancy check (CRC) form the upgrade file data that a kind of other manufacturer's set-top box can't be discerned, and can prevent the possibility that upgrade file is stolen effectively.In addition, by upgrade data is added cyclic redundancy check (CRC), make escalation process more reliable and more stable.
The executable file of the data upgrading usefulness in the step 100 is cut apart according to the size of each data block 64K or 128K.Cut apart the not enough 64K of last data block of back or 128K, adopt the OxFF character to fill.
The size of each data block of cutting back is by the size decision of the scratch pad memory of set-top box, and the OxFF character is the size of a byte, generally is used for filling file size.
Step 102 and 303 described symmetric encipherment algorithms are mutual corresponding algorithm.A producer uses a class cryptographic algorithm, can ensure effectively that its ROMPaq can be decoded on the TV set-top box of its production, can not usurped by other set-top box again simultaneously.
The described set-top box master chip of step 300 is retrieved by the user the content in the mobile storage that inserts and is selected to start.The described set-top box master chip of step 300 does not retrieve the upgrade file data and then withdraws from upgrade step, existing application program in the starter motor top box master chip.Adopt above-mentioned steps, make whether the selection that the user can be autonomous will upgrade to the software program in the set-top box, if do not have the upgrade file data of redaction just directly to enter existing application program in the set-top box in that do not upgrade or the USB movable storage device, thereby effectively saved user's time.
The scratch pad memory of the described TV set-top box of step 305 is a flash memory.
In sum, the present invention compared with prior art, the USB socket that the present invention utilizes widespread use makes the user need not to buy other movable storage device as the interface of TV set-top box upgrading usefulness.Simultaneously, producer can make present product have the function of USB socket upgrading by simple transformation, provides cost savings.Secondly, by set top box upgrading is cut apart with executable file, compression is encrypted, and processing such as cyclic redundancy check (CRC) form the upgrade file data that a kind of other manufacturer's set-top box can't be discerned, and can prevent effectively that upgrade file is stolen.In addition, by upgrade data is added cyclic redundancy check (CRC), make escalation process more reliable and more stable.
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments for description of drawings:
Fig. 1 is the flow chart of steps of this upgrade method;
Fig. 2 is the structural representation of equipment that this upgrade method adopts.
Embodiment comprises the steps: based on the data anti-theft updating method of television set top box USB interface as shown in Figure 1, 2
Step 100: in computing machine 1, the executable file of data upgrading usefulness is cut apart, formed data block;
Step 101: each data block is compressed, formed the data block after compressing;
Step 102: each data block after adopting symmetric encipherment algorithm to compression is encrypted;
Step 103: gather the Data Identification information and the data length information of each data block after compressing, form header information, be added on the head of each data block;
Step 104: each data block is carried out cyclic redundancy check (CRC), the cyclic redundancy check (CRC) code that generates thus is added on the afterbody of each data block;
Step 105: the order that each data block is put down in writing according to Data Identification information in the header information is spliced into the upgrade file data;
Step 200: these upgrade file data are copied in the mobile storage 2 with USB interface by computing machine, and this mobile storage 2 is inserted in the USB interface chip 31 of TV set-top box 3;
Step 300: retrieve by the content in the mobile storage 2 of 32 pairs of accesses of set-top box master chip of TV set-top box 3, carry out upgrade step after retrieving the upgrade file data, do not retrieve the upgrade file data and then withdraw from upgrade step;
Step 301: the data length information according to the header information record is cut apart the upgrade file data, forms data block;
Step 302: according to Data Identification information in the header information of each data block data block is extracted, and carry out cyclic redundancy check (CRC);
Step 303: each data block after adopting symmetric encipherment algorithm to cyclic redundancy check (CRC) is decrypted;
Step 304: each data block after the deciphering is decompressed, form the data block of original size;
Step 305: the data block behind the decompress(ion) is spliced into the executable file of the data upgrading usefulness of TV set-top box in order, and is stored in the scratch pad memory 33 of TV set-top box 3.
Wherein, the executable file of the upgrading of the data in the step 100 usefulness is cut apart according to the size of each data block 64K or 128K.Cut apart the not enough 64K of last data block of back or 128K, adopt the OxFF character to fill.
Step 102 and 303 described symmetric encipherment algorithms are mutual corresponding algorithm.Described symmetric encipherment algorithm can be a cryptographic algorithm conventional in a kind of or other prior aries among DES, TripleDES, RC2, RC4, RC5 and the Blowfish.
Wherein, step 103: described header information be in the set-top box resolution data, to use, Data Identification information in the header information can allow set-top box again partition data become data block before the splicing, data length can be known the size of this blocks of data piece in partition data; Header information can also comprise total how many blocks of data pieces in these upgrade file data, and which blocks of data piece is the data block of this header information institute mark be, and the version number of these upgrade file data;
Content in the mobile storage 2 of 32 pairs of accesses of the described set-top box master chip of step 300 is retrieved by the user and is selected to start.The described set-top box master chip of step 300 does not retrieve the upgrade file data and then withdraws from upgrade step, existing application program in the starter motor top box master chip 32.
The scratch pad memory 33 of the described TV set-top box of step 305 is a flash memory.

Claims (7)

1. data anti-theft updating method based on television set top box USB interface, it is characterized in that: described method comprises the steps:
Step 100: in computing machine, the executable file of data upgrading usefulness is cut apart, formed data block;
Step 101: each data block is compressed, formed the data block after compressing;
Step 102: each data block after adopting symmetric encipherment algorithm to compression is encrypted;
Step 103: gather the Data Identification information and the data length information of each data block after compressing, form header information, be added on the head of each data block;
Step 104: each data block is carried out cyclic redundancy check (CRC), the cyclic redundancy check (CRC) code that generates thus is added on the afterbody of each data block;
Step 105: the order that each data block is put down in writing according to Data Identification information in the header information is spliced into the upgrade file data;
Step 200: these upgrade file data are copied in the mobile storage with USB interface by computing machine, and this mobile storage is inserted in the USB interface chip of TV set-top box;
Step 300: by the master chip of TV set-top box the content in the mobile storage that inserts is retrieved, carried out upgrade step after retrieving the upgrade file data, do not retrieve the upgrade file data and then withdraw from upgrade step;
Step 301: the data length information according to the header information record is cut apart the upgrade file data, forms data block;
Step 302: according to Data Identification information in the header information of each data block data block is extracted, and carry out cyclic redundancy check (CRC);
Step 303: each data block after adopting symmetric encipherment algorithm to cyclic redundancy check (CRC) is decrypted;
Step 304: each data block after the deciphering is decompressed, form the data block of original size;
Step 305: the data block behind the decompress(ion) is spliced into the executable file of the data upgrading usefulness of TV set-top box in order, and is stored in the scratch pad memory of TV set-top box.
2. according to a kind of data anti-theft updating method based on television set top box USB interface described in the claim 1, it is characterized in that: the executable file of the data upgrading usefulness in the step 100 is cut apart according to the size of each data block 64K or 128K.
3. according to a kind of data anti-theft updating method described in the claim 2, it is characterized in that: cut apart the not enough 64K of last data block of back or 128K, adopt the OxFF character to fill based on television set top box USB interface.
4. according to a kind of data anti-theft updating method based on television set top box USB interface described in the claim 1, it is characterized in that: step 102 and 303 described symmetric encipherment algorithms are mutual corresponding algorithm.
5. according to a kind of data anti-theft updating method based on television set top box USB interface described in the claim 1, it is characterized in that: the described set-top box master chip of step 300 is retrieved by the user the content in the mobile storage that inserts and is selected to start.
6. according to a kind of data anti-theft updating method described in the claim 1 based on television set top box USB interface, it is characterized in that: the described set-top box master chip of step 300 does not retrieve the upgrade file data and then withdraws from upgrade step, existing application program in the starter motor top box master chip.
7. according to a kind of data anti-theft updating method based on television set top box USB interface described in the claim 1, it is characterized in that: the scratch pad memory of the described TV set-top box of step 305 is a flash memory.
CN2010102127776A 2010-06-29 2010-06-29 Television set top box USB interface-based data anti-theft updating method Pending CN101894030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102127776A CN101894030A (en) 2010-06-29 2010-06-29 Television set top box USB interface-based data anti-theft updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102127776A CN101894030A (en) 2010-06-29 2010-06-29 Television set top box USB interface-based data anti-theft updating method

Publications (1)

Publication Number Publication Date
CN101894030A true CN101894030A (en) 2010-11-24

Family

ID=43103228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102127776A Pending CN101894030A (en) 2010-06-29 2010-06-29 Television set top box USB interface-based data anti-theft updating method

Country Status (1)

Country Link
CN (1) CN101894030A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306259A (en) * 2011-06-30 2012-01-04 中航光电科技股份有限公司 USB (Universal Serial Bus) connector with data theftproof female interface
CN102333241A (en) * 2011-10-26 2012-01-25 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) upgrading method for digital television and USB upgrading system for digital television
CN102547454A (en) * 2011-12-30 2012-07-04 四川长虹电器股份有限公司 Data replication method for STB (Set Top Box)
CN102609284A (en) * 2012-02-01 2012-07-25 上海游安网络科技有限公司 Method for safely loading executable file
CN104239544A (en) * 2014-09-23 2014-12-24 深圳市九洲电器有限公司 HDCP (High-bandwidth Digital-content Copy Protection) Key management method and system
CN104463018A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Encryption method for upgraded file and detection method for upgraded file
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN105159733A (en) * 2015-10-15 2015-12-16 珠海格力电器股份有限公司 Air conditioner and data transmission method, device and system thereof for remote upgrade
CN105681848A (en) * 2016-02-24 2016-06-15 四川长虹电器股份有限公司 Set top box off-line zero configuration implementation method and system
JP2017005412A (en) * 2015-06-08 2017-01-05 国立大学法人京都大学 Data processing device, data transmission method, computer program and data server
CN107832625A (en) * 2017-11-21 2018-03-23 江苏神州信源系统工程有限公司 A kind for the treatment of method and apparatus of document
CN109905246A (en) * 2013-10-04 2019-06-18 德克萨斯仪器股份有限公司 Utilize segmentation and then power line communication (PLC) network node of encryption safe
CN112073816A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Dual-system USB upgrading method and device and display equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642261A (en) * 2004-01-17 2005-07-20 北京中视联数字系统有限公司 Method for mixed broadcasting picture-character and service information
CN101344906A (en) * 2008-05-19 2009-01-14 北京深思洛克数据保护中心 Sectional type remote updating method
CN101409636A (en) * 2008-11-20 2009-04-15 山东山大新元易通信息科技有限公司 Safety on-line upgrade method for networking equipment firmware
CN101521730A (en) * 2009-03-30 2009-09-02 四川长虹电器股份有限公司 Method, system and television for automatically upgrading television

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642261A (en) * 2004-01-17 2005-07-20 北京中视联数字系统有限公司 Method for mixed broadcasting picture-character and service information
CN101344906A (en) * 2008-05-19 2009-01-14 北京深思洛克数据保护中心 Sectional type remote updating method
CN101409636A (en) * 2008-11-20 2009-04-15 山东山大新元易通信息科技有限公司 Safety on-line upgrade method for networking equipment firmware
CN101521730A (en) * 2009-03-30 2009-09-02 四川长虹电器股份有限公司 Method, system and television for automatically upgrading television

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306259A (en) * 2011-06-30 2012-01-04 中航光电科技股份有限公司 USB (Universal Serial Bus) connector with data theftproof female interface
CN102333241A (en) * 2011-10-26 2012-01-25 青岛海信宽带多媒体技术有限公司 Universal serial bus (USB) upgrading method for digital television and USB upgrading system for digital television
CN102547454A (en) * 2011-12-30 2012-07-04 四川长虹电器股份有限公司 Data replication method for STB (Set Top Box)
CN102547454B (en) * 2011-12-30 2014-04-16 四川长虹电器股份有限公司 Data replication method for STB (Set Top Box)
CN102609284A (en) * 2012-02-01 2012-07-25 上海游安网络科技有限公司 Method for safely loading executable file
CN109905246A (en) * 2013-10-04 2019-06-18 德克萨斯仪器股份有限公司 Utilize segmentation and then power line communication (PLC) network node of encryption safe
CN104239544B (en) * 2014-09-23 2017-08-25 深圳市九洲电器有限公司 A kind of HDCP Key management methods and system
CN104239544A (en) * 2014-09-23 2014-12-24 深圳市九洲电器有限公司 HDCP (High-bandwidth Digital-content Copy Protection) Key management method and system
CN104463018B (en) * 2014-12-19 2017-08-04 上海斐讯数据通信技术有限公司 The encryption method of upgrade file and the method for inspection of upgrade file
CN104463018A (en) * 2014-12-19 2015-03-25 上海斐讯数据通信技术有限公司 Encryption method for upgraded file and detection method for upgraded file
CN104581397A (en) * 2014-12-29 2015-04-29 四达时代通讯网络技术有限公司 System upgrade method and device for android set-top box
CN104581397B (en) * 2014-12-29 2018-04-27 北京四达时代软件技术股份有限公司 The method for upgrading system and device of android set top box
JP2017005412A (en) * 2015-06-08 2017-01-05 国立大学法人京都大学 Data processing device, data transmission method, computer program and data server
CN105159733A (en) * 2015-10-15 2015-12-16 珠海格力电器股份有限公司 Air conditioner and data transmission method, device and system thereof for remote upgrade
CN105681848A (en) * 2016-02-24 2016-06-15 四川长虹电器股份有限公司 Set top box off-line zero configuration implementation method and system
CN107832625A (en) * 2017-11-21 2018-03-23 江苏神州信源系统工程有限公司 A kind for the treatment of method and apparatus of document
CN107832625B (en) * 2017-11-21 2020-05-22 江苏神州信源系统工程有限公司 Document processing method and device
CN112073816A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Dual-system USB upgrading method and device and display equipment

Similar Documents

Publication Publication Date Title
CN101894030A (en) Television set top box USB interface-based data anti-theft updating method
EP2309744B1 (en) Partial Encryption Techniques For Media Data
KR101597930B1 (en) A video file encryption and decryption method, device, and mobile terminal
CN100514471C (en) Method and system of visiting encrypting content on mobile media by device
US8370645B2 (en) Protection of security parameters in storage devices
CN101507276B (en) Automatically reconfigurable multimedia system with interchangeable personality adapters
KR101920439B1 (en) Apparatus and method for sending encrypted data to a conditional access module over a common interface, Conditional access module, and System thereof
TW200527871A (en) Method and system of external data storage
TW200910089A (en) Method of storing and accessing header data from memory
CN102122336B (en) Method, equipment and system for encrypting and decrypting game protection
CN108064382B (en) Ukey-based software decryption method and terminal
CN107579985B (en) Large file transmission protection method based on fragment encryption
US10284529B2 (en) Information processing apparatus and information processing method
CN108540481B (en) Online playing method and device for audio file
CN110851794A (en) Media file uplink method and device, storage medium and electronic device
CN114095037B (en) Application program updating method, updating data compression method, device and equipment
CN111159783B (en) Portable high-speed stream encryption hardware device and method
CN114286130A (en) Video encryption method, video processing method and device and electronic equipment
JP2013171581A (en) Recording device and method for performing access to recording device
JP5403708B2 (en) Information processing apparatus, data processing method, and program
CN111200741A (en) Video processing method and device and machine-readable storage medium
CN111988624A (en) Video processing method, device, equipment and storage medium
CN111368345A (en) Method, device, equipment and computer readable storage medium for decrypting encrypted program
KR101098762B1 (en) Method and apparatus of providing contents list
TWI375160B (en) Method and system for locally activating a drm engine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20101124