CN115001958A - Data transmission method, server in-band device and server management device - Google Patents

Data transmission method, server in-band device and server management device Download PDF

Info

Publication number
CN115001958A
CN115001958A CN202210611302.7A CN202210611302A CN115001958A CN 115001958 A CN115001958 A CN 115001958A CN 202210611302 A CN202210611302 A CN 202210611302A CN 115001958 A CN115001958 A CN 115001958A
Authority
CN
China
Prior art keywords
server
communication information
band
management
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.)
Granted
Application number
CN202210611302.7A
Other languages
Chinese (zh)
Other versions
CN115001958B (en
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.)
Zhengzhou Inspur Data Technology Co Ltd
Original Assignee
Inspur Jinan data Technology 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 Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202210611302.7A priority Critical patent/CN115001958B/en
Publication of CN115001958A publication Critical patent/CN115001958A/en
Application granted granted Critical
Publication of CN115001958B publication Critical patent/CN115001958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0889Techniques to speed-up the configuration process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data transmission method, a server in-band device and a server management device, which relate to the field of servers, and the method is applied to the 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 in-band device of the server, and returning success information through the discovery interface when the verification is successful; when the success information is received, carrying out in-band data transmission with the server management device; the server in-band device can initiatively initiate connection according to the communication information of the management terminal, so that the trouble caused by manual connection of the server in-band device on the server management device by operation and maintenance personnel is avoided, and meanwhile, the effect of configuring the server in-band device for other management devices by using the same management device can be realized.

Description

Data transmission method, server in-band device and server management device
Technical Field
The present invention relates to the field of servers, and in particular, to a data transmission method, an in-band server device, a server management device, an electronic device, and a computer-readable storage medium.
Background
The server in-band tool is a server internal tool used for collecting server in-band data and uploading the data to the server management platform. 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.
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.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a flowchart of another data transmission method according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating an in-band device of a server according to an embodiment of the present invention;
fig. 4 is a block diagram of a server management apparatus according to an embodiment of the present invention.
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.

Claims (13)

1. A data transmission method applied to an in-band device of a server, the method comprising:
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.
2. The data transmission method according to claim 1, wherein 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 communication information can be used for communicating with the server in-band apparatus comprises:
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 a corresponding detection interface by using the server IP addresses;
and 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 determines that the server IP address corresponding to the detection interface can be communicated with the server in-band device.
3. The data transmission method according to claim 1, further comprising, before transmitting the server communication information to the server management apparatus using the discovery interface:
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.
4. The data transmission method according to claim 1, wherein the receiving of the management-side communication information sent by the server management device includes:
and acquiring the communication information of the management terminal in a preset server storage area.
5. The data transmission method according to claim 1, further comprising, after the in-band data transmission with the server management device:
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.
6. A data transmission method is applied to a 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.
7. The data transmission method according to claim 6, wherein the verifying whether the server communication information can be used for communicating with the server in-band device when the server communication information sent by the server in-band device through the discovery interface is received comprises:
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.
8. The data transmission method according to claim 6, wherein the sending management-side communication information to the server in-band device comprises:
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.
9. The data transmission method according to claim 6, wherein sending management side communication information to the server in-band device comprises:
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.
10. 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.
11. A server management apparatus, comprising:
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;
a detection module for verifying whether the server communication information can be used for communicating 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 communication with the server in-band device is determined to be available, so that the server in-band device and the server management device perform in-band data transmission.
12. An electronic device, comprising:
a memory for storing a computer program;
a processor for implementing the data transmission method of any one of claims 1 to 5 and/or 6 to 9 when executing the computer program.
13. A computer-readable storage medium having stored thereon computer-executable instructions which, when loaded and executed by a processor, carry out a method of data transmission according to any one of claims 1 to 5 and/or 6 to 9.
CN202210611302.7A 2022-05-31 2022-05-31 Data transmission method, server in-band device and server management device Active CN115001958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210611302.7A CN115001958B (en) 2022-05-31 2022-05-31 Data transmission method, server in-band device and server management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210611302.7A CN115001958B (en) 2022-05-31 2022-05-31 Data transmission method, server in-band device and server management device

Publications (2)

Publication Number Publication Date
CN115001958A true CN115001958A (en) 2022-09-02
CN115001958B CN115001958B (en) 2024-06-14

Family

ID=83030748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210611302.7A Active CN115001958B (en) 2022-05-31 2022-05-31 Data transmission method, server in-band device and server management device

Country Status (1)

