CN102780703A - Information writing system and method of set-top box - Google Patents

Information writing system and method of set-top box Download PDF

Info

Publication number
CN102780703A
CN102780703A CN2012102778988A CN201210277898A CN102780703A CN 102780703 A CN102780703 A CN 102780703A CN 2012102778988 A CN2012102778988 A CN 2012102778988A CN 201210277898 A CN201210277898 A CN 201210277898A CN 102780703 A CN102780703 A CN 102780703A
Authority
CN
China
Prior art keywords
information
writing
stb
mode
write
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
CN2012102778988A
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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN2012102778988A priority Critical patent/CN102780703A/en
Publication of CN102780703A publication Critical patent/CN102780703A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to an information writing system and method of a set-top box. A service terminal comprises a configuration file calling module for calling configuration files, and setting configuration information and writing manner. A client terminal is located on the set-top box and includes a writing manner selecting module, a writing information receiving module and a storage module. The information writing system provided by the invention is convenient and flexible in controlling the information to be written and the information to be reserved in the set-top box, thereby lowering the operation risk and widening the use range of the system. The system can also automatically generate a log and store the log in a hidden and compressed manner to ensure the log safety and to save the storage space, so as to provide convenience in finding the reason causing information error of the set-top box. The system provided by the invention supports the writing through an internet port, a serial port, a USB (universal serial bus) interface, and a card interface, and can be switched to another writing manner conveniently when the current writing manner can not complete the writing task. The system and the method provided by the invention can effectively improve the efficiency of manufacturers in production, development and after-sales maintenance.

Description

A kind of STB information writing system and method
Technical field
The present invention relates to a kind of technical field of STB, specifically, relate to a kind of writing system and method that information is write STB.
Background technology
The information of STB (comprising common sequence number, MAC, software version, hardware version, vendor id, date of manufacture, remote controller key assignments, partition information etc.) is extremely important as the identify label of this STB, broadcasting and TV to STB at net the network control etc. of authentication, empowerment management and software upgrading of authentication all must use the information of STB.Therefore, the information of every STB must be complete, correct and unique.
The wiring method of STB information has following several kinds at present: 1, write through serial ports.2, write through network interface.3, write through USB interface.4, write through special card interface.Mostly writing information is only writing sequence number and MAC Address.Demand when these writing systems can satisfy plant produced, but the defective that exists is:
(1) writing information is fixed, and can't adjust to write which information flexibly, and it is constant to keep other information.For example, the writing system that has is writing sequence number, MAC Address and other information simultaneously, and the writing system that has is writing sequence number, MAC Address simultaneously, can't write other information.When writing STB information at every turn; Must all information that will write STB be write once more again; Perhaps must the whole procedure of STB be upgraded, needn't write fashionablely again, also carry out the operation that writes again and can keep for the part original information in the STB; Increase the risk of unnecessary work and operation, limited the scope of application of system.Thereby existing writing system and method can only be used for plant produced, can't be used for development and testing and the maintenance of STB after sale.
(2) can't the logging machine top box successfully write and the information when unusual occurs, can not differentiate writing information effectively fast and whether write, the reason that can not orientation problem during follow-up discovery writing information mistake occurs.
(3) wiring method is single, can't select through serial ports or network interface, and perhaps other interfaces write.Can't write in case a kind of interface occurs, can't adopt other interfaces to write.
Summary of the invention
The object of the present invention is to provide a kind of STB information write-in method, solved existing wiring method writing information and fixed, can not revise and adjust, and can not be fast effectively differentiate the whether unique technical problem of writing information.
For solving the problems of the technologies described above, the present invention adopts following technical scheme to be achieved:
A kind of STB information write-in method, the said write method comprises the steps:
A, service end start, and call configuration file;
B, confirm writing mode according to configuration file;
C, generate writing information according to configuration file, the writing information in the inquiry service first day of the lunar year will if writing information repeats with writing information, then regenerates writing information; If do not repeat, then writing information is write STB according to the writing mode that step B confirms;
D, this writing information is stored to daily record.
Further, after service end started in the said steps A, at first whether inspection had called in configuration file; If do not call in configuration file, then prompting is if called in configuration file; Check then whether configuration file is correct,, then preserve this configuration file if correct; If incorrect, then configuration file is called in prompting again.
Further, behind the generation writing information, wait for that STB sends the writing information request among the said step C, after the writing information request arrives, writing information is write STB according to the writing mode that step B confirms.
Further, among the said step D, service end is stored to this writing information and writes daily record after the success of receiving the STB feedback writes confirmation.
Further, said configuration file comprises writing mode information and configuration information.
In order to increase the diversity of writing mode; Avoiding occurring a kind of writing mode can not use and cause the situation that STB can not writing information one or more in said write mode packets of information purse rope mouth mode or serial mode or usb mode or the card interface mode to occur.
Preferably, hide after said daily record is compressed and deposit memory location to service end.
Based on above-mentioned STB information write-in method, the present invention also provides a kind of STB information writing system, and said system comprises service end and client, and said service end comprises:
The configuration file calling module is used to call configuration file, and configuration information and writing mode information are set;
Whether log record and enquiry module are used for the recorded and stored writing information, inquire about this writing information and repeat with writing information;
Writing information generates and sending module, is used for generating writing information according to configuration file, and the writing information that satisfies condition is written to client;
Said client is positioned on the STB, comprising:
Writing mode is selected module, is used to select the writing mode corresponding with service end; And
Writing information receives and preserves module, is used to receive and preserve the writing information from service end.
Preferably, said service end also comprises writing information request and feedback information receiver module, is used to receive writing information request and the feedback information that client is sent;
Said client comprises writing information request and feedback information sending module, is used for sending writing information request and feedback information to service end.
Preferably, the said write mode comprises network interface mode or serial mode or usb mode or card interface mode.
Compared with prior art; Advantage of the present invention and good effect are: the present invention can control the information that will write to STB easily and flexibly through configuration file; Can keep the original information in the STB according to demand, needn't write again, reduce the risk of operation; The scope of application of expansion system can be applicable to production, development and testing and the after-sales service etc. of STB.The present invention can generate daily record automatically with ablation process, stores with the mode of hiding, compress, and both can guarantee the safety of daily record, also can save memory space, easy-to-look-up problem reason when the STB information errors occurring.The present invention can support writing modes such as network interface, serial ports, USB interface, card interface, can't accomplish when writing task at a kind of writing mode, can switch to another kind easily.Use the present invention can effectively improve plant produced, exploitation and after-sales service efficient.
After the detailed description in conjunction with the advantages embodiment of the present invention, other characteristics of the present invention and advantage will become clearer.
Description of drawings
Fig. 1 is the composition module and the workflow diagram of service end;
Fig. 2 is the composition module and the workflow diagram of client.
Embodiment
Carry out detailed description below in conjunction with the accompanying drawing specific embodiments of the invention.
In the present embodiment, STB information writing system comprises service end and client, confirms writing mode and writing information by service end according to the actual demand of client, and writing information is write client.Wherein, service end is moved on PC, and client is moved on STB.
Carry out detailed introduction in the face of the service end of present embodiment down:
Service end comprises configuration file calling module, log record and enquiry module, writing information generation and sending module and writing information request and feedback information receiver module.
The configuration file calling module, this module is used to call configuration file, and configuration information and writing mode are set.In advance with the memory location of polytype configuration file stores to service end, can write the configuration file that respective type is called in the STB information requirement according to actual.Comprise the various configurations information and the writing mode that write STB in the configuration file.Configuration information comprises the multiple information that will write STB, for example: comprise common sequence number, MAC, software version, hardware version, vendor id, date of manufacture, remote controller key assignments, partition information etc.Configuration information is set which informational needs promptly is set writes STB, which information is the information that needs in the STB original information to keep etc.; Writing mode is set promptly according to the situation of STB, selects to adopt network interface mode or serial mode or usb mode or card interface mode to write.Present embodiment is based on the storage device interface that STB itself carries and accomplishes ablation process, and the corresponding writing mode of available storage device interface that can select to carry with STB itself writes.
Log record and enquiry module are used to write down writing information.This module also writes down startup situation, the configuring condition of service end simultaneously, and the situation that writing information and writing information repeat, write state situation and service end such as close at situation.After above-mentioned information generates daily record, be saved to the memory location on the service end with hiding after the daily record compression.Whether another function of this module is after generating writing information, be used for inquiring about this writing information and repeat with the writing information that daily record is preserved, to guarantee to write the uniqueness of STB information.
Writing information forms sending module; This module generates writing information according to the configuration file of configuration file calling module; If this writing information does not repeat with the writing information that log record and enquiry module are preserved; Then writing information request receiver module is waited for the writing information request that client is sent that receives; Writing information request and feedback information receiver module send to client with writing information and write after receiving the writing information request of client transmission, and writing information request and feedback information receiver module received client and send feedback information after write operation was accomplished.
Carry out detailed introduction in the face of the client of present embodiment down:
Client comprises writing mode selection module, writing information receives and preserve module and writing information request and feedback information sending module.
Writing mode is selected module, is used to select the corresponding writing mode of storage device interface that carries with STB itself; Writing mode can be network interface mode or serial mode or usb mode or card interface mode;
Writing information receives and preserves module, is used to receive the writing information of service end transmission and writing information is saved in flash;
Writing information request and feedback information sending module are used for sending the writing information request to service end; This module was sent to service end and is successfully write confirmation after writing information was preserved and accomplished.
Like Fig. 1, shown in Figure 2, during with the production STB, writing sequence number and MAC Address are example in STB, and the workflow of present embodiment service end and client is specifically introduced as follows:
The STB information write-in method of present embodiment comprises the steps:
A, service end, client terminal start-up also connect.At first whether the service end inspection has called in configuration file, if called in configuration file, checks then whether the configuration file of calling in is correct, if do not call in configuration file, then prompting need be called in configuration file, is configured calling in of file.If the configuration file of calling in is correct, then preserve this configuration file, if incorrect, then configuration file is called in prompting again.
B, according to the information of configuration file, service end selects to confirm the writing mode that is complementary with client;
C, service end generate writing information according to configuration file, and the writing information that STB needs in the present embodiment is sequence number and MAC Address.Thereby at first the writing information in the inquiry service first day of the lunar year will judges whether the writing information in this writing information and the daily record repeats; If this writing information not with daily record in writing information repeat; Wait for that then STB sends the writing information request, after the writing information request arrives, writing information is write STB according to the writing mode that step B confirms; STB receives writing information, and writing information is saved in flash; Otherwise provide prompting, carry out C again;
After D, service end write STB with writing information, wait for that in the regular hour success of receiving set up box writes confirmation, in official hour, receive after success writes confirmation this writing information is stored to daily record; Otherwise prompting writes failure, need write again, and then service end continues to wait for that STB sends the writing information request.
Write completion; After this writing information is stored to daily record, judge whether that according to actual conditions needs carry out write operation to the STB that another batch writes different classes of information, promptly whether need call in configuration file again; If desired, then call in configuration file again; If do not need, then judge whether to close service end, if need not close service end; Then continue another STB writing information of writing identical category information to same batch,, need close service end if operation is accomplished; Then daily record compression back is hidden and deposit, close service end and get final product.Each STB is closed after writing information writes completion.
The STB information writing system of present embodiment not only can be applied to the production process of STB, simultaneously, also can be applicable to the research and development test of STB or the situation of maintenance.When STB information writing system and method are used to research and develop the situation of test or maintenance; Only get final product according to configuration file adjustment writing information; Change corresponding information into and get final product obtaining sequence number and MAC Address correspondence among Fig. 1; Need write the software version of revising in the STB when for example researching and developing the testing authentication software upgrading, hardware version information, the information to be written that then forms through configuration module is the information of software version, hardware version.Therefore, the modification writing information that present embodiment can be convenient, flexible.
In sum, the present invention can be widely used in writing of STB information.
What should explain at last is: above embodiment is only in order to explaining technical scheme of the present invention, but not to its restriction; Although with reference to previous embodiment the present invention has been carried out detailed explanation, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these are revised or replacement, do not make the spirit and the scope of the essence disengaging various embodiments of the present invention technical scheme of relevant art scheme.

Claims (10)

1. STB information write-in method, it is characterized in that: the said write method comprises the steps:
A, service end start, and call configuration file;
B, confirm writing mode according to configuration file;
C, generate writing information according to configuration file, the writing information in the inquiry service first day of the lunar year will if writing information repeats with writing information, then regenerates writing information; If do not repeat, then writing information is write STB according to the writing mode that step B confirms;
D, this writing information is stored to daily record.
2. STB information write-in method according to claim 1 is characterized in that: after service end started in the said steps A, at first whether inspection had called in configuration file; If do not call in configuration file, then prompting is if called in configuration file; Check then whether configuration file is correct,, then preserve this configuration file if correct; If incorrect, then configuration file is called in prompting again.
3. STB information write-in method according to claim 1; It is characterized in that: after generating writing information among the said step C; Wait for that STB sends the writing information request, after the writing information request arrives, writing information is write STB according to the writing mode that step B confirms.
4. STB information write-in method according to claim 1 is characterized in that: among the said step D, service end is stored to daily record with this writing information again after the success of receiving the STB feedback writes confirmation.
5. STB information write-in method according to claim 1 is characterized in that: said configuration file comprises writing mode information and configuration information.
6. STB information write-in method according to claim 5 is characterized in that: one or more in said write mode packets of information purse rope mouth mode or serial mode or usb mode or the card interface mode.
7. according to any described STB information write-in method of claim 1-5, it is characterized in that: said daily record compression back hides deposits the memory location to service end.
8. STB information writing system, said system comprises service end and client, it is characterized in that: said service end comprises:
The configuration file calling module is used to call configuration file, and configuration information and writing mode information are set;
Whether log record and enquiry module are used for the recorded and stored writing information, inquire about this writing information and repeat with writing information;
Writing information generates and sending module, is used for generating writing information according to configuration file, and the writing information that satisfies condition is written to client;
Said client is positioned on the STB, comprising:
Writing mode is selected module, is used to select the writing mode corresponding with service end; And
Writing information receives and preserves module, is used to receive and preserve the writing information from service end.
9. STB information writing system according to claim 8 is characterized in that: said service end also comprises writing information request and feedback information receiver module, is used to receive writing information request and the feedback information that client is sent;
Said client comprises writing information request and feedback information sending module, is used for sending writing information request and feedback information to service end.
10. it is characterized in that: one or more in said write mode packets of information purse rope mouth mode or serial mode or usb mode or the card interface mode according to Claim 8 or 9 described STB information writing systems.
CN2012102778988A 2012-08-07 2012-08-07 Information writing system and method of set-top box Pending CN102780703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012102778988A CN102780703A (en) 2012-08-07 2012-08-07 Information writing system and method of set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012102778988A CN102780703A (en) 2012-08-07 2012-08-07 Information writing system and method of set-top box

