CN107943526A - A kind of method and system that quick turn-on startup is realized based on server - Google Patents

A kind of method and system that quick turn-on startup is realized based on server Download PDF

Info

Publication number
CN107943526A
CN107943526A CN201711297996.7A CN201711297996A CN107943526A CN 107943526 A CN107943526 A CN 107943526A CN 201711297996 A CN201711297996 A CN 201711297996A CN 107943526 A CN107943526 A CN 107943526A
Authority
CN
China
Prior art keywords
version number
read
server
firmware
firmware version
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711297996.7A
Other languages
Chinese (zh)
Inventor
姜开永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711297996.7A priority Critical patent/CN107943526A/en
Publication of CN107943526A publication Critical patent/CN107943526A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4403Processor initialisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions

Abstract

The present invention provides a kind of method and system that quick turn-on startup is realized based on server, startup of server internal system firmware version mark bit integrity contrast module, by reading the firmware version number stored in EEPROM and NOR Flash, whether consistent contrast Liang Ge version numbers, firmware version number in EEPROM is read if inconsistent to be used to start server, version number in NOR Flash is read if consistent to be used to start server, version number is read by NOR Flash, required time when firmware is read in reduction significantly, the quick turn-on for realizing server system starts.

Description

A kind of method and system that quick turn-on startup is realized based on server
Technical field
The present invention relates to the technical field of server, and in particular to a kind of side that quick turn-on startup is realized based on server Method and system.
Background technology
As the function that server system designs is more and more, FW capacity necessary to server system starts is increasingly Greatly, the design of usual server system is that FW contents are positioned in EEPROM storage mediums, but thus has a problem: Due to the limitation of eeprom chip operating rate itself, when system startup just needs to spend a large amount of when reading FW from EEPROM Between, the problems such as causing server system starting up bad compared with slow and user experience, therefore how to realize server Quick start of system just becomes particularly important.
The content of the invention
Based on the above problem, the present invention proposes a kind of method and system that quick turn-on startup is realized based on server, Realized by simple hardware design and logic control.
The present invention provides following technical solution:
On the one hand, the present invention provides a kind of method that quick turn-on startup is realized based on server, including:
Step 101, the first firmware version number in electric erazable programmable read-write memory is read by first passage, is passed through Second channel reads the second firmware version number in nonvolatile flash memory;
Step 102, it is whether consistent with the second firmware version number to contrast first firmware version number, if inconsistent, described in reading First version number, if unanimously, reading the second edition number;
Step 103, server system is started according to the firmware version number of reading.
Wherein, it is if inconsistent, the first version number is read, if unanimously, reading the second edition number is specially:If no Unanimously, the first firmware version number is read from electric erazable programmable read-write memory by the first passage, if unanimously, skipping institute First passage is stated, the second firmware version number is read from nonvolatile flash memory by the second channel.
Wherein, after the server system starts, the firmware synchronous refresh in the nonvolatile flash memory is the electrically erasable Latest firmware in programmable read-write memory.
Wherein, the server includes universal server and tailored version server.
In addition, present invention also offers it is a kind of based on server realize quick turn-on start system, the system comprises:
Read module, for reading the first firmware version in electric erazable programmable read-write memory by first passage Number, the second firmware version number in nonvolatile flash memory is read by second channel;
Contrast module, it is whether consistent with the second firmware version number for contrasting first firmware version number, if inconsistent, read The first version number, if unanimously, reading the second edition number;
Starting module, for starting server system according to the firmware version number of reading.
Wherein, it is if inconsistent, the first version number is read, if unanimously, reading the second edition number is specially:If no Unanimously, the first firmware version number is read from electric erazable programmable read-write memory by the first passage, if unanimously, skipping institute First passage is stated, the second firmware version number is read from nonvolatile flash memory by the second channel.
Wherein, after the server system starts, the firmware synchronous refresh in the nonvolatile flash memory is the electrically erasable Latest firmware in programmable read-write memory.
Wherein, the server includes universal server and tailored version server.
The present invention provides a kind of method and system that quick turn-on startup is realized based on server, startup of server system Internal FW version signs bit integrity contrast module, by reading the firmware version number stored in EEPROM and NOR Flash, Whether consistent contrast Liang Ge version numbers, firmware version number in EEPROM is read if inconsistent and is used to start server, if unanimously Then read version number in NOR Flash to be used to start server, version number is read by NOR Flash, reduction significantly is read solid Required time during part, the quick turn-on for realizing server system start.
Brief description of the drawings
Fig. 1 is flow chart of the method for the present invention;
Fig. 2 is the system architecture diagram of the present invention;
Embodiment
To describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for ability For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
On the one hand, embodiments of the present invention provide a kind of method that quick turn-on startup is realized based on server, attached Fig. 1 is flow chart of the method for the present invention, and attached drawing 2 is the system architecture diagram of the present invention, including:
Step 101, the first firmware version number in electric erazable programmable read-write memory is read by first passage, is passed through Second channel reads the second firmware version number in nonvolatile flash memory;
Startup of server system, startup of server internal system FW firmware version flag bits are included with server system structure Uniformity contrast module, illustrates exemplified by EEPROM and NOR Flash.Wherein, startup of server system is that server is opened Need the content that is started during machine, FW firmware version mark bit integrities contrast module be used to contrasting from EEPROM and The FW version numbers read inside NORFlash, EEPROM and NOR Flash are used for solid essential to storage server system starts Part FW.During server starting up, the server system first step is first read by first passage A and second channel B at the same time The version number of FW inside EEPROM and NOR Flash.
Step 102, it is whether consistent with the second firmware version number to contrast first firmware version number, if inconsistent, reads The first version number, if unanimously, reading the second edition number;
Both FW versions that FW version sign bit integrity contrast modules inside server system are read by contrasting Number whether unanimously determine next step startup plan:If the version number the 1, read is inconsistent, needed when server system starts The FW wanted is read still through passage A from EEPROM, and the FW content synchronizations after system starts at this time inside NOR Flash, which refresh, is Newest F W inside EEPROM;If the version number the 2, read is consistent, the FW that server system needs when starting skips passage A, is directly read by passage B from NOR Flash, since the read or write speed of NOR Flash is far longer than EEPROM, so can be big Required time when FW is read in big reduction.
Step 103, server system is started according to the firmware version number of reading.
The present invention makes full use of EEPROM flexibly to update internal FW contents, and fast excellent of NOR Flash read or write speeds Gesture, passes through simple hardware design and logic control, you can to realize that the quick turn-on of server system starts.
Wherein, the server includes universal server and tailored version server.
The present invention provides a kind of method that quick turn-on startup is realized based on server, startup of server internal system FW Version sign bit integrity contrast module, by reading the firmware version number stored in EEPROM and NOR Flash, contrast two Whether a version number is consistent, and firmware version number in EEPROM is read if inconsistent and is used to start server, if unanimously reading Version number is used to start server in NOR Flash, and version number is read by NOR Flash, and firmware when institute is read in reduction significantly The time needed, the quick turn-on for realizing server system start.
On the other hand, embodiments of the present invention provide a kind of system that quick turn-on startup is realized based on server, The system comprises:
Read module, for reading the first firmware version in electric erazable programmable read-write memory by first passage Number, the second firmware version number in nonvolatile flash memory is read by second channel;
Startup of server system, startup of server internal system FW firmware version flag bits are included with server system structure Uniformity contrast module (i.e. contrast module), illustrates exemplified by EEPROM and NOR Flash.Wherein, startup of server system System needs the content that is started when being server start, FW firmware version mark bit integrities contrast module be used to contrasting from The FW version numbers read inside EEPROM and NOR Flash, EEPROM and NOR Flash are used for storage server system and start institute Indispensable firmware FW.During server starting up, the server system first step first passes through first passage A and second channel B at the same time Read the version number of FW inside EEPROM and NOR Flash.
Contrast module, it is whether consistent with the second firmware version number for contrasting first firmware version number, if inconsistent, The first version number is read, if unanimously, reading the second edition number;
Both FW versions that FW version sign bit integrity contrast modules inside server system are read by contrasting Number whether unanimously determine next step startup plan:If the version number the 1, read is inconsistent, needed when server system starts The FW wanted is read still through passage A from EEPROM, and the FW content synchronizations after system starts at this time inside NOR Flash, which refresh, is Newest F W inside EEPROM;If the version number the 2, read is consistent, the FW that server system needs when starting skips passage A, is directly read by passage B from NOR Flash, since the read or write speed of NOR Flash is far longer than EEPROM, so can be big Required time when FW is read in big reduction.
Starting module, for starting server system according to the firmware version number of reading.
The present invention makes full use of EEPROM flexibly to update internal FW contents, and fast excellent of NOR Flash read or write speeds Gesture, passes through simple hardware design and logic control, you can to realize that the quick turn-on of server system starts.
Wherein, the server includes universal server and tailored version server.
The present invention provides a kind of system that quick turn-on startup is realized based on server, startup of server internal system FW Version sign bit integrity contrast module, by reading the firmware version number stored in EEPROM and NOR Flash, contrast two Whether a version number is consistent, and firmware version number in EEPROM is read if inconsistent and is used to start server, if unanimously reading Version number is used to start server in NOR Flash, and version number is read by NOR Flash, and firmware when institute is read in reduction significantly The time needed, the quick turn-on for realizing server system start.
The foregoing description of the disclosed embodiments, enables those skilled in the art to realize or use the present invention.To this A variety of modifications of a little embodiments will be apparent for a person skilled in the art, and the general principles defined herein can Without departing from the spirit or scope of the present invention, to realize in other embodiments.Therefore, the present invention will not be limited The embodiments shown herein is formed on, but meets the most wide model consistent with the principles and novel features disclosed herein Enclose.

Claims (8)

  1. A kind of 1. method that quick turn-on startup is realized based on server, it is characterised in that:
    Step 101, the first firmware version number in electric erazable programmable read-write memory is read by first passage, passes through second Passage reads the second firmware version number in nonvolatile flash memory;
    Step 102, it is whether consistent with the second firmware version number to contrast first firmware version number, if inconsistent, described in reading First version number, if unanimously, reading the second edition number;
    Step 103, server system is started according to the firmware version number of reading.
  2. 2. according to the method described in claim 1, it is characterized in that:If described inconsistent, the first version number is read, if one Cause, reading the second edition number is specially:If inconsistent, by the first passage from electric erazable programmable read-write memory The first firmware version number is read, if unanimously, skipping the first passage, is read by the second channel from nonvolatile flash memory Second firmware version number.
  3. 3. according to the method described in claim 1, it is characterized in that:After the server system starts, the nonvolatile flash memory In firmware synchronous refresh be the electric erazable programmable read-write memory in latest firmware.
  4. 4. according to the method described in claim 1, it is characterized in that:The server includes universal server and tailored version takes Business device.
  5. A kind of 5. system that quick turn-on startup is realized based on server, it is characterised in that:The system comprises:
    Read module, for reading the first firmware version number in electric erazable programmable read-write memory by first passage, leads to Cross the second firmware version number in second channel reading nonvolatile flash memory;
    Contrast module, it is whether consistent with the second firmware version number for contrasting first firmware version number, if inconsistent, read The first version number, if unanimously, reading the second edition number;
    Starting module, for starting server system according to the firmware version number of reading.
  6. 6. system according to claim 5, it is characterised in that:If described inconsistent, the first version number is read, if one Cause, reading the second edition number is specially:If inconsistent, by the first passage from electric erazable programmable read-write memory The first firmware version number is read, if unanimously, skipping the first passage, is read by the second channel from nonvolatile flash memory Second firmware version number.
  7. 7. system according to claim 5, it is characterised in that:After the server system starts, the nonvolatile flash memory In firmware synchronous refresh be the electric erazable programmable read-write memory in latest firmware.
  8. 8. system according to claim 5, it is characterised in that:The server includes universal server and tailored version takes Business device.
CN201711297996.7A 2017-12-08 2017-12-08 A kind of method and system that quick turn-on startup is realized based on server Pending CN107943526A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711297996.7A CN107943526A (en) 2017-12-08 2017-12-08 A kind of method and system that quick turn-on startup is realized based on server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711297996.7A CN107943526A (en) 2017-12-08 2017-12-08 A kind of method and system that quick turn-on startup is realized based on server

Publications (1)

Publication Number Publication Date
CN107943526A true CN107943526A (en) 2018-04-20

Family

ID=61946311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711297996.7A Pending CN107943526A (en) 2017-12-08 2017-12-08 A kind of method and system that quick turn-on startup is realized based on server

Country Status (1)

Country Link
CN (1) CN107943526A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256527A (en) * 2008-03-12 2008-09-03 中兴通讯股份有限公司 Backup method and apparatus for bootstrap
CN101383724A (en) * 2008-08-29 2009-03-11 上海华为技术有限公司 Network updating method and operation maintaining element, single board and network element updating system
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal
CN103186434A (en) * 2011-12-31 2013-07-03 国民技术股份有限公司 Method and system for recovering basic input/output system
CN104090796A (en) * 2014-07-08 2014-10-08 成都万维图新信息技术有限公司 Embedded device program updating method and system
CN106293822A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN106528097A (en) * 2016-10-21 2017-03-22 浙江大华技术股份有限公司 Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment
CN107247646A (en) * 2017-05-26 2017-10-13 郑州云海信息技术有限公司 The method and guiding flow of mainboard VR chip FW versions can be accurately positioned
CN107315616A (en) * 2017-06-30 2017-11-03 郑州云海信息技术有限公司 A kind of loading method of firmware, device and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256527A (en) * 2008-03-12 2008-09-03 中兴通讯股份有限公司 Backup method and apparatus for bootstrap
CN101383724A (en) * 2008-08-29 2009-03-11 上海华为技术有限公司 Network updating method and operation maintaining element, single board and network element updating system
CN103186434A (en) * 2011-12-31 2013-07-03 国民技术股份有限公司 Method and system for recovering basic input/output system
CN103077048A (en) * 2012-12-28 2013-05-01 东莞宇龙通信科技有限公司 Method for updating operating parameters of communication module and communication terminal
CN104090796A (en) * 2014-07-08 2014-10-08 成都万维图新信息技术有限公司 Embedded device program updating method and system
CN106293822A (en) * 2016-08-04 2017-01-04 青岛海信电器股份有限公司 A kind of from the method and device processing chip upgrade
CN106528097A (en) * 2016-10-21 2017-03-22 浙江大华技术股份有限公司 Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment
CN107247646A (en) * 2017-05-26 2017-10-13 郑州云海信息技术有限公司 The method and guiding flow of mainboard VR chip FW versions can be accurately positioned
CN107315616A (en) * 2017-06-30 2017-11-03 郑州云海信息技术有限公司 A kind of loading method of firmware, device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐明亮: "《嵌入式系统基础项目化教程》", 31 May 2017, 西安电子科技大学出版社 *

Similar Documents

Publication Publication Date Title
CN100388235C (en) Memory device and recording/reproducing appts. using same
US8549271B1 (en) Method, system, and computer readable medium for updating and utilizing the contents of a non-essential region of a memory device
CN100454257C (en) Embedded system
CN104391725A (en) Page display method and page display device
WO2017020647A1 (en) Novel storage-based embedded file system and realization method thereof
CN103996412A (en) Power-fail protection method applied to intelligent-card nonvolatile memories
CN108255524A (en) A kind of booting Logo display methods, device and embedded device
WO2019047901A1 (en) Data depositing method
CN107608906A (en) The method for reducing in-chip FLASH erasing times
WO2022143991A1 (en) Multi-time programming electronic fuse apparatus
US9195582B2 (en) Data storing method and apparatus applied to flash memory storage device
CN107943526A (en) A kind of method and system that quick turn-on startup is realized based on server
CN101777077B (en) Method for implementing file system of embedded device
US20170052708A1 (en) Method for accessing flash memory and associated memory controller and electronic device
CN107526814A (en) Mobile terminal document storage method and device
CN109002399A (en) The method of embedded device logout
US9996318B2 (en) FIFO memory having a memory region modifiable during operation
JP2014174710A (en) Information processing device, information processing method, and program
CN112148203B (en) Memory management method, device, electronic equipment and storage medium
CN106921524B (en) Method and device for configuring command line tag
CN105706067A (en) Microcomputer with built-in flash memory, method for writing data to built-in flash memory of microcomputer, and program for writing data to flash memory
CN103473066A (en) Method and device for adding VxWorks image files and reading version numbers
CN109669628B (en) Data storage management method and device based on flash equipment
CN110321179A (en) A kind of application program launching method, system, device and computer storage medium
CN102929563A (en) Transaction data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420

RJ01 Rejection of invention patent application after publication