CN101763272A - Electronic device firmware updating method and system - Google Patents

Electronic device firmware updating method and system Download PDF

Info

Publication number
CN101763272A
CN101763272A CN200810202278A CN200810202278A CN101763272A CN 101763272 A CN101763272 A CN 101763272A CN 200810202278 A CN200810202278 A CN 200810202278A CN 200810202278 A CN200810202278 A CN 200810202278A CN 101763272 A CN101763272 A CN 101763272A
Authority
CN
China
Prior art keywords
firmware
electronic installation
electronic device
firmware data
operation maintenance
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
CN200810202278A
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.)
HUANXU ELECTRONICS CO Ltd
Original Assignee
HUANXU ELECTRONICS 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 HUANXU ELECTRONICS CO Ltd filed Critical HUANXU ELECTRONICS CO Ltd
Priority to CN200810202278A priority Critical patent/CN101763272A/en
Publication of CN101763272A publication Critical patent/CN101763272A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an electronic device firmware updating method and system. The electronic device has the network connection function. The method of the invention comprises the following steps: at start-up, entering a security update mode before the operating system is loaded; starting the network service functions of the electronic device in a safe mode, including starting to intercept a connection request; establishing network connection after intercepting the connection request, receiving an operation and maintenance instruction to the firmware data of the electronic device; and according to the operation and maintenance instruction, performing operations to the corresponding firmware data of the electronic device. The system comprises a firmware storing unit and an updating unit, wherein the updating unit contains a network module and a processing module. The system of the invention can update the electronic device firmware safely and easily, save the storage space of the hardware and reduce the waiting time of the user and the maintenance cost.

Description

Electronic device firmware updating method and system
Technical field
The invention relates to the method and system that a kind of electronic installation upgrades firmware data, especially a kind of electronic installation with network connecting function upgrades the method and system of firmware data.
Background technology
Existing many electronic equipments or computer apparatus can be obtained the refresh routine of firmware by the network connection, are used for revising the wrong of firmware or improve the stability and the usefulness of firmware.But be used in the firmware update of computer apparatus, for embedded system device or compact electronic device such as mobile phone, personal digital assistant, or be not enough to support firmware update or will improve cost of manufacture, so can't be suitable for the firmware update of computer apparatus complexity fully according to the firmware update of computer apparatus because of hardware is equipped with.
For example notification number 7,191,327 United States Patent (USP) (Internet-enabled device provisioning, upgrade and recovery mechanism) in, provide a default script (default script) to produce by power-on management program (boot loader) and verify two identical sector contingency tables in when start, produce and verify sector in internal memory again with the data in the contingency table of sector.
The power-on management program is in the process of checking sector contingency table, if when not finding any contingency table or finding the renewal flag, can utilize this script to set up required contingency table, wherein, this script may be indicated data download or other script the server of power-on management module from network.And if one of them sector contingency table is invalid, the power-on management program can utilize above-mentioned mode to duplicate an available contingency table.Yet said process need be used the master data and the script of this device, and these information all are placed in the long-range server.
After the finishing of checking sector contingency table, the power-on management program just loads another and starts script (start-up script), be used to refer to the software upgrading version that the power-on management program removes to check this device, and the information of software upgrading version is positioned on the server also.
Though above-mentioned patented technology can be reached the self-verifying script and carry out automatic software update, but the server that needs a special use is used for supplying connection to obtain script, device information at any time and upgrades, obviously increased whole building and be set to this, may be reflected at jointly on the cost of the device that uses this renewal technology.
Certainly, many embedded system devices or compact electronic device can utilize and use the network graphic interface (GUI) that provides in the root file system (Root Filesystem) to carry out the renewal of firmware, but carry before this kind update method is to be normally to have entered operating system after device is opened, if in the process of upgrading, take place unusual, for example power supply interrupts suddenly, or upgrade version error and cause device to make a mistake, after device starts once more, because firmware can't normally cooperate the running of hardware, promptly can't enter in the middle of the operating system, the user also can't remedy or carry out interrupted firmware update again and operate, device can only be sent back to maintenance manufacturer place and keep in repair the inconvenience and the waste of time that cause the user to use.In order to prevent the generation of said circumstances, during can depositing, partial devices stores a standby operating system or root file system within it normally, remedial measures with as main system failure the time, but unavoidably to take the memory headroom in many devices thus, form the increase of waste and manufacturing cost.
Or the start environment that has partially embedded system and device to provide by RedBoot, utilize command line interface (CLI) to key in instruction and carry out the renewal of firmware, but this mode is for general electronic installation user, be not that a kind of friendliness and mode of operation easily can't be used on the consumption electronic products widely.
In the firmware update operation of consumer electronic product or embedded system device, have at least above-mentioned shortcoming to exist at present, make general user dare not carry out the operation of firmware update easily; Can't guarantee also in upgrading the process of operation whether refresh routine can be finished smoothly, therefore the needs exploitation is a kind of can be under the environment of safety, allow common user at any time can easily carry out firmware update, promote the solution of electronic installation running stability and increase usefulness with cheap configuration.
Summary of the invention
Purpose of the present invention, be for a kind of electronic device firmware updating method and system are provided, these method and system can be carried out the program that electronic device firmware upgrades safely, need not to worry because the running that takes place suddenly is unusual or the mistake that takes place during firmware update and cause firmware update failure or even cause the collapse of whole electronic apparatus system, can apply to all electronic products widely.
Another object of the present invention, be for a kind of electronic device firmware updating method and system are provided, guarantee that electronic installation can upgrade firmware smoothly, need not worry refresh routine failure and deposit standby kernel operating system often, avoid taking the storage space of device.
Electronic device firmware updating method of the present invention and system, can also make the program of firmware update simple and understandable by one, the mode of easy operating carries out, simplify the program of firmware update operation and help to allow non-professional user also can finish refresh routine voluntarily, reduce electronic installation and must send manufacturing back to or sell the chance that manufacturer upgrades, can save user's stand-by period and minimizing cost of serving.
And to achieve the above object, wherein a kind of technical scheme according to the present invention, at this a kind of electronic device firmware updating method is proposed, this method comprises the following steps: at first at least, when electronic installation starts, judge whether that the security update pattern that need enter is to carry out the renewal operation of firmware: if judged result is found to enter this security update pattern, then after entering the security update pattern, under this pattern, start the network service function of this electronic installation, and continue to intercept whether connection request is arranged; If listen to connection request, promptly to set up the network connection and receive an operation maintenance command, this operation maintenance command is the operation that is used to indicate to the firmware data of this electronic installation; At last, according to received operation maintenance command, this electronic installation is carried out the renewal operation of firmware data.
Preferably, judge whether to enter in the step of this security update pattern, also comprise the following steps:
Whether detecting exists a startup command that enters this security update pattern;
If this order exists, then carry out the step that enters this security update pattern;
If this order does not exist, then judged after this electronic installation last time started and whether normally close;
If normally do not close after this electronic installation last time starts, then carry out and enter the step of this security update pattern, and remove the record of normally not closing after this electronic installation last time started; And
If normally closed after this electronic installation last time starts, then carry out the step that directly loads a kernel operating system.
Preferably, entering this startup command of above-mentioned security update pattern, is to send when the button that indication enters the security update pattern is triggered.
Preferably, after judging whether to enter the step of this security update pattern, also comprise the steps:
If do not enter this security update pattern, then directly load a kernel operating system.
Preferably, above-mentioned operation maintenance command comprises: upgrade this electronic installation firmware data, back up the firmware data of this electronic installation, or restart this electronic installation.
Preferably,, this electronic installation is upgraded in the step of firmware data operation, also comprise the following steps: according to above-mentioned operation maintenance command
If this operation maintenance command is for upgrading the firmware data of this electronic installation, read a new firmware data in order to upgrade from the device that sends operation maintenance command to this electronic installation;
Load the firmware stores unit of this new firmware data, replace original firmware data to the storing firmware data;
If this operation maintenance command reads and duplicates the firmware data of depositing in a firmware stores unit for the firmware data of this electronic installation of backup;
The firmware data that transmission is replicated is to the device storage of sending operation maintenance command to this electronic installation; And
If this operation maintenance command for restarting this electronic installation, restarts this electronic installation.
Preferably, enter the step of this security update pattern after, also comprise the steps:
Point out this electronic installation to enter the state of security update pattern with prompting cresset or prompt tone.
Preferably, above-mentioned operation maintenance command is to send by the more new option that this electronic installation sends to user's graphical interfaces.
In addition, for safety and finish the firmware update operation of electronic installation simply, the present invention reintroduces a kind of electronic device firmware update system according to the technical scheme of above-mentioned electronic device firmware updating method.Comprise a updating block and a firmware stores unit in this system, wherein, the firmware stores unit is the firmware data that is used to store this electronic installation; And also comprise a mixed-media network modules mixed-media and a processing module in this updating block.
This mixed-media network modules mixed-media is intercepted connection request simultaneously in order to the network service function of this electronic installation to be provided, and after having listened to connection request and having accepted, sets up network and connect, and provides one to upgrade the interface to receive an operation maintenance command by the network connection; Processing is operated or safeguarded to this processing module then according to the operation maintenance command that is received accordingly to the firmware data in the firmware stores unit.
Preferably, above-mentioned operation maintenance command comprises: upgrade this electronic installation firmware data, back up the firmware data of this electronic installation, or restart this electronic installation.
Preferably, above-mentioned electronic device firmware update system also comprises:
One internal storage unit, if above-mentioned operation maintenance command is for upgrading the firmware data of this electronic installation, reception is in order to upgrade a new firmware data of this electronic installation, this processing module reads this new firmware data from this internal storage unit, and is loaded on this firmware stores unit and replaces original firmware data.
Preferably, if above-mentioned operation maintenance command is the firmware data of this electronic installation of backup, this processing module reads and duplicates firmware data from this firmware stores unit, and transmits the redundant memory cell storage that the firmware data to that is replicated is sent the client terminal device of operation maintenance command by this mixed-media network modules mixed-media.
Preferably, above-mentioned electronic device firmware update system also comprises:
One security update pattern start unit sends a startup command to this mixed-media network modules mixed-media, notifies this mixed-media network modules mixed-media to start network connecting function, and points out with prompting cresset or prompt tone.
Preferably, above-mentioned security update pattern start unit is a button.
Preferably, above-mentioned security update pattern start unit is when detecting this electronic installation last time for undesired record of closing, and sends this startup command, and removes this electronic installation and last time be undesired record of closing.
Preferably, this mixed-media network modules mixed-media also transmits one and upgrades the interface and give the client terminal device that sends operation maintenance command, and this renewal interface is a graphical interfaces, and this operation maintenance command is that the more new projects according to this graphical interfaces send.
Preferably, above-mentioned electronic installation is an embedded system device.
Electronic installation of the present invention is by upgrading under a security update pattern, and electronic installation then need not be subject to the normal operation of operating system and carry out firmware update; And element that is possessed in the updating block and the data read message for changing, even operating system takes place unusual, as long as restart electronic installation, updating block still can carry out the operation of firmware update, and do not need extra storage space to back up a firmware data regularly, saved hardware memory space; In addition, so that being provided, the mode of upgrading the interface and receiving operation maintenance command carries out the operation of firmware update, have directly perceived in the operation and easy advantage, no matter observe from the angle of user or electronic installation running, the technological means that system or method of the present invention provided can both realize the purpose of above-mentioned security update and ease of Use.
Description of drawings
Fig. 1 is electronic device firmware updating method one a preferred embodiment process flow diagram of the present invention.
Fig. 2 is for entering the process flow diagram of security update pattern in electronic device firmware updating method one preferred embodiment of the present invention.
The process flow diagram of Fig. 3 for carrying out firmware update in another preferred embodiment of electronic device firmware updating method of the present invention.
Fig. 4 is the calcspar of electronic device firmware update system one preferred embodiment of the present invention.
[main element symbol description]
S101~S107 process step
S201~S209 process step
S211~S225 process step
4 electronic installations
40 updating blocks
400 mixed-media network modules mixed-medias
402 processing modules
42 firmware stores unit
44 internal storage units
46 security update pattern start units
5 client terminal devices
50 redundant memory cell
52 data storage cells
Embodiment
The invention provides a kind of electronic device firmware updating method and system, the erroneous effects that it can be guaranteed that the operation of firmware update is not subjected to the unexpected abnormality situation of electronic installation or take place when upgrading, do not need loaded down with trivial details operating performance yet, and can finish operations such as the renewal of firmware or preservation expediently the more new model of safety following simple and easy.For more detailed explanation and explanation is provided, below will cooperate process flow diagram and calcspar to explain orally, so that more clearly and clearly disclose technology used in the present invention and means.
Fig. 1 is the process flow diagram of a kind of electronic device firmware updating method embodiment provided by the present invention, please cooperate with reference to electronic device firmware update system embodiment calcspar shown in Figure 4.
Present embodiment at first after an electronic installation 4 starts, before the load operation system, enters a security update pattern (S101); Enter the network connecting function that starts electronic installation 4 after the security update pattern, promptly open the network service, for example: the network address (IP address) of this electronic installation 4 is represented in initialization, and intercept connection request from a client terminal device 5, and after accepting this request, set up a network and connect (S103); After setting up the network connection, receive the operation maintenance command of being sent from client terminal device 5, for example: upgrade firmware data (S105); Processing module 402 is according to this received operation maintenance command, the firmware data of electronic installation 4 is carried out corresponding renewal operation (S107), for example: read new firmware data and be loaded in the firmware stores unit 42 of storage electronics 4 firmware data, finish in the operation of upgrading firmware data.
Fig. 2 is among the another kind of electronic device firmware updating method embodiment provided by the present invention, judges whether enter the process flow diagram of security update pattern.See also Fig. 2 and cooperate Fig. 4 simultaneously, in the present embodiment, start electronic installation 4 backs (S201), judge whether to receive a startup command that enters the security update pattern earlier, for example the indication button that enters the security update pattern is triggered and sends this startup command (S203), if receive that this startup command then enters security update pattern (S205) but if do not receive startup command, then further judged after electronic installation 4 last time started and whether close because of abnormal factors, for example because system is absorbed in infinite loop or works as machine, it is overtime to cause system timer (as Watchdog Timer) to interrupt counting signal, and has write down this unusual closed condition (S207).If find that electronic installation 4 last time had the situation of cutting out unusually, also enter security update pattern (S205) this moment, and remove the record that electronic installation 4 last time cut out because of abnormal factors after entering the security update pattern earlier, each electronic installation 4 that starts all must enter the security update pattern because of this record after avoiding.Otherwise if no above-mentioned abnormal case, expression only is at this moment the flow process after generally starting, and then continues to carry out the step (S209) that loads a kernel operating system.
Next Fig. 3 has then represented the flow process of the firmware update of an electronic device firmware updating method embodiment provided by the present invention.As shown in Figure 3, enter the security update pattern after, the flow process of the firmware attended operation of being correlated with.Please cooperate simultaneously and consult Fig. 2, Fig. 3, shown in Figure 4, flash for prompting cresset or send prompt tone on electronic installation 4 for example is used for prompting to have entered the security update pattern, and following step procedure.Enter (S205) after the security update pattern, begin to start the network service function of electronic installation 4 by a mixed-media network modules mixed-media 400, a network address (S211) that comprises initial this electronic installation 4, continue to intercept connection request from client terminal device 5, judge whether to receive a connection request, for example: from the hypertext transmission communication agreement connection request (S213) of 80 ports.If receive connection request from client terminal device 5,400 of mixed-media network modules mixed-medias are accepted this connection request, set up network with client terminal device 5 and be connected (S215), setting up provides one to upgrade the interface after network connects, super word marking language page (html page) that comprises graphical interfaces for example, allow client terminal device 5 send an operation maintenance command according to the more new projects on the graphical interfaces, received (S217) by mixed-media network modules mixed-media 400, in the present embodiment, operation maintenance command is: the firmware data of backup electronic installation 4, upgrade the firmware data of electronic installation 4, or directly restart electronic installation 4.
Then, judge the operation maintenance command content that is received,, and carry out different renewals according to different operation maintenance command and operate (S219) for example by the operation maintenance command content that interface, general lock road (CGI) is analyzed and differentiation is received by processing module 402.In the present embodiment, if operation maintenance command is for restarting electronic installation 4, electronic installation 4 promptly restarts at once, returns among Fig. 2 and carries out once more below the step S201; If operation maintenance command is the firmware data of backup electronic installation 4, processing module 402 promptly reads the firmware data of depositing in the firmware stores unit 42, and be transferred to device by mixed-media network modules mixed-media 400 to electronic installation 4 transmit operation maintenance instructions in duplicating the back, also be to deposit (S221) in the redundant memory cell 50 of client terminal device 5, then can trigger restart key and restart electronic installation 4, perhaps turn back to the step that receives operation maintenance command, wait for the operation maintenance command (S217) that receives other again; If operation maintenance command is for upgrading the firmware data of electronic installation 4, then mixed-media network modules mixed-media 400 receives the new firmware data of uploading from the client terminal device 5 that sends operation maintenance command to electronic installation 4, in internal storage unit 44, processing module 402 reads in the new firmware data (S223) in the internal storage unit 44 again, and with in the new firmware data loading firmware storage unit 42, replace the firmware data (S225) that firmware stores unit 42 is stored originally, restart electronic installation 4 then, return the following execution of step S201 among Fig. 2.
Can find by the described flow process of the various embodiments described above, owing to before entering kernel operating system, must judge whether to carry out refresh routine earlier, therefore a read-only security update pattern is provided in update method provided by the present invention, in order to carry out renewal or backup operation to firmware data, once in kernel operating system, can't upgrade firmware even can guarantee that electronic installation 4 is preceding, or upgrade and fail, still there is secondary chance before the program that loads the core operation program, to upgrade or backup operation after starting once more, unlikely because the unusual and related running that influences firmware and electronic installation 4 hardware own of kernel operating system.
Fig. 4 is the calcspar of a kind of electronic device firmware update system embodiment provided by the present invention.Comprise an electronic installation 4 among this embodiment, it comprises: a updating block 40, a firmware stores unit 42, an internal storage unit 44 and a security update pattern start unit 46.Then comprise in the updating block 40: a mixed-media network modules mixed-media 400 and a processing module 402.
In the present embodiment, electronic installation 4 links a client terminal device 5, in order to the data of transport electronic device 4 firmware updates.Comprise a redundant memory cell 50 and a data storage cell 52 in the client terminal device 5, wherein data storage cell 52 has been deposited in order to revise electronic installation 4 mistakes or to promote the used new firmware data of its operational effectiveness, and this new firmware data can be read in from the medium of storage data such as a downloaded or a discs in advance; Redundant memory cell 50 then confession is deposited from the standby firmware data of electronic installation 4 downloads.
In the present embodiment, electronic installation 4 can be for having the various embedded system devices of network connecting function, as: mobile phone, personal digital assistant, Game device, audio-visual devices etc., it is obtained in order to after the new firmware data of upgrading from data storage cell 52, the operation that can directly in kernel operating system, upgrade by the network graphic interface, or carry out the backup operation of firmware data.But if in the process of under kernel operating system, upgrading, generation can't be finished the situation of renewal, for example when machine or firmware version mistake and make the mistake, may can't carry out kernel operating system behind the electronic installation 4 and continue intact refresh routine if start once more.
Cause the user electronic installation 4 can only be sent back to manufacturer repairs for fear of above-mentioned situation takes place, can provide described updating block 40 to give to carry out once more the chance of firmware update in the present embodiment, wherein, each item in the updating block 40 and the information of record pattern for revising, therefore no matter whether the kernel operating system of electronic installation 4 damages, and electronic installation 4 is started the activity did not influence that carry out according to the information in the updating block 40 back.
After electronic installation 4 started, the startup command that updating block 40 detecting earlier has the security update pattern start unit 46 of having no way of to be transmitted if receive this startup command, then entered a security update pattern, prepares to carry out the renewal and the maintenance of firmware data.After may being triggered from the button that an indication enters the security update pattern, startup command produces; Also may judge electronic installation 4 runnings by the element of being responsible for the supervisory system running in the electronic installation 4 has the different time to be produced, and for example aforesaid system timer detects the overtime situation of signal.
After entering the security update pattern, updating block 40 indication network modules 400 begin to start network service function, for example support a network address of internet communication protocol (IP), hypertext transmission communication agreement (HTTP) and initiating electron device 4, and continue to intercept the hypertext transmission communication agreement connection request that whether has from 80 ports.Connection request can send from client terminal device 5, for example the network address of electronic installation 4 is sent by hypertext transmission communication agreement, as the connection request that connects to electronic installation 4, after mixed-media network modules mixed-media 400 receives this connection request acceptance, electronic installation 4 and client terminal device 5 are connected, carry out the transmission of instruction and data.
The back mixed-media network modules mixed-media 400 that connects sends out one simultaneously and upgrades the interface, in the present embodiment, upgrade the interface and be and be a graphical interfaces (GUI), it shows the more new projects that can carry out the firmware data of electronic installation 4 with option diagram, picture or explanatory note intuitively.More new projects in the present embodiment comprise: upgrade electronic installation 4 firmware data, backup electronic installation 4 firmware data and restart electronic installation 4.Client terminal device 5 can be sent an operation maintenance command according to the more new projects that upgrade on the interface, is received by mixed-media network modules mixed-media 400.
Processing module 402 is used to handle the operation maintenance command that mixed-media network modules mixed-media 400 is received, comprising the content of for example understanding different operation maintenance command with interface, general lock road (CGI).
When operation maintenance command is the firmware data of backup electronic installation 4, processing module 402 promptly reads the firmware data that leaves in wherein from firmware stores unit 42, and it is duplicated back being sent in the redundant memory cell 50 by mixed-media network modules mixed-media 400 deposits, place internal storage unit 44 after can also reading the firmware data in the firmware stores unit 42 in the practical application, be sent in the redundant memory cell 50 by mixed-media network modules mixed-media 400 and deposit.Wherein, firmware stores unit 42 normally is a section in the flash memory on embedded system device, and redundant memory cell 50 then may be for the medium in the client terminal device 5, as hard disk.
If operation maintenance command is for upgrading the firmware data of electronic installation 4, processing module 402 promptly reads new firmware data and is used for overriding original firmware data, comprise with CGI (Common gateway interface) and arrive internal storage unit 44 by the new firmware data (i.e. a firmware mapping file) that hypertext transmission communication agreement transmits in data storage cell 52 or the redundant memory cell 50, again should new firmware data internally in the storage unit 44 loading firmware storage unit 42, replace the firmware data that leaves firmware stores unit 42 originally in.Wherein, stored new firmware data in the data storage cell 52 can be from a downloaded, or by reading in the mediums such as a discs; Internal storage unit 44 then can be the random-access memory (ram) in the electronic installation 4.
If operation maintenance command is for restarting electronic installation 4, processing module 402 promptly restarts electronic installation 4.And electronic installation 4 is after the renewal firmware data is finished, if restart, or directly restart and behind the reopening machine according to operation maintenance command, then can be equally via the control of security update pattern start unit 46, carry out above-mentioned maintenance once again or upgrade operation, or directly carry out general boot program, load kernel operating system.
From technology that the foregoing description provided and implementation means as can be seen, owing to provide a read-only updating block 40 to upgrade the firmware data operation in order to carry out safely, even to meet with burst in the operating process unexpected and fail to finish smoothly the renewal of firmware for the first time upgrading for electronic installation 4, also can have the chance of upgrading operation again, be not subjected to the influence of previous abnormal conditions, can guarantee that so the hardware of electronic installation 4 can successfully stably operate in conjunction with firmware.
In addition, therefore secure firmware data new tool more can exempt the practice of often depositing backup in memory headroom because safety is provided, and saves the required memory headroom of backup firmware data carrying out other operation.Certainly, if still have other factors, when desire keeps the backup of firmware data, in above-mentioned implementation, also disclosed the mode that how firmware data is backed up.
In addition, because upgrading the interface is to be a graphical interfaces, the content that is provided on its interface can be with diagram, figure, function button are represented intuitively, very helping the user understands operation item to be processed, make that the firmware data of difficulty is upgraded operation originally, do not have a user of professional knowledge and also can finish easily even become.
In sum, electronic device firmware updating method provided by the present invention and system, the convenience that electronic device firmware is upgraded improves, and device advances the cost and the time of factory's maintenance all to be reduced, even therefore the manufacturing cost of device computer hardware also can reduce., all be an important techniques progress no matter from user or fabricator's angle, very worth the protection.But cited project or program in aforementioned each embodiment; only for being suitable for part embodiment of the present invention; foregoing is not the category that is suitable for and protects in order to restriction the present invention; if any the adjustment slightly that other spirit according to the invention is carried out with material change's technological means of the present invention not, all belong to the scope of protection that the present invention is contained.

