Server operation and maintenance processing method and device

Through the proxy server, unified access requests, establishment of out-of-band connections and login to the BMC system, the standardization and security problems of traditional BMC management methods in the data center are solved, and one-click server operation and maintenance management is realized across manufacturers, improving operation and maintenance efficiency and security.

CN120499178AActive Publication Date: 2025-08-15JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202510748732.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2025-08-15
Estimated Expiration
2045-06-05

AI Technical Summary

Technical Problem

Traditional BMC management methods lack unified standard processes when managing massive servers in data centers, resulting in high complexity, poor security and inefficiency in operation and maintenance operations.

Method used

The proxy server receives access page requests uniformly, establishes out-of-band connections, logs into the BMC system with pre-installed login scripts, and generates accessible links to realize standardized one-click management process across manufacturers, and eliminates manual account and password input.

Benefits of technology

It realizes standardized one-click management of server operation and maintenance, improves the efficiency of multi-server operation and maintenance, reduces operation and maintenance complexity, and improves security, avoids the risk of password leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499178A_ABST
    Figure CN120499178A_ABST
Patent Text Reader

Abstract

The invention discloses a server operation and maintenance processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: a target proxy server receives a page access request, and obtains related information of a target server and operation and maintenance options selected by a user from the page access request; establishing an out-of-band connection with the target server according to the related information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection; logging in a BMC system of the target server through a login script preset for the operation and maintenance option so as to display a target interface corresponding to the operation and maintenance option; and binding the virtual screen and the target interface, generating an accessible link based on a binding result, and returning the accessible link, so that a user accesses the target interface by clicking the accessible link so as to carry out operation and maintenance operation on the target server. According to the embodiment, the flow of the standardized one-key operation and maintenance management server is realized, the operation of manually inputting an account number and a password is avoided, and the operation and maintenance complexity is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method and device for operation and maintenance processing of a server. Background Art

[0002] A server's Baseboard Management Controller (BMC) is an independent management processor typically integrated on the server motherboard. It's primarily used for out-of-band management and remote console operations. However, when managing massive numbers of servers in a data center, the traditional approach of relying on BMC out-of-band management and remote consoles lacks standardized procedures, leading to low operational efficiency. Summary of the Invention

[0003] In view of this, an embodiment of the present invention provides a method and apparatus for server operation and maintenance processing, which can at least solve the problem that the BMC management interface and remote console in the prior art lack a unified standard process.

[0004] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for operation and maintenance of a server is provided, wherein the server has a baseboard management controller (BMC) system, and the method includes:

[0005] The target proxy server receives the access page request and obtains relevant information of the target server and the operation and maintenance option selected by the user from the access page request;

[0006] establishing an out-of-band connection with the target server according to the relevant information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection;

[0007] Log in to the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option;

[0008] The virtual screen and the target interface are bound, and an accessible link is generated based on the binding result and returned, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

[0009] To achieve the above-mentioned object, according to another aspect of an embodiment of the present invention, a device for operation and maintenance of a server is provided, wherein the server has a baseboard management controller (BMC) system, and the device includes:

[0010] A receiving module, configured to receive an access page request from a target proxy server and obtain relevant information of the target server and an operation and maintenance option selected by the user from the access page request;

[0011] an initialization module, configured to establish an out-of-band connection with the target server according to the relevant information of the target server, and initialize a virtual screen in response to successful establishment of the out-of-band connection;

[0012] A login module, configured to log in to the BMC system of the target server through a login script preset for the operation and maintenance option, so as to display a target interface corresponding to the operation and maintenance option;

[0013] The link module is used to bind the virtual screen and the target interface, generate an accessible link based on the binding result and return it, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

[0014] To achieve the above-mentioned objective, according to another aspect of an embodiment of the present invention, an electronic device for operation and maintenance of a server is provided.

[0015] The electronic device of an embodiment of the present invention includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement any of the above-mentioned server operation and maintenance processing methods.

[0016] To achieve the above objectives, according to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for operation and maintenance processing of any of the above servers is implemented.

[0017] To achieve the above objectives, according to another aspect of an embodiment of the present invention, a computer program product is provided. A computer program product according to an embodiment of the present invention includes a computer program that, when executed by a processor, implements the server operation and maintenance method provided in an embodiment of the present invention.

