CN101790029A - Method for performing read-write operation on set top box - Google Patents

Method for performing read-write operation on set top box Download PDF

Info

Publication number
CN101790029A
CN101790029A CN 201010117556 CN201010117556A CN101790029A CN 101790029 A CN101790029 A CN 101790029A CN 201010117556 CN201010117556 CN 201010117556 CN 201010117556 A CN201010117556 A CN 201010117556A CN 101790029 A CN101790029 A CN 101790029A
Authority
CN
China
Prior art keywords
top box
data
serial ports
read
set top
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
CN 201010117556
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 CN 201010117556 priority Critical patent/CN101790029A/en
Publication of CN101790029A publication Critical patent/CN101790029A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method for performing read-write operation on a set top box, comprising the following steps: a computer and the set top box are connected via a serial port cable, a serial port tool is in operation, and data is written in the set top box to finish software upgrading operation if downloading is selected after the serial port tool is connected with the set top box successfully; and data on the set top box is read out and is stored in the computer if uploading is selected. The invention mainly realizes reading and writing data in any block of the set top box via the serial port, and one tool can perform read-write operation on set top boxes in various series. Upgrading operation can be finished only by connecting the serial ports without limitation by front end emission and set top box tuning.

Description

A kind of method of set-top box being carried out read-write operation
[technical field]
The invention belongs to the digital TV set-top box field, specifically be meant a kind of method of set-top box being carried out read-write operation.
[background technology]
Along with the popularization of digital TV set-top box, TV set-top box is popularized gradually.In the use of set-top box, along with the continuous release of cable digital TV value-added service, the radio and TV operator has the requirement of upgrading; Set-top box supplier also might propose the requirement of software upgrading upgrading in order to solve the software defect of having found or to increase function simultaneously.Therefore, updating set-top box software (promptly set-top box being carried out write operation) is a technology that can not be ignored.
Online upgrading needs front end to send stream, if the TUNER that this moment, front end did not send stream or set-top box can't lock (online upgrading), so just can't upgrade.
In user's use, need be upgraded to the data on the loom (start-up picture, library of programmes data etc.) on another loom, these data are read write another loom more earlier.Give an example: a loom has had the library of programmes data, will carry out presetting of library of programmes to other loom so, and do not have upgrade file this moment, and so directly the data in the reading machine top box are upgraded to other loom and preset.In the prior art, be to come reading of data by the ST debugging acid, the user can't read these data on hand.
[summary of the invention]
Technical problem to be solved by this invention provides a kind ofly carries out the method for read-write operation to set-top box, realizes being undertaken by serial ports any blocks of data of reading and writing set-top box FLASH, supports the software upgrading and the reading of data of many moneys set-top box simultaneously.
The present invention solves the problems of the technologies described above by the following technical solutions:
A kind of set-top box is carried out the method for read-write operation, comprise the steps:
Step 10: with Serial Port Line junctor top box and computer;
Step 20: open the serial ports instrument, select serial ports;
Step 30: select to upload (reading) or download (writing) data;
Step 40: the serial ports instrument sends connection request to set-top box, sends the request of receiving to the serial ports instrument after set-top box is received connection request, this moment serial ports instrument and set-top box successful connection;
Step 50: after the successful connection,, then change step 60 over to if selection is to download; If what select is to upload, then change step 70 over to;
Step 60: data are written to set-top box finish the software upgrading operation from computer;
Step 70: the data on the set-top box are read out, deposit computer;
Step 80: finish.
Described step 60 comprises the steps:
Step 61: receive the header file data, obtain writing information by analyzing the header file data;
Step 62: the erase operation that carries out FLASH;
Step 63: data are write set-top box.
Described step 70 comprises the steps:
Step 71: initial data piece and the end data piece uploaded by input calculate the initial address of uploading;
Step 72: transfer of data is preserved data to computer.
Comprise the steps: also between described step 70 and the step 80 that transfer of data finishes, carry out CRC check earlier, will carry out transfer of data again if the transmission course data are made mistakes.
The invention has the advantages that: main any blocks of data of realizing being undertaken reading and writing set-top box FLASH by serial ports, and support the set-top box of ground, wired series such as ST5119,5105,7109-5197, the compatible use accomplishes that an instrument can carry out read-write operation to the set-top box of many moneys series.Be not subjected to front end emission in addition, the tuning restriction of set-top box can be finished upgrade job as long as connect serial ports.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is a structural representation of the present invention.
Fig. 2 is a workflow schematic diagram of the present invention.
[embodiment]
As shown in Figure 1, computer and set-top box are coupled together, carry out the serial ports instrument, send upgrade data and just finish the serial ports upgrading with a Serial Port Line.This instrument is supported the set top box upgrading (ST5105,5119,5197,7109,7710 etc.) of the different chip solution of ST.Method is comparatively convenient, only needs computer, Serial Port Line and set-top box to add a serial ports instrument then and can finish upgrade job, describes in detail below.
The serial ports instrument is by serial communication, communicates with set-top box to be connected, and verifies response result again by receiving communications command mutually, finishes successfully being connected of set-top box and computer according to replying.After the successful connection, carry out the transfer of data that to upgrade again.The communication of serial ports instrument will be with the set-top box coupling, the order that request connects, order connect, successful connection failure, these orders such as command checksum all set-top box appoint in advance, so just can carry out correct communication, the serial ports instrument just perfectly is used in combination with set-top box.This serial ports instrument also has an advantage, to set-top box to upgrade any piece data can, do not limit certain blocks of data of can only upgrading, so just greatly facilitate upgrading, as long as this serial ports instrument, just can carry out erasable operation to any piece of set-top box.In addition, this serial ports instrument also can carry out read operation except carrying out write operation to set-top box, promptly the software data on the set-top box is read out it by the serial ports instrument.Problem is arranged or all can not find this packet if write the data of set-top box, can on other set-top box, come out to be then written in the set-top box data read.This serial ports instrument can select to read data such as library of programmes data, start image data, application blocks arbitrarily, gets access to the various data that exploitation needs comparatively neatly.
In order to ensure the fail safe of serial ports instrument, must take communication protocol.Work out a series of communication protocol with set-top box, serial ports instrument and set-top box all must be by reading, and work is carried out in these orders of check identification again, and restriction each other if carry out not according to agreement, can't be upgraded.In the program upgrade process, instrument can be pointed out whole upgrade step and be informed.Serial ports writes and is divided into 4 link altogether: connect, transmit data, wipe the FLASH piece, write these four processes of FLASH.Serial ports is read and then is divided into 3 links: connect sense data, three processes of storage data.Specifically referring to Fig. 2.
If when the serial ports program upgrade, because of the generation of fortuitous event, cause the upgrading failure, so only need re-power to upgrade once more and get final product.
Specifically set-top box is carried out the method for read-write operation, detailed step is as follows:
Step 10: with Serial Port Line junctor top box and computer;
Step 20: open the serial ports instrument, select serial ports;
Step 30: select to upload (reading) or download (writing) data;
Step 40: the serial ports instrument sends connection request to set-top box, sends the request of receiving to the serial ports instrument after set-top box is received connection request, this moment serial ports instrument and set-top box successful connection;
Step 50: after the successful connection,, then change step 60 over to if selection is to download; If what select is to upload, then change step 70 over to;
Step 60: data are written to set-top box finish the software upgrading operation from computer;
Step 70: the data on the set-top box are read out, deposit computer;
Step 80: finish.
Described step 60 comprises the steps:
Step 61: receive the header file data, obtain writing information by analyzing the header file data;
Step 62: the erase operation that carries out FLASH;
Step 63: data are write set-top box.
Described step 70 comprises the steps:
Step 71: initial data piece and the end data piece uploaded by input calculate the initial address of uploading;
Step 72: transfer of data is preserved data to computer.
Comprise the steps: also between described step 70 and the step 80 that transfer of data finishes, carry out CRC check earlier, will carry out transfer of data again if the transmission course data are made mistakes.
The present invention mainly realizes being undertaken by serial ports any blocks of data of reading and writing set-top box FLASH, and support the set-top box of ground, wired series such as ST5119,5105,7109-5197, the compatible use accomplishes that an instrument can carry out read-write operation to the set-top box of many moneys series.In addition, be not subjected to front end emission, the tuning restriction of set-top box, can finish upgrade job as long as connect serial ports.

Claims (4)

1. one kind is carried out the method for read-write operation to set-top box, it is characterized in that: comprise the steps:
Step 10: with Serial Port Line junctor top box and computer;
Step 20: open the serial ports instrument, select serial ports;
Step 30: select to upload or data download;
Step 40: the serial ports instrument sends connection request to set-top box, sends the request of receiving to the serial ports instrument after set-top box is received connection request, this moment serial ports instrument and set-top box successful connection;
Step 50: after the successful connection,, then change step 60 over to if selection is to download; If what select is to upload, then change step 70 over to;
Step 60: data are written to set-top box finish the software upgrading operation from computer;
Step 70: the data on the set-top box are read out, deposit computer;
Step 80: finish.
2. as claimed in claim 1ly a kind of set-top box is carried out the method for read-write operation, it is characterized in that: described step 60 comprises the steps:
Step 61: receive the header file data, obtain writing information by analyzing the header file data;
Step 62: the erase operation that carries out FLASH;
Step 63: data are write set-top box.
3. as claimed in claim 1ly a kind of set-top box is carried out the method for read-write operation, it is characterized in that: described step 70 comprises the steps:
Step 71: initial data piece and the end data piece uploaded by input calculate the initial address of uploading;
Step 72: transfer of data is preserved data to computer.
4. a kind of method of set-top box being carried out read-write operation as claimed in claim 1, it is characterized in that: comprise the steps: also between described step 70 and the step 80 that transfer of data finishes, carry out CRC check earlier, will carry out transfer of data again if the transmission course data are made mistakes.
CN 201010117556 2010-03-03 2010-03-03 Method for performing read-write operation on set top box Pending CN101790029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010117556 CN101790029A (en) 2010-03-03 2010-03-03 Method for performing read-write operation on set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010117556 CN101790029A (en) 2010-03-03 2010-03-03 Method for performing read-write operation on set top box

Publications (1)

Publication Number Publication Date
CN101790029A true CN101790029A (en) 2010-07-28

Family

ID=42533069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010117556 Pending CN101790029A (en) 2010-03-03 2010-03-03 Method for performing read-write operation on set top box

Country Status (1)

Country Link
CN (1) CN101790029A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098556A (en) * 2010-12-20 2011-06-15 四川长虹电器股份有限公司 Method for upgrading customized software of digital television user
CN102547454A (en) * 2011-12-30 2012-07-04 四川长虹电器股份有限公司 Data replication method for STB (Set Top Box)
CN104349209A (en) * 2014-11-26 2015-02-11 珠海迈科智能科技股份有限公司 Method and device for updating set-top box
CN104980802A (en) * 2015-05-28 2015-10-14 福建新大陆通信科技股份有限公司 Safe and reliable set top box data burning method and system
CN107391170A (en) * 2017-06-14 2017-11-24 深圳市共进电子股份有限公司 Support multivariant upgrade method, device and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040148118A1 (en) * 2003-01-20 2004-07-29 Patrick Will Method for testing an appliance comprising an audio port, and a respective appliance
CN1787602A (en) * 2004-12-09 2006-06-14 深圳市鑫科姆宽带网络科技有限公司 Set-top-box for bidirectional communication apparatus
CN2793803Y (en) * 2005-05-20 2006-07-05 海信集团有限公司 Simple port and interface circuit
CN2862537Y (en) * 2005-08-31 2007-01-24 北京中电华大电子设计有限责任公司 Download and upload combined interface circuit in set-top box
CN101409778A (en) * 2008-11-07 2009-04-15 深圳创维数字技术股份有限公司 Method and apparatus for upgrading set-top box software
CN101436142A (en) * 2008-12-05 2009-05-20 四川长虹电器股份有限公司 Set-top box starting-up picture changing method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040148118A1 (en) * 2003-01-20 2004-07-29 Patrick Will Method for testing an appliance comprising an audio port, and a respective appliance
CN1787602A (en) * 2004-12-09 2006-06-14 深圳市鑫科姆宽带网络科技有限公司 Set-top-box for bidirectional communication apparatus
CN2793803Y (en) * 2005-05-20 2006-07-05 海信集团有限公司 Simple port and interface circuit
CN2862537Y (en) * 2005-08-31 2007-01-24 北京中电华大电子设计有限责任公司 Download and upload combined interface circuit in set-top box
CN101409778A (en) * 2008-11-07 2009-04-15 深圳创维数字技术股份有限公司 Method and apparatus for upgrading set-top box software
CN101436142A (en) * 2008-12-05 2009-05-20 四川长虹电器股份有限公司 Set-top box starting-up picture changing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098556A (en) * 2010-12-20 2011-06-15 四川长虹电器股份有限公司 Method for upgrading customized software of digital television user
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)
CN104349209A (en) * 2014-11-26 2015-02-11 珠海迈科智能科技股份有限公司 Method and device for updating set-top box
CN104980802A (en) * 2015-05-28 2015-10-14 福建新大陆通信科技股份有限公司 Safe and reliable set top box data burning method and system
CN107391170A (en) * 2017-06-14 2017-11-24 深圳市共进电子股份有限公司 Support multivariant upgrade method, device and computer equipment

Similar Documents

Publication Publication Date Title
CN104579719B (en) A kind of upgrade method and system, host computer and optical module of firmware
CN102802148B (en) Method, system and device for card personalization over the air
CN101790029A (en) Method for performing read-write operation on set top box
CN107634859A (en) A kind of firmware upgrade method and device
CN101963910A (en) General USB (Universal Serial Bus) based equipment firmware updating method
CN103477333B (en) The accumulator system of radio communication function can be controlled
CN102081537A (en) Method for upgrading software
CN114880002B (en) OTA data flashing method and system
CN108667950B (en) Method and device for obtaining device identification
CN109614131A (en) A kind of broadcasting equipment upgrading control system
CN107908417A (en) Firmware upgrade method and electronic equipment
US20100058312A1 (en) Content Data Providing System, Content Providing Apparatus and Content Data Processing Terminal
CN101667133B (en) Method for updating firmware and chip updating firmware by using same
CN108769241B (en) Operation method, device and system for remote control of heat pump unit
CN112788576B (en) Equipment offline processing method and system, storage medium and electronic device
CN112181460B (en) Program firmware upgrading method and device, electronic equipment and storage medium
CN100435099C (en) Method for upgrading program of embedded system
CN108415711B (en) Method for burning MAC address on line
CN102541639A (en) CPU (Central Processing Unit) card data processing method, CPU card data processing system and CPU card
CN101593123A (en) The curing of flash recordable plug-in component and terminal device
CN101197959B (en) Terminal control method, system and equipment
CN107977216B (en) Method, system and device for updating component program based on instrument
CN114253839A (en) Wireless debugging method, system and device
CN113590152A (en) Equipment upgrading method and system, embedded equipment, upper computer and storage medium
CN111580857B (en) Equipment firmware online configuration method, device and system

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

Open date: 20100728