WO2021169639A1 - 一种bmc定制的方法、系统、设备及可读存储介质 - Google Patents

一种bmc定制的方法、系统、设备及可读存储介质 Download PDF

Info

Publication number
WO2021169639A1
WO2021169639A1 PCT/CN2021/071234 CN2021071234W WO2021169639A1 WO 2021169639 A1 WO2021169639 A1 WO 2021169639A1 CN 2021071234 W CN2021071234 W CN 2021071234W WO 2021169639 A1 WO2021169639 A1 WO 2021169639A1
Authority
WO
WIPO (PCT)
Prior art keywords
bmc
customer information
customization
script file
request
Prior art date
Application number
PCT/CN2021/071234
Other languages
English (en)
French (fr)
Inventor
贾丹丹
Original Assignee
苏州浪潮智能科技有限公司
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 苏州浪潮智能科技有限公司 filed Critical 苏州浪潮智能科技有限公司
Publication of WO2021169639A1 publication Critical patent/WO2021169639A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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

Definitions

  • This application relates to the field of BMC customization, and in particular to a method, system, device, and readable storage medium for BMC customization.
  • the Baseboard Management Controller can realize server-related control, information supervision and other functions, and is a platform for visually presenting server information.
  • BMC Baseboard Management Controller
  • the customization of BMC can be realized by making BMC execute customized scripts.
  • the configuration upgrade may not be retained when the client upgrades the version, resulting in BMC no longer meeting the customer's customization needs, and the script needs to be re-customized according to user needs , Resulting in duplication of BMC customization work and low work efficiency.
  • the purpose of this application is to provide a method, system, device and readable storage medium for BMC customization to improve the efficiency of BMC customization.
  • this application provides a method for BMC customization, which includes:
  • the customer information is written into the memory of the BMC, and the BMC is controlled to restart, so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information.
  • it also includes:
  • determining the corresponding script file and customer information according to the BMC customization request includes:
  • the script file is generated according to the BMC customization request, and the customer information is determined according to the BMC customization request.
  • determining the corresponding script file and customer information according to the BMC customization request includes:
  • it also includes:
  • it also includes:
  • This application also provides a BMC customized system, which includes:
  • the first receiving module is used to receive the input BMC customization request
  • the first determining module is configured to determine the corresponding script file and customer information according to the BMC customization request;
  • a storage module configured to store the corresponding relationship between the script file and the customer information in a preset storage space
  • the first control module is configured to write the customer information into the memory of the BMC and control the BMC to restart, so that the BMC reads the corresponding script file in the preset storage space according to the customer information and implement.
  • it also includes:
  • the second receiving module is used to receive the BMC version upgrade request
  • the second determining module is configured to determine corresponding version information according to the BMC version upgrade request
  • the second control module is configured to write the customer information and the version information into the memory of the BMC, and control the restart of the BMC, so that the BMC upgrades according to the version information, and according to the customer information Read and execute the corresponding script file in the preset storage space.
  • This application also provides a BMC customized device, and the BMC customized device includes:
  • Memory used to store computer programs
  • the processor is used to implement the steps of the BMC customization method described in any one of the foregoing when executing the computer program.
  • the present application also provides a readable storage medium having a computer program stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the BMC customization method as described in any one of the above are implemented.
  • the BMC customization method provided in this application includes: receiving the input BMC customization request; determining the corresponding script file and customer information according to the BMC customization request; storing the corresponding relationship between the script file and the customer information in the preset storage space; storing the customer The information is written into the memory of the BMC, and the BMC is controlled to restart, so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information.
  • the technical solution provided by this application generates the corresponding script file according to the BMC customization request, and stores the corresponding relationship between the script file and the customer information in the preset storage space, and then writes the customer information into the BMC memory and controls
  • the BMC restarts so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information, so that the user does not need to retain the configuration information, and there is no need to re-customize the script according to user needs, which avoids the duplication of BMC customization work.
  • This application also provides a system, equipment and readable storage medium customized by BMC, which have the above-mentioned beneficial effects, and will not be repeated here.
  • FIG. 1 is a flowchart of a method for BMC customization provided by an embodiment of the application
  • FIG. 2 is a flowchart of another BMC customization method provided by an embodiment of the application.
  • Figure 3 is a structural diagram of a BMC customization system provided by an embodiment of the application.
  • FIG. 4 is a structural diagram of another BMC customized system provided by an embodiment of the application.
  • Fig. 5 is a structural diagram of a BMC customization device provided by an embodiment of the application.
  • the core of this application is to provide a method, system, device and readable storage medium for BMC customization to improve the efficiency of BMC customization.
  • FIG. 1 is a flowchart of a BMC customization method provided by an embodiment of the application.
  • the BMC can be customized by making the BMC execute a customized script.
  • this method may not retain the configuration upgrade when the client upgrades the version, which will result in the BMC no longer meeting the customer's customization needs, and it needs to be tailored to the user's needs.
  • Re-customizing scripts causes duplication of BMC customization work and low work efficiency; therefore, this application provides a BMC customization method to solve the above-mentioned problems;
  • the BMC customization request mentioned here can be manually entered by the user, or downloaded by the system connected to a designated server, which is not specifically limited in this application;
  • the BMC customization request may also be multiple, that is, multiple BMC customization requests may be input at the same time to realize simultaneous customization of different BMCs.
  • the corresponding script file can be added to the BMC customization request in advance, that is, the corresponding script file and customer information are determined according to the BMC customization request mentioned here, which can specifically be:
  • the system can be made to automatically generate the corresponding script file according to the BMC customization request, that is, the corresponding script file and customer information are determined according to the BMC customization request mentioned here, which can also be specifically:
  • the customer information mentioned here can include but is not limited to customer identity information, identification information, etc. This application does not specifically limit the form and content of customer information, as long as the purpose of determining the corresponding script file based on the customer information can be achieved.
  • the corresponding relationship in the preset storage space can also be modified by performing the following steps:
  • the data in the preset storage space can also be deleted by performing the following steps:
  • S104 Write the customer information into the storage of the BMC, and control the restart of the BMC, so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information.
  • a BMC customization method provided by this application is to generate a corresponding script file according to a BMC customization request, and store the corresponding relationship between the script file and customer information in a preset storage space, and then store the customer information Write to the storage of BMC, and control the restart of BMC so that BMC reads and executes the corresponding script file in the preset storage space according to the customer information, thereby eliminating the need for the user to retain the configuration information, nor to re-customize the script for user needs , Avoiding duplication of BMC customization work, greatly improving work efficiency.
  • FIG. 2 is a flowchart of another BMC customization method provided by the embodiment of this application, which specifically includes the following steps:
  • S203 Write the customer information and version information into the memory of the BMC, and control the restart of the BMC, so that the BMC is upgraded according to the version information, and the corresponding script file in the preset storage space is read and executed according to the customer information.
  • this application when this application receives the BMC version upgrade request, it first determines the corresponding version information according to the BMC version upgrade request, then writes the customer information and version information into the BMC memory, and controls the BMC to restart so that the BMC Upgrade according to the version information, and read and execute the corresponding script file in the preset storage space according to the customer information, so that when the BMC version is upgraded, the user does not need to manually save the configuration information, and there is no need to re-customize the script according to user needs.
  • the repetition of BMC's customization work has greatly improved work efficiency.
  • FIG. 3 is a structural diagram of a BMC customization system provided by an embodiment of the application.
  • the system can include:
  • the first receiving module 100 is configured to receive an input BMC customization request
  • the first determining module 200 is configured to determine the corresponding script file and customer information according to the BMC customization request;
  • the storage module 300 is used to store the corresponding relationship between the script file and the customer information in a preset storage space
  • the first control module 400 is configured to write customer information into the memory of the BMC and control the restart of the BMC so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information.
  • FIG. 4 is a structural diagram of another BMC customized system provided by an embodiment of the application.
  • the system can also include:
  • the second receiving module is used to receive the BMC version upgrade request
  • the second determining module is used to determine the corresponding version information according to the BMC version upgrade request
  • the second control module is used to write customer information and version information into the memory of the BMC, and control the restart of the BMC so that the BMC can upgrade according to the version information, and read the corresponding script file in the preset storage space according to the customer information. implement.
  • the first determining module 200 may include:
  • the determining sub-module is used to generate a script file according to the BMC customization request, and to determine the customer information according to the BMC customization request.
  • the first determining module 200 may include:
  • the parsing sub-module is used to parse the BMC customization request to obtain script files and customer information.
  • the system can also include:
  • the third receiving module is used to receive the modification request
  • the modification module is used to modify the corresponding customer information and script files in the preset storage space according to the modification request.
  • the system can also include:
  • the recording module is used to record the number of times the script file is read within the preset time in the preset storage space;
  • the delete module is used to delete script files and corresponding customer information in the preset storage space whose read times are lower than the threshold.
  • the first receiving module receives the input BMC customization request; the first determining module determines the corresponding script file and customer information according to the BMC customization request; the storage module stores the corresponding relationship between the script file and the customer information in the preset storage space; the first control The module writes the customer information into the storage of the BMC, and controls the restart of the BMC, so that the BMC reads and executes the corresponding script file in the preset storage space according to the customer information.
  • the second receiving module receives the BMC version upgrade request; the second determining module determines the corresponding version information according to the BMC version upgrade request; the second control module writes the customer information and version information into the BMC memory, and controls the BMC to restart so that the BMC Upgrade according to the version information, and read and execute the corresponding script file in the preset storage space according to the customer information.
  • the third receiving module receives the modification request; the modification module modifies the corresponding customer information and script file in the preset storage space according to the modification request; the recording module records the number of times the script file is read in the preset storage space within the preset time; deletes the module Delete script files and corresponding customer information in the preset storage space whose read times are lower than the threshold.
  • FIG. 5 is a structural diagram of a BMC customization device provided by an embodiment of the application.
  • the BMC customization device 500 may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 522 (for example, one or more processors) and a memory 532, one or more More than one storage medium 530 for storing application programs 542 or data 544 (for example, one or one storage device with a large amount of storage).
  • the memory 532 and the storage medium 530 may be short-term storage or persistent storage.
  • the program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the device.
  • the processor 522 may be configured to communicate with the storage medium 530, and execute a series of instruction operations in the storage medium 530 on the BMC customization device 500.
  • the BMC customized device 500 may also include one or more power supplies 525, one or more wired or wireless network interfaces 550, one or more input and output interfaces 558, and/or one or more operating systems 541, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the steps in the BMC customization method described in FIGS. 1 to 2 are implemented by the BMC customization device based on the structure shown in FIG. 5.
  • the disclosed devices, equipment, and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules is only a logical function division, and there may be other divisions in actual implementation, for example, multiple modules or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or modules, and may be in electrical, mechanical or other forms.
  • the modules described as separate components may or may not be physically separate, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software functional modules.
  • the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , Including several instructions to make a computer device (which can be a personal computer, a function calling device, or a network device, etc.) execute all or part of the steps of the methods in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

