Invention Publication
- Patent Title: INTER-PROCESS COMMUNICATION METHOD AND APPARATUS
-
Application No.: US18160671Application Date: 2023-01-27
-
Publication No.: US20230168953A1Publication Date: 2023-06-01
- Inventor: Nan Wang , Yifei Qi , Qingsong Yu , Ming Fu
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Priority: CN 2010753141.6 2020.07.30
- Main IPC: G06F9/54
- IPC: G06F9/54 ; G06F3/06

Abstract:
Example inter-process communication methods and apparatus are descried. One example method includes writing, based on a calling convention, communication information into a register group of a first execution entity of a sending process. First data of target data is written into a stack memory of the first execution entity. The communication information includes a first value indicating a data amount of the first data, and the target data is data to be sent by the sending process to a first receiving process. Information in the register group of the first execution entity is replicated to a context of the first execution entity. The first data from the stack memory of the first execution entity is replicated to a stack memory of a second execution entity of the first receiving process based on the first value in the context of the first execution entity and the address of the stack memory.
Information query