CN101135976A - Software update method and system - Google Patents

Software update method and system Download PDF

Info

Publication number
CN101135976A
CN101135976A CNA200610121976XA CN200610121976A CN101135976A CN 101135976 A CN101135976 A CN 101135976A CN A200610121976X A CNA200610121976X A CN A200610121976XA CN 200610121976 A CN200610121976 A CN 200610121976A CN 101135976 A CN101135976 A CN 101135976A
Authority
CN
China
Prior art keywords
mentioned
software
main frame
embedded equipment
nonvolatile memory
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
CNA200610121976XA
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.)
Ali Corp
Original Assignee
Ali Corp
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 Ali Corp filed Critical Ali Corp
Priority to CNA200610121976XA priority Critical patent/CN101135976A/en
Publication of CN101135976A publication Critical patent/CN101135976A/en
Pending legal-status Critical Current

Links

Images

Abstract

The system comprises: a main computer, where a software program is saved, coupled to at least one device to be processed through a connection interface. Said device to be processed comprises a program and a non-volatile memory to be updated; said main computer starts up a software update program and sends the update software to the device to be processed through the connection interface; said device to be processed executes the program to receive said software and writes it into the non-volatile memory as the main program of the embedded type device.

Description

Oftware updating method and system
Technical field
The invention relates to computer technology, and be particularly to Oftware updating method and system.
Background technology
Multiple now Embedded device all has its inner working of microprocessor controls, as commodity on the market: the music player of forms such as multifunctional digital disc (Digital Versatile Disc/Disk is called for short DVD) player, set-top box (Set Top Box), mobile phone (Mobile Phone) and MP3.Software or firmware in the controller actuating unit are controlled operation, and these softwares or firmware are the main programs of control embedded system, operating system as embedded system, so these embedded equipments all are software (software) or the firmware (firmware) that device is required when producing, write storage device by CD writer in advance, as flash memory (Flash memory), and then this storage device is soldered on printed circuit board (PCB) (Printed Circuit Board the is called for short PCB) plate of embedded equipment.
Fig. 1 shows the synoptic diagram of CD writer.CD writer 120 connects computer installation 100, and has nine slots and loam cake on it.Before carrying out imprinting, operating personnel take out memory chip 130 and be installed on slot 122 from pallets, and close loam cake 121, and after all slots had been installed memory chip all and closed loam cake, beginning imprinting software was to memory chip.Open loam cake after all memory chip imprintings are finished, and storer is put back to this pallet, be soldered to pcb board again.Folding loam cake action increases the time of operating personnel in the imprinting operation, and has the risk of losing chip pin (pin) when memory chip is installed.And the price of this CD writer is high.
Such production procedure not only needs extra recording device, also expends time in.If run into the software upgrading failure, just the Flash storer must be taken off from pcb board, be put into imprinting again on the CD writer.
Summary of the invention
In view of this, purpose of the present invention provides a method and device can connect many machines simultaneously for the plant produced line in design to carry out imprinting, and do not need extra recorder, to save this road program of prior imprinting Flash storer, even run into the software upgrading failure, also can repeat imprinting once more up to success.
Based on above-mentioned purpose, the embodiment of the invention provides a kind of software update system, comprises main frame, connecting interface and embedded equipment.Above-mentioned main frame stores a software, and is coupled at least one pending device by above-mentioned connecting interface.Above-mentioned connecting interface is as the transmission medium that above-mentioned software is sent to this at least one pending device.Above-mentioned embedded equipment comprises a nonvolatile memory to be updated and a program, and is connected to above-mentioned connecting interface as a pending device.When above-mentioned main frame transmitted above-mentioned software by above-mentioned connecting interface, above-mentioned embedded equipment was carried out said procedure receiving above-mentioned software, and above-mentioned software is write the supreme nonvolatile memory of stating, as the operating system of embedded equipment.When above-mentioned connecting interface connected a plurality of pending device, above-mentioned main frame can be exported above-mentioned software synchronously to above-mentioned a plurality of pending devices.
Wherein, said procedure can be stored in the ROM (read-only memory) in the control chip in the above-mentioned embedded equipment.In the manufacturing course of above-mentioned control chip, said procedure can be formed in the above-mentioned control chip by mask.
Above-mentioned nonvolatile memory can treat that above-mentioned main frame upgrades its memory content not writing the printed circuit board that just has been welded in above-mentioned embedded equipment before the data.
Above-mentioned embedded equipment can comprise multifunctional digital disc (Digital VersatileDisc/Disk is called for short DVD) player, set-top box (Set Top Box), mobile phone (MobilePhone), music player or other device.
In addition, the embodiment of the invention provides a kind of Oftware updating method, comprises the following step: store a software in a main frame.Above-mentioned main frame is coupled at least one pending device by a connecting interface.Above-mentioned pending device comprises a program and a nonvolatile memory to be updated.By above-mentioned host-initiated one software upgrading program, to transmit above-mentioned software by above-mentioned connecting interface to above-mentioned pending device.Above-mentioned pending device is carried out said procedure receiving above-mentioned software, and above-mentioned software is write the supreme nonvolatile memory of stating, as the operating system of embedded equipment.
Description of drawings
Fig. 1 shows the synoptic diagram of firmware CD writer;
Fig. 2 software for display update system synoptic diagram;
Fig. 3 shows the structural representation of the example of slave;
Fig. 4 shows the manufacturing course synoptic diagram of embedded equipment;
Fig. 5 shows the real embodiment that makes pcb board of connecting interface; And
The embodiment process flow diagram of Fig. 6 software for display update method.
Symbol description:
100~computer installation; 120~CD writer; 121~loam cake; 122~slot; 130~memory chip; 200~main frame; 201~software; 202~imprinting module; 210~connecting interface; 220~software update system; D1~D16~slave; 301~control chip; 302~ROM (read-only memory); 303~program; 304~nonvolatile memory; 305~pcb board; 500~pcb board; 501~electric pressure converter; 502~driving circuit; 503~amplifier; 505~signal; 506~signal.
Embodiment
Below explanation is preferred embodiment of the present invention.Its objective is to illustrate the general principle of the present invention, should not be considered as restriction of the present invention, scope of the present invention when with claim the person of being defined be as the criterion.
Software update system and method are below proposed.Software update system is followed the imprinting model (Model) of client/server proposed below (Host-Slave), and main frame (Host device) receives user's order to provide upgrading required software or firmware.Slave (Slave device) or be called pending device then for by the object of imprinting.Main frame can connect many slaves simultaneously, below is hardware structure and executive routine.
Aspect hardware structure, please refer to Fig. 2, main frame 200 is connected in connecting interface 201, to be coupled to slave D1~D16.Main frame 200 comprises software 201 and imprinting module 202 (or being called the imprinting program).Main frame 20O can transmit software 201 and imprinting module 202 to slave D1~D16.Software 201 can be used as the operating system of slave D1~D16.Slave D1~D16 can be any embedded equipment, for example music player or other electronic installation of DVD player, set-top box (Set Top Box is called for short STB), mobile phone, refrigerator, various forms.
Fig. 3 shows the structural representation of the example of slave.Slave D1 can comprise pcb board 305.Control chip 301 and nonvolatile memory 304 all are welded in pcb board 305.Nonvolatile memory 304 can be blank storer, the storer of flash storer or other type for example, and do not write software 201 or imprinting module 202.Therefore, be different from traditional manufacturing course, nonvolatile memory 304 need not carry out the software imprinting before being welded in pcb board 305.Perhaps needing under the situation of update software, the software of legacy version or fault is stored in nonvolatile memory 304 and waits to receive renewal.200 in main frame can be a personal computer, and the slave that perhaps has software 201 and imprinting module 202 also can be used as main frame.
Control chip 301 has a ROM (read-only memory) 302 and is storing program 303.Program 303 is the most crucial program of slave D1, is responsible for and main frame 200 communications, to carry out stage renewal.The task of program 303 comprises:
1. the communication between beginning and the main frame 200,
2. receiving software 201 and imprinting module 202,
3. software 201 and imprinting module 202 are written to suitable storage device position,
4. carry out imprinting module 202, and
5. finish above-mentioned communication.
After slave D1 imprinting is finished, can be used as main frame to upgrade other slave, this moment, the task of program 303 comprised:
1. the communication between beginning and other slave,
2. transmit software 201 and imprinting module 202, and
3. finish above-mentioned communication.
ROM (read-only memory) 302 can be a mask ROM.In the manufacturing course of above-mentioned control chip 301, program 303 is formed at ROM (read-only memory) 302 in the above-mentioned control chip with mask.Need be appreciated that ROM (read-only memory) 302 also can be arranged at outside the control chip 301, program 303 also can be stored in other storer outside the control chip 301.
With reference to Fig. 4, stage S400 is the manufacturing course of control chip 301.Program 303 can be in this stage will be formed at ROM (read-only memory) 302 in the control chip 301 with mask.Among the stage S402, welding control chip 301 and nonvolatile memory 304 are in pcb board 305.Nonvolatile memory 304 can be blank storer.Among the stage S404, utilize software update system 22O with the nonvolatile memory of imprinting software to slave D1~D16.Therefore.Be different from traditional manufacturing course, nonvolatile memory 304 need not carry out the software imprinting before being welded in pcb board 305.The software of embedded equipment (as program 303 and operating system) then can be mounted to this embedded equipment at stage S400 and stage S404 respectively by different way.If the space of ROM (read-only memory) 302 is enough, also can in stage S400, imprinting module 202 be stored to wherein.
According to client/server, from the main frame to the slave, the centre is through a connecting interface to main for the signal flow of software update system 220.As shown in Figure 5, this connecting interface 201 can make pcb board 500 in fact, is called one-to-many and upgrades plate (1-to-N Upgrade Board).Pcb board 500 main functions are with after doing conversion from the voltage of the signal 505 of main frame 200 through electric pressure converter (Voltage Converter) 501, through driving circuit 502 with signal replication, by amplifier (Amplifier) 503, signal 506 is delivered to slave D1~D16 at last.Signal 505 after driving circuit 502 will be changed is copied into synchronous signal, and the channel of isolating each signal is to avoid interference.Connecting interface 210 can connect 16 pending devices.The specification that to follow RS-232 (Recommendedstandard-232) that is connected of connecting interface 201 and main frame and slave.Yet when program 3O3 can read network package, connecting interface also can replace with network, for example LAN (local area network is called for short LAN) or world-wide web.
The software upgrading order is sent with driving host 200 by a user, and main frame 200 also can be notified the user, the state that order is performed.
The software upgrading program can be divided into following three phases:
1. download the imprinting program: the imprinting program is transmitted automatically to slave D1~D16 in main frame 200 start backs; Slave D1~D16 temporarily is stored in it in apparatus for temporary storage, and carries out the imprinting program.
2. download and upgrade program code: user's operating host 2OO is to begin upgrading, and main frame 200 is at first got in touch with slave D1~D16, and notice slave D1~D16 will transmit new software program code now, and temporarily is stored in the apparatus for temporary storage; After downloading successfully, slave D1~D16 notice main frame 200 is downloaded with the user and is finished.
3. beginning imprinting: user's operating host 200 is with the beginning imprinting, and main frame 20O can notify in the nonvolatile memory 304 that new software program code that slave D1~D16 will keep in just now or archives are burnt to slave; After imprinting was finished, slave D1~D16 notice main frame 200 was finished with user's imprinting.
Need be appreciated that above-mentioned subordinate phase and phase III can merge execution.In other words, slave D1~D16 can write in the nonvolatile memory 304 when receiving new software program code immediately.When transmitting software 201 and imprinting module 202, the unit that software 201 and imprinting module 202 can be divided into data frame (data frame) or package (packet) transmits.303 unscrambling data frames of program or package, and data frame or package that reorganization is according to this received become software 201 and imprinting module 202.Perhaps, imprinting module 202 can be ceded territory to be sent to slave D1-D16 without branch, carry out by imprinting module 202 again as above-mentioned deciphering and reorganization operation.
With reference to the embodiment of Fig. 6 with explanation Oftware updating method executive routine.Below be example explanation with slave D1, but need be appreciated that, when connecting interface 210 connect a plurality of pending devices (for example during slave D1~D16), above-mentioned main frame synchronously the above-mentioned software of output to above-mentioned a plurality of pending devices to carry out software upgrading and imprinting.
The software upgrading order is sent with driving host 200 by a user, behind the main frame 200 reception mentioned orders (step S600), transmits imprinting module 202 to slave D1 with response mentioned order (step S602).Slave D1 executive routine 303 is to keep in imprinting module 202 at apparatus for temporary storage (for example zone in the nonvolatile memory 304 or the temporary storage in the control chip 301) (step S604), repay the reception storage condition (step S606) of imprinting module 202, and carry out imprinting module 202 in after a while.
The situation that main frame 200 is judged above-mentioned repayment is perhaps operated by the user and is driven (step S608) to automatically perform step S510.
Main frame 200 transmits software 201 to slave D1 (step S610), and slave D1 executive routine 303 is with temporary software 201 (step S612) in apparatus for temporary storage.After downloading successfully, slave D1 notice main frame 200 is downloaded and is finished report (step S614).Main frame 200 can show the information (step S616) of finishing of downloading.
The above-mentioned report of main frame 200 judgements is perhaps operated by the user and is driven imprinting (step S618) to automatically perform step S520.
The software 201 that main frame 2OO can notify slave D1 execution imprinting module 202 to keep in just now is burnt to the nonvolatile memory 304 interior (step S620) of slave, and slave D1 then begins imprinting (step S622).After imprinting was finished, slave D1 finished (step S624) to main frame 200 report imprintings.Main frame 200 can show that imprinting finishes information (step S626).
In the example of Fig. 6, program 303 has been downloaded imprinting module 202 and software 201, and imprinting module 202 then is just to be performed before imprinting is carried out.Yet, need be appreciated that, also can carry out the download of subordinate phase by imprinting module 202.
After software 201 is burnt to the nonvolatile memory 304 of slave, slave D1~D16 with above-mentioned software as its operating system or main program (main program).Slave D1~D16 is with after connecting interface 210 separates, executive software 201 when opening again but not program 303.
Said method and system can connect many machines simultaneously for the plant produced line and carry out imprinting, even run into the software upgrading failure, also can repeat imprinting once more, and not need extra recorder, be mounted to the imprinting Flash memory program of pcb board with elder generation to save storer up to success.Above-mentioned Oftware updating method is upgraded by host driven, makes many pending devices can be updated in house software or firmware synchronously.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; has common knowledge in the technical field under any; without departing from the spirit and scope of the present invention; when can being used for a variety of modifications and variations, so protection scope of the present invention is as the criterion when looking the claim person of defining.

Claims (12)

1. software update system comprises:
One main frame stores a software;
One connecting interface is in order to be connected at least one pending device from above-mentioned main frame, as the transmission medium that above-mentioned software is sent to this at least one pending device; And
One embedded equipment, the nonvolatile memory and the program that comprise content to be updated, and be connected to above-mentioned connecting interface as a pending device, wherein, when above-mentioned main frame transmits above-mentioned software by above-mentioned connecting interface, above-mentioned embedded equipment is carried out said procedure receiving above-mentioned software, and above-mentioned software is write the supreme nonvolatile memory of stating, as the operating system of embedded equipment.
2. software update system as claimed in claim 1, wherein, said procedure is stored in the above-mentioned embedded equipment in the ROM (read-only memory).
3. software update system as claimed in claim 2, wherein, above-mentioned embedded equipment also comprises a control chip, and said procedure is embedded in the above-mentioned control chip.
4. software update system as claimed in claim 3 wherein, in the manufacturing course of above-mentioned control chip, is formed at said procedure in the above-mentioned control chip with mask.
5. software update system as claimed in claim 1, wherein, above-mentioned embedded equipment comprises a printed circuit board, and above-mentioned nonvolatile memory has been welded in above-mentioned printed circuit board.
6. software update system as claimed in claim 1, wherein, when above-mentioned connecting interface connects a plurality of pending device, above-mentioned main frame synchronously the above-mentioned software of output to above-mentioned a plurality of pending devices.
7. software update system as claimed in claim 6, wherein, above-mentioned connecting interface connects 16 pending devices.
8. software update system as claimed in claim 1, wherein, above-mentioned main frame also transmits an imprinting module, and above-mentioned embedded equipment is carried out said procedure receiving above-mentioned imprinting module, and then carries out above-mentioned imprinting module above-mentioned software is write the supreme nonvolatile memory of stating.
9. software update system as claimed in claim 1, wherein, above-mentioned embedded equipment comprises multifunctional digital disk player, set-top box, mobile phone or music player.
10. Oftware updating method comprises:
Store a software in a main frame, wherein above-mentioned main frame is coupled at least one pending device by a connecting interface, and above-mentioned pending device comprises a program and a nonvolatile memory to be updated;
By above-mentioned host-initiated one software upgrading program, to transmit above-mentioned software by above-mentioned connecting interface to above-mentioned pending device; And
Above-mentioned pending device is carried out said procedure receiving above-mentioned software, and above-mentioned software is write the supreme nonvolatile memory of stating, as the operating system of embedded equipment.
11. Oftware updating method as claimed in claim 10, wherein, above-mentioned pending device is an embedded equipment.
12. Oftware updating method as claimed in claim 10, wherein, above-mentioned nonvolatile memory did not write any data in the past being welded in above-mentioned printed circuit board.
CNA200610121976XA 2006-08-30 2006-08-30 Software update method and system Pending CN101135976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA200610121976XA CN101135976A (en) 2006-08-30 2006-08-30 Software update method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA200610121976XA CN101135976A (en) 2006-08-30 2006-08-30 Software update method and system

