CN116484391B - BMC firmware dynamic storage method and system based on ad hoc network - Google Patents

BMC firmware dynamic storage method and system based on ad hoc network Download PDF

Info

Publication number
CN116484391B
CN116484391B CN202310745798.1A CN202310745798A CN116484391B CN 116484391 B CN116484391 B CN 116484391B CN 202310745798 A CN202310745798 A CN 202310745798A CN 116484391 B CN116484391 B CN 116484391B
Authority
CN
China
Prior art keywords
storage
bmc firmware
storage node
hoc network
firmware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310745798.1A
Other languages
Chinese (zh)
Other versions
CN116484391A (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.)
Sichuan Huakun Zhenyu Intelligent Technology Co ltd
Original Assignee
Sichuan Huakun Zhenyu Intelligent 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 Sichuan Huakun Zhenyu Intelligent Technology Co ltd filed Critical Sichuan Huakun Zhenyu Intelligent Technology Co ltd
Priority to CN202310745798.1A priority Critical patent/CN116484391B/en
Publication of CN116484391A publication Critical patent/CN116484391A/en
Application granted granted Critical
Publication of CN116484391B publication Critical patent/CN116484391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/572Secure firmware programming, e.g. of basic input output system [BIOS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/781On-chip cache; Off-chip memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/76Architectures of general purpose stored program computers
    • G06F15/78Architectures of general purpose stored program computers comprising a single central processing unit
    • G06F15/7807System on chip, i.e. computer system on a single chip; System in package, i.e. computer system on one or more chips in a single package
    • G06F15/7825Globally asynchronous, locally synchronous, e.g. network on chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computing Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the field of BMC firmware storage, and provides a BMC firmware dynamic storage method and system based on an ad hoc network, wherein the method comprises the following steps: connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to form an external circle of the bottom surface of the server; establishing a two-dimensional coordinate system based on the circumscribed circle; projecting a substrate of a BMC firmware storage chip in a server and other substrates of all chips with storage functions to a two-dimensional coordinate system, and taking the BMC firmware storage chip as an initial storage node; acquiring center point coordinates of the substrate projected to all other chips with storage functions in the two-dimensional coordinate system, and selecting an intermediate storage node based on the center point coordinates; constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node; and after the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip, dynamically storing the BMC firmware according to the built BMC firmware ad hoc network dynamic storage link.

Description

BMC firmware dynamic storage method and system based on ad hoc network
Technical Field
The invention relates to the field of BMC firmware storage, in particular to a BMC firmware dynamic storage method and system based on an ad hoc network.
Background
The BMC is a core component for deploying/diagnosing/managing a server, is responsible for managing an interface between system management software and platform management hardware, and provides functions of autonomous monitoring, event recording, recovery control and the like. The BMC in the narrow sense will be understood to be a separate management chip on the server motherboard in general; but in a broad sense, BMC is an SOC system, which is divided into two layers, BMC chip and BMC firmware.
The current computer architecture is composed of von neumann architecture, and is divided into input device, memory, arithmetic unit, controller and output device. This is of course also the node that the server business runs, but BMC does not belong to the above business node's constituent part, so it does not depend on other hardware on the system, such as CPU, memory, hard disk, etc.; nor does it rely on other software on the system, such as BIOS, OS, CPLD, etc., see fig. 1, which is a schematic diagram of the existing server management network and service network separation architecture, that is: the BMC is a set of special management small systems which are completely independent of the computing nodes of the server, and is based on a von Neumann architecture, but has larger authority than a host server, so that the separation of service nodes and management nodes is effectively ensured, the service nodes are not interfered by the management nodes, and the management nodes can manage and monitor the service nodes in real time.
A traditional data center server is configured with a BMC management chip embedded in a server main board end. But with the rise of the concept of cpu+gpu+dpu in recent years, the CPU is used for general-purpose computing, the GPU is used for accelerating computing, and the mode of DPU for data processing is defined as a trend of future cloud computing architecture. Because the high-value parts of the GPU and the DPU bear the important workload of the platform, the embedding of the BMC management chip is also expanded from the mainboard level to the part level, and even a single server platform can consume a plurality of BMC management chips, the demand of the BMC management chip of the global server market is increased or reduced.
For BMC firmware, which is also an integral part of the BMC system, the BMC firmware is typically downloaded through a remote firmware management platform and then fixedly stored in a corresponding storage device. Although the storage device storing the BMC firmware can only be modified and adjusted by the administrator authority, since the number of terminals managed by the server is generally large, when normal communication is performed between the server management terminals or multiple servers, more intrusion opportunities are provided for illegal intruders, so that the storage mode of the current fixed storage BMC firmware is easily subjected to malicious intrusion of illegal "hackers", and therefore, a safer storage scheme of the BMC firmware is needed to be provided.
Disclosure of Invention
The invention aims to provide a BMC firmware dynamic storage method and system based on an ad hoc network, which can construct a BMC firmware ad hoc network dynamic storage link based on an intermediate storage node, and dynamically store BMC firmware according to the constructed BMC firmware ad hoc network dynamic storage link after a BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, thereby greatly improving the storage security of the BMC firmware.
The invention solves the technical problems and adopts the following technical scheme:
on one hand, the invention provides a BMC firmware dynamic storage method based on an ad hoc network, which comprises the following steps:
connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to form an external circle of the bottom surface of the server;
establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server;
projecting the substrate of the BMC firmware memory chip in the server and the substrates of all other chips with memory functions to the two-dimensional coordinate system, and taking the BMC firmware memory chip as an initial memory node;
acquiring center point coordinates of the substrate projected to all other chips with storage functions in the two-dimensional coordinate system, and selecting an intermediate storage node based on the center point coordinates;
constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and after the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip, dynamically storing the BMC firmware according to the built BMC firmware ad hoc network dynamic storage link.
As a further optimization, the selecting an intermediate storage node based on the center point coordinates specifically refers to:
taking a chip with a storage function corresponding to the center point coordinate of the minimum x value as a first intermediate storage node;
taking a chip with a storage function corresponding to the central point coordinate of the maximum x value as a second intermediate storage node;
taking a chip with a storage function corresponding to the center point coordinate of the minimum y value as a third intermediate storage node;
and taking the chip with the storage function corresponding to the central point coordinate of the maximum y value as a fourth intermediate storage node.
As a further optimization, the building of the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node specifically refers to:
and the initial storage node, the first intermediate storage node, the second intermediate storage node, the third intermediate storage node, the fourth intermediate storage node and the initial storage node are sequentially connected to construct a BMC firmware ad hoc network dynamic storage link.
As a further optimization, the dynamic storage BMC firmware of the constructed BMC firmware ad hoc network dynamic storage link specifically refers to:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node and a second storage time of each intermediate storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
and if the storage time of the BMC firmware in the intermediate storage node reaches the second storage time, transmitting the BMC firmware to the next intermediate storage node, wherein if the storage time of the BMC firmware in the fourth intermediate storage node reaches the second storage time, transmitting the BMC firmware to the initial storage node.
As a further optimization, after the selecting the intermediate storage node based on the center point coordinates and before constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node, the method further includes:
forming four buffer areas outside the bottom surface area of the server and inside the circumscribing circle;
selecting a buffer area closest to the center point coordinate of the minimum x value as a first buffer area;
selecting a buffer area closest to the center point coordinate of the maximum x value as a second buffer area;
selecting a buffer area closest to the center point coordinate of the minimum y value as a third buffer area;
and selecting a buffer area closest to the central point coordinate of the maximum y value as a fourth buffer area.
As further optimization, after the four buffer areas are selected, randomly selecting one buffer storage node in each buffer area, and constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node and the buffer storage node.
As a further optimization, the building of the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node and the buffer storage node specifically refers to:
the buffer storage nodes selected randomly in each buffer area are respectively marked as a first buffer storage node, a second buffer storage node, a third buffer storage node and a fourth buffer storage node;
the initial storage node, the first intermediate storage node, the first buffer storage node, the second intermediate storage node, the second buffer storage node, the third intermediate storage node, the third buffer storage node, the fourth intermediate storage node, the fourth buffer storage node and the initial storage node are sequentially connected to construct the BMC firmware ad hoc network dynamic storage link.
As a further optimization, the dynamic storage BMC firmware of the constructed BMC firmware ad hoc network dynamic storage link specifically refers to:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node, a second storage time of each intermediate storage node and a third storage time of each buffer storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
if the storage time of the BMC firmware in the first intermediate storage node reaches the second storage time, transmitting the BMC firmware to the first buffer storage node;
after the storage time of the first buffer storage node reaches the third storage time, the BMC firmware is transmitted to the second intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a second buffer storage node;
after the storage time of the second buffer storage node reaches the third storage time, the BMC firmware is transmitted to a third intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a third buffer storage node;
after the storage time of the third buffer storage node reaches the third storage time, the BMC firmware is transmitted to a fourth intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a fourth buffer storage node;
and after the storage time of the fourth buffer storage node reaches the third storage time, the BMC firmware is transmitted to the initial storage node.
As further optimization, the buffer storage nodes are all USB storage devices, and the USB storage devices only communicate with the intermediate storage nodes and the initial storage nodes and read and write data.
On the other hand, the invention also provides a BMC firmware dynamic storage system based on the ad hoc network, which comprises:
the external circle manufacturing unit is used for connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to serve as an external circle of the bottom surface of the server;
the coordinate system establishing unit is used for establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server;
the initial storage node selection unit is used for projecting the substrate of the BMC firmware storage chip in the server and the substrates of all the chips with the storage function to the two-dimensional coordinate system, and taking the BMC firmware storage chip as an initial storage node;
the middle storage node selection unit is used for acquiring the center point coordinates of the substrate projected to all other chips with the storage function in the two-dimensional coordinate system and selecting the middle storage node based on the center point coordinates;
the BMC firmware ad hoc network dynamic storage link construction unit is used for constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and the dynamic storage BMC firmware unit is used for dynamically storing the BMC firmware according to the constructed BMC firmware ad hoc network dynamic storage link when the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip.
The beneficial effects of the invention are as follows: through the self-networking based BMC firmware dynamic storage method and system, firstly, two opposite vertexes on the bottom surface of a server are connected and used as diameters, and the diameters are used as circumscribed circles of the bottom surface of the server; secondly, a two-dimensional coordinate system is established based on the circumscribed circle, an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server; then, projecting the substrate of the BMC firmware memory chip in the server and the substrates of all other chips with memory functions to the two-dimensional coordinate system, and taking the BMC firmware memory chip as an initial memory node; then, center point coordinates of substrates projected to all other chips with storage functions in a two-dimensional coordinate system are obtained, and intermediate storage nodes are selected based on the center point coordinates; then, constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node; and finally, after the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip, dynamically storing the BMC firmware according to the built BMC firmware ad hoc network dynamic storage link.
According to the invention, the storage mode of the traditional fixed storage BMC firmware is abandoned, and the BMC firmware can be dynamically stored between the initial storage node and each intermediate storage node through the built BMC firmware ad hoc network dynamic storage link, so that the invasion risk of illegal hackers is greatly reduced, and the storage safety of the BMC firmware is improved.
Drawings
FIG. 1 is a schematic diagram of a prior art server management network and service network separation architecture
FIG. 2 is a flowchart of a method for dynamically storing BMC firmware based on an ad hoc network in accordance with the embodiment 1 of the present invention;
fig. 3 is a schematic diagram of a coordinate system established in embodiment 1 of the present invention.
Wherein 101 is a buffer storage area, x min For the chip with the memory function corresponding to the center point coordinate of the minimum x value, x max A chip with a memory function corresponding to the central point coordinate of the maximum x value, y min For the chip with the memory function corresponding to the center point coordinate of the minimum y value, y max The chip is provided with a memory function corresponding to the center point coordinate of the maximum y value.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Example 1
The embodiment provides a method for dynamically storing BMC firmware based on an ad hoc network, a flow chart of which is shown in fig. 2, wherein the method comprises the following steps:
s1, connecting two opposite vertexes on the bottom surface of a server, and taking the vertexes as diameters to form a circumcircle of the bottom surface of the server; since the general server has a regular hexahedral structure, such as a cuboid, the bottom surface of the server can be regarded as a rectangle, and serves as an external circle of the bottom surface of the server, so that when each chip configured in the server is projected to the bottom surface of the server, the projections can be located in the external circle, and in order to increase the security of the BMC firmware ad hoc network dynamic storage link, a buffer storage area 101 needs to be selected from the external circle, and then a buffer storage node is selected;
s2, establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server; referring to fig. 3, a schematic diagram of a coordinate system established in the present embodiment is shown;
s3, projecting the substrate of the BMC firmware storage chip in the server and the substrates of all other chips with storage functions to the two-dimensional coordinate system, and taking the BMC firmware storage chip as an initial storage node; since a large number of chips with memory function are configured in the server, when each chip is projected, there may be a situation that the positions of the plurality of chip substrates are the same, so that the areas projected into the two-dimensional coordinate system overlap, so that the number of times of selecting the center coordinates can be reduced in the selection procedure of the intermediate memory node, and the minimum x value x is selected in the embodiment min Center coordinates, maximum x value x max Center coordinates, minimum y value y min Center coordinates and maximum y value y of (c) max Therefore, the situation that the center coordinates are coincident also occurs, when the coordinates are coincident, one of the coincident coordinates can be selected, and the construction process of the BMC firmware ad hoc network dynamic storage link in the implementation is not influenced;
s4, acquiring center point coordinates of the substrate projected to all other chips with the storage function in the two-dimensional coordinate system, and selecting an intermediate storage node based on the center point coordinates;
s5, constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and S6, after the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip, dynamically storing the BMC firmware according to the built BMC firmware ad hoc network dynamic storage link.
In this embodiment, a server corresponds to one BMC management chip, and one BMC firmware is correspondingly configured, which is, of course, also applicable to the method for dynamically storing BMC firmware based on the ad hoc network provided in this embodiment if one server configures a plurality of BMC management chips.
In this embodiment, in order to enable the BMC firmware to dynamically store, a dynamic storage link needs to be built, and when the dynamic storage link is built, an intermediate storage node needs to be necessarily selected, so in this embodiment, the selecting an intermediate storage node based on the center point coordinate specifically refers to:
will be equal to the minimum x value x min A chip with a storage function corresponding to the center point coordinates of the first intermediate storage node;
will be equal to the maximum x value x max A chip with a storage function corresponding to the center point coordinates of the first intermediate storage node;
will be equal to the minimum y value y min A chip with a storage function corresponding to the center point coordinates of the first intermediate storage node;
will be equal to the maximum y value y max The chip with the storage function corresponding to the center point coordinates of the (c) is used as a fourth intermediate storage node.
For a BMC firmware ad hoc network dynamic storage link, the two cases can be divided, wherein the storage link only comprises an initial storage node and an intermediate storage node, and the second case is that the storage link comprises not only the initial storage node and the intermediate storage node but also a buffer storage node.
For the first storage link case, in this embodiment, the building of the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node specifically refers to:
and the initial storage node, the first intermediate storage node, the second intermediate storage node, the third intermediate storage node, the fourth intermediate storage node and the initial storage node are sequentially connected to construct a BMC firmware ad hoc network dynamic storage link.
Specifically, in the case of the first storage link, the dynamic storage BMC firmware of the built BMC firmware ad hoc dynamic storage link specifically refers to:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node and a second storage time of each intermediate storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
and if the storage time of the BMC firmware in the intermediate storage node reaches the second storage time, transmitting the BMC firmware to the next intermediate storage node, wherein if the storage time of the BMC firmware in the fourth intermediate storage node reaches the second storage time, transmitting the BMC firmware to the initial storage node.
It should be noted that the first storage time and the second storage time may be set freely according to the actual application scenario of the server, but when the first storage time and the second storage time are set, in order to ensure the stability of the storage link, both the first storage time and the second storage time are set to be unchangeable.
In the second storage link case, since the intermediate storage nodes are all related to the positions of the chips with the storage function arranged in the server, even if the positions of the chips projected to the two-dimensional coordinate system are changed, the selection of the intermediate storage nodes is also selected based on the x value and the y value in the coordinates, so that the selection of the intermediate storage nodes is relatively fixed, if an illegal hacker invades the first storage link, the BMC firmware still has a potential safety hazard, so that in the second storage link case, in order to improve the safety of the BMC firmware storage, the buffer storage nodes can be randomly selected in the buffer storage area 101, and when the BMC firmware is dynamically stored again after the link is cycled once, the safety of the storage link can be greatly increased due to the randomness of the selection of the buffer storage nodes, and meanwhile, the transmission of a time closing related control instruction can be provided for an operator while the illegal hacker invades, so that the BMC management chip can be prevented from issuing an error instruction.
Therefore, after the selecting the intermediate storage node based on the center point coordinates and before constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node, the method may further include:
forming four buffer areas outside the bottom surface area of the server and inside the circumscribing circle;
selecting a minimum x value x min A buffer area with the nearest central point coordinate is used as a first buffer area;
selecting a distance maximum x value x max The buffer area with the nearest central point coordinate is used as a second buffer storage area;
selecting a distance minimum y value y min The buffer area with the nearest central point coordinate is used as a third buffer storage area;
selecting a distance maximum y value y max The buffer area closest to the center point coordinates of (c) is taken as a fourth buffer storage area.
After the four buffer areas are selected, randomly selecting one buffer storage node from each buffer storage area, and constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node and the buffer storage node.
Therefore, the building of the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node and the buffer storage node specifically refers to:
the buffer storage nodes selected randomly in each buffer area are respectively marked as a first buffer storage node, a second buffer storage node, a third buffer storage node and a fourth buffer storage node;
the initial storage node, the first intermediate storage node, the first buffer storage node, the second intermediate storage node, the second buffer storage node, the third intermediate storage node, the third buffer storage node, the fourth intermediate storage node, the fourth buffer storage node and the initial storage node are sequentially connected to construct the BMC firmware ad hoc network dynamic storage link.
It should be noted that, for the second storage link situation, the dynamic storage BMC firmware of the built BMC firmware ad hoc network dynamic storage link specifically refers to:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node, a second storage time of each intermediate storage node and a third storage time of each buffer storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
if the storage time of the BMC firmware in the first intermediate storage node reaches the second storage time, transmitting the BMC firmware to the first buffer storage node;
after the storage time of the first buffer storage node reaches the third storage time, the BMC firmware is transmitted to the second intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a second buffer storage node;
after the storage time of the second buffer storage node reaches the third storage time, the BMC firmware is transmitted to a third intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a third buffer storage node;
after the storage time of the third buffer storage node reaches the third storage time, the BMC firmware is transmitted to a fourth intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a fourth buffer storage node;
and after the storage time of the fourth buffer storage node reaches the third storage time, the BMC firmware is transmitted to the initial storage node.
In actual operation, since the buffer storage areas 101 do not belong to the configuration of the server itself and are not within the rectangular range of the bottom surface of the server, a corresponding storage device may be configured for each buffer storage area 101 to store BMC firmware, however, in this embodiment, the storage device configured in each buffer area is only used for data reading and writing when the BMC is transmitted to, and does not store any other data, and only when the buffer storage area is in communication with the initial storage node and the intermediate storage node, the buffer storage node may be a USB storage device, and the USB storage device only communicates with the intermediate storage node and the initial storage node and performs data reading and writing.
In addition, when the BMC firmware dynamically stores in the second storage link, the selection of the buffer storage node is random, and if the buffer storage node changes the position every time, it is obvious that more operation and maintenance costs are wasted.
Example 2
On the basis of embodiment 1, the present embodiment provides a BMC firmware dynamic storage system based on an ad hoc network, including:
the external circle manufacturing unit is used for connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to serve as an external circle of the bottom surface of the server;
the coordinate system establishing unit is used for establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server;
the initial storage node selection unit is used for projecting the substrate of the BMC firmware storage chip in the server and the substrates of all the chips with the storage function to the two-dimensional coordinate system, and taking the BMC firmware storage chip as an initial storage node;
the middle storage node selection unit is used for acquiring the center point coordinates of the substrate projected to all other chips with the storage function in the two-dimensional coordinate system and selecting the middle storage node based on the center point coordinates;
the BMC firmware ad hoc network dynamic storage link construction unit is used for constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and the dynamic storage BMC firmware unit is used for dynamically storing the BMC firmware according to the constructed BMC firmware ad hoc network dynamic storage link when the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip.
For link construction and dynamic storage of the BMC firmware, the related principles and methods in this embodiment are the same as those in embodiment 1, and thus will not be described in detail.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A BMC firmware dynamic storage method based on an ad hoc network is characterized by comprising the following steps:
connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to form an external circle of the bottom surface of the server;
establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server;
projecting the substrate of the BMC firmware memory chip in the server and the substrates of all other chips with memory functions to the two-dimensional coordinate system, and taking the BMC firmware memory chip as an initial memory node;
acquiring center point coordinates of the substrate projected to all other chips with storage functions in the two-dimensional coordinate system, and selecting an intermediate storage node based on the center point coordinates;
constructing a BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and after the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip, dynamically storing the BMC firmware according to the built BMC firmware ad hoc network dynamic storage link.
2. The method for dynamically storing BMC firmware based on ad hoc network according to claim 1, wherein the selecting an intermediate storage node based on the center point coordinates specifically comprises:
taking a chip with a storage function corresponding to the center point coordinate of the minimum x value as a first intermediate storage node;
taking a chip with a storage function corresponding to the central point coordinate of the maximum x value as a second intermediate storage node;
taking a chip with a storage function corresponding to the center point coordinate of the minimum y value as a third intermediate storage node;
and taking the chip with the storage function corresponding to the central point coordinate of the maximum y value as a fourth intermediate storage node.
3. The method for dynamically storing the BMC firmware based on the ad hoc network according to claim 2, wherein the constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node specifically comprises:
and the initial storage node, the first intermediate storage node, the second intermediate storage node, the third intermediate storage node, the fourth intermediate storage node and the initial storage node are sequentially connected to construct a BMC firmware ad hoc network dynamic storage link.
4. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 3, wherein the dynamically storing BMC firmware of the dynamically storing link of the ad hoc network based on the built BMC firmware is specifically:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node and a second storage time of each intermediate storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
and if the storage time of the BMC firmware in the intermediate storage node reaches the second storage time, transmitting the BMC firmware to the next intermediate storage node, wherein if the storage time of the BMC firmware in the fourth intermediate storage node reaches the second storage time, transmitting the BMC firmware to the initial storage node.
5. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 2, wherein after the selecting the intermediate storage node based on the center point coordinates and before the constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node, further comprises:
forming four buffer areas outside the bottom surface area of the server and inside the circumscribing circle;
selecting a buffer area closest to the center point coordinate of the minimum x value as a first buffer area;
selecting a buffer area closest to the center point coordinate of the maximum x value as a second buffer area;
selecting a buffer area closest to the center point coordinate of the minimum y value as a third buffer area;
and selecting a buffer area closest to the central point coordinate of the maximum y value as a fourth buffer area.
6. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 5, wherein after the four buffer areas are selected, a buffer storage node is randomly selected from each buffer area, and a BMC firmware ad hoc network dynamic storage link is constructed based on the intermediate storage node and the buffer storage node.
7. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 6, wherein the constructing a BMC firmware ad hoc network dynamic storage link based on an intermediate storage node and a buffer storage node specifically comprises:
the buffer storage nodes selected randomly in each buffer area are respectively marked as a first buffer storage node, a second buffer storage node, a third buffer storage node and a fourth buffer storage node;
the initial storage node, the first intermediate storage node, the first buffer storage node, the second intermediate storage node, the second buffer storage node, the third intermediate storage node, the third buffer storage node, the fourth intermediate storage node, the fourth buffer storage node and the initial storage node are sequentially connected to construct the BMC firmware ad hoc network dynamic storage link.
8. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 7, wherein the dynamically storing BMC firmware of the dynamically storing link of the ad hoc network based on the built BMC firmware is specifically:
after a BMC firmware ad hoc network dynamic storage link is constructed, and the BMC firmware is downloaded from a remote firmware management platform to a BMC firmware storage chip, setting a first storage time of the BMC firmware in an initial storage node, a second storage time of each intermediate storage node and a third storage time of each buffer storage node;
when the BMC firmware is transmitted in the BMC firmware ad hoc network dynamic storage link, if the storage time of the BMC firmware in the initial storage node reaches the first storage, transmitting the BMC firmware to the first intermediate storage node;
if the storage time of the BMC firmware in the first intermediate storage node reaches the second storage time, transmitting the BMC firmware to the first buffer storage node;
after the storage time of the first buffer storage node reaches the third storage time, the BMC firmware is transmitted to the second intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a second buffer storage node;
after the storage time of the second buffer storage node reaches the third storage time, the BMC firmware is transmitted to a third intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a third buffer storage node;
after the storage time of the third buffer storage node reaches the third storage time, the BMC firmware is transmitted to a fourth intermediate storage node;
after the storage time of the BMC firmware reaches the second storage time, the BMC firmware is transmitted to a fourth buffer storage node;
and after the storage time of the fourth buffer storage node reaches the third storage time, the BMC firmware is transmitted to the initial storage node.
9. The method for dynamically storing BMC firmware based on an ad hoc network according to claim 6, 7 or 8, wherein the buffer storage nodes are all USB storage devices, and the USB storage devices only communicate with the intermediate storage nodes and the initial storage nodes and perform data reading and writing.
10. A self-organizing network-based BMC firmware dynamic storage system, comprising:
the external circle manufacturing unit is used for connecting two opposite vertexes on the bottom surface of the server, and taking the vertexes as diameters to serve as an external circle of the bottom surface of the server;
the coordinate system establishing unit is used for establishing a two-dimensional coordinate system based on the circumscribed circle, wherein an x-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the wide side of the bottom surface of the server, and a y-axis of the two-dimensional coordinate system is circumscribed on the circumscribed circle of the bottom surface of the server and is parallel to the long side of the bottom surface of the server;
the initial storage node selection unit is used for projecting the substrate of the BMC firmware storage chip in the server and the substrates of all the chips with the storage function to the two-dimensional coordinate system, and taking the BMC firmware storage chip as an initial storage node;
the middle storage node selection unit is used for acquiring the center point coordinates of the substrate projected to all other chips with the storage function in the two-dimensional coordinate system and selecting the middle storage node based on the center point coordinates;
the BMC firmware ad hoc network dynamic storage link construction unit is used for constructing the BMC firmware ad hoc network dynamic storage link based on the intermediate storage node;
and the dynamic storage BMC firmware unit is used for dynamically storing the BMC firmware according to the constructed BMC firmware ad hoc network dynamic storage link when the BMC firmware is downloaded from the remote firmware management platform to the BMC firmware storage chip.
CN202310745798.1A 2023-06-25 2023-06-25 BMC firmware dynamic storage method and system based on ad hoc network Active CN116484391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310745798.1A CN116484391B (en) 2023-06-25 2023-06-25 BMC firmware dynamic storage method and system based on ad hoc network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310745798.1A CN116484391B (en) 2023-06-25 2023-06-25 BMC firmware dynamic storage method and system based on ad hoc network

Publications (2)

Publication Number Publication Date
CN116484391A CN116484391A (en) 2023-07-25
CN116484391B true CN116484391B (en) 2023-08-22

Family

ID=87212335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310745798.1A Active CN116484391B (en) 2023-06-25 2023-06-25 BMC firmware dynamic storage method and system based on ad hoc network

Country Status (1)

Country Link
CN (1) CN116484391B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0117251D0 (en) * 2001-07-16 2001-09-05 Cappellini Pablo D Search and retrieval system of transportation related flexibly defined paths
WO2001067785A2 (en) * 2000-03-04 2001-09-13 Motorola Inc. Secure data download
KR20100067310A (en) * 2008-12-11 2010-06-21 주식회사 하이닉스반도체 Device for extracting coordinate and method for it
WO2018058430A1 (en) * 2016-09-29 2018-04-05 华为技术有限公司 Chip having extensible memory

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4438048B2 (en) * 2003-08-08 2010-03-24 キヤノン株式会社 Peripheral device, firmware update method for the peripheral device, and program
CN104423981A (en) * 2013-08-26 2015-03-18 鸿富锦精密电子(天津)有限公司 BMC (Baseboard Management Controller) firmware automatic update system and method
US10540232B2 (en) * 2017-09-19 2020-01-21 Hewlett Packard Enterprise Development Lp Recovery using programmable logic device
US20210112146A1 (en) * 2019-01-24 2021-04-15 Volkan Sevindik Data Processing and Transmission Method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001067785A2 (en) * 2000-03-04 2001-09-13 Motorola Inc. Secure data download
GB0117251D0 (en) * 2001-07-16 2001-09-05 Cappellini Pablo D Search and retrieval system of transportation related flexibly defined paths
KR20100067310A (en) * 2008-12-11 2010-06-21 주식회사 하이닉스반도체 Device for extracting coordinate and method for it
WO2018058430A1 (en) * 2016-09-29 2018-04-05 华为技术有限公司 Chip having extensible memory

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AM-OLED显示驱动芯片内置SRAM的研究与设计;曾龄宇;信息科技(第12期);10-30 *

Also Published As

Publication number Publication date
CN116484391A (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN100489823C (en) Method and apparatus for disabling a universal serial bus port
US20130318338A1 (en) Selective Management Controller Authenticated Access Control to Host Mapped Resources
US10972361B2 (en) System and method for remote hardware support using augmented reality and available sensor data
KR102558330B1 (en) Apparatus and method for distributing and storing data
CN114327803A (en) Method, apparatus, device and medium for accessing machine learning model by block chain
US9705984B2 (en) System and method for sharing data storage devices
CN110301131B (en) Context-aware device permissions for hierarchical device collections
CN110474870B (en) Block chain-based network active defense method and system and computer readable storage medium
US20230305724A1 (en) Data management method and apparatus, computer device, and storage medium
CN111737212A (en) Method and equipment for improving performance of distributed file system
US11922297B2 (en) Edge AI accelerator service
CN111147274A (en) System and method for creating a highly available arbitration set for a cluster solution
US10887183B1 (en) System and method for topological redundancy
CN116484391B (en) BMC firmware dynamic storage method and system based on ad hoc network
US20080065847A1 (en) Apparatus for facilitating disaster recovery
US10251060B2 (en) Modifying access to a service based on configuration data
CN110535724B (en) Application program network read-write limiting method and device, electronic equipment and storage medium
JP7305898B2 (en) Operation response method, operation response device, electronic device and storage medium
WO2020180429A1 (en) Adaptation of attack surface reduction clusters
EP3884648B1 (en) Geo-replicated iot hub
CN112769782A (en) Method and equipment for multi-cloud security baseline management
US20240028723A1 (en) Suspicious workspace instantiation detection
US20240303314A1 (en) System and method for managing security and access for management controller embedded devices
CN117234431B (en) Cache management method and device, electronic equipment and storage medium
US12047442B1 (en) Configuring a replacement node using a configuration backup of a failed node being replaced

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