[0018] According to the solution provided by the present invention, one embodiment of the above invention has the following advantages or beneficial effects: By using a proxy server to uniformly receive access page requests, establish an out-of-band connection, log into the BMC system, and generate an accessible link, a standardized, one-click management process for cross-vendor operation and maintenance servers is implemented, reducing operation and maintenance complexity. Furthermore, with the help of pre-configured login scripts, manual account and password entry is eliminated, effectively resolving the existing operational inefficiency caused by the lack of a unified, standardized process.

[0019] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are provided for a better understanding of the present invention and are not intended to limit the present invention.

[0021] Figure 1 This is a schematic diagram of the main flow of a method for operation and maintenance of a server according to an embodiment of the present invention;

[0022] Figure 2 (a) is a schematic diagram of the login process;

[0023] Figure 2(b) is a schematic diagram of the request flow process;

[0024] Figure 3 A flowchart of a specific server operation and maintenance processing method according to an embodiment of the present invention;

[0025] Figure 4 1 is a schematic diagram of main modules of a device for operation and maintenance processing of a server according to an embodiment of the present invention;

[0026] Figure 5 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;

[0027] Figure 6 It is a schematic diagram of the structure of a computer system of a mobile device or server suitable for implementing the embodiments of the present invention. DETAILED DESCRIPTION

[0028] The following description of exemplary embodiments of the present invention is made in conjunction with the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding. These details should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0029] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, and storage of user personal information involved in the technical solutions disclosed herein all comply with relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken with respect to user personal information to prevent unauthorized access to user personal information data and to safeguard the security of user personal information, network security, and national security.

[0030] A server BMC is an independent management processor integrated into the server motherboard. It monitors server hardware status, performs out-of-band management tasks, and provides remote management capabilities. It allows administrators to remotely access servers over the network, enabling effective management and maintenance even when the server is powered off or unable to start. However, when it comes to managing and maintaining tens of thousands of servers in a data center, traditional BMC management and remote console operations often lead to inefficiencies. The main problems with current methods are:

[0031] 1. Lack of standardized one-click management capabilities: Different server vendors offer different methods for BMC access and remote console launch, leading to complexity and inconvenience in operations and maintenance. Currently, there is no unified, standardized process for one-click BMC access or remote console launch, increasing the workload for operations and maintenance personnel.

[0032] 2. Security and management difficulties: During the operation and maintenance process, operation and maintenance personnel need to manually enter their account and password when logging into the BMC out-of-band management interface or starting the remote console. This method not only makes it difficult to achieve centralized credential management, but also may pose serious security risks due to password leakage.

[0033] Because passwords cannot be stored in plain text, managing passwords for a large number of servers presents challenges. A common approach is to use a unified account and password for all servers, but this introduces global risks. Another approach is to establish a mapping between server SNs (serial numbers), accounts, and passwords in a database. However, this approach requires that information like SNs remain stable, otherwise login failures may occur. Furthermore, how to encrypt and store passwords for a large number of servers and quickly retrieve the passwords for the corresponding servers remains a pressing issue.

[0034] 3. Inefficient multi-server operation and maintenance: When operating multiple servers simultaneously, operators must log in and authenticate each server individually to view BMC information or launch the remote console. When the management scale expands to thousands or even tens of thousands of servers, this one-by-one login method is not only time-consuming but also significantly reduces overall operation and maintenance efficiency.

[0035] In summary, traditional BMC management methods have obvious deficiencies in standardization, security, and efficiency, and more efficient solutions are urgently needed to meet the operation and maintenance needs of large-scale data centers.

[0036] See also Figure 1 , which shows a main flow chart of a method for operation and maintenance of a server provided by an embodiment of the present invention, including the following steps:

[0037] S101: The target proxy server receives an access page request and obtains relevant information of the target server and an operation and maintenance option selected by the user from the access page request;

[0038] S102: establishing an out-of-band connection with the target server according to the relevant information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection;

[0039] S103: Log in to the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option;

[0040] S104: Bind the virtual screen and the target interface, generate an accessible link based on the binding result and return it, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

[0041] In the above implementation, the CMDB (Configuration Management Database) is a key component of IT Service Management (ITSM), particularly within the IT Infrastructure Library (ITIL) framework. The CMDB stores detailed information about all configuration items (CI) in the IT environment, which are the physical and logical components that make up IT services. This means the CMDB records information about each server, such as the server's brand, out-of-band IP (Internet Protocol) address, and cabinet tags.

[0042] When a user needs to access or maintain a server, they must first manually enter their account and password through the CMDB login interface to complete authentication. The CMDB then calls the unified authentication platform to complete the authentication process. After successful authentication, the user can log in and view a list of all servers registered in the CMDB. The user can select one or more servers as needed, but preferably only one, such as selecting Server X by ticking the box. In response to the user's selection of Server X, the CMDB automatically retrieves relevant information about Server X and displays this information during operation.

[0043] As shown in Figure 2(a), the CMDB provides convenient O&M options such as "One-click BMC" and "One-click KVM (Keyboard, Video, Mouse)." Clicking the "One-click BMC" button allows users to access the out-of-band management interface of Server X. Out-of-band management refers to the management and monitoring of devices through a dedicated channel independent of the main system of the managed device. Specifically, it does not rely on the device's operating system or network configuration. Even if the device fails or the operating system is not working properly, administrators can still access and control the device through out-of-band management functions. Specific hardware support, such as BMC, is usually required to implement remote management functions. The "One-click KVM" function allows users to launch a remote console and directly control the keyboard, video, and mouse of Server X.

[0044] It's important to note that "One-Click KVM" is actually part of the BMC functionality. For example, it first displays the out-of-band management interface, then switches from that interface to the keyboard, video, and mouse interface. Therefore, this access request is essentially a call to the out-of-band management page for Server X. When a user triggers this O&M option, the CMDB generates a corresponding access page request based on the O&M option and the relevant information about Server X. This request is actually a request to access the out-of-band management page for Server X and sends it to the interface control layer.

[0045] As shown in Figure 2(b), the proxy server gateway in the interface control layer determines the region to which server X belongs based on its cabinet label and out-of-band IP address. For example, given cabinet label A-01-05 and out-of-band IP address 192.168.1.10, the proxy server gateway determines based on the cabinet label that server X is located in the 5th position of cabinet 01 in data center A. Further analysis of the out-of-band IP address confirms that it falls within the IP address range of data center A, thus confirming that server X belongs to the region of data center A. This allows the proxy server gateway to accurately assign server X to the correct region based on the cabinet label and out-of-band IP address, and further determine the corresponding target proxy server cluster.

[0046] The target proxy server cluster monitors the resource usage of each proxy server in the cluster in real time to determine which proxy server to use to service user requests. For example, it can identify target proxy server Y with the lowest resource usage and forward requests for accessing the out-of-band management page of server X to it. The proxy server gateway also supports other decision-making methods, such as load balancing, to ensure efficient distribution of access tasks while avoiding performance bottlenecks, thereby improving overall system performance and reliability.

[0047] In step S101, after determining the target proxy server Y, the target proxy server Y begins processing the access page request, i.e., the request to access the out-of-band management page of server X. Relevant information about server X and the user-selected operation and maintenance option are obtained from the access page request. The operation and maintenance option is either "one-click BMC" or "one-click KVM." Alternatively, "access" can be used to represent "one-click BMC," while "remote control" can be used to represent "one-click KVM."

[0048] In steps S102-S104, target proxy server Y first checks whether an out-of-band connection can be established with server X based on its out-of-band IP address, similar to determining whether a user can be contacted using their contact information. Assuming the determined region is A, the operation is similar to target proxy server Y determining whether server X is located in region A based on its out-of-band IP address. If so, an out-of-band connection can be established with server X.

[0049] The proxy server requires the following environment: a browser, VNC (Virtual Network Console), and the noVNC service. Web pages are opened in a browser, so the browser environment must be configured. VNC is a remote control tool that allows users to connect to the desktop environment of another computer or server over a network. noVNC is a VNC client built on HTML5 technology. Leveraging HTML5 features such as WebSockets, Canvas, and JavaScript, it provides direct browser access to remote desktops without installing additional plug-ins. Due to its lightweight nature and ease of integration, it is widely used in cloud computing platforms and virtual machine management interfaces.

[0050] The proxy server can be a Linux server or other proxy server. This solution prefers a Linux server. After establishing an out-of-band connection with server X, the target proxy server Y initializes a virtual screen on the current Linux server and starts the VNC and noVNC services for user access. The Linux display mode is usually a black window that cannot display a visual interface. The VNC technology can virtualize a screen, so the essence here is to initialize a virtual screen on the target proxy server Y through the VNC technology. It should be noted that although the noVNC service is not used directly here, the noVNC service needs to be started at this stage so that an access link can be generated through the noVNC technology later, allowing users to access the screen directly through the web page.

[0051] The Linux interface typically displays only text, but users need to manipulate the specific interface of Server X. This requires identifying the user's intent based on the selected O&M options (e.g., one-click BMC, one-click KVM), and then using a login script corresponding to the user's intent to log in to the target server's BMC system and display the target interface corresponding to the user's intent. Alternatively, the user can directly determine the login script pre-configured for the O&M option and use it to log in to the target server's BMC system and display the target interface corresponding to the O&M option.

[0052] Next, bind the virtual screen to the out-of-band management interface of Server X, or bind the KVM interface of Server X to the virtual screen. After the binding is successful, the noVNC service generates an accessible link based on the binding result between the virtual screen and the out-of-band management interface or KVM interface and returns it. By clicking this link, the operation and maintenance personnel can directly access the out-of-band management interface or KVM interface of Server X and perform operation and maintenance operations on Server X.

[0053] The method provided in the above embodiment implements a standardized one-click management process across manufacturers, reducing the complexity of operation and maintenance, by using a proxy server to uniformly receive access page requests, establish out-of-band connections, log in to the BMC system, bind virtual screens, and generate accessible links. At the same time, with the help of pre-configured login scripts, manual account and password entry operations are eliminated, supporting centralized and secure credential management. In addition, this solution can be used for batch operation and maintenance management of multiple servers, significantly improving the efficiency of multi-server operation and maintenance, thereby effectively addressing the differences in BMC access, security management, and large-scale operation and maintenance challenges among different manufacturers.

[0054] See also Figure 3 , shows a flow chart of a method for operation and maintenance processing of a specific server according to an embodiment of the present invention, including the following steps:

[0055] S301: The target proxy server receives an access page request and obtains relevant information of the target server and an operation and maintenance option selected by the user from the access page request;

[0056] S302: establishing an out-of-band connection with the target server according to the relevant information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection;

[0057] S303: In response to the operation and maintenance option being an access option, obtaining an account and password for logging into the target server through a first login script preset for the access option, logging into a BMC system of the target server using the account and password, and displaying an out-of-band management interface of the target server;

[0058] S304: In response to the operation and maintenance option being a remote control option, obtaining version information of the out-of-band firmware of the target server through a second login script preset for the remote control option;

[0059] S305: Determine a download link for a specific file according to the device identifier of the target server and the version information of the out-of-band firmware, so as to obtain the specific file through the download link;

[0060] S306: Retrieve relevant configuration information for logging into the target server BMC system from the specific file, start a remote console client of the target server BMC system according to the relevant configuration information, and display a visual interface of the remote console client;

[0061] S307: Bind the virtual screen and the target interface, generate an accessible link based on the binding result and return it, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

[0062] In this implementation, a pre-configured automated script must also be synchronized to each proxy server. This automated script automatically logs in, effectively completing the login process for the user, thus eliminating the risk of password leakage. The target proxy server Y uses the script to log in, activate the VNC and noVNC services, and return an accessible link through the noVNC service. When the user clicks the link, they are directly presented with the desired interface and can immediately perform maintenance operations on server X.

[0063] In Example 1, the user clicks on the "One-click BMC" option. In this case, a preset browser automation tool (i.e., the first login script) needs to be used. The tool is essentially composed of code, so the account and password of one or more servers can be configured in the tool. When used subsequently, the required account and password can be obtained directly from the tool, such as the account and password for logging into server X. In actual operation, different server manufacturers require different login methods. For example, manufacturer Q requires a specific username and password combination for login, and encrypted communication is required through the HTTPS protocol. In addition, a verification code needs to be provided when logging in. Manufacturer P requires the use of SSH keys for identity authentication, and the login interface supports multiple authentication methods, including username and password, two-factor authentication, etc.

