Disclosure of Invention
The invention aims to provide a data transmission method, a server in-band device, a server management device, electronic equipment and a computer readable storage medium, wherein the server in-band device can actively initiate connection according to management terminal communication information, and further the configuration efficiency of an in-band tool can be improved.
In order to solve the above technical problem, the present invention provides a data transmission method, which is applied to an in-band device of a server, and the method includes:
receiving management terminal communication information sent by a server management device, and assembling a discovery interface by using the management terminal communication information;
sending server communication information to the server management device by using the discovery interface so that the server management device verifies whether the server management device can be communicated with the in-band device of the server by using the server communication information, and returning success information through the discovery interface when the verification is successful;
and when the success information is received, carrying out in-band data transmission with the server management device.
Optionally, the sending, by using the discovery interface, server communication information to the server management apparatus to enable the server management apparatus to verify whether the server management apparatus can communicate with the in-band server apparatus by using the server communication information includes:
sending a preset number of server IP addresses to the server management device by using the discovery interface so that the server management device assembles corresponding detection interfaces by using the server IP addresses;
when the detection information is received through the detection interface, the detection interface is utilized to return detection success information to the server management device, so that the server management device can determine that the server IP address corresponding to the detection interface can be communicated with the server in-band device.
Optionally, before sending the server communication information to the server management apparatus by using the discovery interface, the method further includes:
extracting verification information from the management terminal communication information;
correspondingly, the sending of the server communication information to the server management device by using the discovery interface includes:
and adding the verification information to the server communication information, sending the added server communication information to the server management device by using the discovery interface so that the server management device verifies the correctness of the verification information, and entering the step of verifying whether the verification information can be communicated with the in-band device of the server by using the server communication information when the verification information is determined to be correct.
Optionally, the receiving management-side communication information sent by the server management apparatus includes:
and acquiring the communication information of the management terminal in a preset server storage area.
Optionally, after performing in-band data transmission with the server management apparatus, the method further includes:
periodically utilizing the management terminal communication information to judge whether the server management device is connected;
if yes, continuing to transmit the in-band data;
if not, updating the connection failure times, and judging whether the connection failure times are larger than a preset threshold value or not;
if so, stopping the in-band data transmission;
if not, the step of periodically utilizing the communication information of the management terminal to judge whether the server management device is communicated or not is carried out.
The invention also provides a data transmission method, which is applied to the server management device and comprises the following steps:
sending management side communication information to the server in-band device so that the server in-band device assembles a discovery interface by using the management side communication information;
when server communication information sent by the server in-band device through the discovery interface is received, verifying whether the server communication information can be used for communicating with the server in-band device;
and when the server in-band device is determined to be capable of communicating with the server in-band device, successful information is returned to the server in-band device through the discovery interface, so that the server in-band device and the server management device perform in-band data transmission.
Optionally, the verifying whether the in-band server device can be connected to the in-band server device by using the server communication information when the server communication information sent by the in-band server device through the discovery interface is received includes:
when a preset number of server IP addresses sent by the in-band server device through the discovery interface are received, assembling corresponding detection interfaces by using the server IP addresses;
sending detection information to the server in-band device by using the detection interface, and judging whether the server in-band device returns detection success information or not;
if yes, determining that the server IP address corresponding to the detection interface can be communicated with the in-band device of the server;
and if not, sending the detection information to the server in-band device by using a next detection interface.
Optionally, the sending management-side communication information to the server in-band device includes:
adding preset check information into the management terminal communication information, and sending the added management terminal communication information to the server in-band device;
correspondingly, before verifying whether the server communication information can be used for communicating with the server in-band device, the method further comprises the following steps:
extracting to-be-detected verification information from the server communication information, and judging whether the to-be-detected verification information is the same as the preset verification information;
if yes, entering the step of verifying whether the communication with the server in-band device can be realized by utilizing the server communication information.
Optionally, sending management-side communication information to the server in-band device includes:
and sending the management terminal communication information to a preset server storage area so that the server in-band device acquires the management terminal communication information in the preset server storage area.
The present invention also provides an in-band device for a server, comprising:
the discovery interface assembly module is used for receiving the management terminal communication information sent by the server management device and assembling a discovery interface by using the management terminal communication information;
a server communication information sending module, configured to send server communication information to the server management apparatus by using the discovery interface, so that the server management apparatus verifies whether the server communication information can be used to communicate with the in-band device of the server, and returns success information through the discovery interface when the verification is successful;
and the in-band data transmission module is used for carrying out in-band data transmission with the server management device when the success information is received.
The present invention also provides a server management apparatus, including:
the management terminal communication information sending module is used for sending management terminal communication information to the server in-band device so that the server in-band device can assemble a discovery interface by using the management terminal communication information;
the detection module is used for verifying whether the server communication information can be used for being communicated with the server in-band device when the server communication information sent by the server in-band device through the discovery interface is received;
and the detection success response module is used for returning success information to the server in-band device through the discovery interface when the in-band device of the server is determined to be communicated with the server in-band device, so that the server in-band device and the server management device perform in-band data transmission.
The present invention also provides an electronic device comprising:
a memory for storing a computer program;
a processor for implementing the data transmission method as described above when executing the computer program.
The present invention also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are loaded and executed by a processor, the data transmission method as described above is implemented.
The invention provides a data transmission method, which is applied to a server in-band device and comprises the following steps: receiving management terminal communication information sent by a server management device, and assembling a discovery interface by using the management terminal communication information; sending server communication information to the server management device by using the discovery interface so that the server management device verifies whether the server communication information can be used for communicating with the server in-band device, and returning success information through the discovery interface when the verification is successful; and when the success information is received, carrying out in-band data transmission with the server management device.
Therefore, the invention firstly adjusts the connection action between the server management device and the server in-band device to be initiated by the latter actively, and the server management device only needs to issue the communication information of the management end to the in-band device and wait for the in-band device to initiate the action according to the communication information. After the setting, not only the connection action can be automatically initiated by the server in-band device, but also the trouble caused by the operation and maintenance personnel manually connecting the server in-band device on the server management device can be avoided, and more importantly, because the server in-band device initiates the connection according to the received management terminal communication information, the server management device only needs to adjust the management terminal communication information to be issued into the communication information of the target management terminal to which the in-band device should be connected, so that the in-band device can be controlled to be connected with the target management terminal, and the effect of configuring the server in-band device for other management devices by using the same management device can be realized. Further, after it is determined that the in-band device of the server initiates the connection and sends the server communication information, the server management device verifies that the in-band device of the server can be communicated with the in-band device of the server by using the server communication information, and returns success information to the latter after confirmation, so that the connection reliability can be effectively ensured, and the subsequent transmission reliability of the in-band information can be ensured. The invention also provides a server in-band device, a server management device, an electronic device and a computer readable storage medium, which have the beneficial effects.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
In the related art, after the operation and maintenance personnel install the in-band server tool to the server, the operation and maintenance personnel need to control the server management platform to actively connect the in-band server tool, and when the number of servers is large, the operation is easy to increase the burden of the operation and maintenance personnel; in addition, the active connection of the server management platform to the in-band tool leads to that the server in-band tool can only be associated to the server in-band tool, and when a plurality of server management platforms all need to configure the server in-band tool, the operation and maintenance personnel need to repeatedly operate on the plurality of server management platforms, which is not only unfavorable for the deployment of the in-band tool, but also further increases the workload of the operation and maintenance personnel. In view of this, the present invention provides a data transmission method, which can actively initiate a connection by an in-band device of a server according to communication information of a management end, thereby improving configuration efficiency of an in-band tool, and achieving an effect that the same management device configures the in-band device of the server for other management devices. Referring to fig. 1, fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, where the method is applied to an in-band device of a server, and may include:
and S101, receiving the management terminal communication information sent by the server management device, and assembling a discovery interface by using the management terminal communication information.
In the embodiment of the present invention, the in-band server device first receives the management-side communication information sent by the server management device, and assembles a discovery interface using the information, where the management-side communication information includes necessary information for communicating with the management side, such as IP address, port, path, and the like, and the information may be stored in a configuration file, and the in-band server device may extract the communication information from the configuration file; the discovery interface is an interface to be used for establishing a connection with the management terminal, and it can be understood that the interface includes a parameter location for filling in the information. In addition, the interface can also be used for data transmission, that is, other information required for establishing connection can be transmitted by using the interface according to the actual application requirement.
It is to be noted that the sending end of the management-end communication information is not necessarily a target management apparatus to which the server in-band apparatus needs to connect. For example, the server management device a may transmit communication information of the server in-band device B to the server in-band device, and the in-band device may establish a connection with the server in-band device B using the communication information. Therefore, the same server management device can be used for configuring the in-band device for other management devices, the problem that the in-band device can only be configured for the server management device in the prior art can be avoided, and the configuration efficiency of the in-band device can be improved.
It should be noted that, when the management side communication information is transmitted, no connection is established between the server management device and the server in-band device, so that the server management device can store the configuration file containing the communication information at a designated location of the server, and the server in-band device can obtain the configuration file at the designated location, so as to obtain the management side communication information.
In a possible case, receiving the management-side communication information sent by the server management device may include:
step 11: and acquiring the communication information of the management terminal in a preset server storage area.
S102, the discovery interface is used for sending server communication information to the server management device, so that the server management device can verify whether the server communication information can be used for being communicated with the server in-band device, and when the verification is successful, success information is returned through the discovery interface.
After the discovery interface is populated, the server in-band device will initiate a connection to the server management device using the interface. Specifically, the server in-band device may transmit its own communication information, i.e., server communication information, to the server management device so that the latter attempts to establish a connection with itself using the server communication information. Similar to the management-side communication information, the server communication information also includes necessary information for establishing a connection with the in-band device, such as an IP address, a port, a path, and the like, and the server management device verifies whether the connection with the in-band device can be established by using the server communication information, and specifically sends probe information to the in-band device by using the communication information, and if the in-band device responds to the probe information, the connection is enabled. Of course, to increase the connection success rate, the in-server-band device may send a plurality of server communication information, for example, a plurality of IP addresses, to the server management device so that the management device makes a plurality of attempts to determine the server communication information that can establish the connection. Of course, to standardize the probe behavior, the server management apparatus may create a corresponding probe interface for each IP address, and send probe information to the server in-band apparatus through the interface, and the in-band apparatus also returns probe success information to the server management apparatus through the interface when interfacing to the information.
In one possible scenario, sending the server communication information to the server management apparatus by using the discovery interface to enable the server management apparatus to verify whether the server communication information can be used for communicating with the server in-band apparatus may include:
step 21: sending a preset number of server IP addresses to the server management device by using the discovery interface so that the server management device assembles corresponding detection interfaces by using the server IP addresses;
step 22: when the detection information is received through the detection interface, the detection success information is returned to the server management device by using the detection interface, so that the server management device can determine that the server IP address corresponding to the detection interface can be communicated with the server in-band device.
It should be noted that the server management apparatus may stop the authentication process and determine that the authentication is passed after determining that a certain server IP address can be connected, without performing authentication for all server IP addresses.
Furthermore, in order to improve the safety, a verification link can be added between the management device and the in-band device. Specifically, the server management device may add check information to the management-side communication information in advance, and the server in-band device may transmit the check information to the management device through the discovery interface, so that the latter performs identity confirmation and performs authentication on the server communication information after the confirmation is passed.
In one possible case, before sending the server communication information to the server management apparatus by using the discovery interface, the method may further include:
step 31: extracting verification information from the communication information of the management terminal;
accordingly, the sending of server communication information to the server management device using the discovery interface includes:
step 32: and adding the verification information to the server communication information, and sending the server communication information after the addition to the server management device by using the discovery interface so that the server management device verifies the correctness of the verification information, and entering a step of verifying whether the server communication information can be used for communicating with the server in-band device when the verification information is determined to be correct.
It should be noted that, the embodiment of the present invention does not limit the specific form of the verification information, and can be set according to the actual application requirements.
And S103, carrying out in-band data transmission with the server management device when the success information is received.
Based on the above embodiment, the present invention firstly adjusts the connection between the server management device and the in-band device of the server to be initiated by the latter, and the server management device only needs to issue the communication information of the management end to the in-band device and wait for the in-band device to initiate the action according to the communication information. After the setting, not only the connection action can be automatically initiated by the server in-band device, but also the trouble caused by the operation and maintenance personnel manually connecting the server in-band device on the server management device can be avoided, and more importantly, because the server in-band device initiates the connection according to the received management terminal communication information, the server management device only needs to adjust the management terminal communication information to be issued into the communication information of the target management terminal to which the in-band device should be connected, so that the in-band device can be controlled to be connected with the target management terminal, and the effect of configuring the server in-band device for other management devices by using the same management device can be realized. Further, after it is determined that the in-band device of the server initiates the connection and sends the server communication information, the server management device verifies that the in-band device of the server can be communicated with the in-band device of the server by using the server communication information, and returns success information to the latter after confirmation, so that the connection reliability can be effectively ensured, and the subsequent transmission reliability of the in-band information can be ensured.
Based on the above embodiment, in order to ensure reliable in-band data transmission, the in-band device of the server may also periodically detect the connection condition after establishing the connection. In a possible case, after the in-band data transmission with the server management device, the method may further include:
s201, periodically utilizing the communication information of the management terminal to judge whether the server management device is connected; if yes, go to step S202; if not, the step S203 is executed;
it should be noted that, the embodiment of the present invention does not limit the specific value of the connectivity verification period, and may be set according to the actual application requirement. The specific way of verifying connectivity can be realized by sending probe information to the server management device, and if the latter responds to the probe information, determining that the connection is stable, otherwise, determining that the connection is abnormal.
S202, continuing to perform in-band data transmission;
s203, updating the connection failure times, and judging whether the update connection failure times are larger than a preset threshold value;
to avoid the effect of occasional non-responses on the in-band data transmission, the server in-band device may determine that the connection is abnormal after determining that the number of connections is greater than a preset threshold. It should be noted that, the embodiment of the present invention does not limit the specific value of the preset threshold, and the preset threshold may be set according to the actual application requirement, for example, 3 times.
S204, stopping carrying out in-band data transmission;
after confirming that there is an anomaly in the connection, the server in-band device may stop the in-band data transfer to conserve server performance. Of course, after the transmission is stopped, a corresponding log record can be generated so that the maintenance personnel can perform maintenance.
S205, the process enters a step of periodically judging whether the server management device is connected or not by using the management side communication information.
Based on the embodiment, the in-band device of the server can periodically detect whether the connection is normal or not after the connection is established, so that the reliability and effectiveness of in-band data transmission can be ensured.
Based on the above-described embodiment, the following describes the workflow of the server management apparatus. Referring to fig. 2, fig. 2 is a flowchart of another data transmission method according to an embodiment of the present invention, where the method is applied to a server management device, and the method may include:
s301, sending the management side communication information to the server in-band device so that the server in-band device can assemble the discovery interface by using the management side communication information.
For the related description of the management side communication information and the discovery interface, reference may be made to the description in the above embodiments. When the communication information of the management end is sent, the server management device and the in-band device of the server are not connected, so that the former can store the configuration file containing the communication information into the specified directory of the specified server for the latter to extract.
In one possible case, sending the management-side communication information to the server in-band device may include:
step 41: and sending the communication information of the management terminal to a preset server storage area so that the in-band device of the server acquires the communication information of the management terminal in the preset server storage area.
S302, when server communication information sent by the server in-band device through the discovery interface is received, whether the server communication information can be used for communicating with the server in-band device is verified.
Specifically, the in-band server device may send multiple sets of server information, for example, send multiple server IP addresses, and the server management device may generate a corresponding probe interface for each server IP address and determine whether a connection can be established with the in-band server device through the probe interface.
In one possible case, when server communication information transmitted by the server in-band device through the discovery interface is received, verifying whether the server communication information can be used to communicate with the server in-band device may include:
step 51: when a preset number of server IP addresses sent by a server in-band device through a discovery interface are received, assembling corresponding detection interfaces by using the server IP addresses;
step 52: sending detection information to the server in-band device by using the detection interface, and judging whether the server in-band device returns detection success information or not; if yes, go to step 53; if not, go to step 54;
step 53: determining that the server IP address corresponding to the detection interface can be used for communicating with the in-band device of the server;
step 54: and sending the probe information to the server in-band device by using the next probe interface.
Of course, a verification link can be added between the management device and the in-band device. Specifically, the server management device may add verification information to the management-side communication information in advance, and the in-band server device may transmit the verification information to the management device through the discovery interface, so that the latter performs identity confirmation, and performs verification on the server communication information after the confirmation is passed.
In one possible case, sending the management-side communication information to the server in-band device may include:
step 61: adding preset check information into the management terminal communication information, and sending the added management terminal communication information to the server in-band device;
correspondingly, before verifying whether the server communication information can be used for communicating with the server in-band device, the method further comprises the following steps:
step 71: extracting to-be-detected verification information from the server communication information, and judging whether the to-be-detected verification information is the same as preset verification information or not; if yes, go to step 72; if not, exiting.
Step 72: entering a step of verifying whether the server communication information can be used for communicating with the server in-band device.
And S303, when the in-band device of the server is determined to be communicated with the in-band device of the server, returning success information to the in-band device of the server through the discovery interface so as to enable the in-band device of the server to carry out in-band data transmission with the management device of the server.
Based on the above embodiment, the present invention firstly adjusts the connection between the server management device and the in-band device of the server to be initiated by the latter, and the server management device only needs to issue the communication information of the management end to the in-band device and wait for the in-band device to initiate the action according to the communication information. After the setting, not only the connection action can be automatically initiated by the server in-band device, but also the trouble caused by the operation and maintenance personnel manually connecting the server in-band device on the server management device can be avoided, and more importantly, because the server in-band device initiates the connection according to the received management terminal communication information, the server management device only needs to adjust the management terminal communication information to be issued into the communication information of the target management terminal to which the in-band device should be connected, so that the in-band device can be controlled to be connected with the target management terminal, and the effect of configuring the server in-band device for other management devices by using the same management device can be realized. Further, after it is determined that the in-band device of the server initiates the connection and sends the server communication information, the server management device verifies that the in-band device of the server can be communicated with the in-band device of the server by using the server communication information, and returns success information to the latter after confirmation, so that the connection reliability can be effectively ensured, and the subsequent transmission reliability of the in-band information can be ensured.
The following describes a server in-band device, a server management device, an electronic device, and a computer-readable storage medium according to embodiments of the present invention, and the server in-band device, the server management device, the electronic device, and the computer-readable storage medium described below may be referred to in correspondence with the data transmission method described above.
Referring to fig. 3, fig. 3 is a block diagram of a server in-band device according to an embodiment of the present invention, the device includes:
a discovery interface assembling module 301, configured to receive management-side communication information sent by the server management apparatus, and assemble a discovery interface using the management-side communication information;
a server communication information sending module 302, configured to send server communication information to the server management apparatus through the discovery interface, so that the server management apparatus verifies whether the server communication information can be used to communicate with the in-band device of the server, and returns success information through the discovery interface when the verification is successful;
and an in-band data transmission module 303, configured to perform in-band data transmission with the server management device when the success information is received.
Optionally, the server communication information sending module 302 may include:
the sending submodule is used for sending a preset number of server IP addresses to the server management device by using the discovery interface so that the server management device assembles corresponding detection interfaces by using the server IP addresses;
and the response submodule is used for returning detection success information to the server management device by using the detection interface when the detection information is received through the detection interface, so that the server management device determines that the server IP address corresponding to the detection interface can be communicated with the server in-band device.
Optionally, the server communication information sending module 302 may further include:
the extraction submodule is used for extracting the verification information from the communication information of the management terminal;
correspondingly, the server communication information sending module 302 may further include:
and the verification information adding submodule is used for adding the verification information to the server communication information, sending the added server communication information to the server management device by using the discovery interface so that the server management device verifies the correctness of the verification information, and entering a step of verifying whether the server communication information can be communicated with the in-band device of the server by using the server communication information when the verification information is determined to be correct.
Optionally, the discovery interface assembling module 301 may include:
and the acquisition submodule is used for acquiring the communication information of the management terminal in a preset server storage area.
Optionally, the apparatus may further include:
the communication detection module is used for periodically utilizing the communication information of the management terminal to judge whether the server management device is communicated;
the first judgment module is used for continuing the in-band data transmission if the judgment result is positive;
the threshold judgment module is used for updating the connection failure times if the connection failure times are not larger than the preset threshold;
the second judgment module is used for stopping the in-band data transmission if the judgment result is positive;
and the third judging module is used for entering the step of periodically judging whether the server management device is communicated or not by utilizing the communication information of the management terminal if the server management device is not communicated.
Referring to fig. 4, fig. 4 is a block diagram of a server management apparatus according to an embodiment of the present invention, where the apparatus may include:
a management side communication information sending module 401, configured to send management side communication information to the server in-band device, so that the server in-band device assembles a discovery interface using the management side communication information;
a detection module 402, configured to verify whether the in-band server device can communicate with the in-band server device using the server communication information when receiving the server communication information sent by the in-band server device through the discovery interface;
and a probe success response module 403, configured to, when it is determined that the in-band server device can be connected, return success information to the in-band server device through the discovery interface, so that the in-band server device performs in-band data transmission with the server management device.
Optionally, the detecting module 402 includes:
the detection interface assembling submodule is used for assembling corresponding detection interfaces by using the server IP addresses when the preset number of server IP addresses sent by the in-band device of the server through the discovery interface are received;
the detection submodule is used for sending detection information to the server in-band device by using the detection interface and judging whether the server in-band device returns detection success information or not;
the first judgment submodule is used for determining that the server IP address corresponding to the detection interface can be communicated with the in-band device of the server if the judgment result is positive;
and the second judging submodule is used for sending the detection information to the server in-band device by using the next detection interface if the server is not in the band-in state.
Optionally, the management-side communication information sending module 401 is specifically configured to:
adding preset check information into the management terminal communication information, and sending the added management terminal communication information to the server in-band device;
accordingly, the detecting module 402 may further include:
the verification submodule is used for extracting to-be-detected verification information from the server communication information and judging whether the to-be-detected verification information is the same as the preset verification information or not;
and the third judgment submodule is used for entering the step of verifying whether the communication with the in-band device of the server can be realized by utilizing the communication information of the server if the judgment result is positive.
Optionally, the management-side communication information sending module 401 is specifically configured to:
and sending the communication information of the management terminal to a preset server storage area so that the in-band device of the server acquires the communication information of the management terminal in the preset server storage area.
An embodiment of the present invention further provides an electronic device, including:
a memory for storing a computer program;
a processor for implementing the steps of the data transmission method as described above when executing the computer program.
Since the embodiment of the electronic device portion corresponds to the embodiment of the data transmission method portion, please refer to the description of the embodiment of the data transmission method portion for the embodiment of the electronic device portion, and details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the data transmission method in any of the embodiments described above are implemented.
Since the embodiment of the computer-readable storage medium portion corresponds to the embodiment of the data transmission method portion, please refer to the description of the embodiment of the data transmission method portion for the embodiment of the storage medium portion, which is not described herein again.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The data transmission method, the in-band server device, the server management device, the electronic device, and the computer-readable storage medium according to the present invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.