Unlock instant, AI-driven research and patent intelligence for your innovation.

A cross-process communication method, device and equipment

A communication method and cross-process technology, applied in the terminal field, which can solve problems such as unavailability of functions

Active Publication Date: 2021-12-14
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, if the version of the AIDL file used by other applications and this application is different, it is very likely that an error will be reported during the cross-process service call, and there will be a problem of unavailable functions

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A cross-process communication method, device and equipment
  • A cross-process communication method, device and equipment
  • A cross-process communication method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] For ease of understanding, some descriptions of concepts related to the embodiments of the present application are given by way of example for reference.

[0038] Cross-process communication refers to the communication between multiple applications installed on the same terminal device. That is to say, one or more application programs installed on the terminal device access another application program installed on it, and the first application program to be accessed will also be expressed as a local application or a server (Service) hereinafter. The second application program of the program is expressed as a third-party application or client (client).

[0039] AIDL files are manually written by developers, and the operating system can convert AIDL files into JAVA files through AIDL conversion tools.

[0040] System software package refers to the installation package of system software. System software is the interface between computer hardware and users. The most repr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the present application provide a cross-process communication method, device, and device. The method is applied to a terminal device. The terminal device includes a first application program and at least one second application program. At least one second application program accesses the first application program. A service in an application program, the method is used to improve the compatibility of AIDL files of different versions, and improve the reliability of cross-process calling services. The method includes: at least one second application program sends an access request to the first application program through cross-process communication, because the access request includes an identifier uniquely corresponding to the target service interface of the service, so the first application program determines the target service interface according to the identifier, And execute the method object corresponding to the target service interface to generate an execution result.

Description

technical field [0001] The present application relates to the technical field of terminals, and in particular to a cross-process communication method, device and equipment. Background technique [0002] Processes in the Android (Android) system cannot share memory, therefore, some mechanisms need to be provided for data communication between different processes. In order to allow other applications to access the services provided by this application, the Android system uses an Android interface definition language (android interface definition language, AIDL) to open the interface of the services provided by this application, and provide developers through An AIDL tool that automatically converts AIDL files (usually .AIDL files) written by AIDL into intermediate files (usually .java files). The AIDL tool is integrated into the Android Studio (Android development platform) tool chain, which is automatically triggered and executed when compiling. The AIDL tool provides the i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/541G06F9/546G06F9/547H04W48/08
Inventor 徐吉毛天阳
Owner HUAWEI TECH CO LTD