The invention provides a switch, a switch cabinet and a
data exchange method. The switch specifically comprises at least two interface modules, an exchange module and an uplink
message processing module. Wherein the at least two interface modules comprise a first interface and a second interface, the first interface is configured to send and receive a first message based on a first protocol, and the second interface is configured to send and receive a second message based on a second protocol; the interface module is used for acquiring a to-be-forwarded message, wherein the to-be-forwarded message is one of the first message and the second message; the uplink
message processing module is used for receiving a to-be-forwarded message from the interface module and obtaining first indication information corresponding to the to-be-forwarded message, and the first indication information is used for indicating a target interface corresponding to the to-be-forwarded message; and the switching module is used for receiving the to-be-forwarded message and the first indication information from the uplink
message processing module, and sending the to-be-forwarded message to a corresponding destination interface according to the first indication information. The switch receives, processes, exchanges and forwards messages of various different protocols, the cost and
power consumption of switch equipment are reduced, local resources (a memory, a hard disk, an accelerator and the like) which are originally configured in a
server and have overflow conditions can be externally arranged in a cabinet to become
pooling resources, the cost and
power consumption of a
system are further saved, and the service life of the
system is prolonged. And the limitation that local resources are only used by the
server is overcome, the
utilization rate of the resources is improved, flexible configuration of the resources is realized, and various novel services can be realized.