-
公开(公告)号:US20240126600A1
公开(公告)日:2024-04-18
申请号:US18393844
申请日:2023-12-22
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Yu PENG , Hongyang YANG , Xiaolong XIE
CPC classification number: G06F9/5005 , G06F9/3004
Abstract: This application provides a service process invoking method and a related apparatus. The method includes: An application process obtains a context of a binder process; the application process obtains a handle of a service process based on the context of the binder process; the application process runs a program of the binder process based on the context of the binder process, to obtain a context of the service process based on the handle of the service process; and the application process runs a program of the service process based on the context of the service process, to respond to a binder request of the application process, where the binder request is used to request a system service provided by the service process. In embodiments of this application, actual power consumption is accurately reflected.