[0064] In this case, you can retrieve the brand information of Server X from its related information to determine the login method corresponding to that brand information. Using this login method, you can automatically fill in and log in to Server X's BMC system using the account and password for Server X obtained from the aforementioned tool, completing automated login. After login, the out-of-band management interface of Server X is automatically displayed. If a connection can be established, bind the virtual screen to Server X's out-of-band management interface.

[0065] Furthermore, while the CMDB can also store information such as each server's account and password, this approach requires access to the CMDB, which can lead to high resource consumption for batch storage. Therefore, this solution prefers configuring server accounts and passwords in a browser automation tool.

[0066] In Example 2, the user clicks the "One-click KVM" option. In this case, a tool such as IPMItool (i.e., the second login script) is used to obtain the version information of Server X's out-of-band firmware. The out-of-band firmware can be an out-of-band management interface. This is because different versions of the out-of-band management interface have different login and encryption methods, such as versions 1.0 and 2.0. Different servers also differ, and can be distinguished based on their device identifiers. Based on the version information and Server X's device identifier, a download link for the Java Network Launch Protocol (JNLP) file is determined, and the JNLP file is obtained from this download link. The JNLP file contains the configuration information related to Server X's login. Based on this configuration information, JAVAWS (Java Web Start) is used to launch Server X's remote console Java client, displaying the Java client's KVM interface. This then binds the virtual screen to the Java client's visual interface.

[0067] IPMItool is used to access the functionality of the Intelligent Platform Management Interface (IPMI), a system interface that manages and monitors computer systems out-of-band. It is a command prompt used to control and configure IPMI-supported devices.

[0068] JAVAWS is a new technology for deploying and distributing Java applications over the Web. When a user clicks a hyperlink pointing to a specific launcher file (JNLP), the Web browser launches JAVAWS, which automatically downloads, caches, and runs the Java-based application. This entire process requires no user interaction beyond the initial click.

[0069] JNLP file is a way provided by Java that allows users to directly execute Java applications through a browser. It allows users to open a Java application directly through a URL link on a web page.

[0070] The method provided in the above embodiment uniformly processes access requests through the target proxy server, establishes an out-of-band connection and initializes the virtual screen, automatically triggers the pre-configured script program corresponding to the operation and maintenance option selected by the user, and realizes convenient automatic login, so that the user can complete the BMC system login or remote console startup without manual operation, effectively shielding complex processes, significantly improving the efficiency and convenience of multi-server operation and maintenance, and ensuring the rapid acquisition and secure access of access links, allowing users to easily and efficiently perform operation and maintenance operations on the server.

[0071] This solution aims to address the efficiency and security issues in existing server operation and maintenance. It addresses the obvious deficiencies in standardization, security, and efficiency of traditional BMC management methods. By integrating browser, VNC, noVNC, and login technologies, combined with proxy servers and automatic login scripts, it implements login and remote transmission of operation interfaces. This allows for unified cross-vendor BMC management and one-click remote console startup, effectively eliminating dependence on server vendors and significantly improving the adaptability and operation and maintenance efficiency of multi-vendor server out-of-band management.

[0072] At the same time, the integrated CMDB enables precise control of user access rights and dynamically obtains server BMC login credentials through automated scripts corresponding to operation and maintenance options. This significantly improves the security level of BMC out-of-band management, effectively avoiding the potential risk of account and password leakage, and providing an additional layer of security for server out-of-band management. In addition, with noVNC technology, one-click access to the BMC and launching the remote console from the web page are supported, significantly improving the efficiency of operation and maintenance management, simplifying the operation process, allowing operation and maintenance personnel to quickly respond to server status, and improving the convenience and timeliness of operation and maintenance work.

[0073] See also Figure 4 , showing a schematic diagram of the main modules of a device 400 for operation and maintenance processing of a server provided by an embodiment of the present invention, wherein the server has a baseboard management controller BMC system, and the device includes:

[0074] Receiving module 401, configured for the target proxy server to receive the access page request and obtain relevant information of the target server and the operation and maintenance option selected by the user from the access page request;

[0075] an initialization module 402 for establishing an out-of-band connection with the target server according to the relevant information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection;

[0076] A login module 403 is configured to log in to the BMC system of the target server through a login script preset for the operation and maintenance option, so as to display a target interface corresponding to the operation and maintenance option;

[0077] The link module 404 is used to bind the virtual screen and the target interface, generate an accessible link based on the binding result and return it, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

[0078] In the device of the embodiment of the present invention, the access page request is transmitted by the interface control layer to the target proxy server;

[0079] Among them, the target proxy server is determined by the interface control layer from multiple proxy servers in the target proxy server cluster based on the relevant information of the target server; the target proxy server cluster corresponds to the regional information determined by the interface control layer based on the relevant information; the relevant information includes the out-of-band Internet Protocol IP address and cabinet label information of the target server.

[0080] In the device of an embodiment of the present invention, the access page request is generated by a configuration management database and transmitted to the interface control layer; wherein, the relevant information of the target server in the access page request and the operation and maintenance options selected by the user are determined by the configuration management database in response to the user operation.

[0081] In the device of the embodiment of the present invention, the login module 403 is used to:

[0082] The user intention is identified according to the operation and maintenance option, and the BMC system of the target server is logged in through a login script preset for the user intention to display a target interface corresponding to the user intention.

[0083] In the device of the embodiment of the present invention, the login module 403 is used to:

[0084] In response to the operation and maintenance option being an access option, the account and password for logging into the target server are obtained through a first login script preset for the access option, so as to log into the BMC system of the target server using the account and password and display the out-of-band management interface of the target server.

[0085] In the device of the embodiment of the present invention, the relevant information also includes brand information of the target server, and the login module 403 is used to:

[0086] A login method is determined according to the brand information of the target server, and the login method is used to log in to the BMC system of the target server using the account and password.

[0087] In the apparatus of the embodiment of the present invention, the relevant information includes the device identification of the target server, and the login module 403 is configured to:

[0088] In response to the operation and maintenance option being a remote control option, obtaining version information of the out-of-band firmware of the target server through a second login script preset for the remote control option;

[0089] Determining a download link for a specific file based on the device identifier of the target server and the version information of the out-of-band firmware, so as to obtain the specific file through the download link;

[0090] Relevant configuration information for logging into the target server BMC system is obtained from the specific file, and a remote console client of the target server BMC system is started according to the relevant configuration information, and a visual interface of the remote console client is displayed.

[0091] In addition, the specific implementation content of the device in the embodiment of the present invention has been described in detail in the above method, so the repeated content will not be described again here.

[0092] Figure 5 An exemplary system architecture 500 to which embodiments of the present invention may be applied is shown, including terminal devices 501 , 502 , 503 , a network 504 and a server 505 (only an example).

[0093] Terminal devices 501, 502, 503 can be various electronic devices with display screens and support web browsing, and are installed with various communication client applications. Users can use terminal devices 501, 502, 503 to interact with server 505 through network 504 to receive or send messages, etc.

[0094] The network 504 is used to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. The network 504 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0095] Server 505 can be a server that provides various services, such as a backend management server that supports shopping websites browsed by users using terminal devices 501, 502, and 503 (for example only). The backend management server can analyze and process received data such as product information query requests, and feed back the processing results (such as target push information and product information—for example only) to the terminal device. It should be noted that the methods provided in the embodiments of the present invention are generally executed by server 505, and accordingly, the device is generally located in server 505.

[0096] It should be understood that Figure 5 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0097] Reference below Figure 6 , which shows a schematic structural diagram of a computer system 600 of a terminal device suitable for implementing an embodiment of the present invention. Figure 6 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0098] like Figure 6As shown, computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage unit 608 into a random access memory (RAM) 603. Various programs and data required for the operation of system 600 are also stored in RAM 603. CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.

[0099] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, mouse, and the like; an output section 607 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and speakers; a storage section 608 including devices such as a hard disk; and a communication section 609 including a network interface card such as a LAN card or a modem. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. Removable media 611, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 610 as needed, so that computer programs read from the removable media can be installed in the storage section 608 as needed.

[0100] In particular, according to embodiments disclosed herein, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed herein include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program containing program code for executing the methods illustrated in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609 and / or installed from removable media 611. When executed by central processing unit (CPU) 601, the computer program performs the aforementioned functions defined in the system of the present invention.

