BMC system starting method and device, electronic equipment and storage medium

By initializing the basic system and necessary modules first after the BMC system is powered on, and then outputting the login interface, while delaying the initialization of non-essential modules, the problem of long loading time for the BMC system login interface is solved, thus improving the user experience.

CN115509623BActive Publication Date: 2026-04-10XFUSION DIGITAL TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XFUSION DIGITAL TECH CO LTD
Filing Date
2022-10-08
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

After the BMC system is powered on, it takes a long time for various functional modules to initialize and load, resulting in a long waiting time for users to log in and a poor user experience.

Method used

After the BMC system is powered on, the basic system and necessary modules for implementing the login function are initialized first, and then the login interface is output. The initialization of non-essential modules is delayed, and the module initialization order is optimized to shorten the login waiting time.

Benefits of technology

By optimizing the module initialization sequence, the time from powering on the BMC system to being able to log in has been shortened, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115509623B_ABST
    Figure CN115509623B_ABST
Patent Text Reader

Abstract

The application provides a BMC system starting method and device, electronic equipment and storage medium. The method comprises the following steps: after the BMC system is powered on, initializing the basic system of the BMC system, and initializing a first function module; if the request information of logging in the BMC system is received, outputting a login interface, the login interface is used for inputting login information by a user; and initializing a second function module. The first function module is a necessary module for realizing the login function; and the second function module is a non-necessary module for realizing the login function. According to the application, the login interface can be outputted according to the received login request after the necessary module for realizing the login function is initialized, and the initialization of the non-necessary module for realizing the login function is placed after the output of the login interface, so that the effect of quickly outputting the login interface is achieved, the waiting time of the user from the power-on of the BMC system to the login is shortened, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of BMC, in particular to a BMC system starting method and device, electronic equipment and storage medium. BACKGROUND

[0002] BMC (Baseboard Management Controller) is a control unit with independent power supply and independent I / O interface deployed in a server, which can control peripherals of the server such as sensors, hard disks, networks and graphics cards. After the BMC system is powered on, the running status of the server with or without an operating system installed and the server with or without starting can be monitored.

[0003] The BMC system has an independent IP (Internet Protocol) address. Usually, maintenance or use needs to access the IP address through a browser to log in to the management page.

[0004] After the BMC system is powered on, various background function modules will be initialized. When all function modules are initialized and loaded, the BMC system provides a visible login interface. However, it takes a long time for all function modules to be initialized and loaded, so the user needs to wait for a long time from the power-on of the BMC system to the login, and the experience is poor.

[0005] Therefore, how to speed up the rate at which the BMC system provides a login interface is a problem to be solved. SUMMARY

[0006] The present application provides a BMC system starting method and device, electronic equipment and storage medium, to speed up the rate at which the BMC system provides a login interface and improve user experience.

[0007] In a first aspect, the present application provides a BMC system starting method, the BMC system comprising a first function module and a second function module, the first function module being a necessary module for implementing a login function; the second function module being a non-necessary module for implementing the login function; the method comprising: after the BMC system is powered on, initializing a basic system of the BMC system and initializing the first function module; if a request information for logging in to the BMC system is received, outputting a login interface, the login interface being used for a user to input login information; and initializing the second function module.

[0008] The above method can output the login interface according to the received login request after initializing the base system of the BMC system and the first function module for ensuring normal login function, and the unnecessary modules for realizing the login function are initialized after outputting the login interface, so that the effect of quickly responding to the request information and outputting the login interface is achieved. Compared with outputting the login interface after initializing the first function module and the second function module, the time required for the user to wait from power-on to login in the BMC system is greatly shortened, which is beneficial to improve the user experience.

[0009] In some embodiments, the second function module includes a plurality of second function units; initializing the first function module includes: initializing the first function module and part of the second function units;

[0010] Correspondingly, initializing the second function module includes: initializing the remaining second function units.

[0011] The above method can output the login interface according to the received login request after initializing the base system of the BMC system, the first function module for ensuring normal login function, and part of the second function units, so that the effect of quickly outputting the login interface is achieved. Compared with outputting the login interface after initializing the first function module and the second function module, the time required for the user to wait from sending an access request to login is shortened to a certain extent, which is beneficial to improve the user experience.

[0012] In some embodiments, the first function module includes an interface unit, a network unit, and an authentication unit; the interface unit is configured to provide a control interface in the login interface for the user terminal to call; the network unit is configured to provide a network channel for the login interface; and the authentication unit is configured to verify the login information input by the user.

[0013] The above provides the function units included in the first function module.

[0014] In some embodiments, the second function module includes a KVM unit, a storage unit, and an upgrade unit; the KVM unit is configured to simulate the operation function of a keyboard (Keyboard), a display (Video), and a mouse (Mouse) on the server; the storage unit is configured to manage the storage device of the server; and the upgrade unit is configured to upgrade the BMC system.

[0015] The above provides the function units included in the second function module.

[0016] In some embodiments, after the BMC system is powered on, the base system of the BMC system is initialized, including: sequentially initializing a bootloader uboot module, a kernel module, and a root file system rootfs module.

[0017] The above provides each module of the basic system specific initialization of initializing the server running.

[0018] The following is the device, electronic equipment and computer readable storage medium corresponding to the BMC system starting method provided by the embodiment, and the technical effects can refer to the BMC system starting method provided by the first aspect, and details are not repeated.

[0019] In the second aspect, the embodiment of the application provides a BMC system starting device, the BMC system includes a first function module and a second function module, the first function module is a necessary module for realizing a login function; the second function module is a non-necessary module for realizing the login function; the device includes: a first initialization module, configured to initialize a basic system of the BMC system and initialize the first function module after the BMC system is powered on; an interaction module, configured to output a login interface if receiving request information for logging in the BMC system, the login interface is used for inputting login information by a user; and a second initialization module, configured to initialize the second function module.

[0020] In some embodiments, the second function module includes a plurality of second function units; the first initialization module is configured to initialize the first function module and part of the second function units; and the second initialization module is configured to initialize the remaining second function units.

[0021] In some embodiments, the first function module includes an interface unit, a network unit and an authentication unit; the interface unit is configured to determine a control interface in the login interface for calling by a user end; the network unit is configured to provide a network channel for the login interface; and the authentication unit is configured to verify the login information input by the user.

[0022] In some embodiments, the second function module includes a KVM unit, a storage unit and an upgrade unit; the KVM unit is configured to simulate the operation function of a keyboard (Keyboard), a display (Video) and a mouse (Mouse) on the server; the storage unit is configured to manage the storage device of the server; and the upgrade unit is configured to upgrade the BMC system.

[0023] In some embodiments, the first initialization module is configured to initialize a bootloader uboot module, a kernel module and a root file system rootfs module in sequence.

[0024] In the third aspect, the embodiment of the application provides an electronic equipment, including a processor and a memory connected with the processor in communication; the memory stores computer execution instructions; and the processor executes the computer execution instructions stored in the memory to realize the method of the first aspect.

[0025] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions. When the computer execution instructions are executed by a processor, the computer execution instructions are used to implement the method in the first aspect.

[0026] In a fifth aspect, an embodiment of the present application provides a computer program product, and the computer program product includes a computer program. When the computer program is executed by a processor, the computer program implements the method in the first aspect.

[0027] The BMC system starting method, device, electronic equipment and storage medium provided by the embodiments of the present application, the method includes initializing a basic system of the BMC system and initializing a first function module after the BMC system is powered on. If the request information for logging in the BMC system is received, a login interface is output, and the login interface is used for a user to input login information. A second function module is initialized. The first function module is a necessary module for implementing a login function. The second function module is a non-necessary module for implementing the login function. The embodiments of the present application can output the login interface according to the received login request after initializing the necessary module for implementing the login function, and initialize the non-necessary module for implementing the login function after outputting the login interface, so as to quickly output the login interface, shorten the waiting time of the user from the power-on of the BMC system to the login, and improve the user experience. BRIEF DESCRIPTION OF DRAWINGS

[0028] The accompanying drawings, which are incorporated herein and constitute part of the specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0029] Figure 1 An application scenario provided by the embodiments of the present application;

[0030] Figure 2 A flowchart of a BMC system starting method provided by the embodiments of the present application;

[0031] Figure 3 A flowchart of another BMC system starting method provided by the embodiments of the present application;

[0032] Figure 4 A typical BMC system starting flow;

[0033] Figure 5 A BMC system starting flow provided by the embodiments of the present application;

[0034] Figure 6 A structural schematic diagram of a BMC system starting device provided by the embodiments of the present application;