Country Link
CN (1) CN115001958B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170201419A1 (en) * 2014-07-30 2017-07-13 Hewlett Packard Enterprise Development Lp Configuring managed server
CN108206741A (en) * 2016-12-16 2018-06-26 北京国双科技有限公司 Verification method, the apparatus and system of service
US20180183753A1 (en) * 2016-12-28 2018-06-28 Cisco Technology, Inc. Method and Device for Provisioning a New Node Using IP Unnumbered Interfaces
WO2019075978A1 (en) * 2017-10-16 2019-04-25 平安科技(深圳)有限公司 Data transmission method and apparatus, computer device, and storage medium
CN111082996A (en) * 2019-12-29 2020-04-28 山东英信计算机技术有限公司 Automatic configuration method, device and medium for in-band monitoring software
CN111163173A (en) * 2019-12-31 2020-05-15 迈普通信技术股份有限公司 Cluster configuration method and device, server and readable storage medium
CN113704060A (en) * 2021-08-21 2021-11-26 济南浪潮数据技术有限公司 Resource monitoring method, system, storage medium and equipment
CN113852696A (en) * 2021-09-30 2021-12-28 济南浪潮数据技术有限公司 Method, system, equipment and storage medium for in-band resource information query
CN113992515A (en) * 2021-12-30 2022-01-28 深圳市科力锐科技有限公司 System configuration method, device, equipment and storage medium
CN114003454A (en) * 2021-11-02 2022-02-01 税友信息技术有限公司 Interface detection method and device, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170201419A1 (en) * 2014-07-30 2017-07-13 Hewlett Packard Enterprise Development Lp Configuring managed server
CN108206741A (en) * 2016-12-16 2018-06-26 北京国双科技有限公司 Verification method, the apparatus and system of service
US20180183753A1 (en) * 2016-12-28 2018-06-28 Cisco Technology, Inc. Method and Device for Provisioning a New Node Using IP Unnumbered Interfaces
WO2019075978A1 (en) * 2017-10-16 2019-04-25 平安科技(深圳)有限公司 Data transmission method and apparatus, computer device, and storage medium
CN111082996A (en) * 2019-12-29 2020-04-28 山东英信计算机技术有限公司 Automatic configuration method, device and medium for in-band monitoring software
CN111163173A (en) * 2019-12-31 2020-05-15 迈普通信技术股份有限公司 Cluster configuration method and device, server and readable storage medium
CN113704060A (en) * 2021-08-21 2021-11-26 济南浪潮数据技术有限公司 Resource monitoring method, system, storage medium and equipment
CN113852696A (en) * 2021-09-30 2021-12-28 济南浪潮数据技术有限公司 Method, system, equipment and storage medium for in-band resource information query
CN114003454A (en) * 2021-11-02 2022-02-01 税友信息技术有限公司 Interface detection method and device, electronic equipment and storage medium
CN113992515A (en) * 2021-12-30 2022-01-28 深圳市科力锐科技有限公司 System configuration method, device, equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YUQING ZHU: "BestConfig: Tapping the Performance Potential of Systems via Automatic Configuration Tuning", 《COMPUTER SCIENCE》 *
曹敏;武树斌;王峥;: "EoC终端自动认证和配置方法的研究", 电视技术, no. 22 *

Also Published As

Publication number Publication date
CN115001958B (en) 2024-06-14

Similar Documents

Publication Publication Date Title
CN111522264B (en) Control method and device of equipment, storage medium and electronic device
CN110209583B (en) Security test method, security test device, security test system, security test equipment and security test storage medium
CN103812728B (en) A kind of network diagnosis method, system and router
CN101605108B (en) Method, system and apparatus for instant communication
CN109257254B (en) Network connectivity checking method, device, computer equipment and storage medium
CN106330483B (en) Information acquisition method, client device and server device
CN105897652A (en) Standard protocol based heterogeneous terminal dynamic access method
CN110752954A (en) Networking fault detection method and related device for household electrical appliance
CN104580085A (en) Business data updating method, system, client side and server
CN112463511B (en) Automatic test system and test method for serial port equipment of Internet of things
CN105681258A (en) Session method and session device based on third-party server
CN103685398B (en) Communication connection method for building up and communication system
CN107395451B (en) Processing method, device and equipment for internet traffic abnormity and storage medium
CN112463281A (en) Remote assistance method, device, system, electronic equipment and storage medium
CN110166322B (en) Detection method and related device for metering automation terminal
CN113271337B (en) Method and device for subscribing computer message
CN105812380A (en) Verification method and device
CN115001958B (en) Data transmission method, server in-band device and server management device
CN104065519A (en) Method for improving conversation interactive performance and automatic configuration server
CN112399446A (en) Edge gateway communication method, device, computer equipment and storage medium
CN107645563B (en) Internet of things communication method and system of medical test equipment
CN116112559A (en) Remote server management control method, system and storage medium
CN111717743B (en) Method for modifying elevator terminal server and elevator terminal thereof
CN112532663B (en) Household intelligent gateway login method and device
CN112866309B (en) Communication method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240425

Address after: Room 1801, 18th Floor, Jiyun Investment Building, No. 278 Xinyi Road, Zhengdong New District, Zhengzhou City, Henan Province, 450047

Applicant after: Zhengzhou Inspur Data Technology Co.,Ltd.

Country or region after: China

Address before: 250101 room s311, building S05, Inspur Science Park, No. 1036, Inspur Road, Jinan pilot Free Trade Zone, Jinan, Shandong Province

Applicant before: Inspur(Jinan)Data Technology Co.,Ltd

Country or region before: China

GR01 Patent grant
GR01 Patent grant