CN109891392A - 一种系统服务超时的处理方法及装置 - Google Patents

一种系统服务超时的处理方法及装置 Download PDF

Info

Publication number
CN109891392A
CN109891392A CN201780067385.5A CN201780067385A CN109891392A CN 109891392 A CN109891392 A CN 109891392A CN 201780067385 A CN201780067385 A CN 201780067385A CN 109891392 A CN109891392 A CN 109891392A
Authority
CN
China
Prior art keywords
terminal
thread
application process
binder
threads
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
Application number
CN201780067385.5A
Other languages
English (en)
Other versions
CN109891392B (zh
Inventor
赵俊民
李煜
王森
许顺
蔺振超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN109891392A publication Critical patent/CN109891392A/zh
Application granted granted Critical
Publication of CN109891392B publication Critical patent/CN109891392B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本申请的实施例提供一种系统服务超时的处理方法及装置,涉及通信技术领域,当系统服务超时时可降低终端发生卡顿或冻屏的几率,提高用户体验。该方法包括:当至少一个系统服务线程中的目标系统服务线程超时时,终端确定与该目标系统服务线程通信的第一应用进程,该目标系统服务线程超时包括:该目标系统服务线程占用的对象锁在预设时间内没有被释放,以及该目标系统服务线程发生阻塞中的至少一个,该终端关闭该第一应用进程。

Description

PCT国内申请,说明书已公开。

Claims (25)

  1. PCT国内申请,权利要求书已公开。
CN201780067385.5A 2017-09-30 2017-09-30 一种系统服务超时的处理方法及装置 Active CN109891392B (zh)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104795 WO2019061407A1 (zh) 2017-09-30 2017-09-30 一种系统服务超时的处理方法及装置

Publications (2)

Publication Number Publication Date
CN109891392A true CN109891392A (zh) 2019-06-14
CN109891392B CN109891392B (zh) 2022-01-11

Family

ID=65900429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201780067385.5A Active CN109891392B (zh) 2017-09-30 2017-09-30 一种系统服务超时的处理方法及装置

Country Status (7)

Country Link
US (1) US11693701B2 (zh)
EP (1) EP3678023B1 (zh)
JP (1) JP7006780B2 (zh)
KR (2) KR102313664B1 (zh)
CN (1) CN109891392B (zh)
AU (1) AU2017434691B2 (zh)
WO (1) WO2019061407A1 (zh)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045926A (zh) * 2019-11-05 2020-04-21 北京字节跳动网络技术有限公司 一种应用程序卡顿的检测方法、装置、介质和电子设备
CN111158869A (zh) * 2019-11-15 2020-05-15 西安海的电子科技有限公司 一种基于安卓系统的进程碎片清理方法
CN112000385A (zh) * 2020-09-03 2020-11-27 深圳市智微智能软件开发有限公司 一种用于Android设备的快速重启方法及系统
CN112486713A (zh) * 2019-09-11 2021-03-12 华为技术有限公司 一种冻屏处理方法及电子设备
CN114153621A (zh) * 2022-02-09 2022-03-08 荣耀终端有限公司 系统进程调控方法、装置、电子设备及可读存储介质
CN115017004A (zh) * 2021-12-27 2022-09-06 荣耀终端有限公司 进程监控方法及电子设备
CN115202902A (zh) * 2022-07-01 2022-10-18 荣耀终端有限公司 控制进程交互的方法及相关装置
CN117692832A (zh) * 2023-05-29 2024-03-12 荣耀终端有限公司 超声波通路与耳机通路的冲突解决方法及相关装置

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667388B (zh) * 2021-03-16 2021-06-01 荣耀终端有限公司 一种操作系统的保护方法及电子设备
CN113190342B (zh) * 2021-06-01 2023-04-21 湖南工学院 用于云-边协同网络的多应用细粒度卸载的方法与系统架构
CN113835985B (zh) * 2021-09-27 2023-09-29 北京基调网络股份有限公司 一种监测卡顿、分析卡顿原因的方法、装置及设备
CN115277606B (zh) * 2022-08-01 2023-11-24 成都安恒信息技术有限公司 一种优化drbd数据同步的方法
CN116662024B (zh) * 2022-12-30 2023-11-07 荣耀终端有限公司 进程间通信监控方法、装置、电子设备及存储介质
CN116431377B (zh) * 2023-06-13 2023-08-22 苏州至盛半导体科技有限公司 一种看门狗电路

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996106A (zh) * 2010-12-17 2011-03-30 南京中兴力维软件有限公司 一种对软件运行状态进行监控的方法
CN103425225A (zh) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 便携数据设备操作系统中的应用程序装置及其运行方法
US20140137183A1 (en) * 2012-11-13 2014-05-15 Auckland Uniservices Ltd. Security system and method for the android operating system
CN103942113A (zh) * 2013-11-21 2014-07-23 小米科技有限责任公司 系统重启原因的检测方法、装置及终端设备
CN105677501A (zh) * 2016-01-07 2016-06-15 烽火通信科技股份有限公司 Linux系统中基于看门狗的精细化进程监控方法及系统
CN105824622A (zh) * 2016-03-11 2016-08-03 联想(北京)有限公司 数据处理方法及电子设备
CN106406947A (zh) * 2016-09-13 2017-02-15 广东欧珀移动通信有限公司 防止系统服务进程重启的方法及装置、移动终端
CN106445712A (zh) * 2016-08-31 2017-02-22 上海澳润信息科技有限公司 一种基于消息监控的软件看门狗实现方法
CN106445721A (zh) * 2016-10-11 2017-02-22 广东欧珀移动通信有限公司 看门狗容错处理的方法及移动终端

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001050263A1 (en) 1999-12-30 2001-07-12 Computer Associates Think, Inc. System and method for device failure recognition
JP3916070B2 (ja) 2003-01-08 2007-05-16 ソニー株式会社 情報処理装置および方法、並びにプログラム
KR100495367B1 (ko) 2003-04-02 2005-06-14 엘지전자 주식회사 소프트웨어 워치도그를 이용한 시스템 관리방법
US7694312B2 (en) 2004-09-10 2010-04-06 Pleora Technologies Inc. Methods and apparatus for enabling bus connectivity over a data network
GB0519981D0 (en) * 2005-09-30 2005-11-09 Ignios Ltd Scheduling in a multicore architecture
KR100691120B1 (ko) 2006-01-16 2007-03-12 엘지전자 주식회사 메모리 에러 관리를 위한 미들웨어 및 메모리 에러 관리방법
JP4462238B2 (ja) 2006-06-21 2010-05-12 株式会社デンソーウェーブ 携帯端末
CN101539878A (zh) 2008-03-18 2009-09-23 环达电脑(上海)有限公司 在操作系统下加快oracle进程监控回收资源的方法
JP2010152838A (ja) 2008-12-26 2010-07-08 Ricoh Co Ltd 画像形成装置、制御方法、およびプログラム
CN101561764B (zh) 2009-05-18 2012-05-23 华为技术有限公司 一种多核环境下的补丁方法与补丁装置
JP5379719B2 (ja) 2010-02-25 2013-12-25 株式会社日立製作所 コンピュータ、コンピュータの障害検知方法、及びプログラム
EP2642399A1 (en) 2010-11-15 2013-09-25 Fujitsu Limited Access method, and multi-core processor system
CN102253863B (zh) * 2011-06-15 2017-05-03 奇智软件(北京)有限公司 一种进程关闭方法
JP5648187B2 (ja) 2011-11-25 2015-01-07 株式会社日立製作所 計算機システム、および、監視方法
US10051019B1 (en) * 2012-11-09 2018-08-14 Wells Fargo Bank, N.A. System and method for session management
CN102984580B (zh) * 2012-11-12 2016-04-20 北京奇虎科技有限公司 内存清理方法及系统
CN103077052B (zh) 2012-12-28 2017-02-01 华为终端有限公司 一种处理移动终端运行卡顿问题的方法及装置
US9274894B1 (en) * 2013-12-09 2016-03-01 Twitter, Inc. System and method for providing a watchdog timer to enable collection of crash data
GB2532424B (en) 2014-11-18 2016-10-26 Ibm An almost fair busy lock
US10037238B2 (en) * 2016-02-10 2018-07-31 Dell Products, L.P. System and method for encoding exception conditions included at a remediation database
CN106681822A (zh) 2017-01-19 2017-05-17 努比亚技术有限公司 一种基于信号的进程冻结和解冻装置及方法
CN106951318A (zh) 2017-03-24 2017-07-14 联想(北京)有限公司 一种电子设备后台进程的管理方法及电子设备

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101996106A (zh) * 2010-12-17 2011-03-30 南京中兴力维软件有限公司 一种对软件运行状态进行监控的方法
CN103425225A (zh) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 便携数据设备操作系统中的应用程序装置及其运行方法
US20140137183A1 (en) * 2012-11-13 2014-05-15 Auckland Uniservices Ltd. Security system and method for the android operating system
CN103942113A (zh) * 2013-11-21 2014-07-23 小米科技有限责任公司 系统重启原因的检测方法、装置及终端设备
CN105677501A (zh) * 2016-01-07 2016-06-15 烽火通信科技股份有限公司 Linux系统中基于看门狗的精细化进程监控方法及系统
CN105824622A (zh) * 2016-03-11 2016-08-03 联想(北京)有限公司 数据处理方法及电子设备
CN106445712A (zh) * 2016-08-31 2017-02-22 上海澳润信息科技有限公司 一种基于消息监控的软件看门狗实现方法
CN106406947A (zh) * 2016-09-13 2017-02-15 广东欧珀移动通信有限公司 防止系统服务进程重启的方法及装置、移动终端
CN106445721A (zh) * 2016-10-11 2017-02-22 广东欧珀移动通信有限公司 看门狗容错处理的方法及移动终端

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
DUANQZ: "Watchdog机制以及问题分析", 《HTTPS://DUANQZ.GITHUB.IO/2015-10-12-WATCHDOG-ANALYSIS》 *
MINHO SHIN等: "Privacy Preserving Watchdog System in Android Systems", 《2017 INTERNATIONAL CONFERENCE ON PLATFORM TECHNOLOGY AND SERVICE》 *
袁辉辉: "Binder系列10—总结", 《HTTP://GITYUAN.COM/2015/11/28/BINDER-SUMMARY/》 *
袁辉辉: "Binder系列7—framework层分析", 《HTTP://GITYUAN.COM/2015/11/21/BINDER-FRAMEWORK/》 *
黄子娟: "基于云计算平台中服务性能分析的移动应用研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112486713A (zh) * 2019-09-11 2021-03-12 华为技术有限公司 一种冻屏处理方法及电子设备
CN111045926A (zh) * 2019-11-05 2020-04-21 北京字节跳动网络技术有限公司 一种应用程序卡顿的检测方法、装置、介质和电子设备
CN111045926B (zh) * 2019-11-05 2023-04-14 北京字节跳动网络技术有限公司 一种应用程序卡顿的检测方法、装置、介质和电子设备
CN111158869A (zh) * 2019-11-15 2020-05-15 西安海的电子科技有限公司 一种基于安卓系统的进程碎片清理方法
CN112000385A (zh) * 2020-09-03 2020-11-27 深圳市智微智能软件开发有限公司 一种用于Android设备的快速重启方法及系统
CN115017004A (zh) * 2021-12-27 2022-09-06 荣耀终端有限公司 进程监控方法及电子设备
CN114153621A (zh) * 2022-02-09 2022-03-08 荣耀终端有限公司 系统进程调控方法、装置、电子设备及可读存储介质
CN115202902A (zh) * 2022-07-01 2022-10-18 荣耀终端有限公司 控制进程交互的方法及相关装置
CN117692832A (zh) * 2023-05-29 2024-03-12 荣耀终端有限公司 超声波通路与耳机通路的冲突解决方法及相关装置
CN117692832B (zh) * 2023-05-29 2024-10-01 荣耀终端有限公司 超声波通路与耳机通路的冲突解决方法及相关装置

Also Published As

Publication number Publication date
KR20200058479A (ko) 2020-05-27
JP2020536306A (ja) 2020-12-10
US11693701B2 (en) 2023-07-04
US20200264933A1 (en) 2020-08-20
KR102313664B1 (ko) 2021-10-15
KR20210126159A (ko) 2021-10-19
EP3678023A4 (en) 2020-08-26
KR102460380B1 (ko) 2022-10-27
AU2017434691B2 (en) 2021-05-06
EP3678023B1 (en) 2022-07-13
EP3678023A1 (en) 2020-07-08
WO2019061407A1 (zh) 2019-04-04
JP7006780B2 (ja) 2022-01-24
AU2017434691A1 (en) 2020-04-23
CN109891392B (zh) 2022-01-11

Similar Documents

Publication Publication Date Title
CN109891392A (zh) 一种系统服务超时的处理方法及装置
US10437631B2 (en) Operating system hot-switching method and apparatus and mobile terminal
US11099900B2 (en) Memory reclamation method and apparatus
US10379696B2 (en) Method and apparatus for displaying popup window message
CN108702421B (zh) 用于控制应用和组件的电子设备和方法
US11579899B2 (en) Method and device for dynamically managing kernel node
WO2018045948A1 (zh) 一种后台静默启动应用的方法、装置及终端设备
CN107861817B (zh) 基于线程阻塞的内存优化方法、移动终端及可读存储介质
KR101619078B1 (ko) 원격통신 네트워크들 내에서 셀 복구를 위한 방법 및 시스템
CN109074303B (zh) 一种卡顿检测方法及装置
CN107807861B (zh) 冻屏解决方法、移动终端及计算机可读存储介质
KR20180013608A (ko) 전자 장치의 전력 소모 감소를 위한 방법 및 장치
CN107967177B (zh) 基于核心进程的内存优化方法、移动终端及可读存储介质
CN108334345B (zh) 应用程序处理方法、装置、可读存储介质和移动终端
CN110073336A (zh) 应用管理方法及终端
CN111966425A (zh) 进程清理方法、装置、存储介质及移动终端
US20200257558A1 (en) Processing Method and Apparatus
CN113039517A (zh) 一种音频资源调用的方法、装置及电子设备
US20240211306A1 (en) Techniques for handling polling frequency in event delivery network (edn)
CN114201354A (zh) 一种应用程序的超时检测方法及终端设备
CN118466799A (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