一种BMC定制的方法、系统、设备及可读存储介质,所述生成方法包括:接收输入的BMC定制请求;根据BMC定制请求确定对应的脚本文件及客户信息;将脚本文件与客户信息的对应关系存入预设存储空间中;将客户信息写入BMC的存储器中,并控制BMC重启,以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行。本申请不需要用户对配置信息进行保留,也不需要针对用户需求重新定制脚本,避免了BMC的定制工作重复,极大的提升了工作效率。

Description

一种BMC定制的方法、系统、设备及可读存储介质
本申请要求于2020年02月29日提交中国专利局、申请号为202010132381.4、发明名称为“一种BMC定制的方法、系统、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及BMC定制领域,特别涉及一种BMC定制的方法、系统、设备及可读存储介质。
背景技术
基板管理控制器(Baseboard Management Controller,BMC)可以实现服务器的相关控制、信息监督等功能,是直观呈现服务器信息的平台,在互联网发展迅速的时代,服务器的需求量、客户群也日益增大。不同客户使用服务器处理业务不同,从而会给服务器厂商提出各种各样定制需求,其中很重要的一项就是对BMC功能的需求。
目前对BMC的定制可以通过令BMC执行定制脚本实现,然而该方式可能出现客户端升级版本时没有保留配置升级的情况,进而导致BMC不再符合客户的定制需求,还需要针对用户需求重新定制脚本,导致BMC的定制工作重复,工作效率低。
因此,如何提高BMC的定制效率是本领域技术人员目前需要解决的技术问题。
发明内容
本申请的目的是提供一种BMC定制的方法、系统、设备及可读存储介质,用于提高BMC的定制效率。
为解决上述技术问题,本申请提供一种BMC定制的方法,该方法包括:
接收输入的BMC定制请求;
根据所述BMC定制请求确定对应的脚本文件及客户信息;
将所述脚本文件与所述客户信息的对应关系存入预设存储空间中;
将所述客户信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
可选的,还包括:
接收BMC版本升级请求;
根据所述BMC版本升级请求确定对应的版本信息;
将所述客户信息和所述版本信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述版本信息进行升级,并根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
可选的,根据所述BMC定制请求确定对应的脚本文件及客户信息,包括:
根据所述BMC定制请求生成所述脚本文件,并根据BMC定制请求确定所述客户信息。
可选的,根据所述BMC定制请求确定对应的脚本文件及客户信息,包括:
解析所述BMC定制请求,得到所述脚本文件及所述客户信息。
可选的,还包括:
接收修改请求;
根据所述修改请求对所述预设存储空间中对应的客户信息和脚本文件进行修改。
可选的,还包括:
记录所述预设存储空间中预设时间内所述脚本文件的读取次数;
将所述预设存储空间中所述读取次数低于阈值的脚本文件及对应的客户信息删除。
本申请还提供一种BMC定制的系统,该系统包括:
第一接收模块,用于接收输入的BMC定制请求;
第一确定模块,用于根据所述BMC定制请求确定对应的脚本文件及客户信息;
存储模块,用于将所述脚本文件与所述客户信息的对应关系存入预设存储空间中;
第一控制模块,用于将所述客户信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
可选的,还包括:
第二接收模块,用于接收BMC版本升级请求;
第二确定模块,用于根据所述BMC版本升级请求确定对应的版本信息;
第二控制模块,用于将所述客户信息和所述版本信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述版本信息进行升级,并根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
本申请还提供一种BMC定制设备,该BMC定制设备包括:
存储器,用于存储计算机程序;
处理器,用于执行所述计算机程序时实现如上述任一项所述BMC定制的方法的步骤。
本申请还提供一种可读存储介质,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上述任一项所述BMC定制的方法的步骤。
本申请所提供BMC定制的方法,包括:接收输入的BMC定制请求;根据BMC定制请求确定对应的脚本文件及客户信息;将脚本文件与客户信息的对应关系存入预设存储空间中;将客户信息写入BMC的存储器中,并控制BMC重启,以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行。
本申请所提供的技术方案,通过根据BMC定制请求生成对应的脚本文件,并将脚本文件与客户信息的对应关系存入预设存储空间中,然后将客户信息写入BMC的存储器中,并控制BMC重启以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行,进而不需要用户对配置信息进 行保留,也不需要针对用户需求重新定制脚本,避免了BMC的定制工作重复,极大的提升了工作效率。本申请同时还提供了一种BMC定制的系统、设备及可读存储介质,具有上述有益效果,在此不再赘述。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。
图1为本申请实施例所提供的一种BMC定制的方法的流程图;
图2为本申请实施例所提供的另一种BMC定制的方法的流程图;
图3为本申请实施例所提供的一种BMC定制的系统的结构图;
图4为本申请实施例所提供的另一种BMC定制的系统的结构图;
图5为本申请实施例所提供的一种BMC定制设备的结构图。
具体实施方式
本申请的核心是提供一种BMC定制的方法、系统、设备及可读存储介质,用于提高BMC的定制效率。
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
请参考图1,图1为本申请实施例所提供的一种BMC定制的方法的流程图。
其具体包括如下步骤:
S101:接收输入的BMC定制请求;
基于现有技术中通过令BMC执行定制脚本实现对BMC的定制,然而该 方式可能出现客户端升级版本时没有保留配置升级的情况,进而导致BMC不再符合客户的定制需求,还需要针对用户需求重新定制脚本,导致BMC的定制工作重复,工作效率低;故本申请提供了一种BMC定制的方法,用于解决上述问题;
可选的,这里提到的BMC定制请求可以为用户手动输入的,也可以为系统连接到指定服务器下载到的,本申请对此不做具体限定;
进一步的,该BMC定制请求还可以为多个,即可以同时输入多个BMC定制请求,实现对不同BMC的同时定制。
S102:根据BMC定制请求确定对应的脚本文件及客户信息;
可选的,为进一步提高BMC的定制效率,可以预先在BMC定制请求中添加对应的脚本文件,即这里提到的根据BMC定制请求确定对应的脚本文件及客户信息,其具体可以为:
解析该BMC定制请求,得到脚本文件及客户信息;
优选的,为降低BMC的定制难度,可以令系统根据BMC定制请求自动生成对应的脚本文件,即这里提到的根据BMC定制请求确定对应的脚本文件及客户信息,其具体也可以为:
根据BMC定制请求生成对应的脚本文件,并根据BMC定制请求确定客户信息;
这里提到的客户信息可以包括但不限于客户身份信息、标识信息等,本申请对客户信息的形式及内容不作具体限定,只要能实现根据客户信息确定对应的脚本文件的目的即可。
S103:将脚本文件与客户信息的对应关系存入预设存储空间中;
可选的,为避免出现客户信息和/或脚本文件发生变更时对应关系无法修改的情况,还可以通过执行如下步骤实现对预设存储空间中对应关系的修改:
接收修改请求;
根据修改请求对预设存储空间中对应的客户信息和脚本文件进行修改。
可选的,为避免出现客户注销后数据无法删除导致预设存储空间容量 不足的情况,还可以通过执行如下步骤实现对预设存储空间中数据的删除:
记录预设存储空间中预设时间内脚本文件的读取次数;
将预设存储空间中读取次数低于阈值的脚本文件及对应的客户信息删除。
S104:将客户信息写入BMC的存储器中,并控制BMC重启,以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行。
基于上述技术方案,本申请所提供的一种BMC定制的方法,通过根据BMC定制请求生成对应的脚本文件,并将脚本文件与客户信息的对应关系存入预设存储空间中,然后将客户信息写入BMC的存储器中,并控制BMC重启以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行,进而不需要用户对配置信息进行保留,也不需要针对用户需求重新定制脚本,避免了BMC的定制工作重复,极大的提升了工作效率。
基于上述实施例,本申请还提供了另一种BMC定制的方法,请参考图2,图2本申请实施例所提供的另一种BMC定制的方法的流程图,其具体包括以下步骤:
S201:接收BMC版本升级请求;
S202:根据BMC版本升级请求确定对应的版本信息;
S203:将客户信息和版本信息写入BMC的存储器中,并控制BMC重启,以使BMC根据版本信息进行升级,并根据客户信息读取预设存储空间中对应的脚本文件并执行。
基于上述技术方案,本申请在接收到BMC版本升级请求时,先根据BMC版本升级请求确定对应的版本信息,然后将客户信息和版本信息写入BMC的存储器中,并控制BMC重启,以使BMC根据版本信息进行升级,并根据客户信息读取预设存储空间中对应的脚本文件并执行,使得在BMC版本升级时,不需要用户手动保存配置信息,也不需要针对用户需求重新定制脚本,避免了BMC的定制工作重复,极大的提升了工作效率。
请参考图3,图3为本申请实施例所提供的一种BMC定制的系统的结构 图。
该系统可以包括:
第一接收模块100,用于接收输入的BMC定制请求;
第一确定模块200,用于根据BMC定制请求确定对应的脚本文件及客户信息;
存储模块300,用于将脚本文件与客户信息的对应关系存入预设存储空间中;
第一控制模块400,用于将客户信息写入BMC的存储器中,并控制BMC重启,以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行。
请参考图4,图4为本申请实施例所提供的另一种BMC定制的系统的结构图。
该系统还可以包括:
第二接收模块,用于接收BMC版本升级请求;
第二确定模块,用于根据BMC版本升级请求确定对应的版本信息;
第二控制模块,用于将客户信息和版本信息写入BMC的存储器中,并控制BMC重启,以使BMC根据版本信息进行升级,并根据客户信息读取预设存储空间中对应的脚本文件并执行。
该第一确定模块200可以包括:
确定子模块,用于根据BMC定制请求生成脚本文件,并根据BMC定制请求确定客户信息。
该第一确定模块200可以包括:
解析子模块,用于解析BMC定制请求,得到脚本文件及客户信息。
该系统还可以包括:
第三接收模块,用于接收修改请求;
修改模块,用于根据修改请求对预设存储空间中对应的客户信息和脚本文件进行修改。
该系统还可以包括:
记录模块,用于记录预设存储空间中预设时间内脚本文件的读取次数;
删除模块,用于将预设存储空间中读取次数低于阈值的脚本文件及对应的客户信息删除。
以上系统中的各个组成部分可实际应用于以下的实施例中:
第一接收模块接收输入的BMC定制请求;第一确定模块根据BMC定制请求确定对应的脚本文件及客户信息;存储模块将脚本文件与客户信息的对应关系存入预设存储空间中;第一控制模块将客户信息写入BMC的存储器中,并控制BMC重启,以使BMC根据客户信息读取预设存储空间中对应的脚本文件并执行。
第二接收模块接收BMC版本升级请求;第二确定模块根据BMC版本升级请求确定对应的版本信息;第二控制模块将客户信息和版本信息写入BMC的存储器中,并控制BMC重启,以使BMC根据版本信息进行升级,并根据客户信息读取预设存储空间中对应的脚本文件并执行。
第三接收模块接收修改请求;修改模块根据修改请求对预设存储空间中对应的客户信息和脚本文件进行修改;记录模块记录预设存储空间中预设时间内脚本文件的读取次数;删除模块将预设存储空间中读取次数低于阈值的脚本文件及对应的客户信息删除。
请参考图5,图5为本申请实施例所提供的一种BMC定制设备的结构图。
该BMC定制设备500可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)522(例如,一个或一个以上处理器)和存储器532,一个或一个以上存储应用程序542或数据544的存储介质530(例如一个或一个以上海量存储设备)。其中,存储器532和存储介质530可以是短暂存储或持久存储。存储在存储介质530的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对装置中的一系列指令操作。更进一步地,处理器522可以设置为与存储介质530通信,在BMC定制设备500上执行存储介质530中的一系列指令操作。
BMC定制设备500还可以包括一个或一个以上电源525,一个或一个以上有线或无线网络接口550,一个或一个以上输入输出接口558,和/或,一 个或一个以上操作系统541,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。
上述图1至图2所描述的BMC定制的方法中的步骤由BMC定制设备基于该图5所示的结构实现。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置、设备和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。
集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,功能调用装置,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器 (Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上对本申请所提供的一种BMC定制的方法、系统、设备及可读存储介质进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、物品或者设备中还存在另外的相同要素。

Claims (10)

  1. 一种BMC定制的方法,其特征在于,包括:
    接收输入的BMC定制请求;
    根据所述BMC定制请求确定对应的脚本文件及客户信息;
    将所述脚本文件与所述客户信息的对应关系存入预设存储空间中;
    将所述客户信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
  2. 根据权利要求1所述的方法,其特征在于,还包括:
    接收BMC版本升级请求;
    根据所述BMC版本升级请求确定对应的版本信息;
    将所述客户信息和所述版本信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述版本信息进行升级,并根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
  3. 根据权利要求1所述的方法,其特征在于,根据所述BMC定制请求确定对应的脚本文件及客户信息,包括:
    根据所述BMC定制请求生成所述脚本文件,并根据BMC定制请求确定所述客户信息。
  4. 根据权利要求1所述的方法,其特征在于,根据所述BMC定制请求确定对应的脚本文件及客户信息,包括:
    解析所述BMC定制请求,得到所述脚本文件及所述客户信息。
  5. 根据权利要求1所述的方法,其特征在于,还包括:
    接收修改请求;
    根据所述修改请求对所述预设存储空间中对应的客户信息和脚本文件进行修改。
  6. 根据权利要求1所述的方法,其特征在于,还包括:
    记录所述预设存储空间中预设时间内所述脚本文件的读取次数;
    将所述预设存储空间中所述读取次数低于阈值的脚本文件及对应的客户信息删除。
  7. 一种BMC定制的系统,其特征在于,包括:
    第一接收模块,用于接收输入的BMC定制请求;
    第一确定模块,用于根据所述BMC定制请求确定对应的脚本文件及客户信息;
    存储模块,用于将所述脚本文件与所述客户信息的对应关系存入预设存储空间中;
    第一控制模块,用于将所述客户信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
  8. 根据权利要求7所述的系统,其特征在于,还包括:
    第二接收模块,用于接收BMC版本升级请求;
    第二确定模块,用于根据所述BMC版本升级请求确定对应的版本信息;
    第二控制模块,用于将所述客户信息和所述版本信息写入BMC的存储器中,并控制所述BMC重启,以使所述BMC根据所述版本信息进行升级,并根据所述客户信息读取所述预设存储空间中对应的脚本文件并执行。
  9. 一种BMC定制设备,其特征在于,包括:
    存储器,用于存储计算机程序;
    处理器,用于执行所述计算机程序时实现如权利要求1至6任一项所述BMC定制的方法的步骤。
  10. 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述BMC定制的方法的步骤。
PCT/CN2021/071234 2020-02-29 2021-01-12 一种bmc定制的方法、系统、设备及可读存储介质 WO2021169639A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010132381.4A CN111399936A (zh) 2020-02-29 2020-02-29 一种bmc定制的方法、系统、设备及可读存储介质
CN202010132381.4 2020-02-29

Publications (1)

Publication Number Publication Date
WO2021169639A1 true WO2021169639A1 (zh) 2021-09-02

Family

ID=71435979

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/071234 WO2021169639A1 (zh) 2020-02-29 2021-01-12 一种bmc定制的方法、系统、设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN111399936A (zh)
WO (1) WO2021169639A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221951A (zh) * 2021-11-04 2022-03-22 深圳市海浦蒙特科技有限公司 外呼显示板的定制方法、系统、装置及智能设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111399936A (zh) * 2020-02-29 2020-07-10 苏州浪潮智能科技有限公司 一种bmc定制的方法、系统、设备及可读存储介质
CN114090131A (zh) * 2021-11-26 2022-02-25 联想(北京)有限公司 启动方法、装置及电子设备和存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205600A1 (en) * 2009-02-06 2010-08-12 Inventec Corporation Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
CN108829451A (zh) * 2018-06-26 2018-11-16 郑州云海信息技术有限公司 Bmc配置更新方法、装置、基板管理控制器及存储介质
CN109388442A (zh) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 一种批量配置bmc用户的方法、装置及计算机设备
CN109857440A (zh) * 2019-02-14 2019-06-07 西安易朴通讯技术有限公司 固件更新方法、服务器以及客户端
CN110018944A (zh) * 2019-04-15 2019-07-16 苏州浪潮智能科技有限公司 服务器sensor配置方法、系统及设备和存储介质
CN110365532A (zh) * 2019-07-12 2019-10-22 苏州浪潮智能科技有限公司 一种服务器配置方法、装置及设备
CN111399936A (zh) * 2020-02-29 2020-07-10 苏州浪潮智能科技有限公司 一种bmc定制的方法、系统、设备及可读存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771565B (zh) * 2009-01-05 2012-07-11 英业达集团(天津)电子技术有限公司 单一服务器实现大批量或不同种基板管理控制器模拟方法
CN104423981A (zh) * 2013-08-26 2015-03-18 鸿富锦精密电子(天津)有限公司 Bmc固件自动更新系统及方法
CN103593250A (zh) * 2013-11-19 2014-02-19 浪潮电子信息产业股份有限公司 一种带外修改BIOS Setup选项的实现方法
US10416988B1 (en) * 2018-02-09 2019-09-17 American Megatrends International, Llc Peripheral device firmware update using rest over IPMI interface firmware shell utility
CN108563458A (zh) * 2018-04-09 2018-09-21 济南浪潮高新科技投资发展有限公司 固件更新方法及系统、Web客户端、基板管理控制器
CN110647370B (zh) * 2019-08-06 2023-03-14 烽火通信科技股份有限公司 一种服务器管理界面的个性化设置方法及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100205600A1 (en) * 2009-02-06 2010-08-12 Inventec Corporation Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
CN108829451A (zh) * 2018-06-26 2018-11-16 郑州云海信息技术有限公司 Bmc配置更新方法、装置、基板管理控制器及存储介质
CN109388442A (zh) * 2018-10-31 2019-02-26 郑州云海信息技术有限公司 一种批量配置bmc用户的方法、装置及计算机设备
CN109857440A (zh) * 2019-02-14 2019-06-07 西安易朴通讯技术有限公司 固件更新方法、服务器以及客户端
CN110018944A (zh) * 2019-04-15 2019-07-16 苏州浪潮智能科技有限公司 服务器sensor配置方法、系统及设备和存储介质
CN110365532A (zh) * 2019-07-12 2019-10-22 苏州浪潮智能科技有限公司 一种服务器配置方法、装置及设备
CN111399936A (zh) * 2020-02-29 2020-07-10 苏州浪潮智能科技有限公司 一种bmc定制的方法、系统、设备及可读存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114221951A (zh) * 2021-11-04 2022-03-22 深圳市海浦蒙特科技有限公司 外呼显示板的定制方法、系统、装置及智能设备

Also Published As

Publication number Publication date
CN111399936A (zh) 2020-07-10

Similar Documents

Publication Publication Date Title
WO2021169639A1 (zh) 一种bmc定制的方法、系统、设备及可读存储介质
EP3299957B1 (en) Performing live updates to file system volumes
JP7221975B2 (ja) マルチマスタ分散データ管理システムにおけるトランザクション処理
US9251183B2 (en) Managing tenant-specific data sets in a multi-tenant environment
CN101650660B (zh) 从中央存储装置引导计算机系统
US9547513B2 (en) Provisioning virtual desktops with stub virtual disks
WO2020024408A1 (zh) 测试装置、测试的方法及存储介质
US20170163553A1 (en) Methods and systems for providing software applications
JP2003114806A (ja) Os更新方法及びセキュリティ制御方法並びにその実施装置
US20120096252A1 (en) Preparing and preserving a system configuration during a hot upgrade
US6658563B1 (en) Virtual floppy diskette image within a primary partition in a hard disk drive and method for booting system with virtual diskette
WO2021098267A1 (zh) 一种磁盘处理的方法、系统、设备及可读存储介质
CN113806305A (zh) 数据导出方法及装置、计算机可读存储介质及电子设备
US8650160B1 (en) Systems and methods for restoring multi-tier applications
JP7431490B2 (ja) 階層型ストレージ管理システムにおけるデータ・マイグレーション
CA2878759C (en) Methods and systems for providing software applications
WO2023066246A1 (zh) 云手机安装应用的方法、系统和客户端云手机
US11870706B2 (en) Method and system for allocating and managing cloud resources
CN115469807A (zh) 磁盘功能配置方法、装置、设备及存储介质
CN111629044B (zh) 基于云盘的Windows操作系统数据漫游网络结构及其方法
US8447729B1 (en) Techniques for performing indication management
WO2018028321A1 (zh) 一种虚拟外置存储设备的管理方法、装置及终端
CN114489674A (zh) 动态数据模型的数据校验方法和装置
KR20040099442A (ko) 운영 체제 옵션 값을 관리하는 시스템 및 방법
CN110703987B (zh) 一种提高虚拟磁盘io性能的方法及系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21760242

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21760242

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 21760242

Country of ref document: EP

Kind code of ref document: A1