System for inter-process communication under multiple services in Android system and implementation method of system
A technology of inter-process communication and Android system, applied in the direction of program control device, software design, etc., can solve problems affecting the normal operation of the system, reduce overhead and improve system performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] A multi-service inter-process communication system in an Android system, such as figure 2 As shown, it includes the service user Client, the manager Service of the Binder connection pool, the AIDL file corresponding to the process service, and the Binder class corresponding to the process service; the AIDL file corresponding to the process service specifies the service interface provided by different process services, and the process service The corresponding Binder class implements the corresponding service interface; the manager Service of the Binder connection pool manages the Binder class of its corresponding Java interface, and the Binder class has a query function. The manager Service of the connection pool provides an identification code with the unique identifier of the process service, and the manager Service of the Binder connection pool returns the Binder class corresponding to the process service to the service user Client, and the service user Client obtain...
Embodiment 2
[0036] The implementation method of the inter-process communication system under the multi-service in the Android system described in embodiment 1, such as figure 2 As shown, the specific steps include:
[0037](1) Establish the AIDL file of the manager Service of the Binder connection pool, use the IDE tool to automatically generate the Java interface corresponding to the AIDL file of the manager Service of the Binder connection pool, and create the Binder class of the corresponding Java interface at the same time; the Binder class is used for Query the required process service through the parameter binderCode, and return the remote object Binder of the specific implementation class of the required process service, binderCode refers to the unique identification code of the process service;
[0038] (2) Establish the AIDL file corresponding to each process service, use the IDE tool to automatically generate the Java interface corresponding to the AIDL file corresponding to ea...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com