CN117811921A - Component parameter configuration method, server and terminal equipment - Google Patents

Component parameter configuration method, server and terminal equipment Download PDF

Info

Publication number
CN117811921A
CN117811921A CN202311568295.8A CN202311568295A CN117811921A CN 117811921 A CN117811921 A CN 117811921A CN 202311568295 A CN202311568295 A CN 202311568295A CN 117811921 A CN117811921 A CN 117811921A
Authority
CN
China
Prior art keywords
component
server
parameter
parameter configuration
modification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311568295.8A
Other languages
Chinese (zh)
Inventor
王刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
XFusion Digital Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by XFusion Digital Technologies Co Ltd filed Critical XFusion Digital Technologies Co Ltd
Priority to CN202311568295.8A priority Critical patent/CN117811921A/en
Publication of CN117811921A publication Critical patent/CN117811921A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a component parameter configuration method, a server and terminal equipment, wherein the terminal equipment and the server are connected to the same local area network, and the method comprises the following steps: receiving a parameter configuration request for a first component from a terminal device; responding to the parameter configuration request, and sending parameter configuration data of the first component to the terminal equipment, wherein the parameter configuration data is used for displaying a parameter configuration interface of the first component by the terminal equipment; receiving parameter modification information aiming at a first component, wherein the parameter modification information is obtained by modifying parameter configuration information displayed in a parameter configuration interface by terminal equipment; the first component is instructed to modify its own parameters based on the parameter modification information. In this way, the parameters of the first component can be modified without deploying components such as a display, a keyboard, a PC, a serial port cable and the like for the server, so that the deployment cost of the server can be reduced.

Description