Publications (1)

Publication Number Publication Date
CN102780703A true CN102780703A (en) 2012-11-14

Family

ID=47125456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012102778988A Pending CN102780703A (en) 2012-08-07 2012-08-07 Information writing system and method of set-top box

Country Status (1)

Country Link
CN (1) CN102780703A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142022A (en) * 2015-08-12 2015-12-09 浪潮软件集团有限公司 Production upgrading method for high-security set top box
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN108012170A (en) * 2017-12-05 2018-05-08 晶晨半导体(上海)股份有限公司 A kind of remote controler key assignments upgrade-system and method
CN108897556A (en) * 2018-07-16 2018-11-27 四川长虹网络科技有限责任公司 Set-top box creation data wiring method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029196A (en) * 1997-06-18 2000-02-22 Netscape Communications Corporation Automatic client configuration system
CN101136825A (en) * 2007-10-10 2008-03-05 中兴通讯股份有限公司 Asynchronous configuration information management method and system for client terminal/server structure
CN101309174A (en) * 2008-06-27 2008-11-19 中兴通讯股份有限公司 Network management data uploading method and system
CN101409778A (en) * 2008-11-07 2009-04-15 深圳创维数字技术股份有限公司 Method and apparatus for upgrading set-top box software
CN102081537A (en) * 2010-12-31 2011-06-01 青岛海信宽带多媒体技术有限公司 Method for upgrading software
CN102243592A (en) * 2011-07-01 2011-11-16 南京熊猫信息产业有限公司 Method and set top box for realizing multiple upgrading ways in Loader system
CN102289382A (en) * 2011-08-30 2011-12-21 青岛海信电器股份有限公司 Method, device and system for updating television software
CN102298530A (en) * 2011-08-19 2011-12-28 深圳创维数字技术股份有限公司 Set top box software upgrading method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029196A (en) * 1997-06-18 2000-02-22 Netscape Communications Corporation Automatic client configuration system
CN101136825A (en) * 2007-10-10 2008-03-05 中兴通讯股份有限公司 Asynchronous configuration information management method and system for client terminal/server structure
CN101309174A (en) * 2008-06-27 2008-11-19 中兴通讯股份有限公司 Network management data uploading method and system
CN101409778A (en) * 2008-11-07 2009-04-15 深圳创维数字技术股份有限公司 Method and apparatus for upgrading set-top box software
CN102081537A (en) * 2010-12-31 2011-06-01 青岛海信宽带多媒体技术有限公司 Method for upgrading software
CN102243592A (en) * 2011-07-01 2011-11-16 南京熊猫信息产业有限公司 Method and set top box for realizing multiple upgrading ways in Loader system
CN102298530A (en) * 2011-08-19 2011-12-28 深圳创维数字技术股份有限公司 Set top box software upgrading method and device
CN102289382A (en) * 2011-08-30 2011-12-21 青岛海信电器股份有限公司 Method, device and system for updating television software

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105142022A (en) * 2015-08-12 2015-12-09 浪潮软件集团有限公司 Production upgrading method for high-security set top box
CN105426940A (en) * 2015-12-17 2016-03-23 福建新大陆通信科技股份有限公司 Automatic factory production method and system for set-top boxes
CN108012170A (en) * 2017-12-05 2018-05-08 晶晨半导体(上海)股份有限公司 A kind of remote controler key assignments upgrade-system and method
CN108897556A (en) * 2018-07-16 2018-11-27 四川长虹网络科技有限责任公司 Set-top box creation data wiring method

