Patent ID: 11892953
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. An interprocess communication method, comprising:
making a first determination that a data length of communication data of a first process is less than a size of a first memory space, wherein the communication data is for data exchange between the first process and a second process;
allocating the first memory space to the first process for access;
storing, in response to the first determination, communication data of the first process in the first memory space;
allocating a virtual memory space to the second process to enable the second process to access the communication data;
mapping a physical memory page in the first memory space to the virtual memory space; and
storing, in response to a second determination, the communication data as a data file, wherein the second process accesses the communication data using metadata of the data file in response to the data length of the communication data being greater than the size of the first memory space.