Component parameter configuration method, server and terminal equipment
Technical Field
The present disclosure relates to the field of server technologies, and in particular, to a component parameter configuration method, a server, and a terminal device.
Background
The basic input output system (Basic Input Output System, BIOS) is a set of programs that solidify in the server, and the main functions of the BIOS may include initializing settings to hardware devices in the server, detecting, and booting the operating system. When the server is started, the user can modify BIOS parameters according to actual service requirements, so that the running condition of the server is more in line with the service requirements.
The server may be connected to the display and the input device (e.g., a mouse, a keyboard, etc.), in which case, after the server is powered on, a prompt may be output on the display to prompt for entering the BIOS, and after the user operates according to the prompt (e.g., clicks a Delete keyboard button), a configuration menu of the BIOS parameters may be output on the display, so that the user may adjust the BIOS parameters using the input device to adjust the configuration menu displayed on the display.
Or, the serial port of the server is connected with a personal computer (Personal Computer, PC) through a serial port cable, a serial port tool can be installed in the PC, and the content output by the serial port can be analyzed and displayed in the serial port tool, so that a user can more intuitively check the serial port output. In this case, after the server is powered on, a prompt can be output through the serial port to prompt to enter the BIOS, the prompt is parsed into the serial port tool to be displayed, and after the user operates according to the prompt, the serial port can output a configuration menu of the BIOS parameters, so that the user can adjust the configuration menu displayed on the serial port tool by using the input device of the PC to adjust the BIOS parameters.
The default standard configuration of the server generally does not contain components such as a display, a keyboard, a mouse, a serial port cable and the like, and the implementation of the two modes for adjusting the BIOS parameters requires the additional deployment of the display and the keyboard for the server or the deployment of dependent components such as a PC, the serial port cable and the like, so that the deployment cost of the server is higher.
Disclosure of Invention
The embodiment of the application provides a component parameter configuration method, a server and terminal equipment, which can adjust BIOS parameters without deploying a display, a keyboard, a PC, a serial port cable and other dependent components for the server, thereby reducing the deployment cost of the server.
In a first aspect, an embodiment of the present application provides a component parameter configuration method, which is applied to a server, where the server includes a first component, and the method includes: receiving a parameter configuration request for a first component from a terminal device, the terminal device and a server being connected to the same local area network; responding to the parameter configuration request, and sending parameter configuration data of the first component to the terminal equipment, wherein the parameter configuration data is used for displaying a parameter configuration interface of the first component by the terminal equipment; receiving parameter modification information aiming at a first component, wherein the parameter modification information is obtained by modifying parameter configuration information displayed in a parameter configuration interface by terminal equipment; the first component is instructed to modify its own parameters based on the parameter modification information.
In the technical scheme, the parameters of the first component can be modified without deploying components such as a display, a keyboard, a PC, a serial port cable and the like for the server, so that the deployment cost of the server can be reduced, for example, the component parameters of the first component can be modified according to actual service requirements, and the running condition of the first component can be more in line with the service requirements. If the server is required to be deployed with a display, a keyboard, a PC, a serial port cable and other dependent components to modify the parameters of the first component, firstly, the preparation of the components can bring about cost rise and site occupation, and secondly, part of the server can involve the need of replacing the components to modify the parameters of the first component, and the replacement of the components can also bring about labor cost rise and maintenance inconvenience.
In one possible implementation, the server further includes a management controller, the parameter modification information of the first component received by the server is stored in the management controller, and the method further includes: controlling the first part to restart; receiving a query request, wherein the query request is used for querying whether the management controller stores parameter modification information of the first component, and the query request is sent after the first component is restarted; the parameter modification information is provided to the first component.
In one possible implementation manner, the surface of the server is marked or stuck with a two-dimensional code corresponding to the first component, and the parameter configuration request for the first component is sent after the terminal equipment scans the two-dimensional code; or, the surface of the server is marked or stuck with a website corresponding to the first component, and the parameter configuration request for the first component is sent after the terminal equipment inputs the website.
In the technical scheme, the two-dimensional code or the website corresponding to the first component is marked or stuck on the surface of the server, so that a user can be connected to the parameter configuration interface of the first component provided by the BMC by using the terminal equipment to scan the two-dimensional code or input the website, the parameter configuration flow aiming at the first component can be triggered quickly, the implementation complexity is low, and the capability requirement on operators is low.
In one possible implementation, the managing controller stores the flag of the parameter modification information of the first component as inactive, and the method further includes: receiving first indication information, wherein the first indication information is used for indicating that the first component successfully modifies the component parameters of the first component based on the parameter modification information; the flag of the parameter modification information stored by the management controller is modified to be validated based on the first indication information.
In the technical scheme, the parameter modification information of the first component stored by the management controller is marked as validated, so that the management controller can be prevented from repeatedly sending the parameter modification information to the first component, and the first component can be prevented from repeatedly carrying out parameter modification according to the same part of parameter modification information, and the waste of transmission resources can be avoided.
In one possible implementation, the instructing the first component to modify its own parameter based on the parameter modification information of the first component includes: sending second indication information to the terminal equipment, wherein the second indication information is used for indicating successful reception of the parameter modification information; receiving an effective instruction for the parameter modification information from the terminal equipment; in response to the validation instruction, the first component is instructed to modify its own parameters based on the parameter modification information.
In a second aspect, an embodiment of the present application provides a component parameter configuration method, where the method includes: sending a parameter configuration request aiming at a first component of the server to the server, wherein the terminal equipment and the server are connected to the same local area network; receiving parameter configuration data of a first component, and displaying a parameter configuration interface of the first component based on the parameter configuration data; modifying the parameter configuration information displayed in the parameter configuration interface to obtain parameter modification information of the first component; the parameter modification information is sent to the server.
In the technical scheme, the parameter modification information of the first component is sent to the server, so that the first component modifies the parameter based on the parameter modification information. The terminal equipment can obtain the parameter modification information of the first component by modifying the parameter configuration information displayed in the parameter configuration interface through displaying the parameter configuration interface, the complexity of realizing the process is low, and the capability requirement on operators is low.
In one possible implementation manner, the surface of the server is marked or stuck with a two-dimensional code corresponding to the first component, or the surface of the server is marked or stuck with a website corresponding to the first component; a specific implementation of sending a parameter configuration request to a server for a first component in the server may be: scanning the two-dimensional code, and sending a parameter configuration request for the first component to a server; or, inputting the web address, and sending a parameter configuration request for the first component to the server.
In the technical scheme, the user uses the terminal equipment to scan the two-dimensional code special for configuring the parameters of the first component on the server to connect to the parameter configuration interface of the first component provided by the BMC, or uses the terminal equipment to input the website special for configuring the parameters of the first component on the server to connect to the parameter configuration interface of the first component provided by the BMC, so that the parameter configuration process for the first component can be triggered quickly, the implementation complexity is lower, and the capability requirement on operators is lower.
In a possible implementation manner, the server further includes a management controller, and after scanning the two-dimensional code corresponding to the first component or inputting the website corresponding to the first component, the method further includes: displaying an interface for inputting an address of the management controller, the interface including a connection button; inputting an address of the management controller in the interface; the specific implementation of sending the parameter configuration request for the first component to the server may be: in response to a trigger operation for the connection button, a parameter configuration request for the first component is sent to the management controller based on the input address of the management controller.
In a possible implementation manner, the server further includes a management controller, and after scanning the two-dimensional code corresponding to the first component or inputting the website corresponding to the first component, the method further includes: a factory information acquisition request is sent to a factory data center, and the factory information acquisition request is used for requesting to acquire factory information of a server associated with the two-dimensional code or the website; receiving factory information from a factory data center, wherein the factory information comprises an address of a management controller; the specific implementation of sending the parameter configuration request for the first component to the server may be: a parameter configuration request for the first component is sent to the management controller based on the address of the management controller.
In the technical scheme, the address of the management controller is automatically acquired from the manufacturer data center, so that terminal equipment or a user does not need to know the address of the management controller in advance, and the user does not need to manually input the address of the management controller, and the convenience of acquiring the address of the management controller can be improved.
In one possible implementation, the method further includes: receiving second indication information from the server, wherein the second indication information is used for indicating the server to successfully receive the parameter modification information of the first component; in response to a trigger operation of an validate button displayed in the parameter configuration interface for the first component, a validation instruction for the parameter modification information is sent to the server.
In a third aspect, embodiments of the present application provide a server, where the server includes a unit for implementing the method described in the first aspect.
In a fourth aspect, an embodiment of the present application provides a terminal device, where the terminal device includes a unit configured to implement the method described in the second aspect.
In a fifth aspect, embodiments of the present application provide a management controller configured to perform a method as in the first aspect.
In a sixth aspect, embodiments of the present application provide another server, the server including a management controller, a processor, and a memory, the memory being configured to store program instructions of the first component, the processor being configured to execute the program instructions, the management controller being configured to perform a method as in the first aspect.
In a seventh aspect, embodiments of the present application provide another terminal device, where the terminal device includes a processor and a memory, where the memory is configured to store program instructions, and the processor is configured to execute the program instructions, so that the terminal device performs a method as in the second aspect.
In an eighth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program comprising program instructions which, when executed, cause the method of the first or second aspect to be implemented.
In a ninth aspect, embodiments of the present application provide a computer program product comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method as in the first or second aspect.
Drawings
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present application;
fig. 2 is a flow chart of a component parameter configuration method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an input interface of a BMC address according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a parameter configuration interface of a first component according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a modification flow of BIOS parameters according to an embodiment of the present application;
FIG. 6 is a flowchart of another method for configuring component parameters according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a server according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal device disclosed in an embodiment of the present application;
FIG. 9 is a schematic diagram of a management controller according to an embodiment of the present disclosure;
FIG. 10 is a schematic diagram of another server disclosed in an embodiment of the present application;
fig. 11 is a schematic structural diagram of another terminal device disclosed in an embodiment of the present application.
Detailed Description
It should be understood that the terms "first," "second," and the like, as used in embodiments of the present application, are used for distinguishing between different objects and not for describing a particular sequential order.
The term "at least one" in the embodiments of the present application refers to one or more, and the term "a plurality" refers to two or more. In the embodiment of the present application, "and/or" describes the association relationship of the association object, which indicates that three relationships may exist, for example, a and/or B may indicate the following three cases: a is present alone, while A and B are present together, and B is present alone. Wherein A, B can be singular or plural. The character "/" may indicate that the context-dependent object is an "or" relationship.
The expression "at least one item below" or the like in the embodiments of the present application refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c may represent the following seven cases: a, b, c, a and b, a and c, b and c, a, b and c. Wherein each of a, b, c may be an element or a set comprising one or more elements.
In order to better understand a component parameter configuration method disclosed in the embodiments of the present application, a communication system to which the embodiments of the present application are applicable is first described below.
Referring to fig. 1, fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the disclosure. As shown in fig. 1, the communication system includes: a server 10, a terminal device 11 and a network device 12.
Wherein the server 10 and the terminal device 11 may establish a communication connection through the network device 12, so that communication is possible between the server 10 and the terminal device 11. The server 10, the terminal device 11 and the network device 12 are illustratively connected together to form a network in which the devices can communicate with each other. The network may be a local area network, a wide area network, a wireless network, or other type of network, which is not limited in the embodiments of the present application. Taking the network device 12 as a router supporting wireless fidelity (WIreless Fidelity, WIFI) as an example, the network device 12 and the server 10 may form a WIFI network, and after the terminal device 11 accesses the WIFI network, the terminal device 11 may communicate with the server 10.
The server 10 may include, but is not limited to, a management controller 101, a motherboard 102, a hard disk 103, and the like. Among other things, the management controller 101 may be used for monitoring, managing, etc., components in a server. For example, the management controller 101 may monitor the status (e.g., temperature, voltage, etc.) of various hardware devices in the server. For another example, system configuration, firmware upgrade, fault diagnosis, and the like may be performed by the management controller 101. The motherboard 102 may be provided with a central processing unit (central processing unit, CPU) 1021, a memory 1022, a basic input output system (Basic Input Output System, BIOS) chip 1023, and the like, and a BIOS program is stored in the BIOS chip 1023. After the server is powered on, the management controller 101 may be started first, and after the management controller 101 controls the CPU1021 to power on, the CPU1021 may read the BIOS program stored in the BIOS chip 1023 to the memory 1022 and run the BIOS program in the memory 1022, where in fig. 1, the BIOS program shown by a virtual box in the memory 1022 indicates that the BIOS program stored in the memory 1022 is read by the CPU1021 from the BIOS chip. The BIOS chip 1023 is a memory chip, for example, the BIOS chip 1023 may be a FlASH (FlASH) memory, including but not limited to NOR-type FlASH memory, NAND-type FlASH memory, and the like. The memory 1022 may be random access memory (Random Access Memory, RAM) including, but not limited to, dynamic RAM (DRAM), static RAM (SRAM), etc.
It should be noted that different equipment manufacturers may have different names for management controllers, for example, some management controllers are called baseboard management controllers (Baseboard Management Controller, BMC), some management controllers are called fully automated integration (Integrated lights-out, iLO), and other management controllers are called integrated dyer remote control cards (Integrated Dell Remote Access Controller, iDRAC). Either called BMC or iLO or iracc, can be understood as a management controller in embodiments of the present invention. In the embodiment of the present application, the management controller is referred to as BMC.
Optionally, in the embodiment of the present application, a communication connection is provided between a device or a component and a server, which may specifically refer to that the device or the component has a communication connection with a BMC management portal in the server, and it is understood that the device or the component communicates with the server may specifically refer to that the device or the component communicates with the BMC management portal in the server.
The server 10 may be an electronic device having data processing capabilities, data transceiving capabilities and data storage capabilities. The server in the embodiment of the application can be a rack server, a cabinet server, a blade server, a high-density server and other servers. Optionally, components (not shown in fig. 1) such as a graphics card, a disk array (Redundant Arrays of Independent Disks, RAID) card, and the like may also be included in the server 10. The embodiments of the present application do not limit the components included in the server, the locations of the components in the server, and the specific technology and the specific device configuration adopted by the server. For example, the management controller 101 may also be disposed on the motherboard 102.
The terminal device 11 may be an entity on the user side for receiving or transmitting signals. The terminal device 11 may be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), an access terminal device, an industrial control terminal device, a UE unit, a UE station, a mobile station, a remote terminal device, a mobile device, a wireless communication device, a UE agent, or a UE apparatus, etc. The terminal device may be fixed or mobile. The terminal device may support at least one wireless communication technology, such as long term evolution (long time evolution, LTE), NR, sixth generation mobile communication system (6 th-generation, 6G), or next generation wireless communication technology.
For example, the terminal device may be a mobile phone, a tablet (pad), a desktop, a notebook, a kiosk, a wireless terminal in an industrial control (industrial control), a wireless terminal in a self-service, a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), a cellular phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital assistant (personal digital assistant, PDA), a handheld device with wireless communication functionality, a computing device or other processing device connected to a wireless modem, a wearable device, a terminal device in a future mobile communication network or a terminal device in a future evolved public land mobile network (public land mobile network, PLMN), etc. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
It may be understood that, the communication system described in the embodiments of the present application is for more clearly describing the technical solution of the embodiments of the present application, and is not limited to the technical solution provided in the embodiments of the present application, and those skilled in the art may know that, with the evolution of the system architecture and the appearance of a new service scenario, the technical solution provided in the embodiments of the present application is applicable to similar technical problems.
The following describes a component parameter configuration method provided in an embodiment of the present application.
Referring to fig. 2, fig. 2 is a flow chart of a component parameter configuration method provided in an embodiment of the present application, where the method may be performed by a terminal device and a server shown in fig. 1, where the server includes a first component, and a communication connection is provided between the server and the terminal device. Wherein the first component may include, but is not limited to: BIOS chip, CPU, memory, hard disk, display card, RAID card, etc. The method may include, but is not limited to, the steps of:
s201: the terminal device sends a parameter configuration request for the first component to the server, the terminal device and the server being connected to the same local area network. Correspondingly, the server receives the parameter configuration request.
Wherein the terminal device and the server have a communication connection, e.g. the terminal device and the server are connected to the same local area network. Specifically, the server may further include a BMC, where the BMC of the server and the terminal device are connected to the same local area network, and the first component may be a component managed by the BMC. It should be noted that, in the embodiment of the present application, the sending of information from the terminal device to the server may refer to the sending of information from the terminal device to the BMC. For example, the parameter configuration request may be sent by the terminal device to the BMC, and the BMC receives the parameter configuration request accordingly.
In one implementation, the terminal device may send a parameter configuration request for the first component to a server (such as a BMC of the server) by scanning a two-dimensional code on the server, where the two-dimensional code is used to identify component parameters configuring the first component. The two-dimensional code can be marked or pasted on the surface of the server, for example, the two-dimensional code is planned at the eye-catching position of the whole server. Alternatively, when a display is connected to the server, the two-dimensional code may be displayed on the display of the server.
In another implementation, the terminal device may input a web address on the server, and send a parameter configuration request for the first component to the server (e.g., the BMC of the server), where the web address is used to identify the component parameters configuring the first component. The website may be marked or adhered to the surface of the server, for example, the website is marked at a striking position of the whole server. Alternatively, in the case where the server is connected to a display, the web address may be displayed in the display of the server. It should be noted that, besides the encoding modes such as the website and the two-dimensional code, the component parameters configuring the first component may be identified by other modes, which is not limited in the embodiment of the present application.
The parameter configuration process for the first component can be triggered quickly by sending the parameter configuration request for the first component to the server by scanning the two-dimensional code or inputting the website and the like, the implementation complexity is low, and the capability requirement on operators is low.
The server may include a plurality of components therein, which may include, but are not limited to: the first component may be any of the plurality of components, such as a BIOS chip, CPU, memory, hard disk, video card, RAID card.
Optionally, each component in the server may correspond to a respective two-dimensional code or a website, and the server includes a first component and a second component, where the server includes a two-dimensional code 1 corresponding to the first component and a two-dimensional code 2 corresponding to the second component, that is, the two-dimensional code 1 is used to identify a component parameter configuring the first component, and the two-dimensional code 2 is used to identify a component parameter configuring the second component. It can be understood that the terminal device may send a parameter configuration request for the first component to the BMC by scanning the two-dimensional code 1, and the terminal device may send a parameter configuration request for the second component to the BMC by scanning the two-dimensional code 2.
Under the condition that the terminal equipment detects the two-dimensional code corresponding to the first component, responding to the scanning operation, generating a parameter configuration request aiming at the first component, and sending the parameter configuration request to a server (such as a BMC of the server). Or, if the terminal device detects that the website corresponding to the first component is input, the terminal device may generate a parameter configuration request for the first component in response to the input operation, and send the parameter configuration request to a server (such as a BMC of the server).
The parameter configuration request for the first component may be for requesting configuration or modification of a component parameter of the first component, and the number of component parameters of the first component may be one or more. Taking the first component as a BIOS as an example, the parameter configuration request for the first component may be a BIOS parameter configuration request, where the BIOS parameter configuration request is used to request to configure a BIOS parameter.
In one implementation, after the terminal device scans the two-dimensional code on the server or inputs the website on the server, an input interface of the BMC address is displayed; and the terminal equipment inputs the address of the BMC in the input interface, and sends a parameter configuration request for the first component to the BMC based on the BMC address input in the input interface. The input interface for the BMC address is shown in FIG. 3. The BMC address may be input by default by the terminal device, or may be input by a user by operating the terminal device. After the terminal device obtains the BMC address from the input interface, a parameter configuration request for the first component may be sent to the BMC based on the BMC address. The BMC address may be a media access control (Media Access Control, MAC) address, an internet protocol (Internet Protocol, IP) address, or other addresses of the BMC, which is not limited in this embodiment of the present application. The BMC address may refer to an address of a management port of the BMC, that is, having a communication connection between the terminal device and the BMC may indicate that there is a communication connection between the terminal device and the management port of the BMC.
Optionally, as shown in fig. 3, the input interface of the BMC address displayed in the terminal device may include a connection button, where triggering the connection button may trigger establishment of a communication connection between the terminal device and the BMC. And the terminal equipment can send a parameter configuration request for the first component to the BMC based on the BMC address input in the input interface under the condition that the terminal equipment detects the triggering operation of the connection button displayed in the input interface. Triggering operations in embodiments of the present application may include, but are not limited to: clicking, double clicking or other operations, to which embodiments of the present application are not limited. Alternatively, the terminal device may display a connection button in the input interface after detecting that the BMC address is input. Alternatively, the connection button is always displayed in the input interface.
In one implementation, after the terminal device scans the two-dimensional code on the server or inputs the website on the server, a factory information acquisition request is sent to the factory data center, where the factory information acquisition request is used for requesting to acquire the factory information of the server associated with the scanned two-dimensional code, or the factory information acquisition request is used for requesting to acquire the factory information of the server associated with the input website. Correspondingly, after receiving the factory information acquisition request, the factory data center can respond to the factory information acquisition request to send the factory information of the server associated with the two-dimensional code or send the factory information of the server associated with the website to the terminal equipment, wherein the factory information comprises a BMC address. The terminal equipment receives factory information of a server associated with the two-dimensional code or the website, and sends a parameter configuration request for the first component to the BMC based on the address of the BMC.
The two-dimensional code is bound with the factory information of the server, so that the factory information of the server can be obtained from a factory data center by scanning the two-dimensional code. Or the website is bound with the factory information of the server, so that the factory information of the server can be obtained from the factory data center by inputting the website. The factory information includes the address of the BMC configured by the server in factory, and the address can be the address of the management port of the BMC.
By automatically acquiring the BMC address from the manufacturer data center, terminal equipment or a user does not need to acquire the BMC address in advance, and the user does not need to manually input the BMC address, so that convenience in acquiring the BMC address can be improved.
S202: the server responds to the parameter configuration request and sends parameter configuration data of the first component to the terminal equipment, wherein the parameter configuration data is used for displaying a parameter configuration interface of the first component by the terminal equipment. Correspondingly, the terminal equipment receives the parameter configuration data.
The parameter configuration data may comprise one or more parameter items of the first component, which may represent parameter names. The terminal device may display a parameter configuration interface based on the parameter configuration data, where the parameter configuration interface may include the one or more parameter items, and each parameter item in the parameter configuration interface may correspond to a respective parameter value input box, and each parameter value input box corresponding to each parameter item may include a parameter value default to the parameter item configuration. Fig. 4 is a schematic diagram of a parameter configuration interface of the first component, and in fig. 4, the parameter configuration interface of the first component includes 3 parameter items, where the 3 parameter items are respectively parameter 1, parameter 2, and parameter 3. The parameter 1, the parameter 2 and the parameter 3 are respectively corresponding to the parameter value input boxes. Fig. 4 is an example in which the parameter values of the default positions of parameter 1, parameter 2, and parameter 3 are the default parameter value a, the default parameter value b, and the default parameter value c, respectively.
S203: and the terminal equipment displays a parameter configuration interface of the first component based on the parameter configuration data and modifies the parameter configuration information displayed in the parameter configuration interface to obtain parameter modification information of the first component.
The terminal device may display a parameter configuration interface of the first component based on the parameter configuration data through the running browser.
The parameter configuration information displayed in the parameter configuration interface may include at least one parameter item and a default parameter value corresponding to the parameter item.
The terminal device may modify the parameter values corresponding to all or part of the parameter items displayed in the parameter configuration interface, that is, the terminal device may modify the parameter values to default parameter values for parameter item configuration. For example, the terminal device may modify the default parameter value a in fig. 4 to the parameter value d. In this way, the terminal device can quickly modify the component parameters of the first component.
The parameter modification information of the first component may indicate the modified parameter value and the parameter item to which the modified parameter value corresponds. Alternatively, the parameter modification information of the first component may indicate information displayed in the modified parameter configuration interface.
Alternatively, the parameter value input box of the parameter item may be a selection box in which the user may select a parameter value for the parameter item.
Alternatively, as shown in fig. 4, the parameter configuration interface may include a save button, and the terminal device detects a trigger operation for the save button, and may use information modified in the parameter configuration interface as parameter modification information of the first component in response to the trigger operation, or may use information displayed in the parameter configuration interface as parameter modification information of the first component in response to the trigger operation.
For the user, after the component parameters of the first component are modified in the parameter configuration interface, a save button in the parameter configuration interface may be clicked, so as to trigger the terminal device to generate the parameter modification information of the first component, and send the parameter modification information.
S204: the terminal device sends parameter modification information of the first component to the server. Accordingly, the server receives the parameter modification information of the first component.
Specifically, the terminal device may send parameter modification information of the first component to the BMC of the server. Accordingly, the BMC receives the parameter modification information of the first component.
Optionally, the format of the parameter modification information of the first component may be a configuration file, or the parameter modification information of the first component may be a configuration file based on natural language description, and names of parameter items and parameter values in the configuration file are intuitive, so that a person of ordinary skill can easily understand meanings of the parameter items and the parameter values, which is beneficial to improving efficiency of modifying parameters of the component, and capability requirements of the person can be reduced. Taking the first component as an example of BIOS, the parameter modification information of the first component may be BIOS config.
Alternatively, the parameter modification information of the first component may be a redfish interface format file. The Redfish interface format file is a file generated in accordance with the Redfish protocol, and the meaning of the field in the Redfish interface format file can be known by referring to the Redfish protocol.
It will be appreciated that, after the server (e.g., the BMC of the server) receives the parameter modification information of the first component, the parameter modification information may be parsed according to the format of the parameter modification information. For example, the format of the parameter modification information of the first component received by the BMC is a Redfish interface format file, and the BMC may parse according to the Redfish interface file format.
S205: the server instructs the first component to modify its own parameters based on the parameter modification information.
After receiving the parameter modification information of the first component, the server may instruct the first component to modify its own parameter based on the parameter modification information. For example, the component parameters of the first component include at least parameter 1, parameter 2, and parameter 3, and the parameter modification information of the first component indicates that the parameter value of parameter 3 of the first component is parameter value d. The first component may modify the parameter value of parameter 3 from a default parameter value to a parameter value d based on the parameter modification information.
In one implementation, the BMC of the server instructs the first component to modify its own parameter based on the parameter modification information, for example, the BMC sends, to the first component, instruction information a, where the instruction information a is used to instruct the first component to modify its own parameter based on the parameter modification information, and correspondingly, after the first component receives the instruction information a, the first component modifies its own parameter based on the parameter modification information, where the instruction information a may carry the parameter modification information.
In the embodiment of the application, the server obtains the parameter modification information by sending the parameter configuration data to the terminal equipment, and further, the terminal equipment modifies the parameter configuration information displayed in the parameter configuration interface, and then the server instructs the first component to modify the parameter based on the parameter modification information.
In this way, on the one hand, components such as a display, a keyboard, a PC, a serial port cable and the like do not need to be deployed for the server, and parameters of the first component can be modified, so that the deployment cost of the server can be reduced, for example, the component parameters of the first component can be modified according to actual service requirements, and therefore the running condition of the first component is more in line with the service requirements. If the server is required to be deployed with a display, a keyboard, a PC, a serial port cable and other dependent components to modify the parameters of the first component, firstly, the preparation of the components can bring about cost rise and site occupation, and secondly, part of the server can involve the need of replacing the components to modify the parameters of the first component, and the replacement of the components can also bring about labor cost rise and maintenance inconvenience.
In the second aspect, the terminal device displays the parameter configuration interface through the browser, so that the user can obtain parameter modification information by modifying the parameter configuration information displayed in the parameter configuration interface, the complexity of implementing the process is low, and the capability requirement on operators is low. For example, the manner adopted in the embodiment of the present application is simpler than the following manner 1 and manner 2. Mode 1: a Web management interface of the BMC of the PC connection server is used for entering a virtual keyboard, video or mouse (Keyboard Video Mouse, KVM) interface realized by the BMC, entering BIOS by using keyboard keys (such as Delete keyboard keys) according to the KVM interface prompt, and adjusting BIOS parameters by using a keyboard in the KVM interface to adjust a menu displayed on a PC display. Mode 2: and using Postman on the PC or a tool supporting a Redfish interface to issue configuration to the BMC, issuing the configuration to the BIOS by the BMC, and acquiring the configuration and adjusting BIOS parameters after the BIOS is restarted. Postman is a test tool for sending hypertext transfer protocol (Hypertext Transfer Protocol, HTTP) requests, redfish is a management standard based on HTTPs (Hypertext Transfer Protocol Secure) services, HTTPs is a security-targeted HTTP channel. As can be seen, mode 1 and mode 2 have high requirements on the operating system environment in the PC and the capability of the operator, for example, the operator needs to be skilled in mastering the use of the Postman tool on the PC, and the operator needs to be also mastering the technique of entering the KVM interface.
In the third aspect, the user uses the terminal device to scan the parameter configuration interface of the first component provided by the BMC and connect to the two-dimensional code of the parameter of the first component, or uses the terminal device to input the website of the parameter of the first component provided by the BMC and connect to the parameter configuration interface of the first component provided by the BMC, so that the parameter configuration process for the first component can be triggered quickly, the implementation complexity is low, and the capability requirement on operators is low.
Optionally, after S204, that is, after the server (e.g., BMC of the server) receives the parameter modification information of the first component, S204a, S204b, S204c may be performed, that is, S204a, S204b, S204c are optional steps, and S204a, S204b, S204c may not be performed. The steps shown in dashed lines in fig. 2 are optional steps.
S204a: the server stores parameter modification information of the first component.
The server (such as the BMC of the server) may store the received parameter modification information of the first component in the first memory, where the first memory may be a memory inside the BMC, or may be a memory inside the server but outside the BMC, where the BMC has a right to access the first memory, that is, the BMC may write information in the first memory, or may read information from the first memory.
The first memory may be a non-volatile memory (NVM), a random access memory (Random Access Memory, RAM), a persistent storage medium, or other memory, and the type of the first memory is not limited in the embodiments of the present application.
S204b: the server controls the first component to restart.
Specifically, the BMC of the server may control the first component to restart. For example, after the BMC successfully stores the parameter modification information of the first component, the BMC may control the first component to restart. Taking the first component as a BIOS, taking parameter modification information of the first component as BIOS parameter modification information as an example, after the BMC stores the BIOS parameter modification information, the BMC can control the BIOS to restart.
S204c: after the first component is restarted, parameter modification information of the first component is obtained from the server.
The first component obtains the parameter modification information, and may modify its own parameter based on the parameter modification information.
In one implementation, a specific implementation of S204c may be: after the first component is restarted, the parameter modification information of the first component is read or downloaded from the first memory. Taking the first component as a BIOS, taking the first memory as a memory inside the BMC as an example, after the BIOS is restarted, the BIOS parameter modification information can be read from the BMC.
In another implementation, the specific implementation of S204c may be: s1, after the first component is restarted, generating a query request, where the query request is used to query whether the BMC stores parameter modification information of the first component. s2, if the BMC stores the parameter modification information of the first component, the BMC provides the parameter modification information of the first component to the first component. Correspondingly, the first component reads the parameter modification information of the first component from the BMC.
Alternatively, the BMC does not store the parameter modification information of the first component, and may send the indication information b to the first component, where the indication information b may indicate that the BMC does not store the parameter modification information of the first component. Alternatively, the BMC does not store the parameter modification information of the first component and may not send a message to the first component.
Optionally, the parameter modification information of the first component may be carried in indication information a sent by the BMC to the first component, where the indication information a is used to instruct the first component to modify its parameter based on the parameter modification information. In this case, S205 and S2 are combined into one step: if the BMC stores the parameter modification information of the first component, the BMC sends indication information a to the first component, wherein the indication information a carries the parameter modification information of the first component.
Next, taking the first component as the BIOS as an example, a modification procedure of the BIOS parameter will be described. As shown in fig. 5, the modification procedure of the BIOS parameters may include, but is not limited to, the following steps:
s501: the BIOS is started.
The BIOS start may be to start the BIOS after the server is powered on for the first time, or may be to start the BIOS after the server is not powered on for the first time, which is not limited in the embodiment of the present application.
S502: the BIOS sends a query request for querying whether the BMC stores BIOS parameter modification information. Accordingly, the BMC receives the query request.
It should be noted that, the execution process of S502 may be described in detail in S204c in the corresponding embodiment of fig. 2, which is not described herein. The BIOS in S502 corresponds to the first component in S204c, and the BIOS parameter modification information in S502 corresponds to the parameter modification information of the first component in S204 c.
S503: the BMC inquires whether BIOS parameter modification information is stored or not, and an inquiry result is obtained.
After receiving the query request, the BMC can query whether the BIOS parameter modification information is stored in the first memory, and a query result is obtained.
The query result is used for indicating whether the BMC stores BIOS parameter modification information.
If the query result indicates that the BMC stores the BIOS parameter modification information, the BIOS may execute S504.
If the query result indicates that the BMC does not store the BIOS parameter modification information, the BMC may execute S506. That is, the process of modifying the BIOS parameters may be skipped, and an Operating System (OS) boot may be directly conducted.
S504: the query result indicates that the BMC stores BIOS parameter modification information, and the BMC provides the BIOS with the BIOS parameter modification information. Correspondingly, the BIOS acquires BIOS parameter modification information.
S505: the BIOS modifies its own parameters based on the BIOS parameter modification information.
It should be noted that, the execution process of S504-S505 may refer to the specific descriptions in S204c and S205 in the corresponding embodiment of fig. 2, and will not be repeated here.
S506: the query result indicates that the BMC does not store the BIOS parameter modification information, and the BIOS guides the operating system to start.
After the BIOS parameters are determined, the BIOS may boot the operating system to boot. The determined BIOS parameters may include default parameters when leaving the factory, that is, the BIOS starts unmodified BIOS parameters at this time. Alternatively, the determined BIOS parameters may include parameters modified by the last BIOS start-up, that is, the BIOS does not require modification of the BIOS parameters at this start-up. Alternatively, the determined BIOS parameters may include BIOS parameters modified by the BIOS at this time of boot.
The determined BIOS parameters may include a plurality of parameters, and the BIOS may boot the operating system based on a portion of the plurality of parameters, that is, the determined portion of the BIOS parameters may be associated with booting the operating system. For example, parameter 1 and parameter 2 of the determined BIOS parameters are related to booting an operating system, where parameter 1 may be used to indicate a boot mode of the operating system, which may include booting from BIOS, from a unified extensible firmware interface (Unified Extensible Firmware Interface, UEFI). The parameter 2 may be used to instruct the operating system to boot from a boot device, which may include a hard disk, a USB flash disk, or the like. If the parameter 1 indicates that the start mode of the operating system is the start mode from UEFI and the parameter 2 indicates that the operating system is started from the usb disk, the operating system may be booted from the usb disk based on the start mode of UEFI.
By implementing the embodiment of the application, components such as a display, a keyboard, a PC, a serial port cable and the like are not required to be deployed for the server, BIOS parameters can be adjusted, so that the deployment cost of the server can be reduced, and the BIOS parameters can be modified according to actual service requirements, so that the running condition of the server meets the service requirements more.
Optionally, after the first component modifies its own parameter based on the parameter modification information of the first component (S205), S606-S607 may also be executed, where the execution process of S601-S605 may refer to the specific description in S201-S205 in the corresponding embodiment of fig. 2, which is not repeated here. As shown in fig. 6, another component parameter configuration method provided in an embodiment of the present application may include, but is not limited to, the following steps:
s601: the terminal device sends a parameter configuration request for the first component to the BMC, and the BMC of the terminal device and the server are connected to the same local area network. Correspondingly, the BMC receives the parameter configuration request.
S602: and the BMC responds to the parameter configuration request and sends parameter configuration data of the first component to the terminal equipment, wherein the parameter configuration data is used for displaying a parameter configuration interface of the first component by the terminal equipment. Correspondingly, the terminal device receives the parameter configuration data of the first component.
S603: and the terminal equipment displays a parameter configuration interface of the first component based on the parameter configuration data and modifies the parameter configuration information displayed in the parameter configuration interface to obtain parameter modification information of the first component.
S604: and the terminal equipment sends the parameter modification information of the first component to the BMC. Accordingly, the BMC receives the parameter modification information of the first component.
S604a: the BMC stores parameter modification information for the first component, and the BMC stores the flag of the parameter modification information as not validated.
S604b: the BMC controls the first component to restart.
S604c: after the first component is restarted, a query request is sent, and the query request is used for querying whether the BMC stores parameter modification information of the first component which is not validated. Accordingly, the BMC receives the query request.
Parameter modification information for one or more components may be stored in the BMC, which may identify whether each stored parameter modification information is valid. Taking the example that the BMC includes the first component 1 and the first component 2, the validation of the parameter modification information of the first component 1 may indicate that: the BMC has transmitted the parameter modification information of the first component 1 to the first component 1, and the first component 1 has successfully modified its own component parameters based on the parameter modification information. The parameter modification information of the first component 2 not being validated may indicate that: the BMC does not send the parameter modification information of the first component 2 to the first component 2, or the first component 2 does not successfully modify its own component parameter based on the parameter modification information, or the first component 2 does not modify its own component parameter based on the parameter modification information, or it cannot be known whether the first component 1 successfully modifies its own component parameter based on the parameter modification information.
S604d: the BMC provides the first component with parameter modification information for the first component, the parameter modification information not being valid. Correspondingly, the first component acquires parameter modification information of the first component.
If the BMC stores the non-validated parameter modification information for the first component, the BMC may provide the parameter modification information to the first component. Alternatively, if the BMC does not store the parameter modification information of the first component that is not validated, the BMC may send the indication information b to the first component, where the indication information b may indicate that the BMC does not store the parameter modification information of the first component that is not validated.
S605: the BMC instructs the first component to modify its own parameters based on the parameter modification information.
S606: the first component sends first indication information to the BMC, wherein the first indication information is used for indicating that the component parameters of the first component are successfully modified based on the parameter modification information; correspondingly, the BMC receives the first indication information.
Optionally, if the first component fails to modify its own parameter based on the received parameter modification information, the first component may send third indication information c to the BMC, where the third indication information is used to indicate that the component parameter of the first component is not successfully modified based on the parameter modification information. Alternatively, the first component may not send the third indication information to the BMC.
S607: the BMC modifies the flag of the stored parameter modification information of the first component to be validated based on the first indication information.
By marking the parameter modification information of the first component stored by the BMC as validated, the BMC can be prevented from repeatedly sending the parameter modification information to the first component, so that the first component can repeatedly modify the parameter according to the same part of parameter modification information, and the waste of transmission resources can be avoided.
Optionally, after the BMC receives the first indication information, the stored parameter modification information of the first component may be deleted. Therefore, the BMC can be prevented from repeatedly sending the parameter modification information to the first component, and the first component is prevented from repeatedly carrying out parameter modification according to the same parameter modification information, so that transmission resource waste can be avoided.
It may be understood that if the BMC avoids repeating the transmission of the parameter modification information by deleting the validated parameter modification information, the query request in S604c is used to query whether the BMC stores the parameter modification information of the first component, and accordingly, the parameter modification information sent by the BMC to the first component in S604d may not include the identifier of whether the parameter modification information is validated. If the BMC avoids repeating the transmission of the parameter modification information by marking whether the parameter modification information is validated, in S604c, the query request is used to query whether the BMC stores the parameter modification information of the first component that is not validated, and correspondingly, in S604d, the marking of the parameter modification information sent by the BMC to the first component is not validated.
Optionally, the BMC may not receive the first indication information or the BMC may receive the third indication information, and the BMC may keep the flag of the stored parameter modification information of the first component inactive, that is, not modify the flag of the parameter modification information of the first component. Or the BMC does not receive the first indication information or the BMC receives the third indication information, the BMC may continue to store the parameter modification information of the first component, and not delete the parameter modification information.
Optionally, after the BMC performs S607, S608 may also be performed. S608 is an optional step, that is, the BMC may not perform S608.
S608: and the BMC sends fourth indication information to the terminal equipment, wherein the fourth indication information is used for indicating that the component parameters of the first component are successfully modified based on the parameter modification information. Correspondingly, the terminal equipment receives fourth indication information.
The fourth indication information may be determined based on the first indication information.
Optionally, the content indicated by the first indication information and the fourth indication information is the same, that is, the BMC receives the first indication information and may transmit the first indication information to the terminal device.
Optionally, after receiving the fourth indication information, the terminal device may display the fourth indication information. The terminal device receives the fourth indication information and can learn that the component parameters modified in the parameter configuration interface take effect. By displaying the fourth indication information, the user may be made aware that the parameter modification information is validated.
Optionally, the BMC may not receive the first indication information or the BMC may receive the third indication information, and the BMC may send fifth indication information to the terminal device or may not send information to the terminal device, where the fifth indication information may be used to indicate that the component parameters of the first component are not successfully modified based on the parameter modification information of the first component. After receiving the fifth instruction information, the terminal device may display the fifth instruction information. The terminal device receives the fifth indication information and can learn that the component parameters modified in the parameter configuration interface are not effective. By displaying the fifth indication information, the user can perceive that the parameter modification information is not effective, and further, the user can scan the two-dimensional code corresponding to the first component again or input the website corresponding to the first component again, and further, the component parameters of the first component are modified again.
Optionally, after S604a, the BMC may also perform S604a', S604a ". S604a ', S604a "are optional steps, that is, the BMC may not perform S604a', S604a".
S604a': the BMC sends second indication information to the terminal equipment, wherein the second indication information is used for indicating successful reception of parameter modification information of the first component; correspondingly, the terminal equipment receives the second indication information.
Alternatively, the second indication information may be used to indicate that the server (e.g., the BMC of the server) successfully stores the parameter modification information of the first component.
S604": the terminal device detects a trigger operation for an effective button displayed in the parameter configuration interface, and responds to the trigger operation, and an effective instruction for the parameter modification information of the first component is sent. Accordingly, a server (e.g., a BMC of the server) receives the validation instruction.
The terminal device may generate an validation instruction for the parameter modification information of the first component in response to a trigger operation of a validation button (shown in fig. 4), and send the validation instruction to the BMC. After receiving the validation instruction, the BMC may instruct the first component to modify its own parameter based on the parameter modification information of the first component in response to the validation instruction. Alternatively, after receiving the validation instruction, the BMC may trigger the execution of the step of controlling the restart of the first component in response to the validation instruction (S604 b). That is, the BMC controls the first component to restart in response to the validation instruction.
Optionally, after receiving the second instruction information, the terminal device may display the second instruction information, so that the user may be prompted to the BMC to successfully save the parameter modification information of the first component, and further, the user may click an effective button in the parameter configuration interface, so as to trigger the terminal device to send an effective instruction to the BM.
Optionally, after receiving the second indication information, the terminal device may newly display an effective button in the parameter configuration interface. Alternatively, the validation button is always displayed in the parameter configuration interface.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a server according to an embodiment of the present application.
As shown in fig. 7, the server 70 may include a communication unit 701 and an indication unit 702. Optionally, the server 70 may further include a control unit 703 and a modification unit 704. The elements shown in dashed lines in fig. 7 are optional, that is, the server 70 may not include the elements shown in dashed lines in fig. 7.
The communication unit 701 is configured to receive a parameter configuration request for a first component of a server from a terminal device, where the terminal device and the server are connected to the same local area network;
the communication unit 701 is further configured to send, in response to the parameter configuration request, parameter configuration data of the first component to the terminal device, where the parameter configuration data is used for the terminal device to display a parameter configuration interface of the first component;
the communication unit 701 is further configured to receive parameter modification information for the first component, where the parameter modification information is obtained by modifying parameter configuration information displayed in the parameter configuration interface by the terminal device;
The indicating unit 702 is configured to instruct the first component to modify its own parameter based on the parameter modification information.
In a possible implementation manner, the server further includes a management controller, parameter modification information of the first component received by the server is stored in the management controller, and the control unit 703 is configured to control restarting of the first component; the communication unit 701 is further configured to receive a query request, where the query request is used to query whether the management controller stores parameter modification information of the first component, and the query request is sent after the first component is restarted; the communication unit 701 is further configured to provide the parameter modification information to the first component.
In one possible implementation manner, the surface of the server is marked or stuck with a two-dimensional code corresponding to the first component, and the parameter configuration request is sent after the terminal equipment scans the two-dimensional code; or, the surface of the server is marked or stuck with a website corresponding to the first component, and the parameter configuration request is sent after the terminal equipment inputs the website.
In a possible implementation manner, the flag of the parameter modification information stored by the management controller is not validated, and the communication unit 701 is further configured to receive first indication information, where the first indication information is used to indicate that the first component successfully modifies the component parameter of the first component based on the parameter modification information; the modifying unit 704 is configured to modify the flag of the parameter modification information stored by the management controller to be validated based on the first indication information.
In a possible implementation manner, the communication unit 701 is further configured to send second indication information to the terminal device, where the second indication information is used to indicate that the parameter modification information is successfully received; the communication unit 701 is further configured to receive an validation instruction for the parameter modification information from the terminal device; the indication unit 702 is configured to, when the first component modifies its parameter based on the parameter modification information, specifically: in response to the validation instruction, the first component is instructed to modify its own parameters based on the parameter modification information.
Specifically, the operations performed by the communication unit 701, the indication unit 702, the control unit 703, and the modification unit 704 may refer to the description of the server and the BMC in the above embodiments.
Based on the same inventive concept, the principles and advantages of the solution of the problem provided by the server 70 in the embodiments of the present application may be referred to as the principles and advantages of the implementation of the method, and are not described herein for brevity.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
As shown in fig. 8, the terminal device 80 may include a communication unit 801, a display unit 802, and a modification unit 803. Optionally, the terminal device 80 may further include a scanning unit 804, an input unit 805. The elements shown by the dashed lines in fig. 8 are optional, that is, the terminal device 80 may not include the elements shown by the dashed lines in fig. 8.
Wherein, the communication unit 801 is configured to send a parameter configuration request for a first component of the server to the server, where the terminal device and the server are connected to the same local area network;
the communication unit 801 is further configured to receive parameter configuration data of the first component;
the display unit 802 is configured to display a parameter configuration interface of the first component based on the parameter configuration data;
the modification unit 803 is configured to modify the parameter configuration information displayed in the parameter configuration interface to obtain parameter modification information of the first component;
the communication unit 801 is also configured to send the parameter modification information to a server.
In one possible implementation manner, the surface of the server is marked or stuck with a two-dimensional code corresponding to the first component, or the surface of the server is marked or stuck with a website corresponding to the first component; the scanning unit 804 is configured to scan the two-dimensional code, and the communication unit 801 is configured to send a parameter configuration request for the first component to the server; alternatively, the input unit 805 is configured to input the web address, and the communication unit 801 is configured to send a parameter configuration request for the first component to the server.
In a possible implementation, the server further includes a management controller, and the display unit 802 is further configured to display an interface for inputting an address of the management controller, where the interface includes a connection button; the input unit 805 is also used to input an address of the management controller in the interface; the communication unit 801 is specifically configured to, when sending a parameter configuration request for the first component to the server: in response to a trigger operation for the connection button, a parameter configuration request for the first component is sent to the management controller based on the input address of the management controller.
In a possible implementation manner, the server further includes a management controller, and the communication unit 801 is further configured to send a factory information acquisition request to a factory data center, where the factory information acquisition request is used to request to acquire factory information of the server associated with the two-dimensional code or the website; the communication unit 801 is further configured to receive factory information from a factory data center, where the factory information includes an address of the management controller; the communication unit 801 is specifically configured to, when sending a parameter configuration request for the first component to the server: a parameter configuration request for the first component is sent to the management controller based on the address of the management controller.
In a possible implementation, the communication unit 801 is further configured to receive second indication information from the server, where the second indication information is used to indicate that the server successfully receives the parameter modification information; and in response to the triggering operation of the validation button displayed in the parameter configuration interface, sending a validation instruction for the parameter modification information to the server.
Specifically, the operations performed by the communication unit 801, the display unit 802, the modification unit 803, the scanning unit 804, and the input unit 805 may refer to the description about the terminal device in the above embodiments.
Based on the same inventive concept, the principle and beneficial effects of the solution of the problem provided by the terminal device 80 in the embodiments of the present application may refer to the principle and beneficial effects of implementation of the method, which are not described herein for brevity.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a management controller according to an embodiment of the present application. The management controller may be provided in the server. The management controller 90 shown in fig. 9 may be used to implement the BMC functions in the above-described method embodiments. The management controller 90 shown in fig. 9 may include a transceiver 901 and a memory 902.
Wherein the transceiver 901 and the memory 902 may be connected via a bus 903 or otherwise. The bus is shown in bold lines in fig. 9, and the manner in which other components are connected is merely illustrative and not limiting. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 9, but not only one bus or one type of bus.
The connection between the devices, units or modules in the embodiments of the present application may be in electrical, mechanical or other forms for information interaction between the devices, units or modules. The specific connection medium between the transceiver 901 and the memory 902 is not limited in the embodiments of the present application.
Memory 902 may include read only memory and random access memory. A portion of the memory 902 may also include Non-volatile random access memory (Non-Volatile Random Access Memory, NVRAM). Alternatively, the number of memories 1102 may be one or more.
In one example, when the management controller takes the form shown in fig. 9, the management controller 90 in fig. 9 may perform the method performed by the BMC in any of the method embodiments described above.
In an alternative embodiment, memory 902 is used to store program instructions; the management controller 90 is configured to call program instructions stored in the memory 902 to perform steps performed by the BMC in the method embodiment.
Based on the same inventive concept, the principle and beneficial effects of solving the problem by the management controller provided in the embodiments of the present application may refer to the principle and beneficial effects of implementation of the method, and are not described herein for brevity.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another server according to an embodiment of the present application. The server 100 may be used to implement the functions of the server in the method embodiments described above. The server 100 shown in fig. 10 may include a processor 1001, a memory 1002, and a management controller 1003. Optionally, the server 100 may also include a transceiver 1004.
The processor 1001, the memory 1002, the management controller 1003, and the transceiver 1004 may be connected by a bus 1005 or other means. The bus is shown in fig. 10 with bold lines, and the manner in which other components are connected is merely illustrative and not limiting. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 10, but not only one bus or one type of bus.
The connection between the devices, units or modules in the embodiments of the present application may be in electrical, mechanical or other forms for information interaction between the devices, units or modules. The specific connection medium between the processor 1001, the memory 1002, the management controller 1003, and the transceiver 1004 is not limited in the embodiment of the present application.
The transceiver 1004 is configured to receive a parameter configuration request for a first component of a server or the like from a terminal device. Alternatively, the management controller 1003 may have a transceiving function, for example, the management controller 1003 is configured to receive a parameter configuration request for the first component of the server from the terminal device.
Memory 1002 may include read-only memory and random access memory, and provides instructions and data to the processor 1001. A portion of the memory 1002 may also include Non-volatile random access memory (Non-Volatile Random Access Memory, NVRAM).
The processor 1001 may be a central processing unit (Central Processing Unit, CPU), and the processor 1001 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor, but in the alternative, the processor 1001 may be any conventional processor or the like.
In one example, when the server takes the form shown in fig. 10, the processor in fig. 10 may perform the method performed by the server in any of the method embodiments described above.
In an alternative embodiment, memory 1002 is used to store program instructions; the processor 1001 is configured to call program instructions stored in the memory 1002, and the management controller 1003 is configured to execute steps executed by the server and the BMC in the method embodiment. For example, the memory 1002 may be used to store program instructions of a first component of the server, and in the case where the first component is a BIOS, the memory 1002 may be used to store a BIOS program, and the processor 1001 may be used to execute the BIOS program.
In the embodiments of the present application, the methods provided in the embodiments of the present application may be implemented by running a computer program (including program code) capable of executing the steps involved in the above-described methods on a general-purpose computing device such as a computer including a processing element such as a CPU, a random access storage medium (Random Access Memory, RAM), a Read-Only Memory (ROM), or the like, and a storage element. The computer program may be recorded on, for example, a computer-readable recording medium, and loaded into and run in the above-described computing device through the computer-readable recording medium.
Based on the same inventive concept, the principles and beneficial effects of solving the problems by the server provided in the embodiments of the present application may refer to the principles and beneficial effects of implementing the method, and are not described herein for brevity.
Referring to fig. 11, fig. 11 is a schematic structural diagram of another terminal device according to an embodiment of the present application. Terminal device 110 may be configured to implement the functions of the terminal device in the method embodiments described above. Terminal device 110 shown in fig. 11 may include a processor 1101, a memory 1102, and a transceiver 1103. Optionally, the terminal device 110 may further include a camera 1104, where the camera 1104 may be used to scan a two-dimensional code corresponding to the first component of the server. Optionally, the terminal device 110 may further include an input device 1105, where the input device 1105 may be configured to input a website address corresponding to the first component.
Wherein the processor 1101, memory 1102, transceiver 1103, camera 1104, input device 1105 may be connected by bus 1106 or other means. The bus is shown in bold lines in fig. 11, and the manner in which other components are connected is merely illustrative and not limiting. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in FIG. 11, but not only one bus or one type of bus.
The connection between the devices, units or modules in the embodiments of the present application may be in electrical, mechanical or other forms for information interaction between the devices, units or modules. The specific connection medium between the processor 1101, the memory 1102, the transceiver 1103, the camera 1104, and the input device 1105 is not limited in the embodiment of the present application.
Memory 1102 may include read-only memory and random access memory, and provides instructions and data to the processor 1101. A portion of the memory 1102 may also include Non-volatile random access memory (Non-Volatile Random Access Memory, NVRAM).
The processor 1101 may be a central processing unit (Central Processing Unit, CPU), the processor 1101 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor, but in the alternative, the processor 1101 may be any conventional processor or the like.
In an example, when the terminal device takes the form shown in fig. 11, the processor in fig. 11 may perform the method performed by the terminal device in any of the method embodiments described above.
In an alternative embodiment, memory 1102 is used to store program instructions; processor 1101 is configured to invoke program instructions stored in memory 1102 for performing steps performed by the terminal device in the method embodiment.
In the embodiments of the present application, the methods provided in the embodiments of the present application may be implemented by running a computer program (including program code) capable of executing the steps involved in the above-described methods on a general-purpose computing device such as a computer including a processing element such as a CPU, a random access storage medium (Random Access Memory, RAM), a Read-Only Memory (ROM), or the like, and a storage element. The computer program may be recorded on, for example, a computer-readable recording medium, and loaded into and run in the above-described computing device through the computer-readable recording medium.
Based on the same inventive concept, the principle and beneficial effects of solving the problem of the terminal device provided in the embodiments of the present application may refer to the principle and beneficial effects of implementation of the method, and for brevity description, no further description is given here.
For each device and product applied to or integrated in the chip module, each module included in the device and product may be implemented by hardware such as a circuit, and different modules may be located in the same component (e.g. a chip, a circuit module, etc.) of the chip module or different components, or at least some modules may be implemented by using a software program, where the software program runs on a processor integrated in the chip module, and the remaining (if any) modules may be implemented by hardware such as a circuit.
The present application also provides a computer readable storage medium, in which a computer program is stored, the computer program comprising one or more program instructions adapted to be loaded by a server and to perform the method provided by the above method embodiments.
The present application also provides another computer readable storage medium, in which a computer program is stored, the computer program comprising one or more program instructions adapted to be loaded by a terminal device and to perform the method provided by the above method embodiments.
The embodiments of the present application also provide a computer program product comprising a computer program or instructions, which when run on a computer, cause the computer to perform the method provided by the server or the terminal device of the method embodiments described above.
With respect to each of the apparatuses and each of the modules/units included in the products described in the above embodiments, it may be a software module/unit, a hardware module/unit, or a software module/unit, and a hardware module/unit. For example, for each device or product applied to or integrated on a chip, each module/unit included in the device or product may be implemented in hardware such as a circuit, or at least part of the modules/units may be implemented in software program, where the software program runs on a processor integrated inside the chip, and the rest (if any) of the modules/units may be implemented in hardware such as a circuit; for each device and product applied to or integrated in the chip module, each module/unit contained in the device and product can be realized in a hardware manner such as a circuit, different modules/units can be located in the same component (such as a chip, a circuit module and the like) or different components of the chip module, or at least part of the modules/units can be realized in a software program, the software program runs on a processor integrated in the chip module, and the rest (if any) of the modules/units can be realized in a hardware manner such as a circuit; for each device, product, or application to or integrated with the terminal, each module/unit included in the device, product, or application may be implemented by using hardware such as a circuit, different modules/units may be located in the same component (for example, a chip, a circuit module, or the like) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program, where the software program runs on a processor integrated inside the terminal, and the remaining (if any) part of the modules/units may be implemented by using hardware such as a circuit.
It is appreciated that reference throughout this specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, various embodiments are not necessarily referring to the same embodiments throughout the specification. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present application.
It is to be understood that in this application, the terms "when …," "in the case of..once," and "if" all mean that the device will perform the corresponding process under some objective condition, are not intended to limit the time, nor do it require that there be any acts of judgment in the implementation of the device, nor are they meant to imply any other limitations.
Those skilled in the art will understand that, for convenience and brevity, the specific working process of the system, apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The same or similar parts between the various embodiments in this application may be referred to each other. In the various embodiments and the various implementation/implementation methods in the various embodiments in this application, if no special description and logic conflict exist, terms and/or descriptions between different embodiments and between the various implementation/implementation methods in the various embodiments may be consistent and may be mutually referred to, technical features in the different embodiments and the various implementation/implementation methods in the various embodiments may be combined to form new embodiments, implementations, implementation methods, or implementation methods according to their inherent logic relationships. The above embodiments of the present application are not intended to limit the scope of the present application.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application.