Publications (1)

Publication Number Publication Date
CN101135976A true CN101135976A (en) 2008-03-05

Family

ID=39160085

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA200610121976XA Pending CN101135976A (en) 2006-08-30 2006-08-30 Software update method and system

Country Status (1)

Country Link
CN (1) CN101135976A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073521A (en) * 2011-01-06 2011-05-25 深圳市朗驰欣创科技有限公司 Software updating system of plug-in card type machine and software updating method
CN102117234A (en) * 2011-03-23 2011-07-06 惠州Tcl移动通信有限公司 Method for recovering original software by mobile terminal in software upgrading failure
CN102750171A (en) * 2012-06-27 2012-10-24 苏州奇可思信息科技有限公司 Software update system
WO2013004175A1 (en) * 2011-07-05 2013-01-10 华为终端有限公司 Software upgrading method and apparatus for electronic devices
CN103237252A (en) * 2013-03-22 2013-08-07 深圳市九洲电器有限公司 Method and device for burning set-top box storage chips
CN104249228A (en) * 2013-06-26 2014-12-31 罗伯特·博世有限公司 Welding device and method for configuring welding device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073521A (en) * 2011-01-06 2011-05-25 深圳市朗驰欣创科技有限公司 Software updating system of plug-in card type machine and software updating method
CN102073521B (en) * 2011-01-06 2014-01-22 深圳市朗驰欣创科技有限公司 Software updating system of plug-in card type machine and software updating method
CN102117234A (en) * 2011-03-23 2011-07-06 惠州Tcl移动通信有限公司 Method for recovering original software by mobile terminal in software upgrading failure
WO2013004175A1 (en) * 2011-07-05 2013-01-10 华为终端有限公司 Software upgrading method and apparatus for electronic devices
CN102750171A (en) * 2012-06-27 2012-10-24 苏州奇可思信息科技有限公司 Software update system
CN103237252A (en) * 2013-03-22 2013-08-07 深圳市九洲电器有限公司 Method and device for burning set-top box storage chips
CN104249228A (en) * 2013-06-26 2014-12-31 罗伯特·博世有限公司 Welding device and method for configuring welding device
CN104249228B (en) * 2013-06-26 2019-05-28 罗伯特·博世有限公司 Welding equipment and method for configuring welding equipment

Similar Documents

Publication Publication Date Title
CN101135976A (en) Software update method and system
US11656743B2 (en) System and method for flexible configuration of a controlling device
CN100381013C (en) Control system
US10984651B2 (en) System and method for appliance control via a network
US10006654B2 (en) NFC configuration of HVAC equipment
CN100501792C (en) System and method to control a device using a remote control device and a soft remote control
CN102204215A (en) Touch-sensitive wireless device and on screen display for remotely controlling a system
CN101673202A (en) Program writing method and system, pre-writing device and writing device
EP2168036A2 (en) Image display apparatus and method for controlling the same
CN109802876B (en) Little intelligent home systems
CN102984209A (en) Distributing method of application program and terminals thereof
CN102598605A (en) System and method for activity based configuration of an entertainment system
CN102217199A (en) Communicating codeset information as part of a native application
CN111399922B (en) Dual-system display device and system
CN103731733A (en) Version upgrading method and electronic device
US7047283B1 (en) Apparatus and method of upgrading program of firmware board
US7788442B2 (en) Computer memory accessible in either power state of the computer
CN101944072A (en) Method and equipment for configuring starting mode of terminal equipment
KR20230103777A (en) System for upgrading of home appliances and method thereof
CN1170215C (en) Pisplay interface with double basic input and output system and computer with said display interface
TW200811708A (en) Software update methods and systems
USRE40422E1 (en) Device and methods for repeatedly updating the function of a LCD monitor
CN106647341B (en) A kind of vehicle-carrying display screen independently lights method and apparatus
CN102855108A (en) Display control device
CN104239241A (en) Data card, data card switching method and device

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