CN110023907A - 一种处理方法及装置 - Google Patents
一种处理方法及装置 Download PDFInfo
- Publication number
- CN110023907A CN110023907A CN201780074368.4A CN201780074368A CN110023907A CN 110023907 A CN110023907 A CN 110023907A CN 201780074368 A CN201780074368 A CN 201780074368A CN 110023907 A CN110023907 A CN 110023907A
- Authority
- CN
- China
- Prior art keywords
- thread
- system service
- binder
- threshold
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/545—Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/302—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3442—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for planning or managing the needed capacity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5055—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering software capabilities, i.e. software resources associated or available to the machine
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/482—Application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/48—Indexing scheme relating to G06F9/48
- G06F2209/485—Resource constraint
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5011—Pool
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5018—Thread allocation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
一种处理方法及装置,用于Binder通信的过程中,解决了Binder线程耗尽,影响安卓系统的正常通信服务的问题。该处理方法包括:当一个应用的一个应用进程的应用线程数量大于或等于第一阈值时,确定系统服务进程中各个接口中应用进程占用的Binder线程的数量(S301),应用进程的一个应用线程对应系统服务进程中的一个Binder线程;保持系统服务进程中至少一个接口中应用进程占用的Binder线程的数量不大于第二阈值(S302)。
Description
PCT国内申请,说明书已公开。
Claims (24)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710931292 | 2017-10-09 | ||
CN2017109312924 | 2017-10-09 | ||
PCT/CN2017/106193 WO2019071616A1 (zh) | 2017-10-09 | 2017-10-13 | 一种处理方法及装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110023907A true CN110023907A (zh) | 2019-07-16 |
CN110023907B CN110023907B (zh) | 2021-08-20 |
Family
ID=66101191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201780074368.4A Active CN110023907B (zh) | 2017-10-09 | 2017-10-13 | 一种处理方法及装置 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20200257558A1 (zh) |
EP (1) | EP3674894A4 (zh) |
CN (1) | CN110023907B (zh) |
WO (1) | WO2019071616A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113220495B (zh) * | 2021-05-24 | 2024-04-16 | 浙江大华技术股份有限公司 | 一种进程异常事件处理方法、装置、电子设备及存储介质 |
CN116048771B (zh) * | 2022-08-15 | 2023-10-20 | 荣耀终端有限公司 | 一种资源调度方法及相关设备 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102147746A (zh) * | 2010-03-05 | 2011-08-10 | 微软公司 | 动态线程池管理 |
CN102325148A (zh) * | 2011-05-25 | 2012-01-18 | 重庆新媒农信科技有限公司 | 一种WebService服务调用方法 |
CN102486740A (zh) * | 2010-12-03 | 2012-06-06 | 中国科学院沈阳自动化研究所 | 一种多线程实时数据处理装置及方法 |
CN103246552A (zh) * | 2012-02-14 | 2013-08-14 | 腾讯科技(深圳)有限公司 | 防止线程出现阻塞的方法和装置 |
CN106385341A (zh) * | 2016-08-31 | 2017-02-08 | 福建天晴数码有限公司 | 客户端监控线程的方法及其系统 |
US20170054804A1 (en) * | 2009-11-09 | 2017-02-23 | International Business Machines Corporation | Server Access Processing System |
CN106775990A (zh) * | 2016-12-31 | 2017-05-31 | 中国移动通信集团江苏有限公司 | 请求调度方法和装置 |
CN106776080A (zh) * | 2016-12-29 | 2017-05-31 | 北京奇虎科技有限公司 | 工作线程的连接建立方法及装置 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6182109B1 (en) * | 1996-03-08 | 2001-01-30 | International Business Machines Corporation | Dynamic execution unit management for high performance user level network server system |
US7363626B2 (en) * | 2003-03-24 | 2008-04-22 | Sun Microsystems, Inc. | Thread level application partitioning |
CN103279331A (zh) * | 2013-05-31 | 2013-09-04 | 中国电子科技集团公司第十五研究所 | Android系统多任务并发处理方法及装置 |
CN103455355B (zh) * | 2013-09-05 | 2017-02-22 | 南京朗睿软件科技有限公司 | 安卓设备及其适配器视图的异步数据加载方法及装置 |
JP2017010473A (ja) * | 2015-06-26 | 2017-01-12 | 株式会社野村総合研究所 | ジョブ実行制御システム及び方法 |
CN106557369B (zh) * | 2016-11-25 | 2020-08-04 | 武汉斗鱼网络科技有限公司 | 一种多线程的管理方法及系统 |
-
2017
- 2017-10-13 US US16/754,563 patent/US20200257558A1/en not_active Abandoned
- 2017-10-13 WO PCT/CN2017/106193 patent/WO2019071616A1/zh unknown
- 2017-10-13 EP EP17928117.5A patent/EP3674894A4/en active Pending
- 2017-10-13 CN CN201780074368.4A patent/CN110023907B/zh active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170054804A1 (en) * | 2009-11-09 | 2017-02-23 | International Business Machines Corporation | Server Access Processing System |
CN102147746A (zh) * | 2010-03-05 | 2011-08-10 | 微软公司 | 动态线程池管理 |
CN102486740A (zh) * | 2010-12-03 | 2012-06-06 | 中国科学院沈阳自动化研究所 | 一种多线程实时数据处理装置及方法 |
CN102325148A (zh) * | 2011-05-25 | 2012-01-18 | 重庆新媒农信科技有限公司 | 一种WebService服务调用方法 |
CN103246552A (zh) * | 2012-02-14 | 2013-08-14 | 腾讯科技(深圳)有限公司 | 防止线程出现阻塞的方法和装置 |
CN106385341A (zh) * | 2016-08-31 | 2017-02-08 | 福建天晴数码有限公司 | 客户端监控线程的方法及其系统 |
CN106776080A (zh) * | 2016-12-29 | 2017-05-31 | 北京奇虎科技有限公司 | 工作线程的连接建立方法及装置 |
CN106775990A (zh) * | 2016-12-31 | 2017-05-31 | 中国移动通信集团江苏有限公司 | 请求调度方法和装置 |
Non-Patent Citations (2)
Title |
---|
ZONGWEI ZHU等: "Application-aware Group Scheduler for Android", 《THE FIFTH INTERNATIONAL CONFERENCE ON THE APPLICATIONS OF DIGITAL INFORMATION AND WEB TECHNOLOGIES (ICADIWT 2014)》 * |
山庄来客: "Binder通信过程中的用户空间线程池的管理", 《HTTPS://BLOG.CSDN.NET/FUYAJUN01/ARTICLE/DETAILS/27710535》 * |
Also Published As
Publication number | Publication date |
---|---|
US20200257558A1 (en) | 2020-08-13 |
EP3674894A4 (en) | 2020-10-28 |
EP3674894A1 (en) | 2020-07-01 |
CN110023907B (zh) | 2021-08-20 |
WO2019071616A1 (zh) | 2019-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10437631B2 (en) | Operating system hot-switching method and apparatus and mobile terminal | |
CN109101318B (zh) | 一种虚拟机迁移控制方法及装置 | |
CN107526640B (zh) | 资源管理方法、装置、移动终端及计算机可读存储介质 | |
JP7006780B2 (ja) | システムサービスタイムアウト処理方法および装置 | |
US20200242043A1 (en) | Interprocess Communication Method and Interprocess Communications System | |
CN107861817B (zh) | 基于线程阻塞的内存优化方法、移动终端及可读存储介质 | |
EP3937016A1 (en) | Memory management method and apparatus | |
US10474507B2 (en) | Terminal application process management method and apparatus | |
EP3471450B1 (en) | Network bandwidth management method, terminal and computer storage medium | |
US20150128079A1 (en) | Method for executing function in response to touch input and electronic device implementing the same | |
WO2018036505A1 (zh) | 一种终端后台应用程序的管理方法及装置 | |
CN106502703B (zh) | 一种函数调用方法和装置 | |
WO2019037724A1 (zh) | 一种移动终端应用程序升级方法、存储设备及移动终端 | |
WO2019137252A1 (zh) | 内存处理方法、电子设备、计算机可读存储介质 | |
WO2017206901A1 (zh) | 进程控制方法及相关设备 | |
WO2015081905A1 (zh) | 数据更新的方法、用户端及数据更新系统 | |
WO2019137173A1 (zh) | 资源管理方法、移动终端及计算机可读存储介质 | |
WO2019128571A1 (zh) | 资源管理方法、装置、移动终端及计算机可读存储介质 | |
CN114817120A (zh) | 一种跨域数据共享方法、系统级芯片、电子设备及介质 | |
CN108874554B (zh) | 信息通信方法及装置 | |
EP3584700A1 (en) | Fingerprint recognition method and related product | |
CN110023907A (zh) | 一种处理方法及装置 | |
CN114218560A (zh) | 资源访问方法、装置、电子设备及存储介质 | |
WO2019128542A1 (zh) | 应用处理方法、电子设备、计算机可读存储介质 | |
CN103793267A (zh) | 队列的访问方法及装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |