A method and apparatus for server operation and maintenance.

CN120499178BActive Publication Date: 2026-08-14JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-05
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]有鉴于此,本发明实施例提供一种服务器的运维处理的方法和装置,至少能够解决现有技术中BMC管理界面和远程控制台的方式因缺乏统一标准流程的现象

Benefits of technology

[0017]为实现上述目的,根据本发明实施例的又一个方面,提供了一种计算程序产品。本发明实施例的一种计算程序产品,包括计算机程序,所述程序被处理器执行时实现本发明实施例提供的服务器的运维处理的方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120499178B_ABST
    Figure CN120499178B_ABST
Patent Text Reader

Abstract

This invention discloses a method and apparatus for server operation and maintenance, relating to the field of computer technology. One specific implementation of the method includes: a target proxy server receiving an access page request, obtaining relevant information about the target server and user-selected operation and maintenance options from the access page request; establishing an out-of-band connection with the target server based on the relevant information; initializing a virtual screen in response to successful out-of-band connection establishment; logging into the target server's BMC system using a pre-set login script for the operation and maintenance options to display the target interface corresponding to the operation and maintenance options; binding the virtual screen and the target interface, generating an accessible link based on the binding result and returning it, allowing the user to access the target interface by clicking the accessible link to perform operation and maintenance on the target server. This implementation achieves a standardized one-click operation and maintenance management process for servers, eliminates the need for manual input of account and password operations, and reduces the complexity of operation and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer technology, and in particular to a method and apparatus for server operation and maintenance. Background Technology

[0002] A server's BMC (Baseboard Management Controller) is a standalone management processor, typically integrated onto the server motherboard, primarily used for out-of-band management and remote console operations. However, in data centers where managing massive numbers of servers is crucial, the traditional reliance on BMC out-of-band management and remote consoles leads to inefficient operations due to a lack of standardized procedures. Summary of the Invention

[0003] In view of this, embodiments of the present invention provide a method and apparatus for server operation and maintenance, which can at least solve the problem of the lack of a unified standard process in the existing BMC management interface and remote console.

[0004] To achieve the above objectives, according to one aspect 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, the method comprising:

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

[0006] Based on the relevant information of the target server, establish an out-of-band connection with the target server, and in response to the successful establishment of the out-of-band connection, initialize a virtual screen;

[0007] Log in to the BMC system of the target server using the login script pre-set for the operation and maintenance options, and display the target interface corresponding to the operation and maintenance options;

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

[0009] To achieve the above objectives, according to another aspect of the present invention, an apparatus for server operation and maintenance is provided. The server has a Baseboard Management Controller (BMC) system, and the apparatus includes:

[0010] The receiving module is used for the target proxy server to receive access page requests and to obtain relevant information about the target server and the operation and maintenance options selected by the user from the access page requests.

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

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

[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 on the target server.

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

[0015] The electronic device of this invention includes: one or more processors; and a storage device for storing one or more programs, which, when executed by the one or more processors, enable the one or more processors to implement the server operation and maintenance method described above.

[0016] To achieve the above objectives, according to another aspect of the present invention, a computer-readable medium is provided having a computer program stored thereon, which, when executed by a processor, implements the method for operation and maintenance of the server as described above.

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

[0018] According to the solution provided by the present invention, one embodiment of the invention has the following advantages or beneficial effects: by uniformly receiving access page requests, establishing out-of-band connections, logging into the BMC system, and generating accessible links through a proxy server, a standardized one-click management process for cross-vendor operation and maintenance servers is achieved, reducing the complexity of operation and maintenance. Simultaneously, with the help of pre-configured login scripts, manual input of account and password operations is eliminated, thereby effectively solving the problem of low operational efficiency caused by the lack of a unified standard process.

[0019] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description

[0020] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:

[0021] Figure 1 This is a schematic diagram of the main process of a server operation and maintenance method 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 illustrating a specific server operation and maintenance method according to an embodiment of the present invention;

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

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

[0027] Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing the embodiments of the present invention, such as a mobile device or server. Detailed Implementation

[0028] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0029] It should be noted that the collection, gathering, updating, analysis, processing, use, transmission, and storage of user personal information involved in this disclosed technical solution 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 to prevent unauthorized access to user personal information data and to safeguard user personal information security, network security, and national security.

[0030] A server BMC (Block Controller) is a standalone management processor integrated on 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 the server over a network, enabling effective management and maintenance even when the server is shut down or unable to start. However, when managing and maintaining tens of thousands of servers in a data center, traditional BMC management and remote console operation methods often lead to inefficiency. The main problems with current methods are:

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

[0032] 2. Security and management challenges: During operation and maintenance, when operation and maintenance personnel log in to the BMC out-of-band management interface or start the remote console, they need to manually enter their account and password. This method not only makes it difficult to achieve centralized management of credentials, but may also bring serious security risks due to password leakage.

[0033] Since passwords cannot be stored in plaintext, managing passwords for massive numbers of servers presents significant challenges. One common approach is to use a unified username and password across all servers, but this introduces global security risks. Another approach involves establishing a mapping between server serial numbers (SNs), usernames, and passwords using a database; however, this method requires that information such as SNs remain stable and unchanging, otherwise login failures may occur. Furthermore, how to encrypt and store massive amounts of server passwords and quickly retrieve the corresponding server's password remains a pressing issue.

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

[0035] In summary, traditional BMC management methods have significant shortcomings in terms of standardization, security, and efficiency, and there is an urgent need for more efficient solutions to meet the operational and maintenance needs of large-scale data centers.

[0036] See Figure 1 The diagram shows the main flowchart of a server operation and maintenance method provided by an embodiment of the present invention, which includes the following steps:

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

[0038] S102: Based on the relevant information of the target server, establish an out-of-band connection with the target server; in response to the successful establishment of the out-of-band connection, initialize a virtual screen.

[0039] S103: Log in to the BMC system of the target server using the login script preset for the operation and maintenance options, so as to display the target interface corresponding to the operation and maintenance options;

[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 on the target server.

[0041] In the above implementation, the CMDB (Configuration Management Database) is a crucial component of IT Service Management (ITSM), particularly within the IT Infrastructure Library (ITIL) framework. The CMDB stores detailed information on all configuration items (CI, Continuous Integration) within the IT environment; these configuration items are the physical and logical components that constitute IT services. This means that the CMDB records relevant information for each server, such as its brand information, out-of-band IP (Internet Protocol) address, and rack label.

[0042] When a user needs to access or maintain a server, they must first manually enter their username and password through the CMDB login interface to complete authentication. The authentication process is implemented by CMDB calling a unified authentication platform. After successful authentication, the user can log in and view a list of all servers recorded by CMDB. Users can select one or more servers as needed, preferably choosing only one; for example, checking the box next to server X indicates selection. In response to the user's selection of server X, CMDB automatically retrieves relevant information about server X, which can also be displayed in practice.

[0043] Referring to Figure 2(a), CMDB provides convenient operation and maintenance options, such as "One-Click BMC" and "One-Click KVM (Keyboard, Video, Mouse, Remote Keyboard, Monitor, and 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 managing and monitoring the device through a dedicated channel independent of the managed device's main system. Specifically, it does not rely on the device's operating system or network configuration; even if the device malfunctions or the operating system fails, the administrator can still access and control the device through out-of-band management. This typically requires specific hardware support, such as a BMC, to implement remote management. The "One-Click KVM" function allows users to launch a remote console and directly control the keyboard, monitor, and mouse of server X.

[0044] It's important to note that "One-Click KVM" is actually part of the BMC (Browser Management Center) functionality. For example, it first displays the out-of-band management interface, then redirects to the keyboard, monitor, and mouse interfaces. Therefore, its access request is essentially a call to the out-of-band management page of server X. When a user triggers the aforementioned maintenance options, the CMDB generates a corresponding access page request based on the maintenance options and relevant information about server X. This request is actually to access the out-of-band management page of server X and is sent to the interface control layer.

[0045] Referring to Figure 2(b), the proxy server gateway in the interface control layer determines the region to which server X belongs based on its rack label and out-of-band IP address. For example, if the rack label is A-01-05 and the out-of-band IP address is 192.168.1.10, the proxy server gateway determines that server X is located in the 5th position of rack 01 in data center A based on the rack label. Further analysis of the out-of-band IP address confirms that the address belongs to the IP address range of data center A; therefore, server X belongs to region A of data center A. In this way, the proxy server gateway can accurately allocate server X to the correct region based on the rack label and out-of-band IP address information, and further determine the corresponding target proxy server cluster.

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

[0047] For step S101, after determining the target proxy server Y, the target proxy server Y begins processing the access page request, that is, the request to access the out-of-band management page of server X. It obtains relevant information about server X and the operation and maintenance options selected by the user from the access page request. The operation and maintenance options are "One-Click BMC" or "One-Click KVM", or "One-Click BMC" can be represented by access and "One-Click KVM" by remote control.

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

[0049] The proxy server requires the following environment to be prepared beforehand: a browser, VNC (Virtual Network Console), and the noVNC service. All pages are opened in a browser, so the browser environment needs to 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. Utilizing HTML5's WebSockets, Canvas, and JavaScript features, it provides the ability to directly access a remote desktop through a browser without installing additional plugins. Due to its lightweight and easy integration advantages, it is widely used in cloud computing platforms and virtual machine management interfaces.

[0050] The proxy server can be a Linux server or other types of proxy servers; 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 VNC and noVNC services for user access. Linux typically displays a black window and cannot show a visual interface; VNC technology can virtualize a screen, so this essentially initializes a virtual screen on the target proxy server Y using VNC technology. It should be noted that although the noVNC service is not directly used here, it needs to be started at this stage so that an access link can be generated later using noVNC technology, allowing users to access the screen directly through a webpage.

[0051] Linux interfaces typically only display text, but users often need to manipulate the specific interface of server X. This requires identifying the user's intent—their specific operational goal (e.g., one-click BMC, one-click KVM)—based on the selected maintenance options, and then using a login script corresponding to that intent to log into the target server's BMC system and display the desired interface. Alternatively, a pre-defined login script for the maintenance options can be directly defined, and this script can be used to log into the target server's BMC system to display the desired interface.

[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 successful binding, use the noVNC service to generate and return an accessible link based on the binding result of the virtual screen and the out-of-band management interface or KVM interface. This allows maintenance personnel to directly access the out-of-band management interface or KVM interface of server X by clicking the link, thereby performing maintenance operations on server X.

[0053] The method provided in the above embodiments achieves a standardized one-click management process across vendors by uniformly receiving access page requests, establishing out-of-band connections, logging into the BMC system, binding virtual screens, and generating accessible links through a proxy server, thereby reducing operational complexity. Simultaneously, the pre-configured login script eliminates the need for manual username and password input, supporting centralized and secure credential management. Furthermore, this solution enables batch operation and maintenance management of multiple servers, significantly improving multi-server operation and maintenance efficiency, and effectively addressing the challenges of access differences, security management, and large-scale operation and maintenance across different vendors' BMCs.

[0054] See Figure 3 The diagram illustrates a specific server operation and maintenance method according to an embodiment of the present invention, including the following steps:

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

[0056] S302: Based on the relevant information of the target server, establish an out-of-band connection with the target server; in response to the successful establishment of the out-of-band connection, initialize a virtual screen.

[0057] S303: In response to the operation and maintenance option being an access option, the system obtains the account and password for logging into the target server through the first login script preset for the access option, and uses the account and password to log into the BMC system of the target server and displays the out-of-band management interface of the target server.

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

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

[0060] S306: Obtain the relevant configuration information for logging into the target server BMC system from the specific file, and start the remote console client of the target server BMC system according to the relevant configuration information, and display the 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 on the target server.

[0062] In the above implementation, the pre-adapted automation script also needs to be synchronized to each proxy server. This automation script is used to achieve automatic login; that is, this solution essentially performs the login operation on behalf of the user, thereby eliminating the risk of password leakage. The target proxy server Y uses the script to log in, starts the VNC and noVNC services, and returns an accessible link through the noVNC service. After the user clicks the link, they directly see the required interface and can immediately perform maintenance operations on server X.

[0063] In Example 1, the user clicks the "One-Click BMC" option. In this case, a pre-built browser automation tool (i.e., the first login script) is needed. This tool is essentially composed of code, so one or more server usernames and passwords can be configured within it. Subsequent use can directly retrieve the required username and password from this tool, such as the username and password for logging into server X. In practice, different server vendors have different login requirements. For example, vendor Q requires a specific username and password combination for login and encrypted communication via HTTPS. Furthermore, a verification code is required during login. Vendor P requires SSH key authentication, and the login interface supports multiple authentication methods, including username and password, two-factor authentication, etc.

[0064] To address this situation, the brand information of server X can be retrieved from its relevant information to determine the corresponding login method. Using this login method, the username and password for server X obtained from the aforementioned tool are automatically filled in and used to log in to server X's BMC system, completing the automated login process. After logging in, server X's out-of-band management interface is automatically displayed. If a connection can be established, the virtual screen is bound to server X's out-of-band management interface.

[0065] Furthermore, although the CMDB can also store account and password information for each server, this method requires accessing the CMDB and suffers from the problem of large-scale resource consumption due to batch storage. Therefore, this solution prefers configuring server account and password information through browser automation tools.

[0066] In Example 2, the user clicks the "One-Click KVM" option. In this case, tools such as IPMItool (i.e., the second login script) are used to obtain the out-of-band firmware version information of server X. The out-of-band firmware can be an out-of-band management interface, because different versions of the out-of-band management interface have different login and encryption methods; for example, versions 1.0 and 2.0 have different login and encryption methods. Different servers also have differences, which can be distinguished based on device identifiers. Based on the version information and the device identifier of server X, the download link for the JNLP (Java Network Launch Protocol) file is determined, and the JNLP file is obtained from this download link. The relevant configuration information for logging into server X is obtained from the JNLP file. Based on this configuration information, the remote console Java client of server X is launched using JAVAWS (Java Web Start), displaying the KVM interface of the Java client, and thus binding the virtual screen to the visual interface of the Java client.

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

[0068] JAVAWS is a new technology for deploying and publishing Java programs via the web. When a user clicks a hyperlink pointing to a specific startup file (JNLP file), the web browser launches JAVAWS, which automatically downloads, caches, and runs the given Java-based application. This entire process requires no user intervention beyond the initial click.

[0069] JNLP files are a way provided by Java that allows users to execute Java applications directly through a browser. They enable users to open a Java application directly through a URL on a webpage.

[0070] The method provided in the above embodiments processes access requests uniformly through the target proxy server, establishes out-of-band connections and initializes virtual screens, and automatically triggers pre-configured scripts corresponding to the user-selected operation and maintenance options to achieve convenient automatic login. This allows users to log in to the BMC system or start the remote console without manual operation, effectively shielding complex processes and significantly improving the efficiency and ease of operation of multi-server operation and maintenance. At the same time, it ensures the rapid acquisition and secure access of access links, allowing users to easily and efficiently perform operation and maintenance on servers.

[0071] This solution aims to address the efficiency and security issues in existing server operations and maintenance. Addressing the significant shortcomings of traditional BMC management methods in terms of standardization, security, and efficiency, it integrates technologies such as browsers, VNC, noVNC, and login, combined with proxy servers and automatic login scripts, to create a login and remote transmission interface. This enables unified management of cross-vendor BMCs and one-click activation of the remote control console, effectively reducing dependence on server vendors and significantly improving the adaptability and operational efficiency of out-of-band management of multi-vendor servers.

[0072] Meanwhile, the integration of CMDB enables precise control over user access permissions, and through automated scripts corresponding to operational options, dynamically obtains server BMC login credentials, significantly improving the security level of BMC out-of-band management and effectively avoiding the potential risk of account password leakage, providing an extra layer of security for server out-of-band management. Furthermore, leveraging noVNC technology, it supports one-click access to the BMC and launching the remote console from a web interface, significantly improving the efficiency of operational management, simplifying the operation process, and enabling operational personnel to quickly respond to server status, thus enhancing the convenience and timeliness of operational work.

[0073] See Figure 4 This diagram illustrates the main modules of a server operation and maintenance processing device 400 provided in an embodiment of the present invention. The server has a Baseboard Management Controller (BMC) system, and the device includes:

[0074] The receiving module 401 is used for the target proxy server to receive access page requests and to obtain relevant information about the target server and the operation and maintenance options selected by the user from the access page requests.

[0075] Initialization module 402 is used to establish an out-of-band connection with the target server based on the relevant information of the target server, and to initialize a virtual screen in response to the successful establishment of the out-of-band connection;

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

[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 on the target server.

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

[0079] 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 rack label information of the target server.

[0080] In the device of this embodiment of the invention, 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 and the operation and maintenance options selected by the user in the access page request are determined by the configuration management database in response to the user operation.

[0081] In the device of this embodiment, the login module 403 is used for:

[0082] Based on the operation and maintenance options, the user intent is identified, and the user logs into the BMC system of the target server using a login script pre-set to the user intent, so as to display the target interface corresponding to the user intent.

[0083] In the device of this embodiment, the login module 403 is used for:

[0084] In response to the operation and maintenance option being an access option, the system obtains the account and password for logging into the target server through a first login script pre-set to the access option, and uses the account and password to log into the BMC system of the target server and display the out-of-band management interface of the target server.

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

[0086] Based on the brand information of the target server, a login method is determined, 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 device of this embodiment, the relevant information includes the device identifier of the target server, and the login module 403 is used for:

[0088] In response to the operation and maintenance option being a remote control option, the version information of the target server's out-of-band firmware is obtained through a second login script pre-configured for the remote control option;

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

[0090] Obtain the relevant configuration information for logging into the target server BMC system from the specific file, and start the remote console client of the target server BMC system according to the relevant configuration information, and display the visual interface of the remote console client.

[0091] Furthermore, the specific implementation details of the device described in the embodiments of the present invention have been described in detail in the above-described method, so the details will not be repeated here.

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

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

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

[0095] Server 505 can be a server providing various services, such as a backend management server supporting shopping websites browsed by users using terminal devices 501, 502, and 503 (this is just an example). The backend management server can analyze and process received data such as product information query requests, and feed back the processing results (e.g., target push information, product information—this is just an example) to the terminal devices. It should be noted that the method provided in this embodiment of the invention is generally executed by server 505, and correspondingly, the apparatus is generally set in server 505.

[0096] It should be understood that Figure 5 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0097] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing a terminal device of the present invention. Figure 6 The terminal device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of the present invention.

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

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

[0100] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown 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 medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined above in the system of this invention.

[0101] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.

[0102] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0103] The modules described in the embodiments of the present invention can be implemented in software or hardware. The described modules can also be housed in a processor; for example, a processor may be described as including a receiving module, an initialization module, a login module, and a linking module. The names of these modules do not necessarily limit the module itself; for example, a linking module may also be described as a "link return module."

[0104] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to perform the operation and maintenance methods of any of the aforementioned servers.

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

[0106] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.

Claims

1. A method for server operation and maintenance, 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 about the target server and the operation and maintenance options selected by the user from the access page request; Based on the relevant information of the target server, establish an out-of-band connection with the target server, and in response to the successful establishment of the out-of-band connection, initialize a virtual screen; Log in to the BMC system of the target server using the login script pre-set for the operation and maintenance options, and display the target interface corresponding to the operation and maintenance options; The virtual screen and the target interface are bound together. An accessible link is generated based on the binding result and returned, allowing the user to access the target interface by clicking the accessible link to perform operation and maintenance on the target server.

2. The method according to claim 1, characterized in that, The request to access the page is transmitted from the interface control layer to the target proxy server; 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 rack 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 and the operation and maintenance options selected by the user in the access page request are determined by the configuration management database in response to the user operation.

4. The method according to claim 1, characterized in that, The step of logging into the BMC system of the target server using a pre-configured login script for the operation and maintenance options, and displaying the target interface corresponding to the operation and maintenance options, includes: Based on the operation and maintenance options, the user intent is identified, and the user logs into the BMC system of the target server using a login script pre-set to the user intent, so as to display the target interface corresponding to the user intent.

5. The method according to claim 1 or 4, characterized in that, The step of logging into the BMC system of the target server using a pre-configured login script for the operation and maintenance options, and displaying the target interface corresponding to the operation and maintenance options, includes: In response to the operation and maintenance option being an access option, the system obtains the account and password for logging into the target server through a preset first login script for the access option, and uses the account and password to log into the BMC system of the target server 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, and the step of logging into the BMC system of the target server using the account and password includes: Based on the brand information of the target server, a login method is determined, 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 identifier of the target server, and the step of logging into the BMC system of the target server through a pre-configured login script for the operation and maintenance options to display the target interface corresponding to the operation and maintenance options includes: In response to the operation and maintenance option being a remote control option, the version information of the target server's out-of-band firmware is obtained through a preset second login script for the remote control option. Based on the device identifier of the target server and the version information of the out-of-band firmware, a download link for a specific file is determined so as to obtain the specific file through the download link; Obtain the relevant configuration information for logging into the target server BMC system from the specific file, and start the remote console client of the target server BMC system according to the relevant configuration information, and display the visual interface of the remote console client.

8. A device for server operation and maintenance, characterized in that, The server has a Baseboard Management Controller (BMC) system, the device comprising: The receiving module is used for the target proxy server to receive access page requests and to obtain relevant information about the target server and the operation and maintenance options selected by the user from the access page requests. An initialization module is used to establish an out-of-band connection with the target server based on the relevant information of the target server, and to initialize a virtual screen in response to the successful establishment of the out-of-band connection; The login module is used to log in to the BMC system of the target server through a login script preset for the operation and maintenance options, so as to display the target interface corresponding to the operation and maintenance options; 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 on the target server.

9. An electronic device, characterized in that, include: One or more processors; 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 as described in any one of claims 1-7.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-7.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Operation and maintenance method and device

    CN109218076A

  • Out-of-band management method and device suitable for servers of different manufacturers

    CN116192603A