Communication method and apparatus
By using an out-of-band management application as a virtual gateway for an in-band management application to perform address translation, the coupling problem between in-band and out-of-band management software is solved, achieving timely information transmission and convenient management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- XINHUASAN INFORMATION TECH CO LTD
- Filing Date
- 2023-03-27
- Publication Date
- 2026-05-05
AI Technical Summary
In existing technologies, there is a strong coupling between in-band management software and out-of-band management software, resulting in untimely information transmission and making it difficult for users to manage both in-band and out-of-band software efficiently at the same time.
By using an out-of-band management application as a virtual gateway for an in-band management application, address translation and updates of information retrieval requests are performed, enabling timely information transmission and decoupling.
It reduces the coupling between in-band and out-of-band management software, improves the timeliness of information transmission, and enables users to easily manage in-band and out-of-band software.
Smart Images

Figure CN116471162B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology
[0002] The Baseboard Management Controller (BMC) is a management chip located within the server motherboard. Server manufacturers develop BMC management software based on this chip and then program it into the BMC chip. User management of the server using the BMC management software is called out-of-band management. This software (also known as out-of-band management software) allows for functions such as server monitoring and configuration.
[0003] During out-of-band management of servers, some configurations or information viewing, such as optical module information and control card firmware upgrades, need to be done through the server's operating system. To compensate for the limitations of out-of-band management, server manufacturers usually release tools within the operating system to help users monitor and configure servers. Users managing servers using these operating system tools (also known as in-band management software) is called in-band management.
[0004] To address different user needs, for example, users with high security requirements may not allow the server's management (in-band) network to connect to the business (out-of-band) network. However, these users may still want to obtain in-band management information through out-of-band management.
[0005] To address the aforementioned issues, the server connects the in-band and out-of-band environments via physical channels and utilizes these channels to transmit information. The server vendor's in-band management software (or IPMI driver) periodically sends in-band information to the out-of-band management software, allowing users to retrieve in-band information from the out-of-band management software.
[0006] However, the above-mentioned acquisition of in-band information also exposes the following problems: 1) As the sender, the in-band management software has a certain time interval when sending information, and the information obtained by the user through the out-of-band management software may be delayed; 2) There is also a certain time interval when receiving information, and the in-band configuration sent by the user through the out-of-band management software may not be delivered in time; 3) The out-of-band management function and the in-band management function cannot be completely decoupled. That is, if new in-band information or new in-band configuration needs to be obtained, in order to ensure that the in-band information is correctly acquired, correctly transmitted to the out-of-band management software, and correctly displayed to the customer by the out-of-band management software, the server vendor needs to release new in-band management software (or IPMI driver), new IPMI commands, and new out-of-band management software. Summary of the Invention
[0007] In view of this, this application provides a communication method and apparatus that reduces the coupling between in-band management software and out-of-band management software, improves the timeliness of information transmission, and enables users to conveniently manage in-band software while managing out-of-band software.
[0008] In a first aspect, this application provides a communication method applied to out-of-band management applications, the method comprising:
[0009] Through the first interface, a first in-band information acquisition request sent by the operation and maintenance application is received. The first in-band information acquisition request includes a first destination address and a first destination port identifier.
[0010] If the interface indicated by the first destination port identifier is the second interface leading to the in-band management application, then the first destination address is updated to the second destination address;
[0011] Send a second in-band information retrieval request to the second interface. The second in-band information retrieval request includes the second destination address, so that the in-band management application can obtain the in-band information required by the operation and maintenance application according to the second in-band information retrieval request.
[0012] Secondly, this application provides a communication device for out-of-band management applications, the device comprising:
[0013] The receiving unit is configured to receive a first in-band information acquisition request sent by the operation and maintenance application through a first interface. The first in-band information acquisition request includes a first destination address and a first destination port identifier.
[0014] The update unit is configured to update the first destination address to the second destination address if the interface indicated by the first destination port identifier is a second interface leading to the in-band management application.
[0015] The sending unit is configured to send a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes the second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0016] Thirdly, this application provides a network device including a processor and a machine-readable storage medium storing machine-executable instructions that can be executed by the processor, which in turn cause the processor to perform the method provided in the first aspect of this application.
[0017] Therefore, by applying the communication method and apparatus provided in this application, through the first interface, the out-of-band management application receives a first in-band information acquisition request sent by the operation and maintenance application. The first in-band information acquisition request includes a first destination address and a first destination port identifier. If the interface indicated by the first destination port identifier is a second interface leading to the in-band management application, the out-of-band management application updates the first destination address to the second destination address. The out-of-band management application sends a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes a second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0018] Thus, this application uses the out-of-band management application as a virtual gateway for the in-band management application. When the client application interacts with the in-band management application, the out-of-band management application updates the address using a NAT-like translation process, ensuring that the updated packets can be delivered to both the client application and the in-band management application for processing. For the out-of-band management application, the difference between acquiring in-band and out-of-band information lies in the port identifier, but the management method is unified, facilitating integration and development, and reducing workload. This reduces the coupling between the in-band and out-of-band management software, improves the timeliness of information transmission, and allows users to conveniently manage both out-of-band and in-band software simultaneously. Attached Figure Description
[0019] Figure 1 A flowchart illustrating the communication method provided in the embodiments of this application;
[0020] Figure 2 A structural diagram of a communication device provided in an embodiment of this application;
[0021] Figure 3 The network device hardware structure provided in the embodiments of this application. Detailed Implementation
[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0023] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The singular forms “a,” “the,” and “the” used in this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the corresponding listed items.
[0024] It should be understood that although the terms first, second, third, etc., may be used in this application to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0025] The communication method provided in the embodiments of this application will be described in detail below. See also... Figure 1 , Figure 1 A flowchart illustrating a communication method provided in an embodiment of this application. This method is applied to out-of-band management applications, and the communication method provided in this application may include the following steps.
[0026] Step 110: Receive a first in-band information acquisition request sent by the operation and maintenance application through the first interface. The first in-band information acquisition request includes a first destination address and a first destination port identifier.
[0027] Specifically, the client is configured with an operations and maintenance application that can be used to manage each network device (e.g., a server) within the network. The operations and maintenance application can also display the out-of-band and in-band information of the network devices (e.g., servers) so that users can obtain real-time hardware and software information and configuration details of the network devices in a timely manner.
[0028] If the operation and maintenance application expects to obtain the in-band information of the network device, the operation and maintenance application generates a first in-band information acquisition request, which includes a first destination address and a first destination port identifier.
[0029] Understandably, the first in-band information retrieval request also includes the source address and source port identifier. Both the source address and source port identifier are the address and port number of the operations and maintenance application.
[0030] Through the client, the operations and maintenance application sends a first in-band information retrieval request to the out-of-band management application. The out-of-band management application receives the first in-band information retrieval request through the first interface and obtains the first destination address and the first destination port identifier from it.
[0031] In one example, the IP address of the operations and maintenance application is 192.168.1.5, and the port number is 443. The IP address of the out-of-band management application is 192.168.1.2. The IP address of the in-band management application is 172.16.1.5, and the port number is 6881. In this case, the source address is 192.168.1.5, the source port identifier is 443, the first destination address is 192.168.1.2, and the first destination port identifier is 6881.
[0032] It should be noted that out-of-band management applications and in-band management applications can also be called out-of-band management software and in-band management software, respectively. If the network device is a server, the out-of-band management application can specifically be the BMC management software, which is burned into the BMC chip. The in-band management software can specifically be the tools under the operating system in the server.
[0033] Step 120: If the interface indicated by the first destination port identifier is the second interface leading to the in-band management application, then update the first destination address to the second destination address;
[0034] Specifically, according to the description of step 110, after obtaining the first destination address and the first destination port identifier, the out-of-band management application identifies the value of the first destination port identifier. If the interface indicated by the first destination port identifier is the second interface leading to the in-band management application, the out-of-band management application determines that the first in-band information acquisition request needs to be sent to the in-band management application.
[0035] The out-of-band management application obtains the IP address of the in-band management application and updates the first destination address to the second destination address, that is, updates 192.168.1.2 to 172.16.1.5, while keeping other fields unchanged.
[0036] It is understandable that out-of-band management applications can store an address translation table locally. The address translation table includes the port identifier and the address before / after translation. That is, after receiving a request with the port identifier 6881, the application looks up the address translation table, obtains the corresponding translated address, and completes the subsequent destination address translation.
[0037] Step 130: Send a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes the second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0038] Specifically, according to the description in step 120, after the out-of-band management application updates the destination address, it receives a second in-band information retrieval request. The out-of-band management application then sends the second in-band information retrieval request to the second interface.
[0039] After receiving the second in-band information retrieval request, the in-band management application retrieves the in-band information required by the operation and maintenance application from the local machine according to the retrieval information fields included in the second in-band information retrieval request.
[0040] It should be noted that, in this embodiment, a physical channel has been established between the out-of-band management application and the in-band management application. The out-of-band management application has two interfaces, each belonging to a different network. For example, one network is assumed to be 192.168.1.2, and the first interface belonging to this network is used to connect to the operation and maintenance application within the client; this first interface is a real physical network port.
[0041] Another network is assumed to be 172.16.1.2. The third interface belonging to this network is used to connect in-band management applications. This third interface is a network port (i.e., vNIC interface) that is virtualized through the physical channel.
[0042] The in-band management application has a second interface, which is used to connect to the out-of-band management application and is also a virtual network interface (i.e., vNIC interface) created through the physical channel.
[0043] In this embodiment, the out-of-band management application is used as the virtual gateway of the in-band management application (that is, the third interface of the out-of-band management application is used as the default gateway of the in-band management application). In this way, messages sent by the operation and maintenance application to the in-band management application, or messages sent by the in-band management application to the operation and maintenance application, can be sent to the other end after address translation by the out-of-band management application as the gateway.
[0044] Alternatively, the aforementioned physical channels can be implemented in various ways, such as USB channels, PCIe channels, etc. Taking the ASP2600 as an example, this chip is a BMC chip, and it has both USB and PCIe channels with the operating system.
[0045] To enable communication between in-band and external applications, two virtual interfaces are implemented on both the BMC chip side and the operating system side. These interfaces are not physical network ports, but for upper-layer applications, they are indistinguishable from physical interfaces. When external maintenance applications need to exchange information with applications within the operating system, the relevant packets are sent to the BMC chip. The kernel driver corresponding to the virtual interface on the BMC chip side encapsulates the packet into the appropriate packet format based on the physical channel type. When the packet is forwarded to the operating system side, the corresponding kernel driver on the operating system side restores the packet to its original form for processing.
[0046] Therefore, by applying the communication method provided in this application, through the first interface, the out-of-band management application receives a first in-band information acquisition request sent by the operation and maintenance application. The first in-band information acquisition request includes a first destination address and a first destination port identifier. If the interface indicated by the first destination port identifier is a second interface leading to the in-band management application, the out-of-band management application updates the first destination address to the second destination address. The out-of-band management application sends a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes a second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0047] Thus, this application uses the out-of-band management application as a virtual gateway for the in-band management application. When the client application interacts with the in-band management application, the out-of-band management application updates the address using a NAT-like translation process, ensuring that the updated packets can be delivered to both the client application and the in-band management application for processing. For the out-of-band management application, the difference between acquiring in-band and out-of-band information lies in the port identifier, but the management method is unified, facilitating integration and development, and reducing workload. This reduces the coupling between the in-band and out-of-band management software, improves the timeliness of information transmission, and allows users to conveniently manage both out-of-band and in-band software simultaneously.
[0048] Optionally, this application embodiment also includes a process in which the out-of-band management application sends a response to the in-band management application regarding the in-band information acquisition sent by the in-band management application.
[0049] Specifically, as described in the foregoing embodiments, the in-band management application obtains the corresponding in-band information from the local machine. The in-band management application generates a first in-band information acquisition response, which includes a first source address and the in-band information. It can be understood that the first source address is the IP address of the in-band management application. For example, in the foregoing example, if the IP address of the in-band management application is 172.16.1.5, then the first source address is 172.16.1.5.
[0050] Simultaneously, the first in-band information retrieval response also includes a source port identifier, a destination address, and a destination port identifier. The source port identifier is the port number of the second interface in the in-band management application, i.e., 6881. The destination address and destination port identifier are obtained based on the source address and source port identifier included in the second in-band information retrieval request. As in the previous example, if the source address included in the second in-band information retrieval request is 192.168.1.5 and the source port identifier is 443, then the destination address included in the first in-band information retrieval response is 192.168.1.5 and the destination port identifier is 443.
[0051] The in-band management application sends the first in-band information to the out-of-band management application to obtain a response.
[0052] After receiving the first in-band information acquisition response sent by the in-band management application, the out-of-band management application obtains the first source address and in-band information from it.
[0053] Understandably, the in-band management application sends the first in-band information to the third interface through the established physical channel to obtain a response.
[0054] Based on the destination address, the out-of-band management application determines that the response was sent from the in-band management application to the operations and maintenance application. The out-of-band management application then updates the first source address to the second source address. This second source address is the first destination address 192.168.1.2 included in the first in-band information retrieval request, while other fields remain unchanged.
[0055] Out-of-band management applications can also update the source address by looking up the address translation table.
[0056] After updating the first source address, the out-of-band management application receives a second in-band information retrieval response. The out-of-band management application then sends the second in-band information retrieval response to the operations and maintenance application through the first interface. This second in-band information retrieval response includes the second source address and in-band information.
[0057] After receiving the second in-band information retrieval response, the operation and maintenance application retrieves the in-band information from it and displays the in-band information to the user.
[0058] Optionally, this application embodiment also includes a process for the operation and maintenance application to obtain out-of-band information from the out-of-band management application.
[0059] Specifically, if the operation and maintenance application expects to obtain out-of-band information of the network device, the operation and maintenance application generates an out-of-band information acquisition request, which includes a second destination port identifier.
[0060] Understandably, out-of-band information retrieval requests also include the source address, source port identifier, and destination address. The source address and source port identifier are the address and port number of the operations and maintenance application, while the destination address is the address of the out-of-band management application.
[0061] Through the client, the operations and maintenance application sends an out-of-band information retrieval request to the out-of-band management application. The out-of-band management application receives the out-of-band information retrieval request through the first interface and obtains the second destination port identifier from it.
[0062] In one example, the IP address of the operations and maintenance application is 192.168.1.5, and the port number is 443. The IP address of the out-of-band management application is 192.168.1.2, and the out-of-band management application includes multiple interfaces, such as the interface with port number 443. In this case, the source address is 192.168.1.5, the source port identifier is 443, the destination address is 192.168.1.2, and the second destination port identifier is 443.
[0063] The out-of-band management application identifies the value of the second destination port identifier. If the interface indicated by the second destination port identifier is not the second interface of the in-band management application, the out-of-band management application determines that the out-of-band information acquisition request does not need to be sent to the in-band management application, and determines that the operation and maintenance application should acquire its own out-of-band information.
[0064] The out-of-band management application transmits an out-of-band information acquisition request to the program whose local interface number is the second destination port identifier, so that the program can acquire the out-of-band information required by the operation and maintenance application locally according to the acquisition information field included in the out-of-band information acquisition request.
[0065] After obtaining the out-of-band information, the out-of-band management application generates an out-of-band information acquisition response, which includes the out-of-band information. The out-of-band management application then sends the out-of-band information acquisition response to the operations and maintenance application through the first interface.
[0066] After receiving the out-of-band information acquisition response, the operation and maintenance application retrieves the out-of-band information from it and displays the out-of-band information to the user.
[0067] It is understood that the out-of-band information retrieval response includes the source address, source port identifier, destination address, and destination port identifier. The aforementioned source address and source port identifier correspond to the destination address and destination port identifier included in the out-of-band information retrieval request; the aforementioned destination address and destination port identifier correspond to the source address and source port identifier included in the out-of-band information retrieval request.
[0068] Optionally, in this embodiment of the application, a physical channel has been established between the out-of-band management application and the in-band management application;
[0069] The first interface mentioned above is a physical interface included in out-of-band management applications; the second and third interfaces mentioned above are virtual interfaces within the physical channel; the second destination address is the virtual IP address of the second interface.
[0070] Optionally, an out-of-band management application configures a virtual gateway address, and the virtual IP address of the second interface belongs to the virtual gateway address; the virtual gateway address is the IP address of the third interface mentioned above.
[0071] Based on the same inventive concept, embodiments of this application also provide a communication device corresponding to the communication method. See also Figure 2 , Figure 2 The communication device provided in this application embodiment is applied to an out-of-band management application, and the device includes:
[0072] The receiving unit 210 is configured to receive a first in-band information acquisition request sent by the operation and maintenance application through the first interface. The first in-band information acquisition request includes a first destination address and a first destination port identifier.
[0073] The update unit 220 is configured to update the first destination address to the second destination address if the interface indicated by the first destination port identifier is a second interface leading to the in-band management application.
[0074] The sending unit 230 is used to send a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes the second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0075] Optionally, the receiving unit 210 is further configured to receive a first in-band information acquisition response sent by the in-band management application through a third interface, wherein the first in-band information acquisition response includes a first source address and in-band information.
[0076] The updating unit 220 is further configured to update the first source address to the second source address;
[0077] The sending unit 230 is further configured to send a second in-band information acquisition response to the operation and maintenance application through the first interface. The second in-band information acquisition response includes the second source address and the in-band information, so that the operation and maintenance application can display the in-band information to the user.
[0078] Optionally, the receiving unit 210 is further configured to receive an out-of-band information acquisition request sent by the operation and maintenance application through the first interface, wherein the out-of-band information acquisition request includes a second destination port identifier;
[0079] The device further includes: a transmission unit (not shown in the figure), configured to transmit the out-of-band information acquisition request to a program whose local interface number is the second destination port identifier if the interface indicated by the second destination port identifier is not the second interface, so that the program can acquire the out-of-band information required by the operation and maintenance application.
[0080] The sending unit 230 is further configured to send an out-of-band information acquisition response to the operation and maintenance application through the first interface, wherein the out-of-band information acquisition response includes the out-of-band information, so that the operation and maintenance application displays the out-of-band information to the user.
[0081] Optionally, a physical channel has been established between the out-of-band management application and the in-band management application;
[0082] The first interface is a physical interface included in the out-of-band management application; the second interface and the third interface are virtual interfaces within the physical channel; the second destination address is the virtual IP address of the second interface.
[0083] Optionally, the out-of-band management application configures a virtual gateway address, and the virtual IP address of the second interface belongs to the virtual gateway address; the virtual gateway address is the IP address of the third interface.
[0084] Therefore, by applying the communication method provided in this application, through the first interface, the out-of-band management application receives a first in-band information acquisition request sent by the operation and maintenance application. The first in-band information acquisition request includes a first destination address and a first destination port identifier. If the interface indicated by the first destination port identifier is a second interface leading to the in-band management application, the out-of-band management application updates the first destination address to the second destination address. The out-of-band management application sends a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes a second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request.
[0085] Thus, this application uses the out-of-band management application as a virtual gateway for the in-band management application. When the client application interacts with the in-band management application, the out-of-band management application updates the address using a NAT-like translation process, ensuring that the updated packets can be delivered to both the client application and the in-band management application for processing. For the out-of-band management application, the difference between acquiring in-band and out-of-band information lies in the port identifier, but the management method is unified, facilitating integration and development, and reducing workload. This reduces the coupling between the in-band and out-of-band management software, improves the timeliness of information transmission, and allows users to conveniently manage both out-of-band and in-band software simultaneously.
[0086] Based on the same inventive concept, embodiments of this application also provide a network device, such as... Figure 3 As shown, the system includes a processor 310, a transceiver 320, and a machine-readable storage medium 330. The machine-readable storage medium 330 stores machine-executable instructions that can be executed by the processor 310. The processor 310 is prompted by the machine-executable instructions to execute the communication method provided in the embodiments of this application. (The foregoing...) Figure 2 The communication device shown can be used as follows: Figure 3 The hardware structure of the network device shown is implemented.
[0087] The aforementioned computer-readable storage medium 330 may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the computer-readable storage medium 330 may also be at least one storage device located remotely from the aforementioned processor 310.
[0088] The processor 310 mentioned above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0089] In this embodiment of the application, the processor 310 reads the machine-executable instructions stored in the machine-readable storage medium 330, and is prompted by the machine-executable instructions to enable the processor 310 itself and the transceiver 320 to execute the communication method described in the foregoing embodiment of the application.
[0090] In addition, this application provides a machine-readable storage medium 330 that stores machine-executable instructions. When called and executed by the processor 310, the machine-executable instructions cause the processor 310 itself and the transceiver 320 to execute the communication method described in the aforementioned application.
[0091] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.
[0092] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this application according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0093] For the embodiments of communication devices and machine-readable storage media, since the methods involved are basically similar to those of the aforementioned method embodiments, the description is relatively simple, and relevant details can be found in the descriptions of the method embodiments.
[0094] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A communication method, characterized in that, The method is applied to out-of-band management applications, and the method includes: Through the first interface, a first in-band information acquisition request sent by the operation and maintenance application is received. The first in-band information acquisition request includes a first destination address and a first destination port identifier. If the interface indicated by the first destination port identifier is the second interface leading to the in-band management application, then the first destination address is updated to the second destination address; Send a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes the second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request. The out-of-band management application is located in the BMC chip; the in-band management application is a tool under the operating system; and the operation and maintenance application is configured in the client.
2. The method according to claim 1, characterized in that, The method further includes: The first in-band information acquisition response sent by the in-band management application is received through the third interface. The first in-band information acquisition response includes the first source address and in-band information. Update the first source address to the second source address; The first interface is used to send a second in-band information retrieval response to the operation and maintenance application. The second in-band information retrieval response includes the second source address and the in-band information, so that the operation and maintenance application can display the in-band information to the user.
3. The method according to claim 1, characterized in that, The method further includes: The first interface receives an out-of-band information acquisition request sent by the operation and maintenance application, the out-of-band information acquisition request including a second destination port identifier; If the interface indicated by the second destination port identifier is not the second interface, then the out-of-band information acquisition request is transmitted to the program whose local interface number is the second destination port identifier, so that the program can acquire the out-of-band information required by the operation and maintenance application. The first interface is used to send an out-of-band information acquisition response to the operation and maintenance application. The out-of-band information acquisition response includes the out-of-band information, so that the operation and maintenance application can display the out-of-band information to the user.
4. The method according to claim 2, characterized in that, A physical channel has been established between the out-of-band management application and the in-band management application; The first interface is a physical interface included in the out-of-band management application; the second interface and the third interface are virtual interfaces within the physical channel; the second destination address is the virtual IP address of the second interface.
5. The method according to claim 4, characterized in that, The out-of-band management application configures a virtual gateway address, and the virtual IP address of the second interface belongs to the virtual gateway address; the virtual gateway address is the IP address of the third interface.
6. A communication device, characterized in that, The device is used in out-of-band management applications, and the device includes: The receiving unit is configured to receive a first in-band information acquisition request sent by the operation and maintenance application through a first interface. The first in-band information acquisition request includes a first destination address and a first destination port identifier. The update unit is configured to update the first destination address to the second destination address if the interface indicated by the first destination port identifier is a second interface leading to the in-band management application. The sending unit is configured to send a second in-band information acquisition request to the second interface. The second in-band information acquisition request includes the second destination address, so that the in-band management application can acquire the in-band information required by the operation and maintenance application according to the second in-band information acquisition request. The out-of-band management application is located in the BMC chip; the in-band management application is a tool under the operating system; and the operation and maintenance application is configured in the client.
7. The apparatus according to claim 6, characterized in that, The receiving unit is further configured to receive a first in-band information acquisition response sent by the in-band management application through a third interface, wherein the first in-band information acquisition response includes a first source address and in-band information. The updating unit is further configured to update the first source address to the second source address; The sending unit is further configured to send a second in-band information acquisition response to the operation and maintenance application through the first interface. The second in-band information acquisition response includes the second source address and the in-band information, so that the operation and maintenance application can display the in-band information to the user.
8. The apparatus according to claim 6, characterized in that, The receiving unit is further configured to receive an out-of-band information acquisition request sent by the operation and maintenance application through the first interface, wherein the out-of-band information acquisition request includes a second destination port identifier; The device further includes: a transmission unit, configured to transmit the out-of-band information acquisition request to a program whose local interface number is the second destination port identifier if the interface indicated by the second destination port identifier is not the second interface, so that the program can acquire the out-of-band information required by the operation and maintenance application. The sending unit is further configured to send an out-of-band information acquisition response to the operation and maintenance application through the first interface, the out-of-band information acquisition response including the out-of-band information, so that the operation and maintenance application displays the out-of-band information to the user.
9. The apparatus according to claim 7, characterized in that, A physical channel has been established between the out-of-band management application and the in-band management application; The first interface is a physical interface included in the out-of-band management application; the second interface and the third interface are virtual interfaces within the physical channel; the second destination address is the virtual IP address of the second interface.
10. The apparatus according to claim 9, characterized in that, The out-of-band management application configures a virtual gateway address, and the virtual IP address of the second interface belongs to the virtual gateway address; the virtual gateway address is the IP address of the third interface.
Citation Information
Patent Citations
Method, device and system for managing optical network unit
CN102035661A