CN104899107B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104899107B CN104899107B CN201410078519.1A CN201410078519A CN104899107B CN 104899107 B CN104899107 B CN 104899107B CN 201410078519 A CN201410078519 A CN 201410078519A CN 104899107 B CN104899107 B CN 104899107B
- Authority
- CN
- China
- Prior art keywords
- bios
- cryptographic hash
- electronic equipment
- reference value
- code
- 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
Links
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a kind of information processing method and electronic equipment, which is applied to an electronic equipment, and electronic equipment can be with server into row data communication, and this method includes:After the operating system for starting electronic equipment, the cryptographic Hash for being stored in the BIOS of electronic equipment in the default storage region of electronic equipment is read by operating system, and reference value corresponding with BIOS is obtained from server;Judge whether cryptographic Hash is identical as reference value, obtains the first judging result;If the first judging result shows that cryptographic Hash is differed with reference value, BIOS is repaired using the reparation code of the BIOS obtained from server.Above-mentioned technical proposal, when by determining that BIOS is incorrect to the judgement of BIOS cryptographic Hash, repair BIOS using the reparation code got from server realizes the automatic reparation of BIOS to solve the technical issues of electronic equipment can not repair BIOS automatically in the prior art.
Description
Technical field
The present invention relates to electronic technology field, more particularly to a kind of information processing method and electronic equipment.
Background technology
Basic input output system(Basic Input Output System, BIOS)It is one group to be cured in computer
Program on mainboard on a rom chip, the most important basic input output system setting information of its in store computer, booting
Self-check program and system self-triggered program afterwards.The major function of BIOS is to provide the bottom, most direct hardware for computer
It is set and controlled.
BIOS as connection software program and hardware device bridge, once BIOS error easily lead to electronic equipment without
Method is switched on, therefore the reparation of BIOS is one than relatively hazardous task, it usually needs professional technician could complete BIOS's
It repairs.The BIOS electronic equipments that once go wrong can not carry out BIOS reparations automatically, cause electronic equipment that can not use to user
Bring great inconvenience.It can be seen that electronic equipment there is technical issues that repair automatically in the prior art.
Invention content
A kind of information processing method of offer of the embodiment of the present invention and electronic equipment solve electronic equipment in the prior art and seek
The technical issues of can not repairing BIOS automatically, realize the automatic reparation of BIOS.
The embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and the electronic equipment can be with
Server into row data communication, the method includes:
After the operating system for starting the electronic equipment, the electronic equipment is stored in by operating system reading
Default storage region described in electronic equipment BIOS cryptographic Hash, and obtain from the server corresponding with the BIOS
Reference value;
Judge whether the cryptographic Hash is identical as the reference value, obtains the first judging result;
If first judging result shows that the cryptographic Hash is differed with the reference value, using from the server
The reparation code of the BIOS obtained repairs the BIOS.
Optionally, it is stored in institute in the default storage region of the electronic equipment in described read by the operating system
Before the cryptographic Hash for stating the BIOS of electronic equipment, the method further includes:
It when the electronic equipment is switched on, is calculated by the bootstrap block of the BIOS and obtains the cryptographic Hash, and will be described
Cryptographic Hash is stored in the default storage region.
Optionally, the cryptographic Hash includes:The main program pair of the bootstrap block corresponding first cryptographic Hash and the BIOS
The second cryptographic Hash answered;The reference value includes:The first reference value corresponding with the bootstrap block, and it is corresponding with the main program
The second reference value.
Optionally, if first judging result shows that the cryptographic Hash is differed with the reference value, using from
The reparation code of the BIOS obtained in the server repairs the BIOS, specifically includes:
If first judging result shows that first cryptographic Hash is differed with first reference value, from the service
First reference value corresponding first is obtained in device and repairs code, is repaired code using described first and is repaired the bootstrap block;
If first judging result shows that second cryptographic Hash is differed with second reference value, from the service
Second reference value corresponding second is obtained in device and repairs code, is repaired code using described second and is repaired the main program;
If first judging result shows that first cryptographic Hash is differed with first reference value, described second breathes out
Uncommon value is also differed with second reference value, and described first is obtained from the server and repairs code and second reparation
Code repairs code and described second using described second and repairs the code reparation bootstrap block and the main program.
Optionally, the default storage region is specially:The memory or flash memory of the electronic equipment.
The embodiment of the present application also provides a kind of electronic equipment, the electronic equipment can with server into row data communication,
The electronic equipment includes:
Acquiring unit, for after the operating system for starting the electronic equipment, being read and being stored by the operating system
The cryptographic Hash of the BIOS of electronic equipment described in the default storage region of the electronic equipment, and obtained from the server
Reference value corresponding with the BIOS;
Judging unit obtains the first judging result for judging whether the cryptographic Hash is identical as the reference value;
Unit is repaired, for when first judging result shows that the cryptographic Hash and the reference value differ, profit
The BIOS is repaired with the reparation code of the BIOS obtained from the server.
Optionally, the electronic equipment further includes:Computing unit, for being stored in described read by the operating system
Before the cryptographic Hash of the BIOS of electronic equipment described in the default storage region of the electronic equipment, opened in the electronic equipment
When machine, is calculated by the bootstrap block of the BIOS and obtain the cryptographic Hash, and the cryptographic Hash is stored in the default storage
Region.
Optionally, the cryptographic Hash includes:The main program pair of the bootstrap block corresponding first cryptographic Hash and the BIOS
The second cryptographic Hash answered;The reference value includes:The first reference value corresponding with the bootstrap block, and it is corresponding with the main program
The second reference value.
Optionally, the reparation unit is specifically used for:If first judging result shows first cryptographic Hash and institute
It states the first reference value to differ, first reference value corresponding first is obtained from the server and repairs code, utilizes institute
It states the first reparation code and repairs the bootstrap block;
If first judging result shows that second cryptographic Hash is differed with second reference value, from the service
Second reference value corresponding second is obtained in device and repairs code, is repaired code using described second and is repaired the main program;
If first judging result shows that first cryptographic Hash is differed with first reference value, described second breathes out
Uncommon value is also differed with second reference value, and described first is obtained from the server and repairs code and second reparation
Code repairs code and described second using described second and repairs the code reparation bootstrap block and the main program.
Optionally, the default storage region is specially:The memory or flash memory of the electronic equipment.
Said one in the embodiment of the present application or multiple technical solutions at least have following one or more technology effects
Fruit:
1, electronic equipment is stored in BIOS in default storage region by being connect with server by operating system reading
Cryptographic Hash, and reference value corresponding with its BIOS is obtained from server;Reference value and default memory block are provided using server
The cryptographic Hash stored in domain judges whether BIOS goes wrong, in the cryptographic Hash and reference value for judging default storage region storage
When differing, i.e. BIOS repairs code when something goes wrong, using the BIOS obtained from server and is repaired automatically to BIOS,
To solve the technical issues of can not repairing BIOS existing for electronic equipment in the prior art automatically, realize that BIOS is repaiied automatically
It is multiple.
2, the different piece due to electronic equipment for BIOS calculates separately cryptographic Hash, and judges itself and corresponding ginseng respectively
Examine whether value identical, the corresponding specific procedure section for obtaining BIOS and going wrong, to carry out corresponding reparation, avoid to BIOS into
Row is whole to be repaired, and is reduced workload and the repair time of BIOS reparations, is improved the success rate of BIOS reparations.
Description of the drawings
Fig. 1 is a kind of flow diagram for information processing method that the embodiment of the present application one provides;
Fig. 2 is the block diagram for a kind of electronic equipment that the embodiment of the present application two provides.
Specific implementation mode
In technical solution provided by the embodiments of the present application, it is stored in default storage region by operating system reading
The cryptographic Hash of BIOS, and reference value corresponding with its BIOS is obtained from server;Reference value is provided using server and is preset
The cryptographic Hash stored in storage region judges whether BIOS goes wrong, the cryptographic Hash for judging default storage region storage with
When reference value differs, i.e. BIOS repairs code when something goes wrong, using the BIOS obtained from server and is carried out certainly to BIOS
It is dynamic to repair, to solve the technical issues of can not repairing BIOS existing for electronic equipment in the prior art automatically, realize BIOS
It is automatic to repair.
Below in conjunction with the accompanying drawings to main realization principle, specific implementation mode and its correspondence of the embodiment of the present application technical solution
The advantageous effect that can reach is explained in detail.
Embodiment one
Referring to FIG. 1, the embodiment of the present application provides a kind of information processing method, it is applied to an electronic equipment, the electronics
Equipment can with server into row data communication, the method includes:
S101:After the operating system for starting the electronic equipment, the electricity is stored in by operating system reading
The cryptographic Hash of the BIOS of electronic equipment described in the default storage region of sub- equipment, and obtain from the server with it is described
The corresponding reference values of BIOS;
S102:Judge whether the cryptographic Hash is identical as the reference value, obtains the first judging result;
S103:If first judging result shows that the cryptographic Hash is differed with the reference value, using from the clothes
The reparation code of the BIOS obtained in business device repairs the BIOS.
In specific implementation process, the code section of BIOS mainly consists of two parts:A part is bootstrap block, that is, is switched on
When the code boot block that run at first;Another part is then main BIOS, for supporting most of power up function,
Such as complete the detection to CPU, mainboard, memory, serial-parallel interface, CD-ROM drive.If the code section of BIOS is problematic, can lead
The problems such as cause system is unstable or dysfunction, therefore the embodiment of the present application passes through the guiding of BIOS when electronic equipment is switched on
Block calculates the cryptographic Hash for obtaining bios code.Specifically, bootstrap block can carry out Hash operation acquisition to all codes of BIOS
One cryptographic Hash for being directed to all codes of BIOS, the various pieces that certain bootstrap block can also be directed to bios code are breathed out respectively
Uncommon operation obtains the cryptographic Hash of various pieces, such as:Hash operation is carried out to bootstrap block and obtains corresponding first Hash of bootstrap block
Value carries out Hash operation to the main program main BIOS of BIOS and obtains corresponding second cryptographic Hash of main program.
In order to judge that bootstrap block is calculated and obtains bios code by correcting errors for bios code in electronic equipment, the embodiment of the present application
Corresponding cryptographic Hash is stored in the default storage region of electronic equipment, and wherein the default storage region is specifically as follows electronic equipment
Memory or flash memory, convenient for electronic equipment os starting after, the cryptographic Hash is directly read from memory or flash memory.With this
Meanwhile electronic equipment provided by the embodiments of the present application is also connect with server, which can be network server,
It can be the operation and maintenance server that the supplier of electronic equipment provides.The BIOS of electronic equipment is previously stored in the server
Corresponding reference value, the reference value are the corresponding correct cryptographic Hash of correct bios code.
For this purpose, S101 after the os starting of electronic equipment, is stored in by operating system reading in predeterminable area
BIOS cryptographic Hash, and the corresponding reference values of BIOS are obtained from server.Specifically, operating system is being obtained from server
BIOS corresponding reference values when, the version of the unit type of electronic equipment and its BIOS can be sent to server first,
Request obtains the reference value of BIOS corresponding with its unit type and bios version.Then, the feedback letter that server is sent is received
Breath, obtains the reference value of BIOS from feedback information.Certainly, if the cryptographic Hash that electronic equipment obtains includes BIOS different pieces pair
When the multiple cryptographic Hash answered, it is corresponding that electronic equipment carries request acquisition various pieces when sending acquisition reference value to server
Reference value illustrates information, in order to which server corresponds to the corresponding reference value of feedback various pieces.
Electronic equipment continues to execute S102 and judges the cryptographic Hash and reference value after the cryptographic Hash and reference value for obtaining BIOS
It is whether identical, obtain the first judging result.Due to the corresponding cryptographic Hash of correct code that reference value is BIOS, and operation obtains
The hash algorithm of reference value is identical as the hash algorithm of cryptographic Hash of BIOS in operation acquisition electronic equipment, so if electronics is set
The cryptographic Hash of BIOS in standby is identical as reference value, shows that the BIOS in electronic equipment is correct, on the contrary then show in electronic equipment
BIOS it is incorrect.So, when the first judging result shows that the cryptographic Hash is identical as reference value, the BIOS of electronic equipment is determined
Correctly, reparation operation need not be carried out to BIOS;It is on the contrary then execute next step:S103.
The corresponding cryptographic Hash of BIOS in S103 in the first judging result shows electronic equipment prestores with server
Reference value when differing, the BIOS in electronic equipment is repaiied using from the reparation code of the BIOS obtained in server
It is multiple.
In specific implementation process, when the cryptographic Hash in default storage region includes:The bootstrap block corresponding first of BIOS
When corresponding second cryptographic Hash of the main program of cryptographic Hash and BIOS, electronic equipment obtains the guiding with BIOS accordingly from service
Corresponding first reference value of block, and the second reference value corresponding with BIOS main programs.At this point, electronic equipment is in the first judging result
When showing that the cryptographic Hash in default storage region and the reference value obtained from server differ, obtained using from server
The reparation code of BIOS BIOS is repaired, specifically include following three kinds of situations:
The first situation:If the first judging result shows that the first cryptographic Hash is differed with the first reference value, from server
The first reference value of middle acquisition corresponding first repairs code, repairs code using first and repairs the bootstrap block.
The second situation:If the first judging result shows that the second cryptographic Hash is differed with the second reference value, from server
The second reference value of middle acquisition corresponding second repairs code, repairs code using second and repairs the main program.
The third situation:If the first judging result shows that the first cryptographic Hash is differed with the first reference value, the second cryptographic Hash
It is also differed with the second reference value, then obtains first from server and repair code and the second reparation code, utilize second to repair
Code and second repairs the code reparation bootstrap block and the main program.
BIOS can be also further subdivided into N number of part by same reason, calculated and obtained the corresponding N number of Hash in N number of part
N number of cryptographic Hash is carried out one by value then electronic equipment then obtains corresponding N number of reference value accordingly with corresponding N number of reference value
One differentiates, determines incorrect part BIOS in BIOS, for incorrect part BIOS obtain corresponding reparation code into
Row is repaired, and to avoid carrying out whole reparation to BIOS, is reduced workload and repair time that BIOS is repaired, is improved BIOS and repair
Success rate.
In the above-described embodiments, electronic equipment is stored in default deposit by being connect with server by operating system reading
The cryptographic Hash of BIOS in storage area domain, and reference value corresponding with its BIOS is obtained from server;Reference is provided using server
The cryptographic Hash stored in value and default storage region judges whether BIOS goes wrong, and is judging default storage region storage
When cryptographic Hash is differed with reference value, i.e. BIOS repairs code pair when something goes wrong, using the BIOS obtained from server
BIOS is repaired automatically, can not be repaired the technology of BIOS existing for electronic equipment in the prior art automatically to solve and is asked
Topic realizes that BIOS is repaired automatically.
Also, electronic equipment calculates separately cryptographic Hash for the different piece of BIOS, and judges itself and corresponding ginseng respectively
Examine whether value identical, the corresponding specific procedure section for obtaining BIOS and going wrong, to carry out corresponding reparation, avoid to BIOS into
Row is whole to be repaired, and is reduced workload and the repair time of BIOS reparations, is improved the success rate of BIOS reparations.
Embodiment two
Referring to FIG. 2, the embodiment of the present application provides a kind of electronic equipment, which can carry out data with server
Communication, the electronic equipment include:
Acquiring unit 201, for after the operating system for starting the electronic equipment, being deposited by operating system reading
The cryptographic Hash of the BIOS of electronic equipment described in the default storage region of the electronic equipment is stored up, and is obtained from the server
Obtain reference value corresponding with the BIOS;
Judging unit 202 obtains the first judging result for judging whether the cryptographic Hash is identical as the reference value;
Unit 203 is repaired, for when first judging result shows that the cryptographic Hash and the reference value differ,
The BIOS is repaired using the reparation code of the BIOS obtained from the server.
In specific implementation process, the electronic equipment further includes:Computing unit 204, for passing through the behaviour described
Make system reading to be stored in before the cryptographic Hash of the BIOS of electronic equipment described in the default storage region of the electronic equipment,
When the electronic equipment booting, is calculated by the bootstrap block of the BIOS and obtain the cryptographic Hash, and the cryptographic Hash is stored
In the default storage region.The default storage region is specially:The memory or flash memory of the electronic equipment.
In specific implementation process, the cryptographic Hash includes:Corresponding first cryptographic Hash of bootstrap block and the BIOS
Corresponding second cryptographic Hash of main program;The reference value includes:The first reference value corresponding with the bootstrap block, and with it is described
Corresponding second reference value of main program.
In specific implementation process, the reparation unit 203 is specifically used for:If first judging result shows described
One cryptographic Hash is differed with first reference value, and first reference value corresponding first is obtained from the server and is repaired
Code repairs code using described first and repairs the bootstrap block;If first judging result shows second cryptographic Hash
It is differed with second reference value, second reference value corresponding second is obtained from the server and repairs code, profit
Code, which is repaired, with described second repairs the main program;If first judging result shows first cryptographic Hash and described the
One reference value differs, second cryptographic Hash is also differed with second reference value, from the server described in acquisition
First, which repairs code and described second, repairs code, repairs code and described second using described second and repairs described in code reparation
Bootstrap block and the main program.
It is virtual bench corresponding with method by electronic equipment in this present embodiment, so, the specific course of work
Just no longer it is specifically described.
By one or more of the embodiment of the present application technical solution, following one or more technology effects may be implemented
Fruit:
1, electronic equipment is stored in BIOS in default storage region by being connect with server by operating system reading
Cryptographic Hash, and reference value corresponding with its BIOS is obtained from server;Reference value and default memory block are provided using server
The cryptographic Hash stored in domain judges whether BIOS goes wrong, in the cryptographic Hash and reference value for judging default storage region storage
When differing, i.e. BIOS repairs code when something goes wrong, using the BIOS obtained from server and is repaired automatically to BIOS,
To solve the technical issues of can not repairing BIOS existing for electronic equipment in the prior art automatically, realize that BIOS is repaiied automatically
It is multiple.
2, the different piece due to electronic equipment for BIOS calculates separately cryptographic Hash, and judges itself and corresponding ginseng respectively
Examine whether value identical, the corresponding specific procedure section for obtaining BIOS and going wrong, to carry out corresponding reparation, avoid to BIOS into
Row is whole to be repaired, and is reduced workload and the repair time of BIOS reparations, is improved the success rate of BIOS reparations.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
Usable storage medium(Including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)The computer program of upper implementation produces
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, equipment(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed 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 a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
After the operating system for starting the electronic equipment, the electronic equipment is stored in by operating system reading
Default storage region described in electronic equipment BIOS cryptographic Hash, and obtain from the server corresponding with the BIOS
Reference value;
Judge whether the cryptographic Hash is identical as the reference value, obtains the first judging result;
If first judging result shows that the cryptographic Hash is differed with the reference value, using from the server
The reparation code of the BIOS obtained repairs the BIOS.
Optionally, it is stored in institute in the default storage region of the electronic equipment in described read by the operating system
Before the cryptographic Hash for stating the BIOS of electronic equipment, the method further includes:When the electronic equipment is switched on, pass through the BIOS
Bootstrap block calculate and obtain the cryptographic Hash, and the cryptographic Hash is stored in the default storage region.
Optionally, the cryptographic Hash includes:The main program pair of the bootstrap block corresponding first cryptographic Hash and the BIOS
The second cryptographic Hash answered;The reference value includes:The first reference value corresponding with the bootstrap block, and it is corresponding with the main program
The second reference value.
Optionally, if first judging result shows that the cryptographic Hash is differed with the reference value, using from
The reparation code of the BIOS obtained in the server repairs the BIOS, specifically includes:If described first sentences
It is disconnected the result shows that first cryptographic Hash is differed with first reference value, described first is obtained from the server and is referred to
It is worth corresponding first and repairs code, repairs code using described first and repair the bootstrap block;If the first judging result table
Bright second cryptographic Hash is differed with second reference value, and it is corresponding that second reference value is obtained from the server
Second repairs code, repairs code using described second and repairs the main program;If first judging result shows described
One cryptographic Hash is differed with first reference value, second cryptographic Hash is also differed with second reference value, from described
Described first is obtained in server and repairs code and the second reparation code, utilizes described second to repair code and described second
It repairs code and repairs the bootstrap block and the main program.
Optionally, the default storage region is specially:The memory or flash memory of the electronic equipment.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of information processing method, be applied to an electronic equipment, the electronic equipment can with server into row data communication,
The method includes:
After the operating system for starting the electronic equipment, the pre- of the electronic equipment is stored in by operating system reading
If the cryptographic Hash of the BIOS of electronic equipment described in storage region, and ginseng corresponding with the BIOS is obtained from the server
Examine value, wherein the cryptographic Hash is that one of all codes progress Hash operation acquisition to BIOS is directed to all codes of BIOS
Cryptographic Hash or for bios code various pieces carry out respectively Hash operation acquisition various pieces cryptographic Hash;
Judge whether the cryptographic Hash is identical as the reference value, obtains the first judging result;
If first judging result shows that the cryptographic Hash is differed with the reference value, it is determined that go out in the BIOS not just
True BIOS, and the incorrect BIOS is repaiied using the reparation code of the BIOS obtained from the server
It is multiple.
2. the method as described in claim 1, which is characterized in that be stored in the electricity by operating system reading described
Before the cryptographic Hash of the BIOS of electronic equipment described in the default storage region of sub- equipment, the method further includes:
It when the electronic equipment is switched on, is calculated by the bootstrap block of the BIOS and obtains the cryptographic Hash, and by the Hash
Value is stored in the default storage region.
3. the method as described in claim 1, which is characterized in that the cryptographic Hash includes:Corresponding first cryptographic Hash of bootstrap block
The second cryptographic Hash corresponding with the main program of the BIOS;The reference value includes:The first reference corresponding with the bootstrap block
Value, and the second reference value corresponding with the main program.
4. method as claimed in claim 3, which is characterized in that if first judging result show the cryptographic Hash with
The reference value differs, and is repaiied to the BIOS using the reparation code of the BIOS obtained from the server
It is multiple, it specifically includes:
If first judging result shows that first cryptographic Hash is differed with first reference value, from the server
It obtains first reference value corresponding first and repairs code, repair code using described first and repair the bootstrap block;
If first judging result shows that second cryptographic Hash is differed with second reference value, from the server
It obtains second reference value corresponding second and repairs code, repair code using described second and repair the main program;
If first judging result show first cryptographic Hash and first reference value differ, second cryptographic Hash
It is also differed with second reference value, described first is obtained from the server and repairs code and the second reparation generation
Code repairs code and described second using described second and repairs the code reparation bootstrap block and the main program.
5. the method as described in any claim in claim 1 ~ 4, which is characterized in that the default storage region is specially:Institute
State the memory or flash memory of electronic equipment.
6. a kind of electronic equipment, the electronic equipment can be with server into row data communication, and the electronic equipment includes:
Acquiring unit, for after the operating system for starting the electronic equipment, institute to be stored in by operating system reading
The cryptographic Hash of the BIOS of electronic equipment described in the default storage region of electronic equipment is stated, and is obtained from the server and institute
State the corresponding reference values of BIOS, wherein the cryptographic Hash is that all codes of BIOS are carried out with a needle of Hash operation acquisition
Cryptographic Hash to all codes of BIOS or the various pieces for carrying out Hash operation acquisition respectively for the various pieces of bios code
Cryptographic Hash;
Judging unit obtains the first judging result for judging whether the cryptographic Hash is identical as the reference value;
Unit is repaired, for when first judging result shows that the cryptographic Hash is differed with the reference value, it is determined that
Go out incorrect BIOS in the BIOS, and using the reparation code of the BIOS obtained from the server to it is described not
Correct BIOS is repaired.
7. electronic equipment as claimed in claim 6, which is characterized in that the electronic equipment further includes:
Computing unit, for being stored in the default storage region of the electronic equipment by operating system reading described
Before the cryptographic Hash of the BIOS of the electronic equipment, when the electronic equipment is switched on, calculated by the bootstrap block of the BIOS
The cryptographic Hash is obtained, and the cryptographic Hash is stored in the default storage region.
8. electronic equipment as claimed in claim 6, which is characterized in that the cryptographic Hash includes:Bootstrap block corresponding first is breathed out
It is uncommon to be worth the second cryptographic Hash corresponding with the main program of the BIOS;The reference value includes:Corresponding with the bootstrap block first
Reference value, and the second reference value corresponding with the main program.
9. electronic equipment as claimed in claim 8, which is characterized in that the reparation unit is specifically used for:
If first judging result shows that first cryptographic Hash is differed with first reference value, from the server
It obtains first reference value corresponding first and repairs code, repair code using described first and repair the bootstrap block;
If first judging result shows that second cryptographic Hash is differed with second reference value, from the server
It obtains second reference value corresponding second and repairs code, repair code using described second and repair the main program;
If first judging result show first cryptographic Hash and first reference value differ, second cryptographic Hash
It is also differed with second reference value, described first is obtained from the server and repairs code and the second reparation generation
Code repairs code and described second using described second and repairs the code reparation bootstrap block and the main program.
10. the electronic equipment as described in any claim in claim 6 ~ 9, which is characterized in that the default storage region is specific
For:The memory or flash memory of the electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410078519.1A CN104899107B (en) | 2014-03-05 | 2014-03-05 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410078519.1A CN104899107B (en) | 2014-03-05 | 2014-03-05 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104899107A CN104899107A (en) | 2015-09-09 |
CN104899107B true CN104899107B (en) | 2018-08-31 |
Family
ID=54031784
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410078519.1A Active CN104899107B (en) | 2014-03-05 | 2014-03-05 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104899107B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955857A (en) * | 2016-04-29 | 2016-09-21 | 浪潮电子信息产业股份有限公司 | Method and device for testing BIOS (Basic Input Output System) |
CN108256355A (en) * | 2018-02-28 | 2018-07-06 | 郑州云海信息技术有限公司 | The method and device of BIOS integralities is verified when refreshing BIOS outside a kind of band |
CN109710319B (en) * | 2018-12-06 | 2022-07-19 | 郑州云海信息技术有限公司 | Method and system for identifying in-place hard disk of computer |
CN110502367A (en) * | 2019-07-29 | 2019-11-26 | 合肥联宝信息技术有限公司 | A kind of control method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1362670A (en) * | 2001-01-05 | 2002-08-07 | 神基科技股份有限公司 | Automatic system BIOS repairing method |
CN101030867A (en) * | 2006-02-28 | 2007-09-05 | 联想(北京)有限公司 | System and method for refreshing and upgrading BIOS |
CN101373448A (en) * | 2008-08-15 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system with remote management |
CN103186434A (en) * | 2011-12-31 | 2013-07-03 | 国民技术股份有限公司 | Method and system for recovering basic input/output system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7200758B2 (en) * | 2002-10-09 | 2007-04-03 | Intel Corporation | Encapsulation of a TCPA trusted platform module functionality within a server management coprocessor subsystem |
CN100437502C (en) * | 2005-12-30 | 2008-11-26 | 联想(北京)有限公司 | Safety chip based virus prevention method |
CN103559436A (en) * | 2013-10-28 | 2014-02-05 | 曙光云计算技术有限公司 | Authentication method and device for virtualization startup |
-
2014
- 2014-03-05 CN CN201410078519.1A patent/CN104899107B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1362670A (en) * | 2001-01-05 | 2002-08-07 | 神基科技股份有限公司 | Automatic system BIOS repairing method |
CN101030867A (en) * | 2006-02-28 | 2007-09-05 | 联想(北京)有限公司 | System and method for refreshing and upgrading BIOS |
CN101373448A (en) * | 2008-08-15 | 2009-02-25 | 华硕电脑股份有限公司 | Computer system with remote management |
CN103186434A (en) * | 2011-12-31 | 2013-07-03 | 国民技术股份有限公司 | Method and system for recovering basic input/output system |
Also Published As
Publication number | Publication date |
---|---|
CN104899107A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104899107B (en) | A kind of information processing method and electronic equipment | |
US9514034B1 (en) | Ordered test execution to enable faster feedback | |
JP5692418B2 (en) | Information processing method, apparatus and program | |
CN110058920B (en) | Virtual machine performance detection method and device, electronic equipment and storage medium | |
CN106302574A (en) | A kind of service availability management method, device and network function virtualization architecture thereof | |
CN108182058A (en) | A kind of software development methodology and cloud development platform based on cloud platform | |
CN106775882A (en) | Cloud computing server batch dispositions method and device | |
CN110096887A (en) | A kind of trusted computing method and server | |
CN106469078A (en) | A kind of upgrade method of intelligent appliance and device | |
CN104158905B (en) | The creation method of web container | |
CN106569907A (en) | System start-up file verifying and compiling method | |
JP2012104132A (en) | Information generation system and method thereof | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
CN106576068A (en) | Software security verification method, equipment and system | |
CN107247616A (en) | A kind of method and system of virtual platform virtualization applications performance test | |
JP5966890B2 (en) | Constraint extraction program, constraint extraction device, and constraint extraction method | |
CN107562511A (en) | Moving method, physical server, virtual server and the system of physical to virtual | |
CN111597093A (en) | Exception handling method, device and equipment | |
CN115080382A (en) | Code testing method, device, equipment and medium | |
CN106201612B (en) | A kind of information processing method and electronic equipment | |
WO2013031129A1 (en) | Information processing device, information processing method, and program | |
CN107450924A (en) | One kind driving monitoring method, device and system | |
CN109684879A (en) | A kind of universal monitor method and system for the hardware and software device that domesticizes | |
CN112367183B (en) | Server maintenance method, device, equipment and machine readable storage medium | |
CN104699593A (en) | Computer software diagnosis method based on UNIX operating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |