Android security Model Android security mechanism (process communication)

Source: Internet
Author: User

Process communication is the mechanism by which application processes Exchange data and service objects through the operating system. Traditional interprocess communication (IPC) of the Linux operating system is available in several ways, such as pipelines, command pipelines, semaphores, shared memory, Message Queuing, and network and UNIX sockets. While in theory Android systems can still use traditional Linux process communication mechanisms, in practice, Android applications rarely use these traditional methods. In the Android application design architecture, even the concept of process is not visible, instead of the components from the point of view, such as Intent,activity,service,content Provider, to implement the communication between components. Android applications typically consist of a series of activity and service, and the General Service runs in a separate process, and activity can run in the same process or in a different process. Activities and services in different processes work together to achieve complete application functionality, and communication is required to obtain data and service. This is the return to the ancient Client-server model. Client-server-based computing model is widely used in various fields of distributed computing, such as Internet, database access and so on. In embedded smart handheld devices, this client-server approach is ubiquitous in order to provide functionality to application developers in a unified mode. Media playback, audio and video devices, sensor devices (acceleration, azimuth, temperature, light intensity, etc.) are managed by different server (servers) in the Android system, and applications that use the service can only initiate requests to the server as a client.


Android security Model Android security mechanism (process communication)

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.