METHOD AND SYSTEM FOR INTER-PROCESS COMMUNICATION

    公开(公告)号:US20240231974A1

    公开(公告)日:2024-07-11

    申请号:US18443694

    申请日:2024-02-16

    发明人: Xiang LI

    IPC分类号: G06F9/54

    CPC分类号: G06F9/547 G06F9/546

    摘要: This specification provides methods and systems for inter-process communication. One of the methods includes, in response to monitoring a service registration in a Dbus bus of Linux®, adding a service synchronously in an Android® service manager. The method further includes in response to monitoring a service added in Android®, registering a service synchronously in the Dbus bus of Linux®. The method further includes when a Linux® process and an Android® process issue a service calling request, converting bidirectionally data structure transmitted between the Dbus and the Binder. This method can realize mutual calling of services between different inter-processes based on the synchronized registration/added services, thereby effectively simplifying an implementation process of bidirectional communication between the Linux® process and the Android® process.