The present invention relates to the field of communications technologies, and in particular, to a method, a service board, and a system for transmitting KVM data
With the rapid development of Internet services and the continuous increasing of the number of Internet users, network traffic keeps rising continuously, and application and deployment of IT devices such as servers become more and more important. A server provides various services such as web access, file download, stream media for Internet users, and also provides a graphical user interface, a keyboard interface, and a mouse interface, which is convenient for network maintenance personnel to configure and maintain the device. Generally, human machine interfaces such as a keyboard, a video, and a mouse of the server are collectively called KVM (Keyboard, Video, Mouse, keyboard, video, mouse). Because the number of servers is large, it is impossible to connect the KVM to each server one by one during maintenance. Therefore, as shown in
In order to solve the problems of messy wiring and regional limit, a KVM over IP (KVM over IP) technology is currently used. Through the technology, KVM data is converted into an IP packet, and transmitted through a network, thus effectively solving the foregoing problems. Specifically, as shown in
ATCA (Advanced Telecom Computing Architecture, advanced telecom computing architecture) is a telecommunication level platform based on the PICMG standard, which takes requirements for performance and reliability in the telecommunication field into consideration. The ATCA architecture provides an independent management channel and a service channel. The management channel includes an IPMB (Intelligent Platform Management Bus, intelligent platform management bus) channel based on an IPMI (Intelligent Platform Management Interface, intelligent platform management interface) protocol and a BASE channel (management channel) based on an IP protocol. The service channel is a FABRIC channel (service channel) based on optional various protocols. As shown in
An IPMB channel is used to transmit KVM information, specifically as shown in
In another implementation, four reserved pins on a Zone1 connector of an ATCA service board are customized as an FE channel (two for sending signals, and two for receiving signals). KVM data is transmitted through the FE channel. Specifically, as shown in
When the KVM information is transmitted through the IPMB channel, although the problem of poor compatibility does not exist, due to insufficient bandwidth of the data transmission channel, the problems of image distortion and delays of mouse and keyboard operations occur. When the KVM information is transmitted through the customized FE channel, although the bandwidth of the data transmission channel is not limited, because the FE channel is the channel customized through the four reserved pins on the Zone1 connector of the service board, it is required that the board and the backplane are customized, the compatibility is poor.
Embodiments of the present invention provide a method, a service board and a system for transmitting KVM data, which can not only provide a channel with a sufficient bandwidth for the KVM data, but also guarantee compatibility with an existing ATCA system.
In order to achieve the foregoing objectives, the embodiments of the present invention adopt the following technical solutions.
A method for transmitting keyboard, video, mouse (KVM) data includes:
converting, by the KVM data into a KVM packet; and
sending the KVM packet to a switch board through a BASE channel, so that the switch board forwards the KVM packet to a remote console.
A service board includes:
a data conversion module, configured to convert keyboard, video, mouse (KVM) data into a KVM packet; and
a sending module, configured to send the KVM packet obtained by the data conversion module to a switch board through a BASE channel, so that the switch board forwards the KVM packet to a remote console.
A system for transmitting keyboard, video, mouse (KVM) data includes a switch board and a service board, where
the service board is configured to convert the KVM data into a KVM packet, and send the KVM packet to the switch board through a BASE channel, so that the switch board forwards the KVM packet to a remote console; and
the switch board is configured to receive the KVM packet sent by the service board through the BASE channel, and send the KVM packet to the remote console.
In the method, the service board, and the system for transmitting KVM data provided by the embodiments of the present invention, the KVM data on the service board is converted into the KVM packet, and the KVM packet is transferred to the switch board through the BASE channel. The BASE channel has a 1000 Mbps bandwidth, and after being compressed properly, the KVM data only requires a 10 Mbps bandwidth, thus providing a channel with a sufficient bandwidth for the KVM data. Moreover, a switch chip is provided on the service board. A network port on the switch chip replaces an original BASE network port on the service board to form a new BASE channel, so a signal definition of a backplane interface does not need to be modified, thus guaranteeing the compatibility with an existing ATCA system.
To illustrate the technical solutions according to the embodiments of the present invention or in the prior art more clearly, accompanying drawings required for describing the embodiments or the prior art are introduced in the following briefly. Apparently, the accompanying drawings in the following descriptions are merely some embodiments of the present invention, and persons of ordinary skill in the art may further obtain other drawings according to the accompanying drawings without creative efforts.
The technical solutions of the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments to be described are only part of rather than all of the embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a method for transmitting KVM data.
As shown in
101: A service board converts KVM data into a KVM packet.
The service board converts the KVM data into the KVM packet. The service board may convert the KVM data into the KVM packet through an internal KVM over IP chip of the service board, and may also convert the KVM data into the KVM packet through a discrete component, which is not limited in the embodiment of the present invention during specific implementation, and may be specifically selected according to user requirements.
102: Send the KVM packet to a switch board through a BASE channel, so that the switch board forwards the KVM packet to a remote console.
The BASE channel is an inherent channel on the service board, and is generally used in scenarios such as heartbeat detection between boards and data loading during software upgrade only in an ATCA system. Most of the time, data amount is very small, and a bandwidth of 1000 Mbps is not fully used. Therefore, transmission of the KVM data through the BASE channel may guarantee a sufficient bandwidth.
In the embodiment of the present invention, the KVM packet is transmitted through the BASE channel on the service board. The BASE channel has a 1000 Mbps bandwidth, and after being compressed properly, the KVM data only needs a 10 Mbps bandwidth, thus providing a channel with a sufficient bandwidth for the KVM data. Moreover, a BASE network port does not change a definition of an original interface, so a signal definition of a backplane interface does not need to be modified, thus guaranteeing compatibility with an existing ATCA system.
An embodiment of the present invention provides a method for transmitting KVM data. In the embodiment of the present invention, a case in which a switch chip provides two BASE network ports for output from a backplane is taken as an example to specifically describe the method for transmitting KVM data As shown in
The switch chip may be automatically configured after power-on reset, and a processor on the service board does not need to intervene. In this way, during a startup process of the service board, a console may still monitor the switch chip. The automatic configuration function is implemented through a non-volatile memory connected to the switch chip. Configuration data of the chip is burnt in advance in the non-volatile memory, and is automatically loaded into the switch chip after power-on reset of the service board. A KVM over IP module in the service board may be a dedicated KVM over IP integrated chip, and may also be formed by a discrete component. A processor is usually integrated in the KVM over IP chip. The configuration may be automatically completed after the power-on reset of the service board, and the processor on the board does not need to intervene. In this way, the GE switch chip and the KVM over IP chip are completely independent from the service board, and can still work when the service board fails, thus facilitating continuous monitoring and fault locating of the service board.
When only a KVM service exists, as shown in
201: A KVM over IP module included in a service board i.e. A KVM over IP module included in a service board converts KVM data into a KVM packet.
202: Send the KVM packet to a switch chip included in a service board i.e. an internal switch chip of the service board.
203: Send the KVM packet to a switch board through either of two BASE network ports of the switch chip.
204: The switch board forwards the packet to a remote console through a network port of its panel and an external Ethernet switch (LSW).
When a KVM service and a first packet service of an original BASE network port of the service board exist. as shown in
301: An internal switch chip of a service board receives a first packet from an original BASE network port and a KVM packet sent by an internal KVM over IP module of the service board.
302: The switch chip aggregates the first packet and the KVM packet to an aggregated packet.
303: Send the aggregated packet to a switch board through either BASE network port of the switch chip.
304: After receiving the aggregated packet, the switch board sends the KVM packet to a remote console, and sends the first packet to a management board.
The switch board is also connected to the management board, which is not shown in
Furthermore, if the KVM over IP module on the service board starts to work immediately after power-on reset, the KVM over IP module converts the KVM data into the IP packet and sends the IP packet to the console. Executing this type of operation on a lot of service boards inevitably leads to network congestion. Because the number of service boards that can be monitored by the console simultaneously is limited, those service boards that are not monitored do not need to perform a KVM over IP operation to increase ineffective network loads and energy consumption. Therefore, KVM over IP modules of these service boards may be turned off, so that the KVM over IP modules are in an idle or a sleep state. A specific method may be to set the KVM over IP modules to a reset state and instruct the modules to enter the idle or sleep state, for example, turn off a clock or a power source of an internal unit. When a KVM over IP function needs to be started, the BMC may provide a wakeup interrupt signal or a customized level signal. The methods belong to the prior art, and are not be repeatedly described here.
Therefore, the KVM over IP module does not work in a default state, and keeps an idle or a sleep state. The KVM over IP module is started according to the following process. As shown in
401: Execute a monitoring program on a console to specify a certain service board and open a monitoring window
402: The console delivers a command packet for starting KVM data conversion to an external LSW and a switch board through a network port.
403: The switch board forwards the command packet for starting KVM data conversion to a management board.
404: The management board forwards the command packet for starting KVM data conversion to a BMC of a corresponding service board through an IPMB channel.
405: The BMC of the service board wakes up a KVM over IP module of the board to start to perform conversion work of KVM data.
When sending the command packet for starting KVM data conversion to the service board, the console may send the command packet for starting KVM data conversion to the service board through the management board or directly through a BASE channel on a backplane of the service board. As shown in
501: Execute a monitoring program on a console to specify a certain service board and open a monitoring window.
502: The console delivers a command packet for starting KVM data conversion to an external LSW and a switch board through a network port.
503: The switch board directly forwards the command packet for starting KVM data conversion to an internal switch chip of a corresponding service board through a BASE channel.
504: The internal switch chip of the service board wakes up a KVM over IP module of the board to start to perform conversion work of KVM data.
If a user closes the monitoring window of the certain service board, the KVM over IP module is enabled to sleep according to the following process. As shown in
601: A console delivers a command packet for terminating KVM data conversion to an external LSW and a switch board through a network port.
602: The switch board forwards the command packet for terminating KVM data conversion to a management board.
603: The management board forwards the command packet for terminating KVM data conversion to a BMC of a corresponding service board through an IPMB channel.
604: The BMC of the service board instructs a KVM over IP module of the board to enter an idle or a sleep state to no longer perform conversion work of KVM data.
When sending the command packet for terminating KVM data conversion to the service board, the console may send the command packet for terminating KVM data conversion to the service board through the management board or directly through a BASE channel on a backplane of the service board. As shown in
701: A console delivers a command packet for terminating KVM data conversion to an external LSW and a switch board through a network port.
702: The switch board directly forwards the command packet for terminating KVM data conversion to an internal switch chip of a corresponding service board through a BASE channel.
703: The internal switch chip of the service board instructs a KVM over IP module of the board to enter an idle or a sleep state to no longer perform conversion work of KVM data
In the embodiment of the present invention, the KVM packet is transmitted through the BASE channel on the service board. The BASE channel has a 1000 Mbps bandwidth, and after being compressed properly, the KVM data only needs a 10 Mbps bandwidth, thus providing a channel with a sufficient bandwidth for the KVM data. Moreover, the BASE network port does not change a definition of an original interface, so a signal definition of a backplane interface does not need to be modified, thus guaranteeing compatibility with an existing ATCA system.
Moreover, in the embodiment of the present invention, the two BASE network ports of the switch chip can work separately, and when one switch board or network port fails, the KVM data is still available, so the reliability is high.
Furthermore, the console may select a service board to be monitored according to requirements, and remotely control the KVM over IP module on the service board to be started or sleep, thus reducing power consumption and inefficient network loads.
An embodiment of the present invention provides a method for transmitting KVM data. In some cost-sensitive scenarios with low KVM reliability requirements, a switch chip with a smaller number of ports, for example, three ports, may be used. Specifically, as shown in
When only a KVM service exists, as shown in
801: A KVM over IP module included in a service board converts KVM data into a KVM packet.
802: Send the KVM packet to a switch chip included in a service board.
803: Send the KVM packet to a switch board through the only one BASE network port of the switch chip.
804: The switch board forwards the packet to a remote console through a network port of its panel and an external LSW.
When both a KVM service and a first packet service of an original BASE network port of the service board exist, and the first packet is transmitted through the only one BASE network port of the switch chip, as shown in
901: An internal switch chip of a service board receives a first packet from an original BASE network port and a KVM packet sent by an internal KVM over IP module of the service board.
902: The switch chip aggregates the first packet and the KVM packet to an aggregated packet.
903: Send the aggregated packet to a switch board through the only one BASE network port of the switch chip.
904: After receiving the aggregated packet, the switch board sends the KVM packet to a remote console, and sends the first packet to a management board.
The switch board is also connected to the management board, which is not shown in
When the first packet service of the original BASE network port of the service board is transmitted through the network port 1, reference may be made to corresponding description in the prior art for a specific transmission method, which is not be repeatedly described here.
The KVM over IP module does not work in a default state, and keeps an idle or a sleep state. The method for starting the KVM over IP module is the same as those in
In the embodiment of the present invention, the KVM packet is transmitted through the BASE channel on the service board. The BASE channel has a 1000 Mbps bandwidth, and after being compressed properly, the KVM data only needs a 10 Mbps bandwidth, thus providing a channel with a sufficient bandwidth for the KVM data. Moreover, the BASE network port does not change a definition of an original interface, so a signal definition of a backplane interface does not need to be modified, thus guaranteeing compatibility with an existing ATCA system.
Moreover, the internal switch chip on the switch board only needs to be connected to the KVM over IP module and one network port of the original BASE network ports, and only one network port is provided to be connected to the switch board, so the number of interfaces of the switch chip is small, thus saving the cost. Moreover, one original BASE network port is reserved, so even when a BASE network port where the KVM data is located fails, management data communication is not affected.
Furthermore, the console may select a service board to be monitored according to requirements, and remotely control the KVM over IP module on the service board to be started or sleep, thus reducing power consumption and inefficient network loads.
An embodiment of the present invention provides a service board. As shown in
The service board provides two IPMB interfaces, two BASE interfaces, and two FABRIC interfaces. The two IPMB interfaces are connected to two management boards. The two BASE interfaces and two FABRIC interfaces are connected to two switch boards respectively. A BASE channel must adopt 10/100/1000 BASE-T, and a bandwidth is 10/100/1000 Mbps adaptive. For an FABRIC channel, multiple options exist. The FABRIC channel may be, such as, GE, 10GE, PCI Express, and InfiniBand. In addition, ATCA architecture further defines an update channel and a synchronous clock, which are used for data backup between two boards or supporting TDM services.
A backplane interface of an ATCA board is divided into three zones from bottom to top: Zone1, Zone2, and Zone3. The Zone1 zone includes a connector, which is used for transferring -48 V power source, an IPMB channel, and a slot number of a board. The Zone2 zone includes 1 to 5 connectors, which are used for connecting the BASE channel, the FABRIC channel, and the update channel, and synchronizing clock information, where generally, the service board has two connectors and the switch board has five connectors. The Zone3 zone is used for communicating with a rear board, for example, providing an external service interface, and a customized connector may be used. The types of the connectors in the Zone1 and Zone2 are defined in the ATCA specification and cannot be changed.
The data conversion module 1001 is configured to convert KVM data into a KVM packet. The data conversion module 1001 is an internal KVM over IP chip of the service board or a discrete component.
The sending module 1002 is configured to send the KVM packet obtained by the data conversion module 1001 to a switch board through a BASE channel, so that the switch board forwards the KVM packet to a remote console.
Furthermore, as shown in
The first sending unit 10021 is configured to send the KVM packet obtained by the data conversion module 1001 to the first switch chip 10022.
The first switch chip 10022 is configured to send the KVM packet to the switch board through either of the two BASE network ports (the network port 100221 and the network port 100222).
Meanwhile, as shown in
The first switch chip 10022 is further configured to receive a first packet from the original BASE network port 1003 of the service board, aggregate the first packet and the KVM packet, and send the aggregated packet to the switch board by using either of the two BASE network ports included in the first switch chip 10022, so that the switch board sends the KVM packet to the remote console, and sends the first packet to the management board.
Furthermore, as shown in
The second sending unit 10023 is configured to send the KVM packet obtained by the data conversion module 1001 to the second switch chip 10024.
The second switch chip 10024 sends the KVM packet to the switch board through the only one BASE network port 100241.
Meanwhile, as shown in
The second switch chip 10024 is further configured to receive a first packet from the original BASE network port 10032 of the service board, aggregate the first packet and the KVM packet, and send the aggregated packet to the switch board through the only one BASE network port 100241 included in the second switch chip 10024, so that the switch board sends the KVM packet to the remote console, and sends the first packet to the management board.
Furthermore, as shown in
The detection module 1004 is configured to, before the data conversion module 1001 converts the KVM data into the KVM packet, detect whether a command packet for starting KVM data conversion, where the command packet for starting KVM data conversion is sent by the remote console, is received, and is further configured to detect whether a command packet for terminating KVM data conversion, where the command packet for terminating KVM data conversion is sent by the remote console, is received.
The trigger module 1005 is configured to: when the detection module 1004 detects that the command packet for starting KVM data conversion is received, activate the data conversion module 1001 to convert the KVM data into the KVM packet, and is further configured to: when the detection module 1004 detects that the command packet for terminating KVM data conversion is received, trigger the data conversion module 1001 to terminate the conversion of the KVM data into the KVM packet.
It should be noted that, for other description of functional modules included in the service board according to the embodiment of the present invention, reference may be made to the description of the corresponding parts in the first embodiment to the third embodiment, and details are not repeatedly described here in the embodiment of the present invention.
An embodiment of the present invention further provides a system for transmitting KVM data. As shown in
The service board 1101 is configured to convert keyboard, video, mouse (KVM) data into a KVM packet, and send the KVM packet to the switch board 1102 through a BASE channel, so that the switch board forwards the KVM packet to a remote console.
The switch board 1102 is configured to receive the KVM packet sent by the service board 1001 through the BASE channel, and send the KVM packet to the remote console.
It should be noted that, for other description of functional modules included in the system according to the embodiment of the present invention, reference may be made to description of corresponding apparatus parts in the first embodiment to the third embodiment and the fourth embodiment, and details are not repeatedly described here in the embodiment of the present invention.
In the embodiment of the present invention, the KVM packet is transmitted through the BASE channel on the service board. The BASE channel has a 1000 Mbps bandwidth, and after being compressed properly, the KVM data only needs a 10 Mbps bandwidth, thus providing a channel with a sufficient bandwidth for the KVM data
Moreover, a BASE network port does not change a definition of an original interface, so a signal definition of a backplane interface does not need to be modified, thus guaranteeing compatibility with an existing ATCA system.
Furthermore, the console may select a service board to be monitored according to requirements, and remotely control the KVM over IP module on the service board to be started or sleep, thus reducing power consumption and inefficient network loads.
Through the foregoing description of the embodiments, persons skilled in the art may clearly understand that the present invention may be implemented by software plus necessary universal hardware, and definitely may also be implemented by hardware, but in most cases, the former is a preferred implementation manner. Based on such understanding, the technical solutions of the present invention or the part that makes contributions to the prior art can be substantially embodied in the form of a software product. The computer software product may be stored in a readable storage medium such as a floppy disk of a computer, a hard disk or an optical disk, and contain several instructions to instruct a computer device (for example, a personal computer, a server, or a network device) to perform the method described in the embodiments of the present invention.
The foregoing description is only the specific implementation of the present invention, but is not intended to limit the protection scope of the present invention. Any change or replacement that can be easily thought of by persons skilled in the art within the technical scope disclosed by the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
This application is a continuation of International Application No. PCT/CN2011/074177, filed on May 17, 2011, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2011/074177 | May 2011 | US |
Child | 13465455 | US |