CN103853638B - A kind of method and electronic equipment for refreshing firmware - Google Patents

A kind of method and electronic equipment for refreshing firmware Download PDF

Info

Publication number
CN103853638B
CN103853638B CN201210514882.4A CN201210514882A CN103853638B CN 103853638 B CN103853638 B CN 103853638B CN 201210514882 A CN201210514882 A CN 201210514882A CN 103853638 B CN103853638 B CN 103853638B
Authority
CN
China
Prior art keywords
data
firmware
electronic equipment
interface
storage device
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.)
Active
Application number
CN201210514882.4A
Other languages
Chinese (zh)
Other versions
CN103853638A (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210514882.4A priority Critical patent/CN103853638B/en
Publication of CN103853638A publication Critical patent/CN103853638A/en
Application granted granted Critical
Publication of CN103853638B publication Critical patent/CN103853638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and electronic equipment for refreshing firmware, methods described is applied to an electronic equipment, and the electronic equipment is provided with a firmware, and the electronic equipment includes a data-interface, and methods described includes:When the firmware is in damaged condition, control the data-interface in running order;The first data in the storage device being connected with the data-interface are obtained, first data include the recovery data that the firmware can be made to return to normal condition from the distress condition;Based on first data, refresh the firmware, the firmware is returned to the normal condition from the distress condition.

Description

A kind of method and electronic equipment for refreshing firmware
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and electronic equipment for refreshing firmware.
Background technology
The electronic equipments such as desktop computer, notebook computer all include a firmware, and firmware can be specifically BIOS(Basic Input Output System, basic input output system)Or UEFI (Unified Extensible Firmware Interface, unified Extensible Firmware Interface), the electronics such as the in store desktop computer of firmware, notebook computer Self-check program and system self-triggered program after the programs of the most important basic input and output of equipment, system set-up information, start, be Electronic equipment provides the bottom, most direct hardware setting and control.
But in the prior art, firmware very easily breaks down, such as in order to solve current version of firmware presence one A little problems, are, for example, not support some hardware, or there are some BUG etc., are entered commonly using the method for firmware version is refreshed The upgrading of row firmware version, if occurring powering off in escalation process or data transmission mistake, may result in firmware and occurs event Barrier, or also result in firmware because the reason such as electrostatic causes the disorder of firmware internal data in use Failure, at this moment needs to re-write firmware data to firmware chip, to solve the failure problems of firmware chip.At present, to firmware Chip re-writes firmware data mostly in the following ways:
1st, firmware chip is pulled down from the mainboard of electronic equipment, firmware data is written to using firmware write-in instrument, so It is welded to again on mainboard afterwards;
2nd, a standby firmware chip is reserved on mainboard, when primary firmware chip failure, is switched to Standby firmware chip is operated, or data firmware data is write into primary firmware chip using standby firmware chip;
3rd, notebook computer uses EC(Embedded Controller, embedded controller)ROM(Read-Only Memory, read-only memory)Firmware data is stored, actively firmware data is write to firmware chip when EC has found that firmware is damaged.
But the present inventor is during inventive technique scheme in realizing the embodiment of the present invention, it is found that above-mentioned technology is at least deposited In following technical problem:
1st, the method for refreshing firmware is complex welds back again, it is necessary to which firmware chip is pulled down and re-write after firmware data Go, it is very inconvenient, specifically, i.e.,:Need to take apart mainframe box, then mainboard is pulled down, then pulled down from mainboard Firmware chip, then writes firmware data into firmware using instrument, and firmware chip finally is welded back into mainboard and cabinet is reinstalled, These are required for the technical staff with certain professional ability to complete, and slightly slip up, or even can damage firmware chip, general General family can not complete so cumbersome action, so mainboard can only be sent back to manufacturer or go to specialized maintenance station to be tieed up Repair, so the complex technical problem of the method that there is refreshing firmware.
2nd, the mode of standby firmware chip is reserved on mainboard due to can additionally use a standby firmware chip, institute So that production cost can be increased, simultaneously as a firmware chip is added, so the layout of each element on mainboard can be changed, Also production cost can be increased, so there is the technical problem for increasing production cost using the scheme of standby firmware chip.
3rd, the electronics without EC functions such as desktop computer can not be applied to using the EC ROM modes for storing firmware data Equipment, so a general solution can not be provided.
The content of the invention
The embodiment of the present invention is solved and brushed in the prior art by providing a kind of method and electronic equipment for refreshing firmware The complex technical problem of the method for new firmware.
One aspect of the present invention provides a kind of method for refreshing firmware, and applied to an electronic equipment, the electronic equipment is installed There is a firmware, the electronic equipment includes a data-interface, and methods described includes:When the firmware is in damaged condition, control Make the data-interface in running order;The first data in the storage device being connected with the data-interface are obtained, it is described First data include the recovery data that the firmware can be made to return to normal condition from the distress condition;Based on described first Data, refresh the firmware, the firmware is returned to the normal condition from the distress condition.
Alternatively, the electronic equipment includes a control chip being connected with the data-interface, the control number It is in running order according to interface, specifically include:The control chip is controlled to detect whether the data-interface sets with the storage It is standby to be connected;When the data-interface is connected with the storage device, the control chip initializes the storage device so that The electronic equipment can read the recovery data.
Alternatively, the control chip initializes the storage device, is specially:The control chip passes through the data Interface and the storage device set up data channel so that the electronic equipment can read described the by the data channel One data.
Alternatively, the data-interface is specially USB interface, and the recovery data are specially the corresponding number of the firmware According to the control chip is specially USB control chips.
Alternatively, the electronic equipment includes a super input-output system with embeded processor, the control The control chip detects whether the data-interface is connected with the storage device, is specially:The super input and output system The system control control chip detects whether the data-interface is connected with the storage device.
Alternatively, first data also include self-operating data, and the firmware is stored in the firmware of the electronic equipment It is described to be based on first data in chip, refresh the firmware, specifically include:, will be described extensive based on the self-operating data Complex data is write in the firmware chip.
Alternatively, the electronic equipment includes a functional unit, when the firmware is in damaged condition, the function list Member is closed.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, and the electronic equipment is provided with a firmware, the electricity Sub- equipment includes:Casing;One circuit board, is arranged in the casing;Control chip, is arranged on the circuit board;One data Interface, is connected with the control chip;Wherein, the control chip is used for when the firmware is in damaged condition, controls institute State that data-interface is in running order, and obtain the first data in the storage device being connected with the data-interface, described the One data include the recovery data that the firmware can be made to return to normal condition from the distress condition, and based on described first Data, refresh the firmware, the firmware is returned to the normal condition from the distress condition.
Alternatively, whether the control chip is connected specifically for the detection data-interface with the storage device, and When the data-interface is connected with the storage device, the storage device is initialized so that the electronic equipment can be read Take the recovery data.
Alternatively, the control chip leads to specifically for setting up data by the data-interface and the storage device Road so that the electronic equipment can read first data by the data channel.
Alternatively, the data-interface is specially USB interface, and the recovery data are specially the corresponding number of the firmware According to the control chip is specially USB control chips.
Alternatively, the electronic equipment includes a super I/O chip, the super input-output system and one embedding Enter formula processor to be connected, the super I/O chip be used to controlling the control chip detect the data-interface whether with The storage device is connected.
Alternatively, the firmware is stored in the firmware chip of the electronic equipment, and the control chip is specifically for base Self-operating data in first data, the recovery data are write in the firmware chip.
The one or more technical schemes provided in the embodiment of the present invention, have at least the following technical effects or advantages:
1st, it is in running order as a result of control data interface, and obtained from the storage device being connected with data-interface The first data are obtained, the first data include the recovery data for enabling to firmware to return to normal condition from distress condition, and base In the first data, refresh the technical scheme of the firmware of electronic equipment, so the firmware chip of electronic equipment need not be pulled down to weight Welded back again after new write-in firmware data, so the step of simplifying refreshing firmware, refreshes in the prior art so as to solve The complex technical problem of the method for firmware so that when the firmware of electronic equipment is damaged, user can facilitate scrubbing brush New firmware so that firmware returns to normal condition by distress condition.
2nd, due to simplifying the step of refreshing firmware, the complex skill of the method for refreshing firmware in the prior art is solved Art problem, so user can easily refresh firmware, normal condition is returned to by firmware from distress condition, therefore user is not required to Firmware chip is pulled down and gone back thereto after write-in firmware data in welding, or sends mainboard back to manufacturer or specialty dimension Repair station to be repaired, so improving the use feeling of user, add user experience.
3rd, because technical scheme provided in an embodiment of the present invention need not increase standby firmware chip, production will not be increased Cost, is asked so also solving and there is the technology for increasing production cost using the scheme of standby firmware chip in the prior art Topic, the technique effect of energy consumption is not increased so as to realize while the firmware for easily refreshing electronic equipment.
4th, because technical scheme provided in an embodiment of the present invention can be applied to desktop computer and notebook computer, Yi Jiqi The electronic equipment of his same type, so the technical problem of a general solution can not be provided in the prior art by solving.
5th, due to the firmware of lower refreshing electronic equipment can be closed in the functional module of electronic equipment, so this The method that technical scheme in inventive embodiments has provided a user extremely simple refreshing firmware so that user is refreshing firmware During experience splendid, so as to add user experience.
Brief description of the drawings
Fig. 1 is the method flow diagram provided in an embodiment of the present invention for refreshing firmware;
Fig. 2 is the flow chart provided in an embodiment of the present invention for refreshing firmware;
Fig. 3 is the functional block diagram of electronic equipment provided in an embodiment of the present invention.
Embodiment
The embodiments of the invention provide a kind of method and electronic equipment for refreshing firmware, solve and refresh in the prior art The complex technical problem of the method for firmware.
Technical scheme in the embodiment of the present invention, for the complex technical problem of the method that solves above-mentioned refreshing firmware, General thought is as follows:
When firmware on an electronic device is in damaged condition, control data interface first is in running order;
Then, the first data in the storage device being connected with data-interface are obtained, the first data include that firmware can be made The recovery data of normal condition are returned to from distress condition;
The first data are finally based on, refreshes firmware, firmware is returned to normal condition from distress condition so that electronic equipment Can normal operation so that reached simplify refresh firmware the step of technique effect.
In order to be better understood from above-mentioned technical proposal, below in conjunction with Figure of description and specific embodiment to upper Technical scheme is stated to be described in detail.
The embodiment of the present invention provides a kind of method for refreshing firmware, applies on an electronic equipment, the electronic equipment includes One data-interface, in a particular application, the electronic equipment can be desktop computer or notebook computer, not make herein Limitation.The electronic equipment is provided with a firmware, and the firmware can be BIOS or UEFI, also not be restricted herein.Connecing In the description got off, will using electronic equipment as desktop computer, data-interface be USB interface exemplified by retouched to carry out detailed citing State.
Fig. 1 is refer to, Fig. 1 is the method flow diagram of refreshing firmware provided in an embodiment of the present invention, and this method includes:
S1:When firmware is in damaged condition, control data interface is in running order;
S2:Obtain the first data in the storage device that is connected with data-interface, the first data including can make firmware from Distress condition returns to the recovery data of normal condition;
S3:Based on the first data, refresh firmware, firmware is returned to normal condition from distress condition.
In step sl, can be because the reason such as electrostatic is caused admittedly specifically when firmware is in damaged condition The disorder of number of packages evidence, or because there occurs failure during firmware version upgrade, thus result in electronic equipment without When method normal operation.
In specific implementation process, electronic equipment can include a control chip being connected with data-interface, therefore, solid When part is in damaged condition, control data interface is in running order, specifically, can include:Control the control core Whether piece detection data-interface is connected with storage device, and when data-interface is connected with storage device, control chip is initial Change storage device so that electronic equipment can read the recovery data in storage device, of course, in actual applications, control Data-interface is in running order, in addition to by the voltage device of electronic equipment to the data-interface power the step of, herein Just repeat no more.
Control the control chip to detect whether data-interface is connected with storage device, can be USB controls in the present embodiment Whether coremaking piece detection USB interface is connected with USB storage device, in a particular application, and USB control chips for example can be to fly profit Pu(Philips)Usb host controller can be included in the ISP1161 chips that company provides, USB control chips to control with equipment Device, of course or other models that those skilled in the art can use control chip, inside control chip Hub ports(Hub port)Two signal wires(D+ and D-)On have a 15K Ω pull down resistor, and USB device In corresponding signal wire(Full-speed device such as USB flash disk is in D+ signal wires, and low-speed device such as keyboard or mouse are in D- signal wires)On have 15K Ω pull-up resistor, when having USB device to insert data-interface, inserts the upper resistance signal of the equipment of the data-interface For height, then Hub ports detect USB interface with this and are connected with USB device, and report to the host computer control in USB control chips Device;Console controller is received after the report information from Hub ports, an interruption is produced, by reading Hub in control chip Or actually related register understands the equipment high-speed equipment low-speed device of insertion USB interface, if console controller The related information recognized shows the equipment of insertion from register when be high-speed equipment, it is possible to show USB interface with USB storage device is connected.
Detected in control chip after data-interface is connected with storage device, control chip initializes the storage device, from And enabling electronic equipment to read the recovery data in storage device, electronic equipment reads the recovery number in the storage device According to and be written into firmware chip, so as to realize refresh firmware purpose.
In specific implementation process, control chip initialization storage device, can be that control chip passes through number specifically Data channel is set up according to interface and storage device, so that electronic equipment can read the first data by the data channel.
Control chip is by setting up data channel between data-interface and storage device, in the present embodiment, can be USB Control chip is by setting up data channel between USB interface and USB storage device, specifically, in USB storage device insertion After USB interface, USB control chips determine have a high-speed equipment to access by obtaining the information that Hub ports are sent, USB control cores The piece register write order related to Hub ports, allows Hub ports to reset port, Hub ports make the USB of storage device Data wire is in rebooting status(Namely signal wire D+ and D- is logic low state)At least 10ms, shape is restarted when Hub is released State, USB storage device is just in default conditions(Namely the USB registers of USB storage device have been in default conditions), In this case, USB control chips send a Get_Descriptor to USB storage device(Obtain descriptor)Ask to know The size of road acquiescence flow maximum bag, after the return information of USB storage device is got, then by sending a Set_ Address(Setting address)Ask to distribute a single address to USB storage device, and USB storage device can read this Individual request, and return to a confirmation to USB control chips and preserve new address, give new address to send a Get_ Descriptor asks to read the descriptor that this equipment is complete, includes the size of acquiescence flow maximum bag, USB storage device The config. number of support, and the USB storage device other information, these information are used for communication backward by USB control chips In.Then send Set_configuration(Setting configuration)Request, the USB storage device is configured with the config. number, now, USB control chips just establish data channel between USB storage device, namely electronic equipment can be read by the data channel Take the first data in USB storage device.Of course, in actual applications, USB control chips can also perform loading and USB Corresponding Client Driver of storage device etc. is operated, and is just repeated no more herein.
In specific implementation process, electronic equipment can include a super input and output system with embeded processor System, namely ESIO(Embedded controller Super Input/Output)Chip, control control chip detection data Whether interface is connected with storage device, can be specifically:Super input-output system control control chip detects that data-interface is It is no to be connected with storage device.This step can be combined with above-mentioned middle either step, can be that super input is defeated in the present embodiment Go out system control USB control chips and go whether detection usb data interface is connected with USB storage device.
Above-mentioned part describes control data interface in detail in running order so that data-interface is USB interface as an example Detailed process, in actual applications, it is other kinds of that the data-interface can also be that those skilled in the art can use Data-interface, such as serial ports, parallel port etc., those skilled in the art according to actual conditions, can select the number of suitable type The need for meeting actual conditions according to interface, just repeat no more herein.
After control data interface enters working condition, the method provided in an embodiment of the present invention for refreshing firmware enters step Rapid S2, i.e.,:Obtain the first data in the storage device being connected with data-interface.
In step s 2, the first data in the storage device being connected with data-interface are obtained, specifically, due in step Control data interface is in running order in rapid S1, so electronic equipment can be obtained and data by the data-interface The first data in the connected storage device of interface, the first data include enabling to firmware to return to normally from distress condition The recovery data of state.
In specific implementation process, the recovery data that the first data in storage device include, specifically, the recovery number According to that can be the corresponding data of firmware, data-interface can be specifically USB interface, and control chip can be specifically USB control cores Piece.
After the first data in the storage device being connected with data-interface are obtained by step S2, the embodiment of the present invention is carried The method of confession enters step S3, i.e.,:Based on the first data, refresh firmware.
In step s3, based on the first data, refresh firmware, specifically, self-operating can also be included in the first data Data, in electronic equipment after step S2 gets the first data in storage device, electronic equipment is according to the self-operating number According to, by recover data be written in firmware chip so that firmware can return to normal condition from distress condition.
In specific implementation process, firmware can be stored in the firmware chip of electronic equipment, and for example BIOS is It is stored in the BIOS chips of electronic equipment, the first data in storage device also include self-operating data, electronic equipment is being obtained The first data in storage device are got, it becomes possible to perform the self-operating data in the first data, by the recovery in the first data Data are written in firmware chip, so as to refresh the firmware in firmware chip.In the present embodiment, transporting certainly in the first data Row data are performed by the super input-output system with embedded controller, pass through technical scheme in the present embodiment Introduce, those skilled in the art can also select other suitable means according to actual conditions, to meet the need of actual conditions Will, just repeat no more herein.
The method that preceding sections describe refreshing firmware provided in an embodiment of the present invention in detail, will stand user's below Angle, describes the method provided in an embodiment of the present invention for refreshing firmware.Fig. 2 is refer to, Fig. 2 is user using present invention implementation The flow chart during method for the refreshing firmware that example is provided, as shown in Fig. 2 after the firmware of electronic equipment is damaged, user only needs The storage device including the first data is inserted into according to step S10 in the corresponding data-interface of electronic equipment, due to electronics The data-interface of equipment is in running order, so in step S20, electronic equipment can just get in storage device One data, so that in step s 30, the first data that electronic equipment just can be in storage device refresh electronic equipment Firmware so that the firmware of electronic equipment returns to normal condition by distress condition, therefore, stands from the perspective of user, is only needed Storage device including the first data, which is inserted into the corresponding data-interface of electronic equipment, can complete to refresh firmware, so User may feel that very easy during firmware is refreshed.
It can be seen that in running order as a result of control data interface, and connect from data by above-mentioned part The first data are obtained in the connected storage device of mouth, the first data include enabling to firmware to return to normally from distress condition The recovery data of state, and based on the first data, refresh the technical scheme of the firmware of electronic equipment, so electronics need not be set Standby firmware chip is pulled down to re-write after firmware data and welded back again, so the step of simplifying refreshing firmware, so as to solve Determined and refreshed the complex technical problem of method of firmware in the prior art so that the firmware of electronic equipment damage when Wait, user can easily refresh firmware so that firmware returns to normal condition by distress condition.
Due to simplifying the step of refreshing firmware, the complex technology of the method for refreshing firmware in the prior art is solved Problem, so user can easily refresh firmware, normal condition is returned to by firmware from distress condition, therefore user need not Firmware chip is pulled down and gone back thereto after write-in firmware data in welding, or sends mainboard back to manufacturer or specialized maintenance Stand and repaired, so improving the use feeling of user, add user experience.
Simultaneously as technical scheme provided in an embodiment of the present invention need not increase standby firmware chip, it will not increase , there is the technology of increase production cost using the scheme of standby firmware chip in the prior art so also solving in production cost Problem, the technique effect of energy consumption is not increased so as to realize while the firmware for easily refreshing electronic equipment.
Further, because technical scheme provided in an embodiment of the present invention can be applied to desktop computer and notebook electricity Brain, and other same types electronic equipment, so general solution can not be provided in the prior art by solving Technical problem.
In specific implementation process, electronic equipment includes One function unit, and specifically, such as desktop computer can be wrapped The functional module being made up of elements such as CPU, video card, hard disk, internal memories is included, when firmware is in damaged condition, electronic equipment can not Due to operating system can not be loaded when starting, so the functional module is closed.
In a particular application, due to the method for refreshing firmware provided in an embodiment of the present invention, control data interface is employed It is in running order, and the first data are obtained from the storage device being connected with data-interface, the first data include making The recovery data that firmware returns to normal condition from distress condition are obtained, and based on the first data, refresh the firmware of electronic equipment Technical scheme, it is possible to can normally be run in the case where the functional module of electronic equipment is closed, i.e., under S5 states, electronics Equipment in the functional module of equipment including power supply all has been switched off, and now only needs to guarantee to control chip and number Powered according to interface, for example, can be the other modes that can be used by battery or those skilled in the art to control core Piece and data-interface are powered, and method provided in an embodiment of the present invention can just refresh the firmware of electronic equipment, therefore, if user Confirm that the firmware of electronic equipment has been damaged, even if the functional module of electronic equipment is closed, equally only need to insertion Including can make firmware returned to from distress condition normal condition recovery data storage device, you can complete to electronic equipment The action that is refreshed of firmware.
It is can be seen that by above-mentioned part due to lower refreshing electricity can be closed in the functional module of electronic equipment The firmware of sub- equipment, so the technical scheme in the embodiment of the present invention has provided a user the side of extremely simple refreshing firmware Method so that user experiences splendid during firmware is refreshed, so as to add user experience.
The embodiment of the present invention also provides a kind of electronic equipment, and electronic equipment is provided with a firmware, refer to Fig. 3, and Fig. 3 is this The functional block diagram for the electronic equipment that inventive embodiments are provided, the electronic equipment includes:Casing 301;One circuit board 302, is set In in casing 301;Control chip 303, is arranged on circuit board 302;One data-interface 304, is connected with control chip 303;Its In, control chip 303 is used for when firmware is in damaged condition, and control data interface 304 is in running order, and obtains and number The first data in the storage device being connected according to interface 304, the first data include firmware being made to return to just from distress condition The recovery data of normal state, and based on the first data, refresh firmware, firmware is returned to normal condition from distress condition.
In specific implementation process, control chip 303 specifically for detection data-interface 304 whether with storage device phase Even, and when data-interface 304 is connected with storage device, storage device is initialized so that electronic equipment can read recovery number According to.
In specific implementation process, control chip 303 by data-interface 304 and storage device specifically for setting up data Passage so that electronic equipment can read the first data by data channel.
In specific implementation process, data-interface 304 is specially USB interface, and it is specially the corresponding number of firmware to recover data According to control chip 303 is specially USB control chips 303.
In specific implementation process, electronic equipment include a super I/O chip 305, super input-output system with One embeded processor is connected, and super I/O chip 305 is used to control whether control chip 303 detects data-interface 304 It is connected with storage device.
In specific implementation process, firmware is stored in the firmware chip of electronic equipment, and control chip 303 is specifically for base Self-operating data in the first data, will recover in data write-in firmware chip.
The method of refreshing firmware in electronic equipment and previous embodiment in the present embodiment is to be based on same inventive concept Under two aspects, be described in detail in the implementation process above to method, so those skilled in the art can root It is succinct for specification according to the structure and implementation process of the electronic equipment described above being apparent from the present embodiment, This is just repeated no more.
Technical scheme in the embodiments of the present invention, at least has the following technical effect that or advantage:
1st, it is in running order as a result of control data interface, and obtained from the storage device being connected with data-interface The first data are obtained, the first data include the recovery data for enabling to firmware to return to normal condition from distress condition, and base In the first data, refresh the technical scheme of the firmware of electronic equipment, so the firmware chip of electronic equipment need not be pulled down to weight Welded back again after new write-in firmware data, so the step of simplifying refreshing firmware, refreshes in the prior art so as to solve The complex technical problem of the method for firmware so that when the firmware of electronic equipment is damaged, user can facilitate scrubbing brush New firmware so that firmware returns to normal condition by distress condition.
2nd, due to simplifying the step of refreshing firmware, the complex skill of the method for refreshing firmware in the prior art is solved Art problem, so user can easily refresh firmware, normal condition is returned to by firmware from distress condition, therefore user is not required to Firmware chip is pulled down and gone back thereto after write-in firmware data in welding, or sends mainboard back to manufacturer or specialty dimension Repair station to be repaired, so improving the use feeling of user, add user experience.
3rd, because technical scheme provided in an embodiment of the present invention need not increase standby firmware chip, production will not be increased Cost, is asked so also solving and there is the technology for increasing production cost using the scheme of standby firmware chip in the prior art Topic, the technique effect of energy consumption is not increased so as to realize while the firmware for easily refreshing electronic equipment.
4th, because technical scheme provided in an embodiment of the present invention can be applied to desktop computer and notebook computer, Yi Jiqi The electronic equipment of his same type, so the technical problem of a general solution can not be provided in the prior art by solving.
5th, due to the firmware of lower refreshing electronic equipment can be closed in the functional module of electronic equipment, so this The method that technical scheme in inventive embodiments has provided a user extremely simple refreshing firmware so that user is refreshing firmware During experience splendid, so as to add user experience.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program production of upper implementation The form of product.
The present invention is with reference to method according to embodiments of the present invention, equipment(System)And the flow of computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (12)

1. a kind of method for refreshing firmware, applied to an electronic equipment, the electronic equipment is provided with a firmware, and its feature exists In the electronic equipment includes a data-interface, and the electronic equipment also includes a functional unit, is in and damages in the firmware During state, the functional unit is closed, and methods described includes:
It is that the data-interface is powered and controls the data-interface to be in work shape when the firmware is in damaged condition State;
The first data in the storage device being connected with the data-interface are obtained, first data are described solid including that can make Part returns to the recovery data of normal condition from the distress condition;
Based on first data, refresh the firmware, the firmware is returned to the normal condition from the distress condition.
2. the method as described in claim 1, it is characterised in that what the electronic equipment was connected including one with the data-interface Control chip, the control data-interface is in running order, specifically includes:
The control chip is controlled to detect whether the data-interface is connected with the storage device;
When the data-interface is connected with the storage device, the control chip initializes the storage device so that institute The recovery data can be read by stating electronic equipment.
3. method as claimed in claim 2, it is characterised in that the control chip initializes the storage device, is specially:
The control chip sets up data channel by the data-interface and the storage device so that the electronic equipment energy First data are enough read by the data channel.
4. method as claimed in claim 3, it is characterised in that the data-interface is specially USB interface, the recovery data The corresponding data of specially described firmware, the control chip is specially USB control chips.
5. method as claimed in claim 2, it is characterised in that the electronic equipment, which includes one, has the super of embeded processor Level input-output system, the control control chip detects whether the data-interface is connected with the storage device, has Body is:
The super input-output system control the control chip detect the data-interface whether with the storage device phase Even.
6. the method as described in claim 1, it is characterised in that first data also include self-operating data, the firmware It is stored in the firmware chip of the electronic equipment, it is described to be based on first data, refresh the firmware, specifically include:
Based on the self-operating data, the recovery data are write in the firmware chip.
7. a kind of electronic equipment, the electronic equipment is provided with a firmware, it is characterised in that the electronic equipment includes:
Casing;
One circuit board, is arranged in the casing;
Control chip, is arranged on the circuit board;
One data-interface, is connected with the control chip;
Power supply;Powered for the data-interface;
Wherein, the control chip is used for when the firmware is in damaged condition, and it is the data-interface to control the power supply Power and control the data-interface in running order, and obtain in the storage device that is connected with the data-interface first Data, first data include the recovery data that the firmware can be made to return to normal condition from the distress condition, and Based on first data, refresh the firmware, the firmware is returned to the normal condition from the distress condition;
The electronic equipment also includes a functional unit, when the firmware is in damaged condition, and the functional unit, which is in, to close Closed state.
8. electronic equipment as claimed in claim 7, it is characterised in that the control chip is specifically for detecting that the data connect Whether mouth is connected with the storage device, and when the data-interface is connected with the storage device, initializes the storage Equipment so that the electronic equipment can read the recovery data.
9. electronic equipment as claimed in claim 8, it is characterised in that the control chip by the data specifically for being connect Mouth sets up data channel with the storage device so that the electronic equipment can pass through the data channel and read described first Data.
10. electronic equipment as claimed in claim 9, it is characterised in that the data-interface is specially USB interface, described extensive Complex data is specially the corresponding data of the firmware, and the control chip is specially USB control chips.
11. electronic equipment as claimed in claim 8, it is characterised in that the electronic equipment includes a super input and output core Piece, the super input-output system is connected with an embeded processor, and the super I/O chip is described for controlling Control chip detects whether the data-interface is connected with the storage device.
12. electronic equipment as claimed in claim 7, it is characterised in that the firmware is stored in the firmware of the electronic equipment In chip, the control chip is specifically for based on the self-operating data in first data, by the recovery data write-in In the firmware chip.
CN201210514882.4A 2012-12-04 2012-12-04 A kind of method and electronic equipment for refreshing firmware Active CN103853638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210514882.4A CN103853638B (en) 2012-12-04 2012-12-04 A kind of method and electronic equipment for refreshing firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210514882.4A CN103853638B (en) 2012-12-04 2012-12-04 A kind of method and electronic equipment for refreshing firmware

Publications (2)

Publication Number Publication Date
CN103853638A CN103853638A (en) 2014-06-11
CN103853638B true CN103853638B (en) 2017-07-21

Family

ID=50861320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210514882.4A Active CN103853638B (en) 2012-12-04 2012-12-04 A kind of method and electronic equipment for refreshing firmware

Country Status (1)

Country Link
CN (1) CN103853638B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503786B (en) 2014-12-15 2020-10-16 小米科技有限责任公司 Firmware refreshing method and device
CN104536848B (en) 2014-12-22 2018-05-08 小米科技有限责任公司 Firmware restoration method, apparatus and terminal
CN105988829A (en) * 2015-01-30 2016-10-05 联想(北京)有限公司 BIOS (basic input/output system) management method, electronic equipment and system
CN106371862B (en) * 2016-08-23 2020-07-14 Tcl移动通信科技(宁波)有限公司 Touch screen setting processing method and system for delivery of mobile terminal
CN106648632A (en) * 2016-12-02 2017-05-10 英业达科技有限公司 Computer system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866209A (en) * 2005-05-18 2006-11-22 中强光电股份有限公司 Display device capable of updating firmware

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101261585A (en) * 2007-03-08 2008-09-10 英属盖曼群岛商福华先进微电子股份有限公司 Method and system for updating microcontroller firmware
EP2513781A4 (en) * 2009-12-18 2013-11-20 Hewlett Packard Development Co Methods and devices for updating firmware of a component using a firmware update application

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1866209A (en) * 2005-05-18 2006-11-22 中强光电股份有限公司 Display device capable of updating firmware

Also Published As

Publication number Publication date
CN103853638A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103853638B (en) A kind of method and electronic equipment for refreshing firmware
TW476025B (en) A method and system for hot-plugging a processor into a data processing system
US9037812B2 (en) Method, apparatus and system for memory validation
CN106990958A (en) A kind of extension element, electronic equipment and startup method
CN107710141A (en) Solid state hard disc multiplier and utilize its more equipment rack systems and computer system
US20150026526A1 (en) Techniques for testing enclosure management controller using backplane initiator
TW200818210A (en) Memory device and hub controller
US9684520B2 (en) Computing system with non-disruptive fast memory restore mechanism and method of operation thereof
CN108334461A (en) Information processing unit and its control method and storage medium
US8650414B2 (en) Logic device having status and control registers for recording the status and controlling the operation of memory slots such that each memory slot is identified using a bus address and port number
JP5153774B2 (en) Test apparatus, program, and recording medium
TW201401062A (en) Active cable management
CN107357525A (en) Configure the method and electronic equipment of the disk array of electronic equipment
CN104899177B (en) A kind of I2C apparatus control methods and system
CN103810440B (en) Access system and method
CN112799985A (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
US7721016B2 (en) Method for using host controller to solicit a command failure from target device in order to initiate re-enumeration of the target device
CN104701204B (en) The detection method and system of sram chip pin failure welding
CN113608684B (en) Memory information acquisition method, device and system, electronic equipment and storage medium
US20110302329A1 (en) Embedded Programmable Module for Host Controller Configurability
US8495353B2 (en) Method and circuit for resetting register
JP5056625B2 (en) Circuit design apparatus and circuit design method
CN203930839U (en) A kind of safeguard protection card for forcing hard disc of computer to start the operating system
CN102855166A (en) Mainboard testing system and method
Intel Intel® Desktop Board D845GVSH Technical Product Specification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant