• Home
Name Date Size #Lines LOC

..--

frameworks/12-May-2024-3,6073,105

interfaces/kits/12-May-2024-322228

BUILD.gnD12-May-20242.5 KiB8075

LICENSED12-May-202410.1 KiB177150

README.mdD12-May-20242 KiB3824

README_zh.mdD12-May-20241.9 KiB3824

README.md

1# LiteIPC<a name="EN-US_TOPIC_0000001084861846"></a>
2
3-   [Introduction](#section11660541593)
4-   [Directory Structure](#section161941989596)
5-   [Usage](#section1312121216216)
6-   [Repositories Involved](#section1371113476307)
7
8## Introduction<a name="section11660541593"></a>
9
10LiteIPC is a lite module for inter-process communication \(IPC\). It provides IPC capabilities for the system service framework and is implemented in both the kernel space and user space. In the kernel space, LiteIPC provides functionalities such as inter-process message sending and receiving, IPC memory management, timeout notification, and death notification. In the user space, LiteIPC provides marshalling and unmarshalling capabilities and distributes IPC callback messages and death messages.
11
12## Directory Structure<a name="section161941989596"></a>
13
14```
15/foundation/communication/ipc_lite
16├── frameworks         # Framework code
17│   └── liteipc
18│       ├── include   # Header files
19│       ├── src       # Source code
20├── interfaces         # APIs
21│   └── kits          # IPC, marshalling, and unmarshalling APIs
22```
23
24## Usage<a name="section1312121216216"></a>
25
26LiteIPC provides the IPC, marshalling, and unmarshalling capabilities. The IPC capability is encapsulated by the samgr\_lite module. You can use the service-related APIs provided by samgr\_lite and the marshalling and unmarshalling APIs provided by LiteIPC to invoke services across processes. For details about how to develop, register, obtain, and invoke services, see the  [samgr\_lite repository](en-us_topic_0000001081604584.md).
27
28## Repositories Involved<a name="section1371113476307"></a>
29
30[Intelligent Soft Bus subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/intelligent-soft-bus.md)
31
32**communication\_ipc\_lite**
33
34[communication\_softbus\_lite](https://gitee.com/openharmony/communication_softbus_lite/blob/master/README.md)
35
36[communication\_wifi\_aware](https://gitee.com/openharmony/communication_wifi_aware/blob/master/README.md)
37
38

README_zh.md

1# LiteIPC组件<a name="ZH-CN_TOPIC_0000001084861846"></a>
2
3-   [简介](#section11660541593)
4-   [目录](#section161941989596)
5-   [说明](#section1312121216216)
6-   [相关仓](#section1371113476307)
7
8## 简介<a name="section11660541593"></a>
9
10LiteIPC为轻量级进程间通信组件,为面向服务的系统服务框架提供进程间通信能力,分为内核实现和用户态实现两部分,其中内核实现完成进程间消息收发、IPC内存管理、超时通知和死亡通知等功能;用户态提供序列化和反序列化能力,并完成IPC回调消息和死亡消息的分发。
11
12## 目录<a name="section161941989596"></a>
13
14```
15/foundation/communication/ipc_lite
16├── frameworks         # 框架代码
17│   └── liteipc
18│       ├── include   # 组件内部头文件存放目录
19│       ├── src       # 源代码存放目录
20├── interfaces         # 轻量级进程间通信组件接口层
21│   └── kits          # 进程间通信及序列化反序列化接口
22```
23
24## 说明<a name="section1312121216216"></a>
25
26LiteIPC包括进程间通信能力和序列化反序列化能力,其中进程间通信能力已由samgrlite组件进一步封装,开发者可以通过samgrlite提供的服务相关接口配合LiteIPC提供的序列化、反序列化接口完成进程间服务能力调用,服务开发注册、获取和调用的流程请参考[samgrlite组件README](zh-cn_topic_0000001081604584.md)。
27
28## 相关仓<a name="section1371113476307"></a>
29
30[分布式软总线子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%88%86%E5%B8%83%E5%BC%8F%E8%BD%AF%E6%80%BB%E7%BA%BF%E5%AD%90%E7%B3%BB%E7%BB%9F.md)
31
32**communication\_ipc\_lite**
33
34[communication\_softbus\_lite](https://gitee.com/openharmony/communication_softbus_lite/blob/master/README_zh.md)
35
36[communication\_wifi\_aware](https://gitee.com/openharmony/communication_wifi_aware/blob/master/README_zh.md)
37
38