Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Cross-process communication method and device, electronic equipment and storage medium

A communication method and cross-process technology, applied in the field of application development, can solve problems such as low communication efficiency

Pending Publication Date: 2021-04-02
WUBA
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In order to achieve cross-process communication between remote services and applications, you need to use the Interface Definition Language (Android Interface Definition Language, AIDL). In the process of using AIDL to achieve cross-process communication, you need to establish a manager between the client and the server. Usually this The manager also runs under an independent process, which is different from the processes of the client and the server. The communication between the client and the server needs to be forwarded through this manager, that is, the cross-process communication between the client and the server Including the communication between the client and the manager and the communication between the manager and the server, each of the above communication processes is an IPC. It can be seen that the cross-process communication between the client and the server needs to go through at least two IPCs. less efficient

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 and device, electronic equipment and storage medium
  • Cross-process communication method and device, electronic equipment and storage medium
  • Cross-process communication method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0080] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0081] figure 1 A schematic structural diagram of a cross-process communication system provided by the embodiment of this application, such as figure 1 As shown, the cross-process communication system includes: a demand process 1 , a manager 2 , a target process 3 and a content provider 4 . The demand process 1 refers to the process that generates the cross-process communication demand. Correspondingly, the process called by the demand process 1 may be called t...

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 and device, electronic equipment and a storage medium. The method comprises the steps that a content provider receives a call request transmitted by a demand process, and transmits a method feature of a target process to a manager, the manager determines a target operation entrance according to the method characteristicsof the target process and receives the target operation entrance fed back by the manager, so that the method content of the target process can be called through the operation entrance of the target process, and cross-process communication between the demand process and the target process is realized. Therefore, according to the embodiment of the invention, the calling of the target process can becompleted simply through the IPC between the demand process and the manager once, and the cross-process communication efficiency is higher.

Description

technical field [0001] The present application relates to the field of application program development, and in particular to a cross-process communication method, device, electronic equipment and storage medium. Background technique [0002] Inter-Process Communication (Inter-Process Communication, IPC) refers to the technology or method of transmitting data or signals between at least two processes. In order to improve the performance of the application program, in many cases, it is necessary to call remote services, and the remote services are separated from the caller. Running in different processes, at this time, the calling process of the caller to the remote service is cross-process communication, for example, multiple applications share the same background service (remote service), that is, a remote service communicates with multiple applications across processes . [0003] In order to achieve cross-process communication between remote services and applications, you ...

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
IPC IPC(8): G06F9/54H04L12/741H04L45/74
CPCG06F9/54H04L45/54G06F9/547
Inventor 李志强
Owner WUBA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products