Claims (17)

1. an electronic device firmware updating method is characterized in that, this electronic installation possesses network connecting function, comprises the following steps:
During startup, judge whether to enter a security update pattern;
If enter this security update pattern, then under this safe mode, start the network service function of this electronic installation, comprise beginning to intercept a connection request;
If listen to this connection request, then set up the operation maintenance command that network connects and receive the firmware data of upgrading this electronic installation; And
According to this operation maintenance command, this electronic installation is upgraded the operation of firmware data.
2. electronic device firmware updating method as claimed in claim 1 is characterized in that, judges whether need enter in the step of this security update pattern, also comprises the following steps:
Whether detecting exists a startup command that enters this security update pattern;
If this order exists, then carry out the step that enters this security update pattern;
If this order does not exist, then judged after this electronic installation last time started and whether normally close;
If normally do not close after this electronic installation last time starts, then carry out and enter the step of this security update pattern, and remove the record of normally not closing after this electronic installation last time started; And
If normally closed after this electronic installation last time starts, then carry out the step that directly loads a kernel operating system.
3. electronic device firmware updating method as claimed in claim 2 is characterized in that, enters this startup command of this security update pattern, is to send when the button that indication enters the security update pattern is triggered.
4. electronic device firmware updating method as claimed in claim 1 is characterized in that, after judging whether to enter the step of this security update pattern, also comprises the steps:
If do not enter this security update pattern, then directly load a kernel operating system.
5. electronic device firmware updating method as claimed in claim 1 is characterized in that, this operation maintenance command comprises: upgrade this electronic installation firmware data, back up the firmware data of this electronic installation, or restart this electronic installation.
6. electronic device firmware updating method as claimed in claim 5 is characterized in that, according to this operation maintenance command, this electronic installation is upgraded in the step of firmware data operation, also comprises the following steps:
If this operation maintenance command is for upgrading the firmware data of this electronic installation, read a new firmware data in order to upgrade from the device that sends operation maintenance command to this electronic installation;
Load the firmware stores unit of this new firmware data, replace original firmware data to the storing firmware data;
If this operation maintenance command reads and duplicates the firmware data of depositing in a firmware stores unit for the firmware data of this electronic installation of backup;
Transmitting firmware data to the device that sends operation maintenance command to this electronic installation that is replicated by network stores; And
If this operation maintenance command for restarting this electronic installation, restarts this electronic installation.
7. electronic device firmware updating method as claimed in claim 1 is characterized in that, enter the step of this security update pattern after, also comprise the steps:
Point out this electronic installation to enter the state of security update pattern with prompting cresset or prompt tone.
8. as any described electronic device firmware updating method in the claim 1 to 7, it is characterized in that this operation maintenance command is to send by the more new option that this electronic installation sends to user's graphical interfaces.
9. an electronic device firmware update system is characterized in that, comprising:
One firmware stores unit is the firmware data that is used to store this electronic installation; And
One updating block, wherein the information that is write down is the read message that can not change, comprising:
One mixed-media network modules mixed-media provides the network service function of this electronic installation, comprises and intercepts a connection
Request, and after accepting this connection request, set up the network connection, receive an operation maintenance command; And
One processing module according to this operation maintenance command, is handled accordingly to the firmware data in this firmware stores unit.
10. electronic device firmware update system as claimed in claim 9 is characterized in that, this operation maintenance command comprises: upgrade this electronic installation firmware data, back up the firmware data of this electronic installation, or restart this electronic installation.
11. electronic device firmware update system as claimed in claim 10 is characterized in that, also comprises:
One internal storage unit, if this operation maintenance command is for upgrading the firmware data of this electronic installation, reception is in order to upgrade a new firmware data of this electronic installation, this processing module reads this new firmware data from this internal storage unit, and is loaded on this firmware stores unit and replaces original firmware data.
12. electronic device firmware update system as claimed in claim 10, it is characterized in that, if this operation maintenance command is the firmware data of this electronic installation of backup, this processing module reads and duplicates firmware data from this firmware stores unit, and transmits the redundant memory cell storage that the firmware data to that is replicated is sent the client terminal device of operation maintenance command by this mixed-media network modules mixed-media.
13. electronic device firmware update system as claimed in claim 9 is characterized in that, also comprises:
One security update pattern start unit sends a startup command to this mixed-media network modules mixed-media, notifies this mixed-media network modules mixed-media to start network connecting function, and points out with prompting cresset or prompt tone.
14. electronic device firmware update system as claimed in claim 13 is characterized in that, this security update pattern start unit is a button.
15. electronic device firmware update system as claimed in claim 13, it is characterized in that, this security update pattern start unit is when detecting this electronic installation last time for undesired record of closing, and sends this startup command, and removes this electronic installation and last time be undesired record of closing.
16. electronic device firmware update system as claimed in claim 9, it is characterized in that, this mixed-media network modules mixed-media also transmits one and upgrades the interface and give the client terminal device that sends operation maintenance command, and this renewal interface is a graphical interfaces, and this operation maintenance command is that the more new projects according to this graphical interfaces send.
17., it is characterized in that this electronic installation is an embedded system device as any described electronic device firmware update system in the claim 9 to 16.
CN200810202278A 2008-11-05 2008-11-05 Electronic device firmware updating method and system Pending CN101763272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810202278A CN101763272A (en) 2008-11-05 2008-11-05 Electronic device firmware updating method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810202278A CN101763272A (en) 2008-11-05 2008-11-05 Electronic device firmware updating method and system

