Android Core Analytics-----Android Phone System-Overview

Source: Internet
Author: User

Overview of the Android phone system

First of all, put aside all the Android concepts to study the most basic description of the telephone system. Our phone was first used for telephone calls, followed by a phone book, followed by Pim, followed by a Web application, followed by cloud computing, and then by the need for our phones to be omnipotent and replace the PC. But the basic functions as a telephone are as follows:

0) Dial the phone, answer the phone, hang up the phone, send SMS, network connection, PIM management

1) as the telephone operators provide us with call waiting, conference calls and other supplementary services, so our mobile phone needs to manage multi-channel calls, how to manage?

2) Call, we want to broadcast the call ring tone, when we need to switch voice channel, this and the multimedia system has dealt with, such as headphones plugged in, there is a Bluetooth headset connected, the system how to manage and switch?

3) How to establish the Internet access network (such as GSM GPRS), how to connect PPP and connect to the Linuxsocket channel? How does the system Manage data connections?

4) When the AP communicates with the modem through the AT command, how to turn the at instruction into a specific operation function, how to manage the response of the modem to us, at the channel, how to manage the data channel?

5) How does the SIM card phone book manage?

Above the basic questions about the phone, the Android phone system designer has to answer the questions. How does the design manage the framework and what concepts are presented to express it? So to analyze the phone part of Android, or need to understand the telephone implementation of the background knowledge, communication protocol, the general framework.

We go back to the basic structure of the telephone system, first grasp the general framework of the telephone module from the air, first from the sky. The diagram I gave is a generic smartphone frame that basically outlines the composition of all mobile phone modules, and of course Android's phone system.

The smart-machine architecture is typically the application processor +modem. The application processor and modem connection using the serial port or USB. In a hardware serial port to achieve the simultaneous realization of data transmission and control of the modem, it is necessary to implement a multiplexing protocol (GSM TS07.10), at the bottom we on the basis of Multiplexing virtual two serial ports, one for the CMD channel, one for the data channel. All the control pathways of the telephone are on this connecting channel.

Ril,radio Interface Layer. This layer is a protocol conversion layer, mobile phone framework needs to adapt to a variety of modem access to the system, and for different modems have different characteristics, at instruction format or response is different, but this feature in the design of the application can not be fully considered and compatible. So designers in the design of the telephone system, the establishment of a virtual telephone system, for the virtual telephone system set the standard function, the upper layer of telephone management is based on the function of these standards. Ril, however, translates the standard functions of a virtual telephone system into an at instruction for the actual modem being used.

The Android designer has designed the telephony system into three parts.

Andoird's phone service is actually phoneapp. Gsmphone (Cdmaphone) is the object of the phone service core, which contains the following related objects.

our analytical task is to make clear the relationship between these objects and the data transfer relationships between objects. First we give the following framework of the Android phone system, in order to have an overview of the Android phone system, and then from the point of view of the data flow, as well as the reference relationship of the object to analyze the system. The following is an overall frame chart of the Android phone system.

Android Core Analytics-----Android Phone System-Overview

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.