[0035] Figure 7 A structural schematic diagram of an electronic equipment provided by the embodiments of the present application.

[0036] The specific embodiments of the application will be described in detail below with reference to the accompanying drawings. These drawings and the following description are not intended to limit the scope of the application in any way, but are merely intended to illustrate the concepts underlying the application. DETAILED DESCRIPTION

[0037] The exemplary embodiments will be described in detail below with reference to the accompanying drawings. The following description is not intended to limit the scope of the application in any way, but is merely intended to illustrate the concepts underlying the application.

[0038] BMC (Baseboard Management Controller) is a control unit deployed in a server with independent power supply and independent I / O interface, which can control peripherals of the server such as sensors, hard disks, networks, graphics cards, etc. After the BMC system is powered on, it can monitor the running status of the server with or without an operating system installed, and with or without booting. The BMC system has an independent IP address. Usually, maintenance or use needs to access the IP address through a browser to log in to the management page.

[0039] Figure 1 An application scenario provided by an embodiment of the application is shown in FIG. 1. Figure 1 As shown in FIG. 1, it includes a user terminal, a BMC system and a server. For example, the user terminal can use a browser to access the login interface of the BMC system through an IP address in a WLAN to monitor the status of the server through the BMC system after successful login. The user terminal can be a PC, a mobile terminal or other electronic device with the function of accessing the BMC system, such as a mobile phone, a tablet computer, etc.

[0040] After the BMC system is powered on, various background function modules will be initialized. When all the function modules are initialized and loaded, the BMC system provides a visible login interface. However, it takes a long time to initialize and load all the function modules, so the user needs to wait for a long time from the power-on of the BMC system to the login, and the experience is poor. Therefore, how to speed up the rate of providing the login interface by the BMC system is a problem to be solved.

[0041] The BMC system starting method provided in the application finds that the initialized function modules include not only the necessary modules for providing the visual login interactive interface, but also the modules for providing the service function for the user after the user logs in. The modules for providing the service function belong to the non-necessary modules for providing the visual login interactive interface. Considering the actual application scenario, the user will use the service function in sequence after logging in, and will not use each service function at the same time, so the initialization of the modules for providing the service function can be placed after the user logs in.

[0042] Specifically, the application decouples the login condition of the BMC system from the initialization and loading of all function modules, and configures the necessary modules for supporting the BMC system to output the normal login interface to be initialized and loaded. After the initialization and loading of the necessary modules are completed, the BMC system can output the normal login interface, so as to achieve the purpose of fast login and improve the user experience. In addition, the remaining non-necessary modules continue to be loaded after the loading of the necessary modules is completed.

[0043] The technical solutions of the application and how the technical solutions solve the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes can not be described again in some embodiments. The embodiments of the application will be described below with reference to the drawings.

[0044] Embodiment one

[0045] Figure 2 A flowchart of a BMC system starting method provided in the embodiments of the application. The execution subject of the method can be a BMC system starting device. The device can be realized by a computer program, for example, application software, etc. Alternatively, the device can also be a medium storing the related computer program, for example, a U disk, a cloud disk, etc. Alternatively, the device can also be realized by an entity device integrated or installed with the related computer program, for example, a desktop computer, a notebook computer, etc. The execution subject is taken as the BMC system starting device as an example below.

[0046] The method is applied to a BMC system, and the BMC system includes a first function module and a second function module. The first function module is a necessary module for realizing a login function, and the second function module is a non-necessary module for realizing the login function. As shown in the figure, the method can include the following steps: Figure 2

[0047] S100, after the BMC system is powered on, initializing the basic system of the BMC system and initializing the first function module;

[0048] ​S200, if receiving the request information of logging in the BMC system, outputting a login interface, the login interface being used for a user to input login information;

[0049] S300, initializing the second function module.

[0050] In step S100, the power-on of the BMC system can be remote control power-on, or on-site control power-on, such as an operator turning on the switch of the BMC system. Further, after the BMC system is powered on, the modules related to the basic system are initialized first to provide a basic environment for the initialization and running of the first function module and the second function module.

[0051] Optionally, in step S200, the request information can be initiated in the way of accessing an IP address through a browser, or in the way of triggering a program interface on a desktop of an electronic device (such as a computer).

[0052] Further, in step S200, the login interface provides a window for the user to input login information, and after the user inputs the login information, the user can execute login by triggering the "login" control provided by the login interface, or by triggering the login through a keyboard key, such as a single key (e.g., space key, enter key, etc.) or a combination of multiple keys. The login information can include an account or a username and a password.

[0053] Further, in step S300, after the initialization of the second function module is completed, the user can use the service function provided by the second function module by triggering the function key provided on the interactive interface, such as obtaining the CPU running information and storage information of the server. In some embodiments, when the second function module corresponding to the function key triggered by the user has not been loaded, the interactive interface represents the loading state by feeding back "initializing".

[0054] In some embodiments, if no request information is received, step S200 is skipped, and step S300 is directly executed to initialize the second function module. During the initialization of the second function module, if the request information is received, the login interface is outputted without waiting for the completion of the initialization of the second function module.

[0055] In this embodiment, after the necessary modules for implementing the login function are initialized, the login interface is outputted according to the received login request, and the non-necessary modules for implementing the login function are initialized after the login interface is outputted, so as to quickly output the login interface. Compared with the method of initializing the first function module and the second function module and then outputting the login interface, the time required for the user to send an access request to login is greatly shortened, which is beneficial to improving the user experience.

[0056] In some embodiments, the second function module includes a plurality of second function units; initializing the first function module includes initializing the first function module and part of the second function units; and correspondingly, initializing the second function module includes initializing the remaining second function units. Figure 3 Another flowchart of a BMC system starting method provided by an embodiment of the present application is shown in FIG. 2, which includes the following steps: Figure 3

[0057] S101, after the BMC system is powered on, initializing a basic system of the BMC system, and initializing a first function module and part of second function units;

[0058] S200, if receiving a request information of logging in the BMC system, outputting a login interface, the login interface being used for a user to input login information;

[0059] S301, initializing the remaining second function units.

[0060] In some embodiments, in addition to that the basic system of the BMC system and the first function module are loaded, the second function units corresponding to service functions which are preferred to be used by the user are also loaded, and then the login interface can be outputted. In this way, after the user logs in successfully, the user can directly use the service provided by the part of the second function units which are initialized preferentially.

[0061] In the embodiments, the user can customize the number and the type of the part of the second function units which are initialized preferentially, and the embodiments are not limited thereto, which is beneficial to meet the personalized needs of the user and improve the user experience.

[0062] In the embodiments, the basic system of the BMC system and the first function module which guarantees the normal login function are initialized, and part of the second function units are selectively initialized, which can shorten the waiting time of the user from sending an access request to logging in, compared with the method of outputting the login interface after initializing the first function module and the second function module. After the user logs in successfully, the user can quickly use the service function of the part of the second function units which are initialized and loaded before logging in, without waiting for the loading time of the part of the second function units, which is also beneficial to improve the user experience.

[0063] In some embodiments, the first function module includes an interface unit, a network unit and an authentication unit; the interface unit is used to provide a control interface in the login interface for the user end to call; the network unit is used to provide a network channel for the login interface; and the authentication unit is used to verify the login information inputted by the user. The method of verifying the login information inputted by the user can refer to related technologies.

[0064] ​Further, the control interface can be understood as a window on the login interface for the user to fill in the login information. Further, the interface unit here is used to provide the function button that can provide the corresponding service after the user triggers the display interface after the user logs in successfully.

[0065] Further, the network channel can be understood as a channel of communication (Channels of communication) for data transmission. In a computer network, the communication channel is divided into a physical channel and a logical channel. The physical channel refers to the physical path for transmitting data signals, which is composed of transmission media and related communication equipment; the logical channel refers to the logical path formed by the sender and the receiver of the data signal through the intermediate node based on the physical channel. The logical channel can be a wired connection, such as a network cable connection; or a wireless connection, such as a wireless local area network (Wireless Local Area Network, abbreviated as WLAN).

[0066] In some embodiments, the second function module includes a keyboard, a display, or a mouse (Keyboard Video Mouse, abbreviated as KVM) unit, a storage unit, and an upgrade unit; the KVM unit is used to simulate the operation function of the keyboard (Keyboard), the display (Video), and the mouse (Mouse) on the server; the storage unit is used to manage the storage device of the server; and the upgrade unit is used to upgrade the BMC system.

[0067] Specifically, the KVM unit can simulate the KVM (Keyboard, Video, Mouse) function of the server to the local, so that the user can perform keyboard input, display display, mouse movement and click operations on the local server, replacing the functions of the physical keyboard, display and mouse.

[0068] In addition, it can be understood that the second function module is not limited to the KVM unit, the storage unit, and the upgrade unit, but also includes other non-essential modules for implementing the login function, such as a monitoring and adjusting module for monitoring and adjusting the system state of the server temperature, voltage, fan, power supply, etc., such as a recording module for recording server exceptions, various hardware information and log records, and such as an alarm module for performing state exception alarm.

[0069] In some embodiments, after the server is powered on in step S100, the basic system for running the server is initialized, including: initializing the Universal Boot Loader (uboot) module, the kernel module, and the root file system (rootfs) module in sequence.

[0070] Wherein, uBoot is a boot loader mainly used in embedded system, which can be similar to Basic Input Output System (BIOS) on Windows operating system. Linux system also needs a boot loader when starting, which can initialize hardware devices, establish memory space mapping, so as to bring the system hardware and software environment to a suitable state, so as to prepare the correct environment for the final call of the operating system kernel. Kernel generally refers to real-time operating system, which is the core component of any Linux operating system, which represents the core aspect of desktop and server Linux distribution. The overall kernel not only contains central processing unit, inter-process communication and memory, but also has system server call, device driver and file system management function. Linux kernel acts as a layer between device software and hardware. The start parameter of kernel can be the default of kernel, or passed to it by Bootloader. Rootfs, namely root file system, not only has the function of storing data files of ordinary file system, but also is the first file system mounted when kernel starts. Kernel code image file is saved in root file system, and system boot program will load some basic initialization scripts and services from it into memory after root file system is mounted.

[0071] On the basis of the above embodiment, Figure 4 For a typical BMC system startup process, the power-on process from power-on to output of login interface of the server is shown, that is, the normal login mode described above: the initialization of the first function module and all second function units (that is, the second function module) is completed before the output of login interface. Figure 5 For a BMC system startup process provided by the embodiment of the present application, the fast login mode described above is shown, that is, the first function module for guaranteeing login function is initialized before the output of login interface, and the second function module for guaranteeing service function is initialized after the output of login interface.

[0072] For example, Figure 4 In the embodiment, the time consumption from power-on to completion of loading of root file system rootfs module is about 10 seconds; further, the time consumption for completion of loading of interface unit, network unit, authentication unit, kernel-level virtualization KVM unit, storage unit, upgrade unit and other second function units is about 60 seconds.

[0073] Further, Figure 5In the prior art, from power-on to the completion of loading the root file system rootfs module, it takes about 10 seconds; further, from power-on to the completion of loading the interface unit, the network unit, the authentication unit and other necessary modules providing login function, it takes about 10 seconds. Figure 4 Compared with the prior art, the time consumption from power-on of the server to output of the login interface is reduced from 70 seconds to 20 seconds, which greatly shortens the waiting time of the user from sending an access request to being able to log in, and is beneficial to improving the user experience.

[0074] The BMC system starting method provided by the embodiment of the present application comprises: initializing a basic system of a BMC system and initializing a first function module after the BMC system is powered on; outputting a login interface if request information for logging in the BMC system is received, the login interface being used for inputting login information by a user; and initializing a second function module. The first function module is a necessary module for implementing a login function, and the second function module is a non-necessary module for implementing the login function. The login interface can be output according to the received login request after the necessary module for implementing the login function is initialized, and the initialization of the non-necessary module for implementing the login function is placed after the output of the login interface, so that the login interface is quickly output, the waiting time of the user from the power-on of the BMC system to being able to log in is shortened, and the user experience is improved.

[0075] Embodiment two

[0076] Figure 6 A structure diagram of a BMC system starting device provided by the embodiment of the present application. The BMC system starting device can be realized by a computer program, for example, application software, etc.; or the device can also be realized as a medium storing a related computer program, for example, a U disk, a cloud disk, etc.; or the device can also be realized by an entity device integrating or installing a related computer program, for example, a desktop computer, a notebook computer, etc.

[0077] The BMC system starting device is applied to a BMC system, and the BMC system comprises a first function module and a second function module. The first function module is a necessary module for implementing a login function, and the second function module is a non-necessary module for implementing the login function. As shown in the figure, the device comprises: Figure 6

[0078] A first initialization module 10 is configured to initialize a basic system of a BMC system and initialize a first function module after the BMC system is powered on.

[0079] An interactive module 20 is configured to output a login interface if request information for logging in the BMC system is received, the login interface being used for inputting login information by a user.

[0080] A second initialization module 30 is configured to initialize a second function module.​

[0081] The power-on of the BMC system can be remote control power-on, or on-site control power-on, such as turning on the switch of the BMC system by an operator. Further, after the power-on of the BMC system, the basic system related modules are initialized to provide a basic environment for the initialization and running of the first function module and the second function module.

[0082] Optionally, the initiating of the request information can be accessing the IP address through a browser, or triggering a program interface on a desktop of an electronic device (such as a computer).

[0083] Further, the login interface provides a window for the user to input login information, and the user can execute login by triggering the "login" control provided by the login interface after inputting the login information, or by triggering the login through a keyboard, such as a single key (such as a space key, an enter key, etc.) or a combination of multiple keys. The login information can include an account or a username and a password.

[0084] Further, after the initialization of the second function module is completed, the user can use the service function provided by the second function module by triggering the function key provided on the interactive interface, such as obtaining the CPU running information and storage information of the server. In some embodiments, when the second function module corresponding to the function key triggered by the user is not loaded, the interactive interface feeds back "initializing" to represent the loading state.

[0085] In some embodiments, if the request information is not received, the initialization of the second function module is directly continued. During the initialization of the second function module, if the request information is received, the login interface is outputted without waiting for the completion of the initialization of the second function module.

[0086] In this embodiment, after the necessary modules for implementing the login function are initialized, the login interface is outputted according to the received login request, and the initialization of the non-essential modules for implementing the login function is placed after the output of the login interface, so as to quickly output the login interface. Compared with the method of outputting the login interface after the initialization of the first function module and the second function module, the time required for the user from sending the access request to login is greatly shortened, which is beneficial to improve the user experience.

[0087] In some embodiments, the second function module includes a plurality of second function units, the first initialization module 10 is specifically configured to initialize the first function module and part of the second function units, and the second initialization module 30 is specifically configured to initialize the remaining second function units.

[0088] In some embodiments, in addition to the base system and the first function module of the BMC system being loaded, the second function unit corresponding to the service function preferred to be used by the user is also loaded before the login interface is output. In this way, after the user logs in successfully, the user can directly use the service provided by the second function unit that is preferentially initialized.

[0089] In this embodiment, the user can customize the number and type of the second function unit that is preferentially initialized, and the embodiment is not limited, which is beneficial to meet the personalized needs of the user and improve the user experience.

[0090] In this embodiment, the base system of the BMC system and the first function module that guarantees normal login function are initialized, and part of the second function unit is selectively initialized. Compared with the method of outputting the login interface after the first function module and the second function module are initialized, the method can also shorten the waiting time of the user from sending an access request to login. After the user logs in successfully, the user can quickly use the service function of the second function unit that is initialized and loaded before login, without waiting for the loading time of the second function unit, which is also beneficial to improve the user experience.

[0091] In some embodiments, the first function module includes an interface unit, a network unit, and an authentication unit; the interface unit is configured to determine a control interface in the login interface for the user terminal to call; the network unit is configured to provide a network channel for the login interface; and the authentication unit is configured to verify the login information input by the user.

[0092] Specifically, the condition for outputting the login interface is decoupled from the condition that all function modules need to be initialized, and only the function module (first function module) that supports the login interface to have normal login function is retained to achieve fast login. The verification method of the login information input by the user can refer to related technologies. Further, the control interface can be understood as a window in the login interface for the user to fill in the login information. Further, the interface unit is also used to provide the function key that can provide corresponding services after the user logs in successfully and the function key is triggered by the user.

[0093] Further, the network channel can be understood as a channel of communication (Channels of communication) for data transmission. In a computer network, the communication channel is divided into physical channels and logical channels. The physical channel refers to the physical path for transmitting data signals, which is composed of transmission media and related communication equipment; the logical channel refers to the logical path formed by the sender and the receiver of the data signal through the intermediate node based on the physical channel. The logical channel can be a wired connection, such as a network cable connection; or a wireless connection, such as a wireless local area network (Wireless Local Area Network, WLAN for short).

[0094] In some embodiments, the second function module includes a keyboard, a display, or a KVM (Keyboard Video Mouse) unit, a storage unit, and an upgrade unit; the KVM unit is used to simulate the operation function of the keyboard (Keyboard), the display (Video), and the mouse (Mouse) on the server; the storage unit is used to manage the storage device of the server; and the upgrade unit is used to upgrade the BMC system.

[0095] Specifically, the KVM unit can simulate the KVM (Keyboard, Video, Mouse) function of the server to the local, so that the input of the keyboard, the display of the display, and the movement and click of the mouse can be performed on the local, replacing the functions of the physical keyboard, the display, and the mouse.

[0096] In addition, it can be understood that the second function module is not limited to the KVM unit, the storage unit, and the upgrade unit, but also includes other non-essential modules for realizing the login function, such as a monitoring and adjusting module for monitoring and adjusting the system state of the server temperature, voltage, fan, and power supply, a recording module for recording the server exception, various hardware information, and log records, and an alarm module for performing state exception alarm.

[0097] In some embodiments, the first initialization module 1010 is specifically configured to sequentially initialize the bootloader uboot module, the kernel module, and the root file system rootfs module.

[0098] Wherein, uBoot is a boot loader mainly used in embedded, which can be similar to the Basic Input Output System (BIOS) on the Windows operating system. Linux system also needs a boot loader when starting, which can initialize hardware devices, establish memory space mapping, so as to bring the system hardware and software environment to a suitable state, so as to prepare the correct environment for the final call of the operating system kernel. Kernel generally refers to real-time operating system, which is the core component of any Linux operating system, which represents the core aspect of desktop and server Linux distribution. The whole kernel not only contains central processing unit, inter-process communication and memory, but also has system server call, device driver and file system management function. Linux kernel acts as a layer between device software and hardware. The start parameter of kernel can be the default of kernel, or passed to it by Bootloader. Rootfs, namely root file system, not only has the function of storing data files of ordinary file system, but also is the first file system mounted by kernel when starting, and the kernel code image file is saved in the root file system, and the system boot program will load some basic initialization scripts and services into the memory to run after the root file system is mounted.

[0099] On the basis of the above embodiment, Figure 4 For a typical BMC system startup process, the power-on process from power-on to output of the login interface of the server is shown, that is, the normal login mode described above: the initialization of the first function module and all the second function units (that is, the second function module) is completed before the output of the login interface. Figure 5 For a BMC system startup process provided by the embodiment of the application, the fast login mode described above is shown, that is, the first function module for guaranteeing login function is initialized before the output of the login interface, and the second function module for guaranteeing service function is initialized after the output of the login interface.

[0100] For example, Figure 4 In the embodiment, from power-on to completion of loading of the root file system rootfs module, the time consumption is about 10 seconds; further, the interface unit, the network unit, the authentication unit, the kernel-level virtualization KVM unit, the storage unit, the upgrade unit and other second function units are all loaded, and the time consumption is about 60 seconds.

[0101] Further, Figure 5 In the embodiment, from power-on to completion of loading of the root file system rootfs module, the time consumption is about 10 seconds; further, the interface unit, the network unit, the authentication unit, the kernel-level virtualization KVM unit, the storage unit, the upgrade unit and other second function units are all loaded, and the time consumption is about 60 seconds. Figure 4The time from server power-on to displaying the login interface has been reduced from 70 seconds to 20 seconds, significantly shortening the waiting time from sending an access request to being able to log in, thus improving the user experience.

[0102] The BMC system startup device provided in this application includes: a first initialization module 10, used to initialize the basic system of the BMC system and initialize a first functional module after the BMC system is powered on; an interaction module 20, used to output a login interface if a login request is received, the login interface being used for user input of login information; and a second initialization module 30, used to initialize a second functional module. The first functional module is a necessary module for implementing the login function; the second functional module is a non-essential module for implementing the login function. This application can output the login interface based on the received login request after initializing the necessary modules for implementing the login function, and places the initialization of the non-essential modules after outputting the login interface, achieving the effect of quickly outputting the login interface, shortening the waiting time required for the user from powering on the BMC system to being able to log in, and improving the user experience.

[0103] Example 3

[0104] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. The electronic device can be a computer, server, processor, etc. Figure 7 As shown, the electronic device includes:

[0105] The electronic device includes a processor 291 and a memory 292; it may also include a communication interface 293 and a bus 294. The processor 291, memory 292, and communication interface 293 can communicate with each other via the bus 294. The communication interface 293 can be used for information transmission. The processor 291 can call logical instructions stored in the memory 292 to execute the methods of the above embodiments.

[0106] Furthermore, the logic instructions in the aforementioned memory 292 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.

[0107] The memory 292, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this application. The processor 291 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 292, thereby implementing the methods in the above-described method embodiments.

[0108] The memory 292 can include a program storage area and a data storage area, where the program storage area can store an operating system, application programs required by at least one function, and the like; the data storage area can store data created according to the use of the terminal device, and the like. In addition, the memory 292 can include a high-speed random access memory, and can also include a nonvolatile memory.

[0109] The embodiment of the present application provides a computer readable storage medium, and the computer readable storage medium stores computer execution instructions. When the computer execution instructions are executed by a processor, the computer execution instructions are used to implement the method provided in the embodiment one.

[0110] Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. For example, the application is not limited to the precise structures described and shown in the drawings, and it can be readily implemented in various ways. The true scope and spirit of the application are indicated by the claims that follow. The specification and examples are to be considered exemplary only, with the true scope and spirit of the application indicated by the following claims.

[0111] It should be understood that the application is not limited to the precise construction and combinations of parts and steps described herein and shown in the drawings, and that various modifications and changes can be made in the application without departing from the scope thereof. The scope of the application is indicated by the claims that follow.

Claims

1. A BMC system startup method, characterized in that, The BMC system comprises a first function module and a second function module, the first function module is a necessary module for realizing a login function, and the second function module is a non-necessary module for realizing the login function; The second function module comprises a plurality of second function units; The method comprises: After the BMC system is powered on, initializing a basic system of the BMC system, and initializing the first function module; If request information for logging in the BMC system is received, a login interface is output, and the login interface is used for inputting login information by a user; Initializing the second function module; The first function module comprises an interface unit, a network unit, and an authentication unit; The interface unit is used for providing a control interface in the login interface for calling by a user end; The network unit is used for providing a network channel for the login interface; The authentication unit is used for verifying the login information input by the user.

2. The method of claim 1, wherein, The second function module comprises a KVM unit, a storage unit, and an upgrade unit; The KVM unit is used for simulating the operation function of a keyboard, a display, and a mouse on a server; The storage unit is used for managing a storage device of the server; The upgrade unit is used for upgrading the BMC system.

3. The method of claim 1, wherein, The initialization of the basic system of the BMC system comprises: Initializing a bootloader uboot module, a kernel module, and a root file system rootfs module in sequence. The BMC system comprises a first function module and a second function module, the first function module is a necessary module for realizing a login function, and the second function module is a non-necessary module for realizing the login function; The second function module comprises a plurality of second function units; 4. The method of claim 1, wherein, The device comprises: A first initialization module is configured to initialize a basic system of the BMC system and initialize the first function module after the BMC system is powered on; 5. A BMC system startup apparatus, characterized by comprising: An interaction module is configured to output a login interface if request information for logging in the BMC system is received, and the login interface is used for inputting login information by a user; A second initialization module is configured to initialize the second function module. The first initialization module is specifically configured to initialize the first function module and part of second function units, and the part of second function units are part of second function units that are initialized in priority and are customized by the user. Correspondingly, the second initialization module is specifically configured to initialize the remaining second function units. The first function module comprises an interface unit, a network unit, and an authentication unit; the interface unit is used for determining a control interface in the login interface for calling by a user end; the network unit is used for providing a network channel for the login interface, and the authentication unit is used for verifying the login information input by the user. ​ ​ ​ 6. The apparatus of claim 5, wherein, ​ 7. The apparatus of claim 5, wherein, The second function module comprises a KVM unit, a storage unit and an upgrading unit; the KVM unit is used for simulating the operation function of a keyboard, a display and a mouse on a server; the storage unit is used for managing the storage device of the server; The upgrading unit is used for upgrading the BMC system.

8. The apparatus of claim 5, wherein, The first initialization module is specifically configured to sequentially initialize a bootloader uboot module, a kernel module and a root file system rootfs module.

9. An electronic device, comprising: The processor and the communication interface, and the memory connected with the processor through the communication interface; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so as to realize the method in any one of claims 1 to 4.

10. A computer-readable storage medium, characterized in that, The computer program is stored on the readable storage medium, and the computer program is executed by the processor to realize the method in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method for starting up mobile terminal

    CN101252726A

  • Server firmware information viewing method, apparatus and device, and storage medium

    CN112328299A