Cross-process communication method, device and equipment

A communication method and cross-process technology, applied in the field of cross-process communication methods, devices and equipment, can solve problems such as unavailability of functions, and achieve the effects of improving compatibility and reliability.

Active Publication Date: 2019-12-13
HUAWEI TECH CO LTD
View PDF7 Cites 10 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
  • Cross-process communication method, device and equipment
  • Cross-process communication method, device and equipment
  • 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

The embodiment of the invention provides a cross-process communication method, device and equipment. The method is applied to the terminal equipment, the terminal equipment comprises a first application program and at least one second application program, the at least one second application program accesses services in the first application program, and the method is used for improving the compatibility of AIDL files of different versions and improving the reliability of cross-process calling services. The method comprises the following steps: the at least one second application sends an access request to the first application through cross-process communication, and because the access request comprises an identifier uniquely corresponding to the target service interface of the service, the first application determines the target service interface according to the identifier and executes 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 Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/541G06F9/546G06F9/547H04W48/08
Inventor 徐吉毛天阳
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products