The invention provides a memory expansion method, a memory
access method, a memory expansion device and a memory access
system, which are applied to a primary switch, and the method comprises the following steps: receiving an expansion memory resource application request initiated by a computing node
server, and establishing a routing connection between the computing node
server and a secondary switch; and forwarding the application request and the routing information of the computing node
server and the secondary switch to the secondary switch, so that the secondary switch establishes a
memory mapping table of the computing node server IP and the corresponding
extended memory address according to the routing information and the computing node server IP carried by the application request. According to the invention, through the two-stage switch, an
extended memory resource shared by a plurality of computing node servers can be constructed, and the overall memory
utilization rate of the
system is improved; requests for expanding memory resources are made through the two stages of switches, the memory capacity of a computing node server can be expanded in real time, and the total amount of available memory resources of a single computing node is increased.