Method for host access to network device-managed memory pool
AssigneeHuawei Technologies Co., Ltd.
InventorsHui Yuan, Yinben Xia
Life of this patent
Estimating the term…
Abstract
In accordance with an embodiment, a communication method includes: receiving, by a first host, a memory access address sent by a network device, wherein the memory access address points to a memory unit in a first memory pool, the network device is connected to the first host, the network device is configured to switch and forward a service of the first host, and the network device is further configured to manage the first memory pool; and in response to memory of the first host satisfying a preset condition, accessing, by the first host, the memory unit based on the memory access address.
Claims20
A communication method, comprising:
- satisfying, by a memory of a first host, a preset condition;
- in response to the memory of the first host satisfying the preset condition, sending, by the first host, a request message to a network device, wherein the request message is configured to request memory in a first memory pool;
- receiving, by the first host, a memory access address sent by the network device, wherein the memory access address points to a memory unit in the first memory pool, the network device is connected to the first host, the network device is configured to switch and forward a service of the first host, and the network device is further configured to manage the first memory pool;
- accessing, by the first host, the memory unit based on the memory access address;
- no longer needing, by the first host, to use the memory unit;
- and
- in response to no longer needing, by the first host, to use the memory unit, sending, by the first host, a notification message to the network device, wherein the notification message comprises the memory access address to enable the network device to release the memory unit.
A communication method, comprising:
- receiving, by a network device, a request message sent by a first host based on a memory of the first host satisfying a first condition, wherein the request message comprises a request for memory in a first memory pool, the network device is connected to the first host, the network device is configured to switch and forward a service of the first host, and the network device is further configured to manage the first memory pool;
- sending, by the network device, a memory access address to the first host in response to the request message, wherein the memory access address points to a memory unit in the first memory pool;
- providing, by the network device, access to the first memory pool to the first host;
- receiving, by the network device, a notification message sent by the first host based on the first host not needing the memory unit, wherein the notification message comprises the memory access address;
- and
- releasing, by the network device based on the notification message, the memory unit corresponding to the memory access address.
A communication apparatus configured to be used in a first host, the communication apparatus comprising:
- a communication circuit configured to:
- send a request message to a network device in response to a memory of the first host satisfying a preset condition, wherein the request message is configured to request memory in a first memory pool,
- receive a memory access address sent by the network device in response to the request message, wherein the memory access address points to a memory unit in the first memory pool, the network device is configured to be connected to the first host, the network device is configured to switch and forward a service of the first host, and manage the first memory pool,
- in response to the first host no longer needing to use the memory unit, send a notification message to the network device, wherein the notification message comprises the memory access address to enable the network device to release the memory unit;
- and
- a processor configured to access the memory unit based on the memory access address when the memory of the first host satisfies the preset condition.
Dependencies are inferred from the claim text.