Similar Documents

Publication Publication Date Title
US20070121527A1 (en) System and method for remote dynamic network configuration
CN101937351B (en) Method and system for automatically installing application software
CN102630046B (en) Data acquisition system, method, set-top box, network server
CN103200247B (en) A kind of data download method and PC download client
CN102802059A (en) Set-top box configuring method, device and system
CN102780703A (en) Information writing system and method of set-top box
CN102081537A (en) Method for upgrading software
CN106020862A (en) Webpage based network mass production method and device
CN109819562B (en) System for wirelessly upgrading DMX lamp by computer
CN111459524A (en) Software upgrading method, device and system
CN103079107A (en) Loading method for operating system of set top box and set top box
CN104793998A (en) Terminal system resource management method and device
CN101790029A (en) Method for performing read-write operation on set top box
CN104079610A (en) Cloud server, and method and system for cloud synchronization of application software
CN101510948A (en) Method for updating set-top box software
CN103179565B (en) Based on security information interaction system and the method for thin terminal pattern
CN106453368A (en) Control method and apparatus of intelligent device
CN102333070A (en) Method and device for obtaining information
CN105490857A (en) FC network equipment logic remote upgrading system
CN104536789A (en) Data burning method and data burning device
CN104080077A (en) Data synchronization method and device based on smart cards
US20180113829A1 (en) Electronic apparatus and coupling method
CN101615124A (en) The update system of portable executive program and method thereof
CN107977216B (en) Method, system and device for updating component program based on instrument
CN105141616A (en) Method and device for management of distributed 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
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121114