Claims (12)

1. A component parameter configuration method, applied to a server, the server including a first component, the method comprising:
Receiving a parameter configuration request for the first component from a terminal device, the terminal device and the server being connected to the same local area network;
responding to the parameter configuration request, and sending parameter configuration data of the first component to the terminal equipment, wherein the parameter configuration data is used for displaying a parameter configuration interface of the first component by the terminal equipment;
receiving parameter modification information aiming at the first component, wherein the parameter modification information is obtained by modifying parameter configuration information displayed in the parameter configuration interface by the terminal equipment;
the first component is instructed to modify its own parameters based on the parameter modification information.
2. The method of claim 1, wherein the server further comprises a management controller, the parameter modification information received by the server is stored in the management controller, the method further comprising:
controlling the first part to restart;
receiving a query request, wherein the query request is used for querying whether the management controller stores parameter modification information of the first component, and the query request is sent after the first component is restarted;
The parameter modification information is provided to the first component.
3. The method according to claim 1 or 2, wherein a two-dimensional code corresponding to the first component is marked or adhered on the surface of the server, and the parameter configuration request is sent after the terminal device scans the two-dimensional code; or,
and the surface of the server is marked or stuck with a website corresponding to the first component, and the parameter configuration request is sent after the terminal equipment inputs the website.
4. The method of claim 2, wherein the parameter modification information stored by the management controller is marked as not validated, the method further comprising:
receiving first indication information, wherein the first indication information is used for indicating the first component to successfully modify component parameters of the first component based on the parameter modification information;
modifying the flag of the parameter modification information stored by the management controller to be validated based on the first indication information.
5. The method of claim 1, wherein the instructing the first component to modify its own parameters based on the parameter modification information comprises:
Sending second indication information to the terminal equipment, wherein the second indication information is used for indicating successful reception of the parameter modification information;
receiving an effective instruction for the parameter modification information from the terminal equipment;
and in response to the validation instruction, the first component is instructed to modify its own parameters based on the parameter modification information.
6. A component parameter configuration method, applied to a terminal device, the method comprising:
sending a parameter configuration request for a first component of a server to the server, wherein the terminal equipment and the server are connected to the same local area network;
receiving parameter configuration data of the first component, and displaying a parameter configuration interface of the first component based on the parameter configuration data;
modifying the parameter configuration information displayed in the parameter configuration interface to obtain parameter modification information of the first component;
and sending the parameter modification information to the server.
7. The method of claim 6, wherein the surface of the server is marked or adhered with a two-dimensional code corresponding to the first component, or the surface of the server is marked or adhered with a website corresponding to the first component;
The sending a parameter configuration request to a server for a first component in the server includes:
scanning the two-dimensional code, and sending a parameter configuration request for the first component to the server; or,
inputting the website and sending a parameter configuration request for the first component to the server.
8. The method of claim 7, wherein the server further comprises a management controller, wherein after the scanning the two-dimensional code or entering the web address, the method further comprises:
displaying an interface for inputting the address of the management controller, wherein the interface comprises a connection button;
inputting an address of the management controller in the interface;
the sending a parameter configuration request for the first component to a server includes:
in response to a trigger operation for the connection button, a parameter configuration request for the first component is sent to the management controller based on the input address of the management controller.
9. The method of claim 7, wherein the server further comprises a management controller, wherein after the scanning the two-dimensional code or entering the web address, the method further comprises:
A factory information acquisition request is sent to a factory data center, and the factory information acquisition request is used for requesting to acquire the factory information of the server associated with the two-dimensional code or the website;
receiving the factory information from the factory data center, wherein the factory information comprises an address of the management controller;
the sending a parameter configuration request for the first component to a server includes:
a parameter configuration request for the first component is sent to the management controller based on the address of the management controller.
10. The method according to any one of claims 6-9, further comprising:
receiving second indication information from the server, wherein the second indication information is used for indicating the server to successfully receive the parameter modification information;
and responding to the triggering operation of an effective button displayed in the parameter configuration interface, and sending an effective instruction for the parameter modification information to the server.
11. A server comprising a management controller, a processor and a memory, the memory for storing program instructions of a first component; the processor is configured to execute the program instructions and the management controller is configured to perform the method of any of claims 1-5.
12. A terminal device, characterized in that the terminal device comprises a memory and a processor, the memory being for storing program instructions; the processor is configured to invoke the program instructions to cause the terminal device to perform the method according to any of claims 6-10.
CN202311568295.8A 2023-11-21 2023-11-21 Component parameter configuration method, server and terminal equipment Pending CN117811921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311568295.8A CN117811921A (en) 2023-11-21 2023-11-21 Component parameter configuration method, server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311568295.8A CN117811921A (en) 2023-11-21 2023-11-21 Component parameter configuration method, server and terminal equipment