Publications (1)

Publication Number Publication Date
CN101763272A true CN101763272A (en) 2010-06-30

Family

ID=42494444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810202278A Pending CN101763272A (en) 2008-11-05 2008-11-05 Electronic device firmware updating method and system

Country Status (1)

Country Link
CN (1) CN101763272A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446101A (en) * 2010-09-30 2012-05-09 珠海全志科技股份有限公司 System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
CN102811436A (en) * 2011-06-03 2012-12-05 联想(北京)有限公司 Firmware updating method and device
CN102857358A (en) * 2011-06-29 2013-01-02 环旭电子股份有限公司 Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment
CN103309769A (en) * 2011-06-20 2013-09-18 北京奇虎科技有限公司 Operation system starting protection method and device
CN103793238A (en) * 2012-10-31 2014-05-14 英业达科技有限公司 Rack and method for simultaneously updating multiple basic input output systems thereof
CN104463028A (en) * 2013-09-25 2015-03-25 中国银联股份有限公司 Safety mode prompting method and movable device for implementing method
CN105159707A (en) * 2015-08-14 2015-12-16 飞天诚信科技股份有限公司 Secure financial terminal firmware programming method and financial terminal
CN106919411A (en) * 2015-12-25 2017-07-04 英业达科技有限公司 Suitable for the operating system update system and method for Linux
CN108768731A (en) * 2018-05-31 2018-11-06 安徽电信器材贸易工业有限责任公司 A kind of method and its system of remote recovery router
CN109388421A (en) * 2017-08-02 2019-02-26 宇瞻科技股份有限公司 Quickly update the storage device of firmware
CN110532013A (en) * 2019-07-25 2019-12-03 宜鼎国际股份有限公司 The system and method that electronic equipment, electronic equipment capable of long-distance maintenance operate

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446101A (en) * 2010-09-30 2012-05-09 珠海全志科技股份有限公司 System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
CN102811436A (en) * 2011-06-03 2012-12-05 联想(北京)有限公司 Firmware updating method and device
CN103309769A (en) * 2011-06-20 2013-09-18 北京奇虎科技有限公司 Operation system starting protection method and device
CN102857358A (en) * 2011-06-29 2013-01-02 环旭电子股份有限公司 Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment
CN103793238A (en) * 2012-10-31 2014-05-14 英业达科技有限公司 Rack and method for simultaneously updating multiple basic input output systems thereof
WO2015043444A1 (en) * 2013-09-25 2015-04-02 中国银联股份有限公司 Secure mode prompt method and mobile device for realizing the method
CN104463028A (en) * 2013-09-25 2015-03-25 中国银联股份有限公司 Safety mode prompting method and movable device for implementing method
CN104463028B (en) * 2013-09-25 2018-06-22 中国银联股份有限公司 Safe mode reminding method and the mobile equipment for realizing this method
CN105159707A (en) * 2015-08-14 2015-12-16 飞天诚信科技股份有限公司 Secure financial terminal firmware programming method and financial terminal
CN105159707B (en) * 2015-08-14 2018-06-29 飞天诚信科技股份有限公司 The firmware programming method and financial terminal of a kind of safe financial terminal
CN106919411A (en) * 2015-12-25 2017-07-04 英业达科技有限公司 Suitable for the operating system update system and method for Linux
CN109388421A (en) * 2017-08-02 2019-02-26 宇瞻科技股份有限公司 Quickly update the storage device of firmware
CN109388421B (en) * 2017-08-02 2022-01-04 宇瞻科技股份有限公司 Storage device for quickly updating firmware
CN108768731A (en) * 2018-05-31 2018-11-06 安徽电信器材贸易工业有限责任公司 A kind of method and its system of remote recovery router
CN110532013A (en) * 2019-07-25 2019-12-03 宜鼎国际股份有限公司 The system and method that electronic equipment, electronic equipment capable of long-distance maintenance operate

Similar Documents

Publication Publication Date Title
CN101763272A (en) Electronic device firmware updating method and system
TWI363298B (en) Communication device and firmware update method thereof
CN100525206C (en) Realizing method and system for automatic restoring equipment fault
EP2831722B1 (en) Method and system for verifying proper operation of a computing device after a system change
EP2382545B1 (en) Component configuration mechanism for rebooting
KR20030038542A (en) A computer with switchable components
WO2006133629A1 (en) Method and system for realizing automatic restoration after a device failure
CN101383724A (en) Network updating method and operation maintaining element, single board and network element updating system
CN101593120A (en) Be with outer upgrade method and system
CN111209265B (en) Database switching method and terminal equipment
KR20090120541A (en) Method and system for automatic recovery of an embedded operating system
CN101119188B (en) Single board updating method for implementing uninterruptive service
CN111752577B (en) Upgrading method and equipment for system version
WO2024113995A1 (en) Bmc heterogeneous upgrading method and system, device, and readable storage medium
TWI764454B (en) Firmware corruption recovery
CN114741096A (en) Upgrade processing method, device and storage medium
CN117130672A (en) Server start flow control method, system, terminal and storage medium
KR100605031B1 (en) A method for upgrading and restoring embeded systems by using usb memory device
WO2013004175A1 (en) Software upgrading method and apparatus for electronic devices
WO2011158367A1 (en) Technology for updating active program
Cisco Downloading and Installing Firmware Updates
CN101425029A (en) System file reducing method
JP2002123398A (en) Device and method for version up processing of software in communication equipment
Cisco Downloading and Installing Software Upgrades
Cisco PXM1E Backup Boot Procedures

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: 20100630