CN109891390A - 一种应用切换方法及装置 - Google Patents

一种应用切换方法及装置 Download PDF

Info

Publication number
CN109891390A
CN109891390A CN201780067389.3A CN201780067389A CN109891390A CN 109891390 A CN109891390 A CN 109891390A CN 201780067389 A CN201780067389 A CN 201780067389A CN 109891390 A CN109891390 A CN 109891390A
Authority
CN
China
Prior art keywords
target application
terminal
memory
application
occupies
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
CN201780067389.3A
Other languages
English (en)
Other versions
CN109891390B (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
Priority to CN202111211373.XA priority Critical patent/CN114153570A/zh
Publication of CN109891390A publication Critical patent/CN109891390A/zh
Application granted granted Critical
Publication of CN109891390B publication Critical patent/CN109891390B/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/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/5016Allocation 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 the resource being the memory
    • 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/44Arrangements for executing specific programs
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本申请的实施例提供一种应用切换方法及装置,涉及通信技术领域,可降低后台应用运行时占用的内存,提高终端的运行速度。该方法包括:当目标应用在前台运行时,终端获取对该目标应用的第一切换指令,该第一切换指令用于指示将该目标应用切换至后台;响应于第一切换指令,终端将该目标应用切换至后台;响应于第一切换指令,终端释放该目标应用占用的至少一部分内存。

Description

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

Claims (29)

  1. PCT国内申请,权利要求书已公开。
CN201780067389.3A 2017-08-11 2017-08-11 一种应用切换方法及装置 Active CN109891390B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111211373.XA CN114153570A (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/097268 WO2019028912A1 (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202111211373.XA Division CN114153570A (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置

Publications (2)

Publication Number Publication Date
CN109891390A true CN109891390A (zh) 2019-06-14
CN109891390B CN109891390B (zh) 2021-12-14

Family

ID=65272897

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201780067389.3A Active CN109891390B (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置
CN202111211373.XA Pending CN114153570A (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202111211373.XA Pending CN114153570A (zh) 2017-08-11 2017-08-11 一种应用切换方法及装置

Country Status (2)

Country Link
CN (2) CN109891390B (zh)
WO (1) WO2019028912A1 (zh)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367828A (zh) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 内存压缩方法、装置、终端及存储介质
CN112114965A (zh) * 2020-09-15 2020-12-22 深圳市欢太科技有限公司 应用程序的运行方法、装置、终端及存储介质
CN112860145A (zh) * 2019-07-30 2021-05-28 华为技术有限公司 一种应用的控制方法与电子设备
CN115113992A (zh) * 2021-03-22 2022-09-27 深圳市万普拉斯科技有限公司 进程控制方法、装置、计算机设备和存储介质
CN115408164A (zh) * 2022-11-01 2022-11-29 南京翼辉爱智物联技术有限公司 应用程序管理方法、装置、电子设备及存储介质
CN115794413A (zh) * 2023-01-09 2023-03-14 荣耀终端有限公司 一种内存处理方法及相关装置
CN116244067A (zh) * 2021-06-10 2023-06-09 荣耀终端有限公司 虚拟内存管理方法和电子设备

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110134219B (zh) * 2019-05-13 2024-03-19 深圳传音通讯有限公司 应用程序后台耗电处理方法及装置
CN111625351A (zh) * 2020-05-12 2020-09-04 Oppo(重庆)智能科技有限公司 文件页的回收方法和装置、终端和可读存储介质
CN117616390A (zh) * 2022-06-20 2024-02-27 北京小米移动软件有限公司 应用管理方法、装置、电子设备以及存储介质
CN117519959A (zh) * 2022-07-30 2024-02-06 华为技术有限公司 内存管理方法及电子设备

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521034A (zh) * 2011-12-27 2012-06-27 惠州Tcl移动通信有限公司 一种基于android系统的多任务管理方法及其系统
US20120210266A1 (en) * 2011-02-14 2012-08-16 Microsoft Corporation Task Switching on Mobile Devices
CN104375828A (zh) * 2014-10-27 2015-02-25 小米科技有限责任公司 内存优化方法及装置
CN104407981A (zh) * 2014-10-28 2015-03-11 小米科技有限责任公司 内存管理方法和装置
CN104461745A (zh) * 2014-12-23 2015-03-25 中科创达软件股份有限公司 一种内存优化方法及装置
CN104793885A (zh) * 2015-04-23 2015-07-22 努比亚技术有限公司 一种移动终端及其内存清理控制方法
CN104850345A (zh) * 2015-04-29 2015-08-19 努比亚技术有限公司 一种移动终端及其任务快速切换方法
CN105677259A (zh) * 2016-02-29 2016-06-15 珠海市魅族科技有限公司 一种移动终端中存储文件的方法及移动终端
CN106201572A (zh) * 2016-06-23 2016-12-07 努比亚技术有限公司 移动终端和内存释放控制方法
CN106354562A (zh) * 2016-08-25 2017-01-25 上海传英信息技术有限公司 内存清理系统和内存清理方法
CN106648811A (zh) * 2017-01-23 2017-05-10 努比亚技术有限公司 一种终端应用启动的方法和终端
CN106803860A (zh) * 2017-01-23 2017-06-06 努比亚技术有限公司 一种终端应用的存储处理方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104252389B (zh) * 2013-06-27 2016-04-13 腾讯科技(深圳)有限公司 应用程序运行方法、系统
CN105808447B (zh) * 2016-03-29 2019-01-29 海信集团有限公司 一种终端设备的内存回收方法和装置
CN106775820A (zh) * 2016-11-10 2017-05-31 宇龙计算机通信科技(深圳)有限公司 应用程序管理的方法及装置

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120210266A1 (en) * 2011-02-14 2012-08-16 Microsoft Corporation Task Switching on Mobile Devices
CN102521034A (zh) * 2011-12-27 2012-06-27 惠州Tcl移动通信有限公司 一种基于android系统的多任务管理方法及其系统
CN104375828A (zh) * 2014-10-27 2015-02-25 小米科技有限责任公司 内存优化方法及装置
CN104407981A (zh) * 2014-10-28 2015-03-11 小米科技有限责任公司 内存管理方法和装置
CN104461745A (zh) * 2014-12-23 2015-03-25 中科创达软件股份有限公司 一种内存优化方法及装置
CN104793885A (zh) * 2015-04-23 2015-07-22 努比亚技术有限公司 一种移动终端及其内存清理控制方法
CN104850345A (zh) * 2015-04-29 2015-08-19 努比亚技术有限公司 一种移动终端及其任务快速切换方法
CN105677259A (zh) * 2016-02-29 2016-06-15 珠海市魅族科技有限公司 一种移动终端中存储文件的方法及移动终端
CN106201572A (zh) * 2016-06-23 2016-12-07 努比亚技术有限公司 移动终端和内存释放控制方法
CN106354562A (zh) * 2016-08-25 2017-01-25 上海传英信息技术有限公司 内存清理系统和内存清理方法
CN106648811A (zh) * 2017-01-23 2017-05-10 努比亚技术有限公司 一种终端应用启动的方法和终端
CN106803860A (zh) * 2017-01-23 2017-06-06 努比亚技术有限公司 一种终端应用的存储处理方法和装置

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JESUNG YEON等: "Design and Implementation of Kernel Binder Cache to Accelerate Android IPC", 《 2016 IEEE 22ND INTERNATIONAL CONFERENCE ON EMBEDDED AND REAL-TIME COMPUTING SYSTEMS AND APPLICATIONS (RTCSA)》 *
杜剑等: "《Android游戏开发》", 31 May 2017 *
空杯子: "iOS应用程序生命周期(前后台切换,应用的各种状态)详解", 《HTTPS://BLOG.CSDN.NET/TOTOGO2010/ARTICLE/DETAILS/8048652》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860145A (zh) * 2019-07-30 2021-05-28 华为技术有限公司 一种应用的控制方法与电子设备
CN112860145B (zh) * 2019-07-30 2022-08-26 华为技术有限公司 一种应用的控制方法与电子设备
CN111367828A (zh) * 2020-02-27 2020-07-03 Oppo广东移动通信有限公司 内存压缩方法、装置、终端及存储介质
CN111367828B (zh) * 2020-02-27 2023-10-20 Oppo广东移动通信有限公司 内存压缩方法、装置、终端及存储介质
CN112114965A (zh) * 2020-09-15 2020-12-22 深圳市欢太科技有限公司 应用程序的运行方法、装置、终端及存储介质
CN115113992A (zh) * 2021-03-22 2022-09-27 深圳市万普拉斯科技有限公司 进程控制方法、装置、计算机设备和存储介质
CN116244067A (zh) * 2021-06-10 2023-06-09 荣耀终端有限公司 虚拟内存管理方法和电子设备
CN116244067B (zh) * 2021-06-10 2024-05-03 荣耀终端有限公司 虚拟内存管理方法和电子设备
CN115408164A (zh) * 2022-11-01 2022-11-29 南京翼辉爱智物联技术有限公司 应用程序管理方法、装置、电子设备及存储介质
CN115794413A (zh) * 2023-01-09 2023-03-14 荣耀终端有限公司 一种内存处理方法及相关装置
CN115794413B (zh) * 2023-01-09 2024-05-14 荣耀终端有限公司 一种内存处理方法及相关装置

Also Published As

Publication number Publication date
CN109891390B (zh) 2021-12-14
WO2019028912A1 (zh) 2019-02-14
CN114153570A (zh) 2022-03-08

Similar Documents

Publication Publication Date Title
CN109891390A (zh) 一种应用切换方法及装置
US10643666B2 (en) Video play method and device, and computer storage medium
US11985374B2 (en) Method of controlling the sharing of videos and electronic device adapted thereto
CN106502834B (zh) 数据的备份方法、装置及系统
US10474507B2 (en) Terminal application process management method and apparatus
US11372613B2 (en) Display method and apparatus
CN106658064B (zh) 虚拟礼物展示方法及装置
US20170064352A1 (en) Method and system for collecting statistics on streaming media data, and related apparatus
WO2017206901A1 (zh) 进程控制方法及相关设备
CN104869465A (zh) 视频播放控制方法和装置
CN109891388A (zh) 一种图像处理方法及装置
US20160330423A1 (en) Video shooting method and apparatus
CN108920086B (zh) 分屏退出方法、装置、存储介质和电子设备
CN104717283A (zh) 文件下载的控制方法、终端及逻辑处理服务器
US11327845B2 (en) Image synchronization method and device, and server
CN106358070B (zh) 多媒体文件上传方法及装置
CN111966271B (zh) 屏幕全景截图方法、装置、终端设备和存储介质
CN104866287B (zh) 一种生成功能栏的方法和装置
US20140310711A1 (en) Method for determining performance of process of application and computer system
CN112306667A (zh) 一种动画播放方法、装置、计算机设备和存储介质
CN118113193A (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