Publications (1)

Publication Number Publication Date
CN117811921A true CN117811921A (en) 2024-04-02

Family

ID=90430712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311568295.8A Pending CN117811921A (en) 2023-11-21 2023-11-21 Component parameter configuration method, server and terminal equipment

Country Status (1)

Country Link
CN (1) CN117811921A (en)

Similar Documents

Publication Publication Date Title
CN110032512B (en) Debugging method of small program, related equipment and terminal
KR101727620B1 (en) Mobile device and control method thereof
US9146731B2 (en) Information processing apparatus, relay server, information relay method, non-transitory computer-readable medium storing information relay program, and communication system
CN111684778B (en) Implementation method of application function and electronic equipment
US20130027743A1 (en) Application delivering system
US20190171443A1 (en) Method of Updating Application and Recording Medium
US20150293732A1 (en) Image Forming System, Service Providing Server, Information Processing Terminal, Image Forming Device and Non-Transitory Computer Readable Recording Medium
CN110869907A (en) Method and terminal for browsing application page
US10404568B2 (en) Agent manager for distributed transaction monitoring system
US9164707B2 (en) Server system, method for controlling server system, and storage medium
US11489929B2 (en) System and method for determining client program based on login method
CN113961463A (en) Application environment switching method and system, storage medium and electronic equipment
WO2018205792A1 (en) Driver installation method and driver installation device
US9274777B2 (en) Method and apparatus for universal control of networked devices
US9160878B2 (en) Server apparatus that enables easy use of image input apparatus, information processing apparatus, methods of controlling the apparatuses, control program, and storage medium
CN110795205A (en) System and method for providing cloud service based on software container
CN108112052B (en) Terminal network sharing method and device, air conditioner and storage medium
CN117811921A (en) Component parameter configuration method, server and terminal equipment
CN114726905B (en) Method, device, equipment and storage medium for accessing Tbox network into Android system
JP2015176494A (en) Information processing system and information processing method
US10868935B2 (en) Information processing device, information processing method, non-transitory recording medium, and image forming system
CN114422236A (en) Intelligent device access method and device and electronic device
US20080256614A1 (en) Network terminal management apparatus, method and program
CN113422791A (en) Cloud service configuration method and device, electronic equipment and computer-readable storage medium
EP2622880B1 (en) Method, apparatus and system for transmitting an application using a plurality of computers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination