A kind of method and device thereof that carries out TV set software upgrade
Technical field
The present invention relates to TV technology, particularly relate to a kind of method and device thereof that carries out TV set software upgrade.
Background technology
Television set is one of household appliances of the most normal use in people's daily life, and people can understand national affairs, topical news by TV, pay close attention to international situation, world peace, share the economic construction achievement of China; Can also understand, grasp various general knowledge such as economy, law, life by TV, understand, grasp modern science and technology knowledge; Can also watch programs such as movie and television play, music, Chinese folk art forms, physical culture by TV; TV has greatly enriched people's life, we can say, TV has become and one of closely bound up and indispensable articles for use of daily life.
In television set, include complex control software usually, switch as importing audio-video signal, standard identification, signal processing, display driver and OSD show control etc., these Control Software are stored in the interior nonvolatile storage of television set, as EEPROM, Flash etc.Along with further developing of TV tech, particularly by the development of simulated television to Digital Television, television function is more and more, and the Control Software in the television set also becomes increasingly complex, and the television set of energy support software upgrading all presses for for manufacturer and user; To manufacturing firm, can come the bugs of fixed software system by software upgrading, by constantly improving software systems, give full play to the function of hardware platform and strengthen image quality; And, then can give full play to the function of hardware platform by software upgrading easily to the user, and improve image quality, increase new function, improve the value preserving function of television set.Though the upgrading of part television set support software is arranged at present, all needs by RS232 interface or I
2C interface is connected with computer, through realizing the software upgrading of television set behind the operational computations machine, more television set then not only will rely on computer and operate, but also to turn on the casing of television set, therefore caused the process of TV set software upgrade complicated, particularly be not convenient for television set is carried out the field software upgrading.
Summary of the invention
The objective of the invention is to overcome the deficiency of prior art, a kind of method and device thereof that carries out TV set software upgrade is provided, by with an external portable update device and upgrade interface such as the RS232 interface or the I of television set
2C interface is connected, utilize memory interface that this update device is provided with reading to the memory data file that stores upgrade software, and between update device and the television set by the data communication of upgrade interface, realized not relying on can the upgrade purpose of TV set software of computer.
The technical solution adopted for the present invention to solve the technical problems is: a kind of method of carrying out TV set software upgrade, it is to be connected by the upgrade interface that is complementary between an external portable update device and the television set, and have the memory that stores upgrade software on update device, it comprises the steps:
A. send the instruction of reading software reflection after the CPU of television set powers on to the CPU of update device by upgrade interface;
B. the CPU of update device reads the software image in the memory, and transmits software image by upgrade interface to television set, successfully sends the index signal of reflection to indicator light output after sending software image finishing;
C. the CPU of television set reads in the software image that is transmitted by the CPU of update device by upgrade interface;
D. the CPU of television set writes the software image that reads in the nonvolatile storage of television set, finishes the index signal of upgrading to indicator light output success in reflection upgrading back;
E. the CPU of television set is moving new software image after the start again.
Described upgrade interface is the RS232 interface.
Described upgrade interface is I
2C interface.
Described memory is built-in nonvolatile storage, and described non-volatile memory contains upgrade software.
The storage card of described memory for being inserted by the set interface card slot device of update device, described storage card internal memory contains upgrade software.
The USB flash disk of described memory for being inserted by the set USB interface device of update device, described USB flash disk internal memory contains upgrade software.
A kind of device that carries out TV set software upgrade, it comprises:
One RS232 interface arrangement is the RS232 interface of standard, its role is to provide an interface slot, this slot data wire of can pegging graft;
One I
2The C interface device is the I of standard
2C interface its role is to provide an interface slot, this slot data wire of can pegging graft;
One SD interface card slot device its role is to provide an interface slot, this slot can peg graft SD storage card, SM storage card, MMC storage card, Memory Stick storage card, Memory Stick PRO storage card, XD storage card;
One CF interface card slot device its role is to provide an interface slot, this slot can peg graft Compact Flash, Micro Driver storage card;
One USB interface device is the USB interface of standard, its role is to provide an interface slot, this slot USB flash disk of can pegging graft;
One cpu central processing unit, central processing unit can carry out complex calculations, can the signal of input be compared, judgement, calculation process, and the output control signal, control each parts and work harmoniously; Its role is to the storing card data file of SD interface card slot device, the insertion of CF interface card slot device or the data file of the USB flash disk that the USB interface device inserts are read, and transfer the data file that reads to RS232/I
2The C signal also passes through RS232/I
2C interface is sent;
One first memory, its role is to provides operational order that depositing immobilizes repeats and for CPU provides interim memory space for CPU, stores program, data, intermediate object program of current use etc.;
One second memory is nonvolatile storage, and data can not disappear after outage, can be wiped free of and rewrite under the control of software, and the memory space of its role is to provide jumbo, data access speed is fast can directly be stored the upgrade software reflection;
One indicating lamp device adopts LED to show, the control command that its role is to accept cpu central processing unit shows accordingly;
RS232 interface arrangement, I
2C interface device, SD interface card slot device, CF interface card slot device, USB interface device, first memory, second memory are connected with the corresponding port of cpu central processing unit respectively, and the index signal output of cpu central processing unit is connected to indicating lamp device.
During use, the RS232 interface arrangement of update device can be connected with the RS232 interface of television set, also can be with the I of update device
2The I of C interface device and television set
2C interface is connected, and so no matter television set is provided with the RS232 interface or is provided with the RS232 interface, can make between update device and the television set to realize being connected, and carries out the transmission of data.In television set, include Multiplexing Unit, A/D converting unit, signal processing unit, display driver unit, cpu central processing unit, Ram memory, Flash memory, RS232 interface or I
2C interface, its analog input input to signal processing unit after the A/D conversion and handle by multiplexing, and digital signals such as DVI/HDMI then directly input to signal processing unit, the TS stream that signal processing unit can also receiving digital television processing such as decode.Signal processing unit carries out multiplexing to above 3 kinds of inputs, go interlacing, convergent-divergent, and stack OSD etc. handles the rear drive display unit, as CRT/LCD/PDP etc.CPU then controls said process by bus.
In update device, being provided with upgrade interface is RS232 interface arrangement and I
2The C interface device so just goes for the television set of distinct interface; In update device, be provided with SD interface card slot device, CF interface card slot device, USB interface device and second memory, so just the upgrade software that is stored in the different storage mediums can both can be realized television set is carried out software upgrading by this update device; When software image is when being stored on the storage cards such as SD storage card, SM storage card, MMC storage card, Memory Stick storage card, MemoryStick PRO storage card, XD storage card, can utilize the data read of SD interface card slot device realization, and then realize software upgrading television set to SD storage card or SM storage card or MMC storage card or Memory Stick storage card or MemoryStick PRO storage card or XD storage card; When software image is when being stored in Compact Flash, Micro Driver storage card, can utilize the data read of CF interface card slot device realization, and then realize software upgrading television set to Compact Flash, Micro Driver storage card; When software image is when being stored in USB flash disk, can utilize the data read of USB interface device realization, and then realize software upgrading television set to USB flash disk; When software image be stored on other storage medium as the hard disk of computer on the time, can be earlier with update device by RS232 interface or I
2C interface is connected with computer, and the upgrade software of computer is deposited in the second memory of update device, and the CPU by update device is to the data read in the second memory and then realize software upgrading to television set then; Like this, manufacturer or after-sale service department are when carrying out software upgrading to television set, just need not carry computer, only need carry portable update device and corresponding storage card or USB flash disk thereof and get final product, feasible field software upgrading to television set becomes very easy, convenient.
When carrying out the software upgrading of television set, elder generation under off-mode, is RS232 interface or I with television set and update device by upgrade interface
2C interface is realized being connected, and corresponding storage card or USB flash disk are inserted in storage card slot or the USB slot, and then television set and update device are powered on respectively; After television set powered on, the CPU of television set carried out the initialization setting to its upgrade interface; After update device powered on, the CPU of update device carried out the initialization setting to its upgrade interface and memory interface.Then, in update device, the CPU of update device can be earlier detects the memory interface of update device, detecting with memory legal upgrading reflection is arranged after, and then the upgrade interface that transfers to update device detects, if update device has the upgrade interface that is connected to television set, then enter upgrade status, obtain information such as television set model by inquiry, send corresponding upgrading reflection and upgrade to television set, otherwise prompting error message, and power cut-off state; If working properly, update device successfully sends reflection to television set, and then update device indicates reflection to send successfully by indicator light, power cut-off state then, otherwise point out error message, and direct power cut-off state.In television set, the CPU of television set carries out in good time detection to the upgrade interface of television set, if upgrade interface has update device to insert, then system enters software upgrade process automatically, promptly reads in software image and software image is write in the nonvolatile storage of television set, after finishing software upgrading, television set is indicated by indicator light and is upgraded successfully, power cut-off state then, otherwise system transfers normal startup to, and direct power cut-off state; After upgrading successfully, television set is shut down, start can move new software image again.
The invention has the beneficial effects as follows, owing to adopted RS232 interface arrangement, I
2C interface device, SD interface card slot device, CF interface card slot device, USB interface device, cpu central processing unit, first memory, second memory, indicating lamp device constitute update device, are RS232 interface or I by the upgrade interface with this update device
2Corresponding being connected of the interface that is complementary of C interface and television set, utilize memory interface that this update device is provided with reading to the memory data that stores upgrade software, and between update device and the television set by the data communication of upgrade interface, realized not relying on can the upgrade purpose of TV set software of computer; Owing to be provided with RS232 interface and I2C interface in the update device, can adapt to the demand of different model TV upgrade interface; Owing to be provided with SD interface card slot device, CF interface card slot device, USB interface device and second memory in the update device, like this, just can be not limited to the storage medium of software image, can utilize update device of the present invention very easily television set to be carried out the field software upgrading; Adopt update device of the present invention to carry out software upgrading, have following superiority:
1) supports the field upgrade of TV set software and need not to open TV shell;
2) support the field upgrade of TV set software and do not rely on computer, convenient after sale;
3) support multiple upgrade interface, support the television set of multiple model;
4) support to read upgrade file convenient upgrading and after-sales service from various storage card/USB flash disks.
Description of drawings
Below in conjunction with drawings and Examples the present invention is described in further detail; But a kind of method and device thereof that carries out TV set software upgrade of the present invention is not limited to embodiment.
Fig. 1 is the structured flowchart of update device of the present invention;
Fig. 2 is the TV Principles block diagram;
Fig. 3 is the workflow diagram of update device of the present invention;
Fig. 4 is the software upgrading flow chart of television set of the present invention;
Fig. 5 is the TV Principles block diagram of another embodiment.
Embodiment
A kind of method of carrying out TV set software upgrade of the present invention, it is to be connected by the upgrade interface that is complementary between an external portable update device and the television set, and have the memory that stores upgrade software on update device, it comprises the steps:
A. send the instruction of reading software reflection after the CPU of television set powers on to the CPU of update device by upgrade interface;
B. the CPU of update device reads the software image in the memory, and transmits software image by upgrade interface to television set, successfully sends the index signal of reflection to indicator light output after sending software image finishing;
C. the CPU of television set reads in the software image that is transmitted by the CPU of update device by upgrade interface;
D. the CPU of television set writes the software image that reads in the nonvolatile storage of television set, finishes the index signal of upgrading to indicator light output success in reflection upgrading back;
E. the CPU of television set is moving new software image after the start again.
Wherein, memory can be built-in nonvolatile storage, contains upgrade software in this non-volatile memory; Memory also can be the storage card that is inserted by the set interface card slot device of update device, as SD storage card, SM storage card, MMC storage card, Memory Stick storage card, Memory StickPRO storage card, XD storage card, Micro Driver storage card, Compact Flash etc., these storage card internal memories contain upgrade software; Memory also can be the USB flash disk that is inserted by the set USB interface device of update device, and this USB flash disk internal memory contains upgrade software.
Extremely shown in Figure 4 referring to Fig. 1, a kind of device that carries out TV set software upgrade of the present invention, it comprises RS232 interface arrangement 1, I
2C interface device 2, SD interface card slot device 3, CF interface card slot device 4, USB interface device 5, cpu central processing unit 6, first memory 7, second memory 8, indicating lamp device 9; RS232 interface arrangement 1 is the RS232 interface of standard, and the effect of RS232 interface arrangement 1 is to provide an interface slot, this slot data wire of can pegging graft; I
2C interface device 2 is the I of standard
2C interface, I
2The effect of C interface device 2 is to provide an interface slot, this slot data wire of can pegging graft; The effect of SD interface card slot device 3 is to provide an interface slot, this slot can peg graft SD storage card, SM storage card, MMC storage card, Memory Stick storage card, Memory Stick PRO storage card, XD storage card; The effect of CF interface card slot device 4 is to provide an interface slot, this slot can peg graft Compact Flash, MicroDriver storage card; USB interface device 5 is the USB interface of standard, and the effect of USB interface device 5 is to provide an interface slot, this slot USB flash disk of can pegging graft; Cpu central processing unit 6 can carry out complex calculations, can the signal of input be compared, judgement, calculation process, and output control signal, control each parts works harmoniously, the effect of cpu central processing unit 6 is the data file of the USB flash disk of the storing card data file of SD interface card slot device 3,4 insertions of CF interface card slot device or 5 insertions of USB interface device is read, and transfers the data file that reads to RS232/I
2The C signal passes through RS232/I
2C interface is sent; The effect of first memory 7 is to provide operational order that depositing immobilizes repeats and for CPU provides interim memory space for CPU, stores program, data, intermediate object program of current use etc.; Second memory 8 is a nonvolatile storage, and data can not disappear after outage, can be wiped free of and rewrite under the control of software, and the memory space that the effect of second memory 8 is to provide is jumbo, data access speed is fast can be stored upgrade software; Indicating lamp device 9 adopts LED to show that the effect of indicating lamp device 9 is that the control command of accepting cpu central processing unit 6 shows accordingly; RS232 interface arrangement 1, I
2C interface device 2, SD interface card slot device 3, CF interface card slot device 4, USB interface device 5, first memory 7, second memory 8 are connected with the corresponding port of cpu central processing unit 6 respectively, and the index signal output of cpu central processing unit 6 is connected to indicating lamp device 9.
During use, the RS232 interface arrangement 1 of update device is connected with the RS232 interface 11 of television set, makes the transmission that can realize data between update device and the television set.In television set, include Multiplexing Unit 16, A/D converting unit 17, signal processing unit 18, display driver unit 19, cpu central processing unit 15, Ram memory 14, Flash memory 13, RS232 interface 11, its analog input is by multiplexing 16, inputing to signal processing unit 18 after A/D changes 17 handles, digital signals such as DVI/HDMI then directly input to signal processing unit 18, the TS stream that signal processing unit 18 can also receiving digital television processing such as decode.Signal processing unit more than 18 pairs 3 kinds of inputs carry out multiplexingly, go interlacing, convergent-divergent, stack OSD etc. handles rear drive display unit 19, as CRT/LCD/PDP etc.15 of cpu central processing units are controlled said process by bus.
In update device, being provided with upgrade interface is RS232 interface arrangement 1 and I
2C interface device 2 can carry out software upgrading by the RS232 interface 11 of television set; In update device, be provided with SD interface card slot device 3, CF interface card slot device 4, USB interface device 5 and second memory 8, so just the upgrade software that is stored in the different storage mediums can both can be realized television set is carried out software upgrading by this update device; When software image is when being stored on the storage cards such as SD storage card, SM storage card, MMC storage card, MemoryStick storage card, Memory Stick PRO storage card, XD storage card, the data read that can utilize SD interface card slot device 3 to realize to SD storage card or SM storage card or MMC storage card or MemoryStick storage card or Memory Stick PRO storage card or XD storage card, and then realization is to the software upgrading of television set; When software image is when being stored in Compact Flash, can utilize the data read of CF interface card slot device 4 realizations, and then realize software upgrading television set to Compact Flash, Micro Driver storage card; When software image is when being stored in USB flash disk, can utilize the data read of USB interface device 5 realizations, and then realize software upgrading television set to USB flash disk; When software image be stored on other storage medium as the hard disk of computer on the time, can be earlier with update device by RS232 interface 1 or I
2C interface 2 is connected with computer, and the upgrade software of computer is deposited in the second memory 8 of update device, and the CPU by update device is to the data read in the second memory 8 and then realize software upgrading to television set then; Like this, manufacturer or after-sale service department are when carrying out software upgrading to television set, just need not carry computer, only need carry portable update device and corresponding storage card or USB flash disk thereof and get final product, feasible field software upgrading to television set becomes very easy, convenient.
When carrying out the software upgrading of television set, want earlier under off-mode, is that RS232 interface 1 is realized being connected with the RS232 interface 11 of television set with the upgrade interface of update device, and corresponding storage card or USB flash disk inserted in storage card slot 3,4 or the USB slot 5, and then television set and update device are powered on respectively; After television set powered on, the cpu central processing unit 15 of television set carried out the initialization setting to its RS232 interface 11, shown in frame 321; After update device powered on, the cpu central processing unit 6 of update device carried out the initialization setting to its RS232 interface 1 and memory interface, shown in frame 311.Then, in update device, cpu central processing unit 6 meetings of update device detect the memory interface of update device earlier, detecting with memory legal upgrading reflection is arranged after, and then the RS232 interface 1 that transfers to update device detects, shown in frame 312, if update device has the RS232 interface 11 that is connected to television set, then enter upgrade status, obtain information such as television set model by inquiry, send corresponding upgrading reflection and upgrade to television set, shown in frame 313, otherwise the prompting error message, shown in frame 315, and the power cut-off state; If working properly, update device successfully sends reflection to television set, and then update device indicates reflection to send successfully by indicator light, shown in frame 314, and power cut-off state then, otherwise point out error message, and the power cut-off state.In television set, the CPU of television set is that RS232 interface 11 carries out in good time detection to the upgrade interface of television set, shown in frame 322, if RS232 interface 11 has update device to insert, then system enters software upgrade process automatically, promptly read in software image and software image is write in the nonvolatile storage of television set, shown in frame 323, frame 324, after finishing software upgrading, television set is indicated by indicator light and is upgraded successfully, shown in frame 325, power cut-off state then, otherwise system transfers normal startup to, shown in frame 326, and the power cut-off state; After upgrading successfully, television set is shut down, start can move new software image again.
Fig. 5 is the TV Principles block diagram of another embodiment, and the set upgrade interface of the television set of this structure is I
2C interface 12 when then utilizing update device of the present invention to carry out the software upgrading of television set, is that another upgrade interface with update device is I
2 C interface device 2 is I with the upgrade interface of television set
2C interface 12 is connected, and makes the transmission that can realize data between update device and the television set.Its escalation process as hereinbefore.