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

Electronic device, method for restricting interprocess communication thereof, and storage medium

An inter-process communication and electronic device technology, which is applied in the directions of inter-program communication, multi-programming device, program control design, etc. Effect

Active Publication Date: 2019-01-01
OPPO CHONGQING INTELLIGENT TECH CO LTD
View PDF9 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing electronic devices do not have a monitoring mechanism for inter-process communication using the Binder mechanism, and cannot optimize the inter-process communication process, resulting in low system fluency

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
  • Electronic device, method for restricting interprocess communication thereof, and storage medium
  • Electronic device, method for restricting interprocess communication thereof, and storage medium
  • Electronic device, method for restricting interprocess communication thereof, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific embodiments described here are only used to explain the present application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

[0018] The terms "first", "second", etc. in this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-e...

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

A method of limiting interprocess communication is disclosed. The method comprises: When a client sends a binder request to a server, intercepting binder request, obtaining the number of binder threads consumed by the current client, the total number of binder threads of the server, obtaining the share of the client, and obtaining the total share of all clients communicating with the server; calculating a first ratio of the number of binder threads to the total number of binder threads, and calculating a second ratio of the share to the total share; judging whether the first ratio is greater than the second ratio; if so, the intercepted binder request being added to the end of the waiting queue; wherein, the binder request in the wait queue is processed after a set period of time. An electronic device and a storage medium are also disclosed. In the manner described above, the present application is capable of limiting the first ratio of the number of binder threads consumed by the client to the total number of binder threads on the server to a second ratio that varies in real time, thereby ensuring the smoothness of the system.

Description

technical field [0001] The invention relates to the technical field of electronic equipment, in particular to an electronic device, a method for limiting communication between processes and a storage medium thereof. Background technique [0002] At present, with the continuous development of science and technology, electronic devices such as smart phones have gradually become the necessities of people's daily life. [0003] The Android system is a common operating system for electronic devices such as smartphones. Two processes in the Android system usually need to communicate, and the user space between the processes cannot be shared, so the communication between the two processes is usually Binder mechanism is needed to realize communication. The existing electronic devices do not have a monitoring mechanism for inter-process communication using the Binder mechanism, and cannot optimize the inter-process communication process, resulting in low system fluency. Contents o...

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/547G06F2209/541G06F2209/548
Inventor 周明君方攀陈岩
Owner OPPO CHONGQING INTELLIGENT TECH CO LTD