简体   繁体   English

电话中的RIL是什么?

[英]What is RIL in telephony?

Can any one help me out to understand about RIL in telephony. 谁能帮助我了解电话中的RIL。

I did hear RIL word in telephony domain. 我确实在电话领域听到了RIL单词。 Can you please let me know what it is exactly. 你能让我知道它到底是什么。

Radio Interface Layer : It is the bridge between Android phone framework services and the hardware. 无线电接口层 :它是Android手机框架服务和硬件之间的桥梁。 It consist of : 它包括:

RIL Daemon :- The RIL Daemon initializes the Vendor RIL, processes all communication from Android telephony services and dispatches calls to the Vendor RIL as solicitated commands. RIL守护程序 :-RIL守护程序初始化供应商RIL,处理来自Android电话服务的所有通信,并将呼叫作为请求的命令调度到供应商RIL。 RILD will be initialized during the Android system start up. RILD将在Android系统启动期间初始化。 Each vendor RIL has RIL_Init function. 每个供应商RIL都有RIL_Init函数。

Vendor RIL :- It is a library specific to each modem. 供应商RIL :-这是每个调制解调器专用的库。 The radio-specific vendor RIL of ril.h that processes all communication with radio hardware and dispatches calls to the RIL Daemon(rild) through unsolicited commands. ril.h的特定于无线电的供应商RIL,用于处理与无线电硬件的所有通信,并通过未经请求的命令将调用调度到RIL守护程序(rild)。

Android Telephony framework has one interface file Ril.java which keeps track of each incoming/outgoing request that has been sent/receive to RIL.It basically forms socket connection wih RIL daemon. Android Telephony框架具有一个接口文件Ril.java,该文件跟踪已发送到RIL的每个传入/传出请求,它基本上与RIL守护程序形成套接字连接。 RIL daemon links framework to vendor Ril.Each mobile vendor will have their own implementation of vendor RIl and available in .so(shared library).The design and implementation of vendor ril depends upon the modem used. RIL守护程序将框架链接到供应商Ril。每个移动供应商都将拥有自己的供应商RIl实现,并且可以在.so(共享库)中使用。供应商ril的设计和实现取决于所使用的调制解调器。

Initialisation :- When power on,phone process starts and android telephony framework is initialized,Framework makes socket connection to ril damon ,the ril damon finds the path of vendor ril library from system properties and loads vendor ril in form of.so library. 初始化 :-开机后,电话进程启动,并且初始化android电话框架,Framework与ril damon建立套接字连接,ril damon从系统属性中找到供应商ril库的路径,并以.so库的形式加载供应商ril。 The vendor ril is first intialized by calling its RIL_INIT method. 首先通过调用其RIL_INIT方法来初始化供应商ril。 The ril daemon part of RIL calls RIL_REGISTER to provide reference of each vendor ril functions to the telephony frmaework. RIL的ril守护程序部分调用RIL_REGISTER来为电话框架提供每个卖方ril函数的引用。

More information:- https://wladimir-tm4pda.github.io/porting/telephony.html https://source.android.com/devices/tech/connect/ril 更多信息: -https : //wladimir-tm4pda.github.io/porting/telephony.html https://source.android.com/devices/tech/connect/ril

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM