CN108459918A - data sharing method and device - Google Patents

data sharing method and device Download PDF

Info

Publication number
CN108459918A
CN108459918A CN201810252572.7A CN201810252572A CN108459918A CN 108459918 A CN108459918 A CN 108459918A CN 201810252572 A CN201810252572 A CN 201810252572A CN 108459918 A CN108459918 A CN 108459918A
Authority
CN
China
Prior art keywords
bmc
memory pool
bios
memory
stored
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
CN201810252572.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.)
Dawning Information Industry Beijing Co Ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201810252572.7A priority Critical patent/CN108459918A/en
Publication of CN108459918A publication Critical patent/CN108459918A/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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/544Buffers; Shared memory; Pipes
    • 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/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading

Abstract

A kind of data sharing method of present invention offer and device.The method includes:Baseboard controller BMC sets a memory pool;System start-up parameter is stored in the memory pool by the BMC, in order to which basic input-output system BIOS obtains the system start-up parameter from the memory pool after system boot;Server hardware information is stored in the memory pool by the BIOS, in order to which the BMC obtains the server hardware information from the memory pool.The present invention can realize the shared of static data between BIOS and BMC and dynamic data, so that the communication efficiency between BIOS and BMC significantly improves, and communicate more flexible.

Description

Data sharing method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of data sharing methods and device.
Background technology
As server system is increasingly intelligent, user is expected that by BMC (Baseboard Management Controller, baseboard controller) or BIOS (Basic Input Output System, basic input output system) acquisitions More system asset informations and system health status, in addition, at large-scale data center, user is also desirable that batch deployment one A little strategies, and most information is completed in the stage in starting up, the thus information between unavoidable BMC and BIOS Interaction, BMC can obtain hardware information from BIOS, and BIOS then obtains the start-up parameter of user preset, including BIOS from BMC CMOS settings, host boot sequence and the setting of some service processors.
In the prior art, BIOS and BMC is to be based on IPMI (Intelligent Platform Management Interface, Intelligent Platform Management Interface) agreement progress data exchange, pass through internal keyboard controller mode interface KCS (Keyboard Controller Style, keyboard controller mode) is between BIOS and BMC into row data communication.
In the implementation of the present invention, inventor has found at least to have the following technical problems in the prior art:
Since the transmission rate of IPMI system interface KCS is low, the limitation of IPMI protocol in addition can only transmit fixed length every time The data of degree, so BIOS and BMC communication delays are very big when transmitted data amount is very big, and then the system boot time also can be very long; In addition, after system boot start completion, BIOS just can not carry out dynamic communication with BMC.
Invention content
Data sharing method and device provided by the invention can realize static data and dynamic between BIOS and BMC Data are shared, so that the communication efficiency between BIOS and BMC significantly improves, and are communicated more flexible.
In a first aspect, the present invention provides a kind of data sharing method, including:
Baseboard controller BMC sets a memory pool;
System start-up parameter is stored in the memory pool by the BMC, in order to basic input output system after system boot BIOS obtains the system start-up parameter from the memory pool;
Server hardware information is stored in the memory pool by the BIOS, in order to which the BMC is obtained from the memory pool Take the server hardware information.
Optionally, one memory pool of the baseboard controller BMC settings includes:
After the power is turned on, baseboard controller BMC initializes memory headroom to server;
Its remaining not used memory headroom is set as memory pool by the BMC according to the distribution condition of self EMS memory.
Optionally, one memory pool of the baseboard controller BMC settings includes:
The BMC specifies a specialized chip as memory pool.
Optionally, the system start-up parameter includes CMOS settings and host boot sequence, the server hardware information Hardware information including CPU and memory.
Optionally, server hardware information is stored in the memory pool in the BIOS, in order to which the BMC is from described interior It deposits after obtaining the server hardware information in pond, further includes:
After the completion of startup of server, system dynamic data is stored in the memory pool by the BIOS, in order to the BMC from The system dynamic data is obtained in the memory pool;
Associated resource information needed for the BIOS is stored in the memory pool by the BMC, in order to which the BIOS is from institute It states and obtains the associated resource information in memory pool.
Second aspect, the present invention provide a kind of data sharing device, and described device includes baseboard controller BMC, memory pool And basic input-output system BIOS;
System start-up parameter is stored in the memory pool, in order to which system is opened by the BMC for setting a memory pool Basic input-output system BIOS obtains the system start-up parameter from the memory pool after machine;
The BIOS, for server hardware information to be stored in the memory pool, in order to which the BMC is from the memory pool It is middle to obtain the server hardware information.
Optionally, the BMC initializes memory headroom after the power is turned on for server, according to the distribution condition of self EMS memory, Its remaining not used memory headroom is set as memory pool.
Optionally, the BMC, for specifying a specialized chip as memory pool.
Optionally, the system start-up parameter includes CMOS settings and host boot sequence, the server hardware information Hardware information including CPU and memory.
Optionally, the BIOS, for system dynamic data to be stored in the memory pool after the completion of startup of server, so as to The system dynamic data is obtained from the memory pool in the BMC;
The BMC, for the associated resource information needed for the BIOS to be stored in the memory pool, in order to the BIOS The associated resource information is obtained from the memory pool.
Data sharing method and device provided in an embodiment of the present invention, baseboard controller BMC set a memory pool;It is described System start-up parameter is stored in the memory pool by BMC, in order to after system boot basic input-output system BIOS from described interior It deposits and obtains the system start-up parameter in pond;Server hardware information is stored in the memory pool by the BIOS, in order to described BMC obtains the server hardware information from the memory pool.Compared with prior art, the present invention is not only propped up by memory pool It is shared to hold static data between BIOS and BMC, also supports that dynamic data between the two is shared, can realize BIOS and BMC it Between fast synergistic communication, in addition, the communication of the two is no longer limited by KCS and IPMI protocol so that logical between BIOS and BMC Believe it is more convenient flexibly, and due to the raising of BIOS and BMC communication efficiencies, significantly reduce server starting up's time.
Description of the drawings
Fig. 1 is the flow chart of one embodiment of the invention data sharing method;
Fig. 2 is the flow chart of another embodiment of the present invention data sharing method;
Fig. 3 is the flow chart of the data sharing method for saving as memory pool in BMC residues are not used;
Fig. 4 is the structural schematic diagram of one embodiment of the invention data sharing device.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill The every other embodiment that personnel are obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of data sharing method, as shown in Figure 1, the method includes:
S11, baseboard controller BMC set a memory pool.
System start-up parameter is stored in the memory pool by S12, the BMC, in order to basic input and output after system boot System bios obtain the system start-up parameter from the memory pool.
Server hardware information is stored in the memory pool by S13, the BIOS, in order to which the BMC is from the memory pool It is middle to obtain the server hardware information.
Wherein, the system start-up parameter includes CMOS settings and host boot sequence, the server hardware information packet Include the hardware information of CPU and memory.
Data sharing method provided in an embodiment of the present invention, compared with prior art, the present invention are not only propped up by memory pool It is shared to hold static data between BIOS and BMC, also supports that dynamic data between the two is shared, can realize BIOS and BMC it Between fast synergistic communication, in addition, the communication of the two is no longer limited by KCS and IPMI protocol so that logical between BIOS and BMC Believe it is more convenient flexibly, and due to the raising of BIOS and BMC communication efficiencies, significantly reduce server starting up's time.
Further, as shown in Fig. 2, after step s 13, further including:
After the completion of S14, startup of server, system dynamic data is stored in the memory pool by the BIOS, in order to described BMC obtains the system dynamic data from the memory pool.
Associated resource information needed for the BIOS is stored in the memory pool by S15, the BMC, in order to the BIOS The associated resource information is obtained from the memory pool.
Wherein, two steps of S14 and S15 sequence in no particular order, can also first carry out carrying out S14 or two step after S15 Suddenly it is carried out at the same time.
Optionally, step S11 can specifically include:
After the power is turned on, baseboard controller BMC initializes memory headroom to server;
Its remaining not used memory headroom is set as memory pool by the BMC according to the distribution condition of self EMS memory.
For the ease of the understanding to technical solution of the present invention, below using the remaining not used memory headrooms of BMC as memory It is described in detail for pond, as shown in figure 3, detailed process is as follows:
1) server powers on, and BMC initializes memory headroom.
2) its remaining not used memory headroom is re-started the addresses IO point by BMC according to the distribution condition of self EMS memory Match, generates " memory pool ".
3) information such as CMOS settings and host boot sequence are stored in " memory pool " by BMC.
4) system boot.
5) BIOS obtains the information such as CMOS settings and host boot sequence from " memory pool ".
6) the hardware assets information such as the CPU of system and memory is stored in " memory pool " by BIOS.
7) BMC obtains the hardware assets information such as CPU and the memory of system from " memory pool ".
8) system boot start completion.
9) dynamic data when BIOS is by system operation is stored in " memory pool " by SMI modes.
10) information such as related resource needed for BIOS are stored in " memory pool " by BMC.
11) BMC obtains system dynamic data from " memory pool ".
12) BIOS obtains associated resource information from " memory pool ".
Optionally, step S11 can specifically include:
The BMC specifies a specialized chip as memory pool.Wherein, the specialized chip can use third-party chip, For example, by EEPROM, (Electrically Erasable Programmable Read-Only Memory, band electrically erasable can Program read-only memory) as the telecommunication media shared between BMC and BIOS.
The embodiment of the present invention also provides a kind of data sharing device, as shown in figure 4, described device includes baseboard controller BMC, memory pool and basic input-output system BIOS;
System start-up parameter is stored in the memory pool, in order to which system is opened by the BMC for setting a memory pool Basic input-output system BIOS obtains the system start-up parameter from the memory pool after machine;
The BIOS, for server hardware information to be stored in the memory pool, in order to which the BMC is from the memory pool It is middle to obtain the server hardware information.
Wherein, the system start-up parameter includes CMOS settings and host boot sequence, the server hardware information packet Include the hardware information of CPU and memory.
Data sharing device provided in an embodiment of the present invention, compared with prior art, the present invention are not only propped up by memory pool It is shared to hold static data between BIOS and BMC, also supports that dynamic data between the two is shared, can realize BIOS and BMC it Between fast synergistic communication, in addition, the communication of the two is no longer limited by KCS and IPMI protocol so that logical between BIOS and BMC Believe it is more convenient flexibly, and due to the raising of BIOS and BMC communication efficiencies, significantly reduce server starting up's time.
Further, the BIOS is additionally operable to that system dynamic data is stored in the memory pool after the completion of startup of server, In order to which the BMC obtains the system dynamic data from the memory pool;
The BMC is additionally operable to the associated resource information needed for the BIOS being stored in the memory pool, in order to described BIOS obtains the associated resource information from the memory pool.
Optionally, the BMC initializes memory headroom after the power is turned on for server, according to the distribution condition of self EMS memory, Its remaining not used memory headroom is set as memory pool.
Optionally, the BMC, for specifying a specialized chip as memory pool.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, all answer by the change or replacement that can be readily occurred in It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of data sharing method, which is characterized in that including:
Baseboard controller BMC sets a memory pool;
System start-up parameter is stored in the memory pool by the BMC, in order to basic input-output system BIOS after system boot The system start-up parameter is obtained from the memory pool;
Server hardware information is stored in the memory pool by the BIOS, in order to which the BMC obtains institute from the memory pool State server hardware information.
2. according to the method described in claim 1, it is characterized in that, the baseboard controller BMC one memory pool of setting includes:
After the power is turned on, baseboard controller BMC initializes memory headroom to server;
Its remaining not used memory headroom is set as memory pool by the BMC according to the distribution condition of self EMS memory.
3. according to the method described in claim 1, it is characterized in that, the baseboard controller BMC one memory pool of setting includes:
The BMC specifies a specialized chip as memory pool.
4. according to the method described in claim 1, it is characterized in that, the system start-up parameter include CMOS setting and host draw Sequence is led, the server hardware information includes the hardware information of CPU and memory.
5. according to the method described in claim 1, it is characterized in that, server hardware information is stored in described in the BIOS Pond is deposited, in order to which the BMC in the memory pool after obtaining the server hardware information, further includes:
After the completion of startup of server, system dynamic data is stored in the memory pool by the BIOS, in order to which the BMC is from described The system dynamic data is obtained in memory pool;
Associated resource information needed for the BIOS is stored in the memory pool by the BMC, in order to which the BIOS is from described interior It deposits and obtains the associated resource information in pond.
6. a kind of data sharing device, which is characterized in that described device includes baseboard controller BMC, memory pool and basic input Output system BIOS;
System start-up parameter is stored in the memory pool, after system boot by the BMC for setting a memory pool Basic input-output system BIOS obtains the system start-up parameter from the memory pool;
The BIOS, for server hardware information to be stored in the memory pool, in order to which the BMC is obtained from the memory pool Take the server hardware information.
7. device according to claim 6, which is characterized in that the BMC initializes memory sky for server after the power is turned on Between, according to the distribution condition of self EMS memory, its remaining not used memory headroom is set as memory pool.
8. device according to claim 6, which is characterized in that the BMC, for specifying a specialized chip as memory Pond.
9. device according to claim 6, which is characterized in that the system start-up parameter includes that CMOS settings and host draw Sequence is led, the server hardware information includes the hardware information of CPU and memory.
10. device according to claim 6, which is characterized in that the BIOS, for startup of server after the completion by system Dynamic data is stored in the memory pool, in order to which the BMC obtains the system dynamic data from the memory pool;
The BMC, for the associated resource information needed for the BIOS to be stored in the memory pool, in order to which the BIOS is from institute It states and obtains the associated resource information in memory pool.
CN201810252572.7A 2018-03-26 2018-03-26 data sharing method and device Pending CN108459918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810252572.7A CN108459918A (en) 2018-03-26 2018-03-26 data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810252572.7A CN108459918A (en) 2018-03-26 2018-03-26 data sharing method and device

Publications (1)

Publication Number Publication Date
CN108459918A true CN108459918A (en) 2018-08-28

Family

ID=63236462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810252572.7A Pending CN108459918A (en) 2018-03-26 2018-03-26 data sharing method and device

Country Status (1)

Country Link
CN (1) CN108459918A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783283A (en) * 2018-12-11 2019-05-21 中国长城科技集团股份有限公司 A kind of processing method, device and the terminal device of hardware detection information
CN111190749A (en) * 2019-12-24 2020-05-22 曙光信息产业(北京)有限公司 Server and method for data exchange between BMC and BIOS
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium
CN112130911A (en) * 2020-08-28 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 Data interaction method, device and system, electronic equipment and storage medium
JP2021009683A (en) * 2019-07-01 2021-01-28 廣達電腦股▲ふん▼有限公司Quanta Computer Inc. Method and system for remote selection of boot device
CN113010303A (en) * 2021-02-02 2021-06-22 新华三信息技术有限公司 Data interaction method and device between processors and server
CN113064639A (en) * 2021-03-08 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for reducing server boot time
CN114253749A (en) * 2022-02-25 2022-03-29 苏州浪潮智能科技有限公司 Interaction method and device, electronic equipment and storage medium
CN114968386A (en) * 2022-05-30 2022-08-30 联想(北京)信息技术有限公司 Equipment information management method, device and equipment of electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681900A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for managing assets of server node
TW201525681A (en) * 2013-12-17 2015-07-01 Inventec Corp BIOS maintenance method
CN106055454A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Monitoring method for server mainboard
CN106569904A (en) * 2015-10-09 2017-04-19 中兴通讯股份有限公司 Information storage method and device and server
US20170220355A1 (en) * 2016-02-02 2017-08-03 Mitac Computing Technology Corporation System for programmably configuring a motherboard

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681900A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for managing assets of server node
TW201525681A (en) * 2013-12-17 2015-07-01 Inventec Corp BIOS maintenance method
CN106569904A (en) * 2015-10-09 2017-04-19 中兴通讯股份有限公司 Information storage method and device and server
US20170220355A1 (en) * 2016-02-02 2017-08-03 Mitac Computing Technology Corporation System for programmably configuring a motherboard
CN106055454A (en) * 2016-05-31 2016-10-26 深圳市国鑫恒宇科技有限公司 Monitoring method for server mainboard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何毅平: ""基于ARM的BMC设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109783283A (en) * 2018-12-11 2019-05-21 中国长城科技集团股份有限公司 A kind of processing method, device and the terminal device of hardware detection information
JP2021009683A (en) * 2019-07-01 2021-01-28 廣達電腦股▲ふん▼有限公司Quanta Computer Inc. Method and system for remote selection of boot device
CN111190749A (en) * 2019-12-24 2020-05-22 曙光信息产业(北京)有限公司 Server and method for data exchange between BMC and BIOS
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium
CN112130911A (en) * 2020-08-28 2020-12-25 山东云海国创云计算装备产业创新中心有限公司 Data interaction method, device and system, electronic equipment and storage medium
CN113010303A (en) * 2021-02-02 2021-06-22 新华三信息技术有限公司 Data interaction method and device between processors and server
CN113064639A (en) * 2021-03-08 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for reducing server boot time
CN114253749A (en) * 2022-02-25 2022-03-29 苏州浪潮智能科技有限公司 Interaction method and device, electronic equipment and storage medium
CN114968386A (en) * 2022-05-30 2022-08-30 联想(北京)信息技术有限公司 Equipment information management method, device and equipment of electronic equipment

Similar Documents

Publication Publication Date Title
CN108459918A (en) data sharing method and device
US20240086341A1 (en) Adaptive fabric allocation for local and remote emerging memories based prediction schemes
CN104246651B (en) Dynamic power limit value in platform is shared
DE112017003301T5 (en) Inter processor power state change
CN109478147B (en) Adaptive resource management in distributed computing systems
KR20100041829A (en) Proactive power management in a parallel computer
CN111078404B (en) Computing resource determining method and device, electronic equipment and medium
CN109902056A (en) A kind of method, apparatus of serial transmission, equipment and computer readable storage medium
DE102020117947A1 (en) PROCEDURE FOR OPTIMIZING THE PERFORMANCE AND EFFICIENCY OF A DEVICE BASED ON HOST CONTROLLED ADVICE PRIOR TO ENTERING LOW POWER FOR BLOCKS AND COMPONENTS ON A PCI EXPRESS DEVICE
CN108737499A (en) server configuration method and device
CN205721746U (en) BIOS starts module and system board
CN102520982A (en) Method and device of node hot plug
US20130238871A1 (en) Data processing method and apparatus, pci-e bus system, and server
WO2017045401A1 (en) Mobile terminal and working method thereof
CN104915302A (en) Data transmission processing method and data transmission unit
US11334436B2 (en) GPU-based advanced memory diagnostics over dynamic memory regions for faster and efficient diagnostics
CN111107120B (en) Redis cluster construction method and system
CN112912743B (en) Calculation force control method, device, equipment and storage medium
CN114995770B (en) Data processing method, device, equipment, system and readable storage medium
CN111104359A (en) Access method and device for baseboard management controller
US20100285842A1 (en) Apparatus and method for power saving using predictive polling in a portable terminal
DE102021127279B4 (en) Computing drive, computer-implemented method and non-transferable machine-readable medium
CN108052379B (en) Multi-task operation method and device of SPI-NAND
CN107391186A (en) A kind of method, apparatus and system for refreshing power supply unit firmware
CN106294143A (en) The adjustment method of the depositor of chip 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180828