[0101] It should be noted that the computer-readable medium described in the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. Computer-readable storage media may include, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wireline, optical fiber cable, RF, or any suitable combination thereof.

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the above-mentioned module, program segment, or a part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0103] The modules described in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor. For example, a processor may be described as comprising a receiving module, an initialization module, a login module, and a link module. The names of these modules do not, in some cases, limit the modules themselves. For example, a link module may also be described as a "link return module."

[0104] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiments, or may exist independently and not incorporated into the device. The computer-readable medium carries one or more programs, which, when executed by the device, cause the device to perform any of the above-described methods for server operation and maintenance.

[0105] The computer program product of the present invention includes a computer program, which, when executed by a processor, implements the method for operation and maintenance processing of the server in the embodiment of the present invention.

[0106] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.

Claims

1. A method for operation and maintenance of a server, characterized in that: The server has a baseboard management controller (BMC) system, and the method includes: The target proxy server receives the access page request and obtains relevant information of the target server and the operation and maintenance option selected by the user from the access page request; establishing an out-of-band connection with the target server according to the relevant information of the target server, and initializing a virtual screen in response to successful establishment of the out-of-band connection; Log in to the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option; The virtual screen and the target interface are bound, and an accessible link is generated based on the binding result and returned, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

2. The method according to claim 1, characterized in that The access page request is transmitted by the interface control layer to the target proxy server; Among them, the target proxy server is determined by the interface control layer from multiple proxy servers in the target proxy server cluster based on the relevant information of the target server; the target proxy server cluster corresponds to the regional information determined by the interface control layer based on the relevant information; the relevant information includes the out-of-band Internet Protocol IP address and cabinet label information of the target server.

3. The method according to claim 2, characterized in that The access page request is generated by the configuration management database and transmitted to the interface control layer; wherein the relevant information of the target server in the access page request and the operation and maintenance option selected by the user are determined by the configuration management database in response to the user operation.

4. The method according to claim 1, wherein The step of logging into the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option includes: The user intention is identified according to the operation and maintenance option, and the BMC system of the target server is logged in through a login script preset for the user intention to display a target interface corresponding to the user intention.

5. The method according to claim 1 or 4, characterized in that The step of logging into the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option includes: In response to the operation and maintenance option being an access option, the account and password for logging into the target server are obtained through a preset first login script preset for the access option, so as to log into the BMC system of the target server using the account and password and display the out-of-band management interface of the target server.

6. The method according to claim 5, characterized in that The relevant information also includes the brand information of the target server. The BMC system of the target server is logged in using the account and password, including: A login method is determined according to the brand information of the target server, and the login method is used to log in to the BMC system of the target server using the account and password.

7. The method according to claim 1 or 4, characterized in that The relevant information includes the device identification of the target server, and the step of logging into the BMC system of the target server through a login script preset for the operation and maintenance option to display a target interface corresponding to the operation and maintenance option includes: In response to the operation and maintenance option being a remote control option, obtaining version information of the out-of-band firmware of the target server through a preset second login script preset for the remote control option; Determining a download link for a specific file based on the device identifier of the target server and the version information of the out-of-band firmware, so as to obtain the specific file through the download link; Relevant configuration information for logging into the target server BMC system is obtained from the specific file, and a remote console client of the target server BMC system is started according to the relevant configuration information, and a visual interface of the remote console client is displayed.

8. A device for operation and maintenance of a server, characterized in that: The server has a baseboard management controller BMC system, which includes: A receiving module, configured to receive an access page request from a target proxy server and obtain relevant information of the target server and an operation and maintenance option selected by the user from the access page request; an initialization module, configured to establish an out-of-band connection with the target server according to the relevant information of the target server, and initialize a virtual screen in response to successful establishment of the out-of-band connection; A login module, configured to log in to the BMC system of the target server through a login script preset for the operation and maintenance option, so as to display a target interface corresponding to the operation and maintenance option; The link module is used to bind the virtual screen and the target interface, generate an accessible link based on the binding result and return it, so that the user can access the target interface by clicking the accessible link to perform operation and maintenance operations on the target server.

9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer-readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Operation and maintenance method and device

    CN109218076A

  • Server operation and maintenance system and method based on Android system

    CN110278097A

  • Server BMC centralized management system and method, equipment and medium

    CN112269714A

  • Server management method and system

    CN112968929A

  • Server remote management method and device

    CN113407286A