CN107526616A - A kind of main frame carries out the method and device of data write-in and reading to BMC - Google Patents

A kind of main frame carries out the method and device of data write-in and reading to BMC Download PDF

Info

Publication number
CN107526616A
CN107526616A CN201710780255.8A CN201710780255A CN107526616A CN 107526616 A CN107526616 A CN 107526616A CN 201710780255 A CN201710780255 A CN 201710780255A CN 107526616 A CN107526616 A CN 107526616A
Authority
CN
China
Prior art keywords
bmc
image file
main frame
virtual memory
data
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.)
Granted
Application number
CN201710780255.8A
Other languages
Chinese (zh)
Other versions
CN107526616B (en
Inventor
林辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201710780255.8A priority Critical patent/CN107526616B/en
Publication of CN107526616A publication Critical patent/CN107526616A/en
Application granted granted Critical
Publication of CN107526616B publication Critical patent/CN107526616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The method and device of data write-in and reading is carried out to BMC the invention discloses a kind of main frame, this method includes:Image file is created in the storage device of the BMC;It is virtually a virtual memory by the image file, and the virtual memory is mounted on the main frame, so that the main frame writes data to the virtual memory;The BMC reads data from the virtual memory.The invention enables the data interaction that high speed can be carried out between the BMC of the smart machines such as main frame and server, and larger file can be transmitted between main frame and BMC, while realize that conveniently cost is low, and Consumer's Experience is good.

Description

A kind of main frame carries out the method and device of data write-in and reading to BMC
Technical field
The present invention relates to data processing field, more particularly to a kind of main frame carries out the method for data write-in, Yi Zhongzhu to BMC Machine carries out the method for digital independent to BMC and a kind of main frame carries out the device of data write-in to BMC.
Background technology
At present during the use of the smart machines such as server, the main frame (Host) of smart machine needs and smart machine BMC (baseboard management controller) enter row data communication, and current communication mode is under IPMI protocol, by using BMC Interface (such as KCS interfaces) main frame and BMC is entered row data communication, but the speed of the communication mode data transfer is extremely slow Slowly, and due to being limited by host-host protocol, it is impossible to carry out the transmission of big file, therefore server etc. between main frame and BMC The function of smart machine is restricted and (can not such as carry out the updating operation for being related to the BMC of larger AKU), it has not been convenient to which user makes With.
The content of the invention
The purpose of the embodiment of the present invention is to provide method and dress that a kind of main frame carries out BMC data write-in and reading Put, the method for the write-in and reading can improve the message transmission rate between main frame and BMC, and can be in main frame and BMC Between transmit larger file.
In order to solve the above-mentioned technical problem, embodiments of the invention employ following technical scheme:A kind of main frame enters to BMC The method of row data write-in, including:
Image file is created in the storage device of the BMC;
It is virtually a virtual memory by the image file, and the virtual memory is mounted on the main frame, So that the main frame writes data to the virtual memory;
The BMC reads data from the virtual memory.
Preferably, the image file that created in the storage device of the BMC includes:Obtain the storage device Storage information, and selected in the storage device according to the storage information be adapted with the image file it is pre-stored Space;According to order is created the image file is created in the pre-stored space.
By the image file it is virtually a virtual memory, and the virtual memory is hung preferably, described It is downloaded on the main frame and is specially:It is virtually a USB flash disk by the image file, the main frame and USB flash disk is created by the BMC Between data path so that the USB flash disk electrical connection on the host.
Preferably, described BMC read data packets from the virtual memory include:By the virtual memory Unloaded from the main frame, and the virtual memory is reduced to the image file;Mirror image text described in the BMC carries Part, so that the BMC reads data from the image file.
The embodiment of the present invention additionally provides a kind of method that main frame carries out digital independent to BMC, including:
Image file is created in the storage device of the BMC, the number of the BMC write-ins is included in the image file According to;
It is virtually a virtual memory by the image file, and the virtual memory is mounted on the main frame, So that the main frame reads data from the virtual memory.
Preferably, the image file that created in the storage device of the BMC includes:Obtain the storage device Storage information, and selected in the storage device according to the storage information be adapted with the image file it is pre-stored Space;According to order is created the image file is created in the pre-stored space.
By the image file it is virtually a virtual memory, and the virtual memory is hung preferably, described It is downloaded on the main frame and is specially:It is virtually a USB flash disk by the image file, the main frame and USB flash disk is created by the BMC Between data path so that the USB flash disk electrical connection on the host.
The embodiment of the present invention additionally provides the device that a kind of main frame carries out data write-in to BMC, including creation module, virtually Module and carry module:
The creation module is configured to create image file in the storage device of the BMC;
It is virtually a virtual memory that the virtual module, which is configured to the image file,;
The carry module is configured to the virtual memory being mounted on the main frame, so that the main frame is to described Virtual memory writes data, and virtual memory described in carry is on the BMC, so that the BMC virtually deposits from described Data are read in reservoir.
Preferably, the creation module includes selecting unit and creating unit;The selecting unit is configured to obtain institute The storage information of storage device is stated, and is selected in the storage device according to the storage information and is mutually fitted with the image file The pre-stored space answered;The creating unit is configured to create the mirror image text in the pre-stored space according to establishment order Part.
Preferably, the carry module is further configured to when the BMC reads data from the virtual memory When, the virtual memory is unloaded from the main frame, and the image file is mounted on the BMC, wherein, it is described Image file is formed virtual memory reduction by the virtual module.
The beneficial effect of the embodiment of the present invention is:So that it can enter between the BMC of the smart machine such as main frame and server The data interaction of row high speed, and larger file can be transmitted between main frame and BMC, while realize that conveniently cost is low, use Experience at family.
Brief description of the drawings
Fig. 1 is the flow chart that the main frame of the embodiment of the present invention carries out the method for data write-in to BMC;
Fig. 2 is that the main frame of the embodiment of the present invention creates mirror image text when data write-in is carried out to BMC in BMC storage device The flow chart of part;
Fig. 3 is that the BMC of the embodiment of the present invention reads the flow chart of data from virtual memory;
Fig. 4 is the flow chart that the main frame of the embodiment of the present invention carries out the method for digital independent to BMC;
Fig. 5 is the flow chart that the main frame of the embodiment of the present invention carries out a detailed process of data write-in to BMC;
Fig. 6 is a kind of specific annexation block diagram that the main frame of the embodiment of the present invention carries out the device of data write-in to BMC.
Description of reference numerals
The device 2- creation module 3- virtual modules of 1- data write-in
4- carry module 5- main frames 6-BMC
7- image files 8-eMMC
Embodiment
Herein with reference to the various schemes and feature of the accompanying drawing description present invention.
It should be understood that various modifications can be made to the embodiment invented herein.Therefore, description above should not regard To limit, and only as the example of embodiment.Those skilled in the art will expect within the scope and spirit of Other modifications.
Comprising in the description and the accompanying drawing of a part for constitution instruction shows embodiments of the invention, and with it is upper What face provided is used to explain the present invention together to the substantially description of the present invention and the detailed description given below to embodiment Principle.
It is of the invention by the description to the preferred form of the embodiment that is given as non-limiting examples with reference to the accompanying drawings These and other characteristic will become apparent.
It is also understood that although with reference to some instantiations, invention has been described, but people in the art Member realize with can determine the present invention many other equivalents, they have feature as claimed in claim and therefore all In the protection domain limited whereby.
When read in conjunction with the accompanying drawings, in view of described further below, in terms of above and other of the invention, feature and advantage will become It is more readily apparent.
Hereinafter with reference to the specific embodiment of the accompanying drawing description present invention;It will be appreciated, however, that the embodiment invented is only The example of the present invention, it can use various ways to implement.Function and structure that is known and/or repeating is not described in detail to avoid Unnecessary or unnecessary details make it that the present invention is smudgy.Therefore, the specific structural and feature invented herein is thin Section is not intended to restrictions, but as just the basis of claim and representative basis for instruct those skilled in the art with Substantially any appropriate detailed construction is diversely using the present invention.
This specification can be used phrase " in one embodiment ", " in another embodiment ", " in another embodiment In " or " in other embodiments ", it may refer to according to one or more of identical or different embodiment of the present invention.
The method that a kind of main frame 5 of the embodiment of the present invention carries out data write-in to BMC 6, the wherein smart machine such as server BMC 6 (Baseboard Management Controller, baseboard management controller) support professional standard IPMI rule Model, the specification describe the management function being built on the mainboard of the smart machines such as server, and the system management software is to each The individual management for being managed device, it can be realized by BMC 6.The grade of main frame 5 intelligent terminal can be carried out quickly to BMC 6 Write operation and the transmission for realizing big file, as shown in figure 1, the method for data write-in includes:
S1, image file 7 is created in BMC 6 storage device.Image file 7 be by a series of specific files according to Certain form is fabricated to single file to use.There is storage device with data storage in BMC 6, such as with BMC There is eMMC 8 flash chip in 6, image file 7, the storage required for image file 7 itself can be created in eMMC 8 Space can be provided by eMMC 8, and the size and form of image file 7 can be preset according to being actually needed.
S2, it is virtually a virtual memory by image file 7, and virtual memory is mounted on main frame 5, so that main frame 5 write data to virtual memory.The virtual memory can be virtual USB flash disk, hard disk or CD etc., the virtual memory utensil Have that read or write speed is fast, can store larger file, advantage, the described carries such as carry is convenient are considered as mounting and loaded, carry The data path between main frame 5 and virtual memory can be opened up afterwards, and main frame 5 can enter to the virtual memory being mounted to thereon The operations such as row identification, registration, due to USB flash disk, the read or write speed of hard disk or CD is fast, can store larger file, therefore above-mentioned side Method can realize fast write operation of the main frame 5 to virtual memory, and can write larger file to virtual memory.Such as It is virtually USB flash disk by virtual memory, USB flash disk is mounted on main frame 5, main frame 5 can be quickly identified to USB flash disk and install phase The driver answered so that main frame 5 can use the USB flash disk, if main frame 5 needs to write data into BMC 6, can first by Data are write in the USB flash disk in case then forwarding the data to BMC 6, which is easy to operate and improves writing speed.
S3, BMC 6 reads data from virtual memory.Because the virtual memory is essentially at BMC 6 storage In equipment, virtual memory as previously mentioned is in BMC 6 eMMC 8 flash chip, therefore BMC 6 is from virtually depositing Speed is exceedingly fast when data are read in reservoir, and can read larger file.BMC 6 reads data visitor from virtual memory The operation that main frame 5 carries out data write-in to BMC 6 is realized in sight, and whole ablation process speed is fast and can realize larger The write-in of file.
In one embodiment of the invention, as shown in Fig. 2 BMC's 6 when main frame 5 is to the progress data write-ins of BMC 6 Image file 7 is created in storage device to be included:S11, the storage information of storage device is obtained, and set according to storage information in storage The pre-stored space being adapted with image file 7 is selected in standby.The storage information of storage device includes the capacity of storage facilities, is situated between The information such as matter, form or read or write speed, storage device can be analyzed in advance to obtain corresponding storage information, then according to storage Information selectes the pre-stored space being adapted with image file 7 in storage device, to meet the individual features of image file 7, As selected the storage region with suitable capacity as the pre-stored space being adapted with image file 7, in case the text that establishes mirror image Part 7.S12, image file 7 is created in space is pre-stored according to order is created.Main frame 5 can send the mirror image text for requiring to create The establishment order of part 7, the establishment order can be to the types of image file 7, capacity, in the parameter such as form or read or write speed extremely Few one is defined, can be according to order establishment image file 7 in pre-stored space is created, so that the image file created 7 meet the demand of main frame 5.
In one embodiment of the invention, described by image file 7 is virtually a virtual memory, and will virtually deposit Reservoir is mounted on main frame 5:It is virtually a USB flash disk by image file 7, is created by BMC 6 between main frame 5 and USB flash disk Data path so that USB flash disk is connected electrically on main frame 5.USB flash disk, which has, to take up space small, and service speed is fast, amount of storage is big and performance compared with The advantages of reliable, and USB flash disk can be invented a variety of different forms, can be met the needs of main frame 5, also be readily conformed to The requirement of BMC 6 storage device in itself, is easy to create.Image file 7 virtually creates master for that after a USB flash disk, can pass through BMC 6 Data path between machine 5 and USB flash disk, main frame 5 can carry out the operation such as registering to USB flash disk, USB flash disk is connected electrically in main frame 5 On, so that main frame 5 can carry out write operation to USB flash disk.
In one embodiment of the invention, as shown in figure 3, described BMC 6 read data packets from virtual memory Include:S31, virtual memory is unloaded from main frame 5, and virtual memory is reduced to image file 7.The unloading with by entity USB flash disk unloaded from smart machine similar, no longer to data are write in virtual memory, virtual memory is reduced to for main frame 5 Image file 7 causes BMC 6 to recover the operation to image file 7.The carry image file 7 of S32, BMC 6, so that BMC 6 is from mirror As reading data in file 7.In one embodiment, image file 7 can be mounted to by BMC 6 according to the order of main frame 5 In the file system of body, BMC 6 can carry out read operation to image file 7 after carry, and then carry out subsequent operation, such as perform The data of reading.In order to which more clearly explanation above-mentioned steps, below citing illustrate.The BMC of the smart machines such as server 6 need carry out updating operation, corresponding AKU is larger, but main frame 5 AKU must be sent to BMC 6 so that its upgrade, Now AKU can be written on virtual USB flash disk by main frame 5, and the virtual USB flash disk is by being created in BMC 6 storage device Image file 7 virtually form, on AKU write-in USB flash disk after, main frame 5 sends order and USB flash disk unloads and driven from main frame 5 The image file 7 that the carries of BMC 6 are formed by USB flash disk reduction, BMC 6 reads AKU from image file 7, so as to complete main frame 5 couples of BMC 6 carry out the process of data write-in, and subsequent BMC 6 can perform the AKU and carry out updating operation.Said process writes Efficiency high, it is easy to operate, and realize big file transmission (write-in).
With reference to Fig. 5, and combine the whole process that a specific embodiment carries out main frame 5 to BMC 6 data write-in Carry out simple illustration:(1) main frame 5 sends the image file 7 of the specified format size of order request carry to BMC 6;(2)BMC 6 find the space of suitable size in eMMC 8 and create image file 7;(3) image file 7 is invented USB flash disk and hung by BMC It is downloaded to main frame 5;(4) main frame finds the USB flash disk and writes file thereto;(5) main frame 5 sends order to BMC 6 and unloads the USB flash disk simultaneously It is required that BMC 6 therefrom reads specified file;(6) image file 7 is mounted in the file system of oneself by BMC 6, reads it In file, so as to complete to carry out data write-in from main frame 5 to BMC 6.
The method that a kind of main frame 5 of the embodiment of the present invention carries out digital independent to BMC 6, the grade of main frame 5 intelligent terminal can be with Read operation is carried out to BMC 6 and realizes the transmission of big file, as shown in figure 4, the method for the digital independent includes:
S4, image file 7 is created in BMC 6 storage device, the data of the write-ins of BMC 6 are included in image file 7. Image file 7 is that a series of specific files are fabricated into single file to use according to certain form.Have in BMC 6 There is storage device with data storage, such as with the flash chip with eMMC 8 in BMC 6, mirror can be created in eMMC 8 As file 7, the memory space required for image file 7 itself can be provided by eMMC 8, and the size and form of image file 7 can It is actually needed and is preset with basis.Include the number for needing main frame 5 to be read out that BMC 6 writes in advance in image file 7 According to, such as BMC 6 has been written into corresponding data in image file 7 according to the call instruction of main frame 5.
S5, it is virtually a virtual memory by image file 7, and virtual memory is mounted on main frame 5, so that main frame 5 read data from virtual memory.The virtual memory can be virtual USB flash disk, hard disk or CD etc., the virtual memory It is fast with read or write speed, the advantage such as larger file, carry convenience can be stored, described carry is considered as mounting and loaded, hangs The data path between main frame 5 and virtual memory can be opened up after load, main frame 5 can be to being mounted to virtual memory thereon It is identified, the operation such as registration, due to USB flash disk, the read or write speed of hard disk or CD is fast, can store larger file, therefore above-mentioned Method can realize fast reading operations of the main frame 5 to virtual memory, and can read larger file to virtual memory.Example It is virtually USB flash disk such as by virtual memory, USB flash disk is mounted on main frame 5, main frame 5 quickly can be identified and install to USB flash disk Corresponding driver, so that main frame 5 can use the USB flash disk, if main frame 5 needs to read data from BMC 6, Ke Yixian Write data into the USB flash disk in case subsequent main frame 5 is read.The storage that BMC 6 is essentially at due to the virtual memory is set In standby, virtual memory as previously mentioned is in BMC 6 eMMC 8 flash chip, therefore main frame 5 is from virtual memory Speed is exceedingly fast when data are read in device, and can read larger file.It is objective that main frame 5 reads data from virtual memory On realize the operation that main frame 5 carries out digital independent to BMC 6, and whole reading process speed is fast and can realize larger text The reading of part.
In one embodiment of the invention, depositing in BMC 6 during digital independent is carried out to BMC 6 with reference to Fig. 2, main frame 5 Creating image file 7 in storage equipment includes:S41, the storage information of storage device is obtained, and according to storage information in storage device In select with image file 7 be adapted pre-stored space.The storage information of storage device includes the capacity of storage facilities, is situated between The information such as matter, form or read or write speed, storage device can be analyzed in advance to obtain corresponding storage information, then according to storage Information selectes the pre-stored space being adapted with image file 7 in storage device, to meet the individual features of image file 7, As selected the storage region with suitable capacity as the pre-stored space being adapted with image file 7, in case the text that establishes mirror image Part 7.S42, image file 7 is created in space is pre-stored according to order is created.Main frame 5 can send the mirror image text for requiring to create The establishment order of part 7, the establishment order can be to the types of image file 7, capacity, in the parameter such as form or read or write speed extremely Few one is defined, can be according to order establishment image file 7 in pre-stored space is created, so that the image file created 7 meet the demand of main frame 5.
In one embodiment of the invention, described by image file 7 is virtually a virtual memory, and will virtually deposit Reservoir is mounted on main frame 5:It is virtually a USB flash disk by image file 7, is created by BMC 6 between main frame 5 and USB flash disk Data path so that USB flash disk is connected electrically on main frame 5.USB flash disk, which has, to take up space small, and service speed is fast, amount of storage is big and performance compared with The advantages of reliable, and USB flash disk can be invented a variety of different forms, can be met the needs of main frame 5, also be readily conformed to The requirement of BMC 6 storage device in itself, is easy to create.Image file 7 virtually creates master for that after a USB flash disk, can pass through BMC 6 Data path between machine 5 and USB flash disk, main frame 5 can carry out the operation such as registering to USB flash disk, USB flash disk is connected electrically in main frame 5 On, so that main frame 5 can carry out read operation to USB flash disk.
The device 1 of data write-in is carried out to BMC 6 in a kind of main frame 5 of the embodiment of the present invention, as shown in fig. 6, data are write The device 1 entered includes creation module 2, virtual module 3 and carry module 4:
Creation module 2 is configured to create image file 7 in BMC 6 storage device.Image file 7 is by specific one Paper series are fabricated to single file to use according to certain form.There is storage device with data storage in BMC 6, Such as there is eMMC 8 flash chip in BMC 6, creation module 2 can create image file 7, image file in eMMC 8 7 required memory space itself can be provided by eMMC 8, and the size and form of image file 7 can be pre- according to being actually needed First set.
It is virtually a virtual memory that virtual module 3, which is configured to image file 7,.The virtual memory can be virtual USB flash disk, hard disk or CD etc., the virtual memory have that read or write speed is fast, can store larger file, the advantages such as carry is convenient.
Carry module 4 is configured to virtual memory being mounted on main frame 5, so that main frame 5 writes number to virtual memory According to, and mount virtual memory is on BMC 6, so that BMC 6 reads data from virtual memory.Described carry can be with Regard mounting as to load, carry module 4 can be opened up after virtual memory is mounted on main frame 5 main frame 5 and virtual memory it Between data path, the virtual memory that be mounted to thereon can be identified main frame 5, the operation such as registration, due to USB flash disk, firmly The read or write speed of disk or CD is fast, can store larger file, therefore the effect of above-mentioned carry module 4 can realize main frame 5 to void Intend the fast write operation of memory, and larger file can be write to virtual memory.With reference to Fig. 5 and Fig. 6, such as virtual mould Virtual memory is virtually USB flash disk by block 3, and USB flash disk is mounted on main frame 5 by carry module 4, and main frame 5 can be carried out quickly to USB flash disk Identify and corresponding driver is installed, so that main frame 5 can use the USB flash disk, if main frame 5 needs to write number into BMC 6 According to when, can first write data into the USB flash disk in case then forwarding the data to BMC 6, which is easy to operate and improves Writing speed.It is essentially at due to the virtual memory in BMC 6 storage device, virtual memory as previously mentioned is set In BMC 6 eMMC 8 flash chip, therefore speed is exceedingly fast when BMC 6 reads data from virtual memory, Er Qieke To read larger file.BMC 6 reads data from virtual memory objectively realizes main frame 5 to the progress data of BMC 6 The operation of write-in, and whole ablation process speed is fast and can realize the write-in of larger file.
In one embodiment of the invention, creation module 2 includes selecting unit and creating unit.Selecting unit is configured to The storage information of storage device is obtained, and is selected in storage device according to storage information and is prestored with what image file 7 was adapted Store up space.The storage information of storage device includes the capacity of storage facilities, medium, the information such as form or read or write speed, selection list Member can analyze storage device in advance to obtain corresponding storage information, then according to storage information in storage device select with The adaptable pre-stored space of image file 7, to meet the individual features of image file 7, have suitably as selecting unit is selected The storage region of capacity is as the pre-stored space being adapted with image file 7, in case the file 7 that establishes mirror image.
Creating unit is configured to create image file 7 in pre-stored space according to establishment order.Main frame 5 can be to establishment Unit sends the establishment order for the image file 7 for requiring to create, and the establishment order can be to the type of image file 7, capacity, lattice At least one in the parameter such as formula or read or write speed is defined, and creating unit can be according to creating order in pre-stored space Image file 7 is created, so that the image file 7 created meets the demand of main frame 5.
In one embodiment of the invention, it is virtually a USB flash disk that virtual module 3, which is further configured to image file 7, with USB flash disk is set to be electrically connected by the data path that BMC 6 is created with main frame 5.
Carry module 4 is further configured to when BMC 6 reads data from virtual memory, by virtual memory from master Unloaded on machine 5, and image file 7 be mounted on BMC 6, wherein, image file 7 by virtual module 3 by virtual memory also Original forms.The unloading operation of carry module 4 is similar with the USB flash disk of entity is unloaded from smart machine, and main frame 5 is no longer to void To intend writing data on memory, virtual memory is reduced to image file 7 by virtual module 3, the carry image file 7 of carry module 4, It may be such that BMC 6 recovers the operation to image file 7, BMC 6 can read data from image file 7.In one embodiment In, image file 7 can be mounted in BMC 6 file system of itself by carry module 4 according to the order of main frame 5, after carry BMC 6 can carry out read operation to image file 7, and then carry out subsequent operation, such as perform the data read.In order to more clear The explanation above-mentioned steps of Chu, illustrated with reference to Fig. 5 and Fig. 6 citings.The BMC 6 of the smart machines such as server needs to carry out Updating operation, corresponding AKU is larger, but main frame 5 must send AKU to BMC 6 so that it upgrades, now main frame 5 AKU can be written on virtual USB flash disk, the virtual USB flash disk is virtually formed by virtual module 3 to image file 7, And image file 7 is created in BMC 6 storage device for creation module 2 and formed, after AKU is write on USB flash disk, carry module 4 Sent to order according to main frame 5 and unload USB flash disk from main frame 5, and the image file 7, BMC formed is reduced by USB flash disk to the carries of BMC 6 6 read AKU from image file 7, the process of data write-in are carried out so as to complete main frame 5 to BMC 6, subsequent BMC 6 can Updating operation is carried out to perform the AKU.Said process write efficiency is high, easy to operate, and realizes big file transmission and (write Enter).
Above example is only the exemplary embodiment of the present invention, is not used in the limitation present invention, protection scope of the present invention It is defined by the claims.Those skilled in the art can make respectively in the essence and protection domain of the present invention to the present invention Kind modification or equivalent substitution, this modification or equivalent substitution also should be regarded as being within the scope of the present invention.

Claims (10)

1. a kind of method that main frame carries out data write-in to BMC, including:
Image file is created in the storage device of the BMC;
It is virtually a virtual memory by the image file, and the virtual memory is mounted on the main frame, so that The main frame writes data to the virtual memory;
The BMC reads data from the virtual memory.
2. the method for data write-in according to claim 1, described that mirror image text is created in the storage device of the BMC Part includes:Obtain the storage information of the storage device, and selected in the storage device according to the storage information and institute State the adaptable pre-stored space of image file;According to order is created the image file is created in the pre-stored space.
3. the method for data according to claim 1 write-in, described by the image file is virtually a virtual memory Device, and the virtual memory is mounted on the main frame and is specially:It is virtually a USB flash disk by the image file, passes through institute The data path between the BMC establishments main frame and USB flash disk is stated, so that USB flash disk electrical connection is on the host.
4. the method for data write-in according to claim 1, the described BMC read number from the virtual memory According to including:The virtual memory is unloaded from the main frame, and the virtual memory is reduced to the image file; Image file described in the BMC carries, so that the BMC reads data from the image file.
5. a kind of method that main frame carries out digital independent to BMC, including:
Image file is created in the storage device of the BMC, the data of the BMC write-ins are included in the image file;
It is virtually a virtual memory by the image file, and the virtual memory is mounted on the main frame, so that The main frame reads data from the virtual memory.
6. the method for digital independent according to claim 5, described that mirror image text is created in the storage device of the BMC Part includes:Obtain the storage information of the storage device, and selected in the storage device according to the storage information and institute State the adaptable pre-stored space of image file;According to order is created the image file is created in the pre-stored space.
7. the method for digital independent according to claim 5, described by the image file is virtually a virtual memory Device, and the virtual memory is mounted on the main frame and is specially:It is virtually a USB flash disk by the image file, passes through institute The data path between the BMC establishments main frame and USB flash disk is stated, so that USB flash disk electrical connection is on the host.
8. a kind of main frame carries out the device of data write-in, including creation module, virtual module and carry module to BMC:
The creation module is configured to create image file in the storage device of the BMC;
It is virtually a virtual memory that the virtual module, which is configured to the image file,;
The carry module is configured to the virtual memory being mounted on the main frame, so that the main frame is to described virtual Memory write data, and virtual memory described in carry is on the BMC, so that the BMC is from the virtual memory Middle reading data.
9. the device of data write-in according to claim 8, the creation module include selecting unit and creating unit;Institute The storage information that selecting unit is configured to obtain the storage device is stated, and according to the storage information in the storage device The selected pre-stored space being adapted with the image file;The creating unit is configured to be prestored described according to establishment order Storage creates the image file in space.
10. the device of data according to claim 8 write-in, the carry module be further configured to when the BMC from When data are read in the virtual memory, the virtual memory is unloaded from the main frame, and by the image file It is mounted on the BMC, wherein, the image file is formed virtual memory reduction by the virtual module.
CN201710780255.8A 2017-09-01 2017-09-01 Method and device for writing and reading data of BMC by host Active CN107526616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710780255.8A CN107526616B (en) 2017-09-01 2017-09-01 Method and device for writing and reading data of BMC by host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710780255.8A CN107526616B (en) 2017-09-01 2017-09-01 Method and device for writing and reading data of BMC by host

Publications (2)

Publication Number Publication Date
CN107526616A true CN107526616A (en) 2017-12-29
CN107526616B CN107526616B (en) 2021-04-13

Family

ID=60683276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710780255.8A Active CN107526616B (en) 2017-09-01 2017-09-01 Method and device for writing and reading data of BMC by host

Country Status (1)

Country Link
CN (1) CN107526616B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965382A (en) * 2018-05-31 2018-12-07 郑州云海信息技术有限公司 A kind of document transmission method based on BMC, device, equipment and medium
CN110519391A (en) * 2019-09-05 2019-11-29 曙光信息产业(北京)有限公司 Document transmission method, device and readable storage medium storing program for executing
CN111061692A (en) * 2018-10-16 2020-04-24 阿里巴巴集团控股有限公司 Data access method, device, system and storage medium
CN112395165A (en) * 2020-11-27 2021-02-23 中电科技(北京)有限公司 Method and equipment for acquiring resource utilization rate of server and server
CN115061701A (en) * 2022-08-16 2022-09-16 新华三信息技术有限公司 Out-of-band installation method and device for server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030146A (en) * 2007-04-10 2007-09-05 北京中星微电子有限公司 Method and system for updating fastener
US20170039075A1 (en) * 2015-08-04 2017-02-09 Amlogic (Shanghai), Inc. Rapid start up method for electronic equipment
TWI595364B (en) * 2015-08-18 2017-08-11 神雲科技股份有限公司 Automatic image recovery method and server system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030146A (en) * 2007-04-10 2007-09-05 北京中星微电子有限公司 Method and system for updating fastener
US20170039075A1 (en) * 2015-08-04 2017-02-09 Amlogic (Shanghai), Inc. Rapid start up method for electronic equipment
TWI595364B (en) * 2015-08-18 2017-08-11 神雲科技股份有限公司 Automatic image recovery method and server system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965382A (en) * 2018-05-31 2018-12-07 郑州云海信息技术有限公司 A kind of document transmission method based on BMC, device, equipment and medium
CN108965382B (en) * 2018-05-31 2021-06-29 郑州云海信息技术有限公司 File transfer method, device, equipment and medium based on BMC (baseboard management controller)
US11431782B2 (en) 2018-05-31 2022-08-30 Zhengzhou Yunhai Information Technology Co., Ltd. Method, apparatus, and device for transmitting file based on BMC, and medium
CN111061692A (en) * 2018-10-16 2020-04-24 阿里巴巴集团控股有限公司 Data access method, device, system and storage medium
CN110519391A (en) * 2019-09-05 2019-11-29 曙光信息产业(北京)有限公司 Document transmission method, device and readable storage medium storing program for executing
CN112395165A (en) * 2020-11-27 2021-02-23 中电科技(北京)有限公司 Method and equipment for acquiring resource utilization rate of server and server
CN115061701A (en) * 2022-08-16 2022-09-16 新华三信息技术有限公司 Out-of-band installation method and device for server
CN115061701B (en) * 2022-08-16 2022-11-25 新华三信息技术有限公司 Out-of-band installation method and device for server

Also Published As

Publication number Publication date
CN107526616B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN107526616A (en) A kind of main frame carries out the method and device of data write-in and reading to BMC
US11063835B2 (en) IoT cloud to cloud architecture
CN109791520A (en) The log recording of the Space Coupling of physical medium perception and playback
CN104820701A (en) Method and system for recording and synchronizing data
EP2566286B1 (en) Wireless Internet Access Module, Communication Method for Host and Wireless Internet Access Module, and Data Card
CN109302466A (en) Data processing method, relevant device and computer storage medium
CN101663654A (en) Hints model for optimization of storage devices connected to host and write optimization schema for storage devices
CN109660372B (en) SDN service configuration method and device
CN104158858A (en) Method and system for accessing distributed cluster file system
US11374879B2 (en) Network configuration of top-of-rack switches across multiple racks in a data center
CN105281937A (en) Server, service management system, and service management method
CN109901798A (en) Date storage method and device
CN105095103A (en) Storage device management method and device used for cloud environment
CN111193783A (en) Service access processing method and device
CN103888424B (en) Concentrating type data encryption system and its data processing method
CN109213447A (en) A kind of SAN storage volume carry, discharging method and system
CN101616430B (en) Management method of gateway software version and home gateway
CN108073360A (en) The operating method of computing device and computing device including storage device
CN100546256C (en) A kind of method that realizes that the unit self adaptation is supported
CN103064749A (en) Inter-process communication method
CN107193563B (en) Method for managing server stateless firmware version
CN105900414B (en) Support the video camera for being divided into the removable Storage of multiple subregions
EP3857826B1 (en) Flexible unnumbered destination tunnels for virtual networks
CN105281944B (en) Method for setting network protocol address and service management system
CN104023076B (en) The management method and multi-tenant interchanger of Ethernet interface hard-disk capacity

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
GR01 Patent grant
GR01 Patent grant