CN110023906A - 一种压缩和解压处理器所占内存的方法及装置 - Google Patents
一种压缩和解压处理器所占内存的方法及装置 Download PDFInfo
- Publication number
- CN110023906A CN110023906A CN201780074040.2A CN201780074040A CN110023906A CN 110023906 A CN110023906 A CN 110023906A CN 201780074040 A CN201780074040 A CN 201780074040A CN 110023906 A CN110023906 A CN 110023906A
- Authority
- CN
- China
- Prior art keywords
- memory page
- physical memory
- page
- compressed
- decompression
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1041—Resource optimization
- G06F2212/1044—Space efficiency improvement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/17—Embedded application
- G06F2212/171—Portable consumer electronics, e.g. mobile phone
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/30—Providing cache or TLB in specific location of a processing system
- G06F2212/302—In image processor or graphics adapter
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/40—Specific encoding of data in memory or cache
- G06F2212/401—Compressed data
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
一种压缩和解压处理器(10)所占内存的方法及装置,涉及终端技术领域,能够使得终端设备在后台运行应用的情况下,节省终端设备的处理器(10)所占内存。该压缩处理器(10)所占内存的方法应用于终端设备运行的第一应用从前台切换到后台的场景,包括:确定虚拟内存地址范围(S101),该虚拟内存地址范围为终端设备在前台运行第一应用时终端设备的处理器(10)所占的全部或者部分虚拟内存地址的范围,该虚拟内存地址范围包括至少一个虚拟内存页;并根据该至少一个虚拟内存页,在第一页表中确定与每个虚拟内存页对应的每个物理内存页(S102),该第一页表为第一应用的进程的页表;以及采用预定义的压缩算法,对每个物理内存页进行压缩(S103)。
Description
PCT国内申请,说明书已公开。
Claims (35)
- PCT国内申请,权利要求书已公开。
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2017/106173 WO2019071610A1 (zh) | 2017-10-13 | 2017-10-13 | 一种压缩和解压处理器所占内存的方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN110023906A true CN110023906A (zh) | 2019-07-16 |
Family
ID=66101271
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780074040.2A Pending CN110023906A (zh) | 2017-10-13 | 2017-10-13 | 一种压缩和解压处理器所占内存的方法及装置 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP3674846B1 (zh) |
| CN (1) | CN110023906A (zh) |
| WO (1) | WO2019071610A1 (zh) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112114965A (zh) * | 2020-09-15 | 2020-12-22 | 深圳市欢太科技有限公司 | 应用程序的运行方法、装置、终端及存储介质 |
| CN113296940A (zh) * | 2021-03-31 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | 数据处理方法及装置 |
| CN113835872A (zh) * | 2020-06-24 | 2021-12-24 | 北京小米移动软件有限公司 | 一种用于减少内存开销的数据处理方法、装置及存储介质 |
| CN114647423A (zh) * | 2020-12-17 | 2022-06-21 | 深圳Tcl新技术有限公司 | 一种桌面启动器的升级方法、电子设备及存储介质 |
| CN115794413A (zh) * | 2023-01-09 | 2023-03-14 | 荣耀终端有限公司 | 一种内存处理方法及相关装置 |
| CN116244067A (zh) * | 2021-06-10 | 2023-06-09 | 荣耀终端有限公司 | 虚拟内存管理方法和电子设备 |
| WO2024099448A1 (zh) * | 2022-11-10 | 2024-05-16 | 杭州阿里云飞天信息技术有限公司 | 内存释放、内存恢复方法、装置、计算机设备及存储介质 |
| CN119987995A (zh) * | 2024-06-19 | 2025-05-13 | 华为技术有限公司 | 内存管理方法、电子设备及计算机可读存储介质 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111367828B (zh) * | 2020-02-27 | 2023-10-20 | Oppo广东移动通信有限公司 | 内存压缩方法、装置、终端及存储介质 |
| CN111400052A (zh) * | 2020-04-22 | 2020-07-10 | Oppo广东移动通信有限公司 | 解压缩方法、装置、电子设备及存储介质 |
| US11861395B2 (en) * | 2020-12-11 | 2024-01-02 | Samsung Electronics Co., Ltd. | Method and system for managing memory for applications in a computing system |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030033504A1 (en) * | 2001-08-07 | 2003-02-13 | Hiromichi Yamada | Micro-controller for reading out compressed instruction code and program memory for compressing instruction code and storing therein |
| CN101315602A (zh) * | 2008-05-09 | 2008-12-03 | 浙江大学 | 硬件化的进程内存管理核的方法 |
| CN104503740A (zh) * | 2014-12-01 | 2015-04-08 | 小米科技有限责任公司 | 内存管理方法和装置 |
| CN105357260A (zh) * | 2015-09-28 | 2016-02-24 | 深圳市深信服电子科技有限公司 | 实现虚拟桌面的系统、vdi数据缓存方法和vdi缓存设备 |
| CN105468542A (zh) * | 2014-09-03 | 2016-04-06 | 杭州华为数字技术有限公司 | 地址分配方法及装置 |
| CN105468426A (zh) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | 一种应用冻结的方法及终端 |
| CN105740303A (zh) * | 2014-12-12 | 2016-07-06 | 国际商业机器公司 | 改进的对象存储的方法及装置 |
| CN106803860A (zh) * | 2017-01-23 | 2017-06-06 | 努比亚技术有限公司 | 一种终端应用的存储处理方法和装置 |
| CN106843450A (zh) * | 2017-01-23 | 2017-06-13 | 努比亚技术有限公司 | 一种终端应用的存储处理方法和装置 |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6879266B1 (en) * | 1997-08-08 | 2005-04-12 | Quickshift, Inc. | Memory module including scalable embedded parallel data compression and decompression engines |
| US9007239B1 (en) * | 2012-07-02 | 2015-04-14 | Amazon Technologies, Inc. | Reduction of memory consumption |
| CN106844033B (zh) * | 2017-01-23 | 2020-07-28 | 努比亚技术有限公司 | 一种应用快速启动方法和终端 |
| CN106844032A (zh) * | 2017-01-23 | 2017-06-13 | 努比亚技术有限公司 | 一种终端应用的存储处理方法和装置 |
-
2017
- 2017-10-13 EP EP17928601.8A patent/EP3674846B1/en active Active
- 2017-10-13 WO PCT/CN2017/106173 patent/WO2019071610A1/zh not_active Ceased
- 2017-10-13 CN CN201780074040.2A patent/CN110023906A/zh active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20030033504A1 (en) * | 2001-08-07 | 2003-02-13 | Hiromichi Yamada | Micro-controller for reading out compressed instruction code and program memory for compressing instruction code and storing therein |
| CN101315602A (zh) * | 2008-05-09 | 2008-12-03 | 浙江大学 | 硬件化的进程内存管理核的方法 |
| CN105468542A (zh) * | 2014-09-03 | 2016-04-06 | 杭州华为数字技术有限公司 | 地址分配方法及装置 |
| CN104503740A (zh) * | 2014-12-01 | 2015-04-08 | 小米科技有限责任公司 | 内存管理方法和装置 |
| CN105740303A (zh) * | 2014-12-12 | 2016-07-06 | 国际商业机器公司 | 改进的对象存储的方法及装置 |
| CN105357260A (zh) * | 2015-09-28 | 2016-02-24 | 深圳市深信服电子科技有限公司 | 实现虚拟桌面的系统、vdi数据缓存方法和vdi缓存设备 |
| CN105468426A (zh) * | 2016-01-05 | 2016-04-06 | 珠海市魅族科技有限公司 | 一种应用冻结的方法及终端 |
| CN106803860A (zh) * | 2017-01-23 | 2017-06-06 | 努比亚技术有限公司 | 一种终端应用的存储处理方法和装置 |
| CN106843450A (zh) * | 2017-01-23 | 2017-06-13 | 努比亚技术有限公司 | 一种终端应用的存储处理方法和装置 |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113835872A (zh) * | 2020-06-24 | 2021-12-24 | 北京小米移动软件有限公司 | 一种用于减少内存开销的数据处理方法、装置及存储介质 |
| CN112114965A (zh) * | 2020-09-15 | 2020-12-22 | 深圳市欢太科技有限公司 | 应用程序的运行方法、装置、终端及存储介质 |
| CN114647423A (zh) * | 2020-12-17 | 2022-06-21 | 深圳Tcl新技术有限公司 | 一种桌面启动器的升级方法、电子设备及存储介质 |
| CN114647423B (zh) * | 2020-12-17 | 2025-04-08 | 深圳Tcl新技术有限公司 | 一种桌面启动器的升级方法、电子设备及存储介质 |
| CN113296940A (zh) * | 2021-03-31 | 2021-08-24 | 阿里巴巴新加坡控股有限公司 | 数据处理方法及装置 |
| CN113296940B (zh) * | 2021-03-31 | 2023-12-08 | 阿里巴巴新加坡控股有限公司 | 数据处理方法及装置 |
| CN116244067A (zh) * | 2021-06-10 | 2023-06-09 | 荣耀终端有限公司 | 虚拟内存管理方法和电子设备 |
| CN116244067B (zh) * | 2021-06-10 | 2024-05-03 | 荣耀终端有限公司 | 虚拟内存管理方法和电子设备 |
| WO2024099448A1 (zh) * | 2022-11-10 | 2024-05-16 | 杭州阿里云飞天信息技术有限公司 | 内存释放、内存恢复方法、装置、计算机设备及存储介质 |
| CN115794413A (zh) * | 2023-01-09 | 2023-03-14 | 荣耀终端有限公司 | 一种内存处理方法及相关装置 |
| CN115794413B (zh) * | 2023-01-09 | 2024-05-14 | 荣耀终端有限公司 | 一种内存处理方法及相关装置 |
| CN119987995A (zh) * | 2024-06-19 | 2025-05-13 | 华为技术有限公司 | 内存管理方法、电子设备及计算机可读存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2019071610A1 (zh) | 2019-04-18 |
| EP3674846B1 (en) | 2023-12-06 |
| EP3674846A1 (en) | 2020-07-01 |
| EP3674846A4 (en) | 2020-09-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110023906A (zh) | 一种压缩和解压处理器所占内存的方法及装置 | |
| US9563520B2 (en) | File level recovery using virtual machine image level backup with selective compression | |
| CN102479098B (zh) | 使用快照图像的引导设备和方法 | |
| WO2011159701A3 (en) | Selective processing of file system objects for image level backups | |
| US9563569B2 (en) | Memory transformation in virtual machine live migration | |
| US9588793B2 (en) | Creating new virtual machines based on post-boot virtual machine snapshots | |
| US20180024855A1 (en) | Live migration of virtual machines from/to host computers with graphics processors | |
| WO2014117716A1 (en) | Block compression in a key/value store | |
| JP2017138966A5 (zh) | ||
| US10628261B2 (en) | Checkpoint and restart | |
| CN105096367B (zh) | 优化Canvas绘制性能的方法及装置 | |
| CN103984602A (zh) | 一种vm资源调度方法、装置及系统 | |
| US20150106334A1 (en) | Systems and methods for backing up a live virtual machine | |
| CN103810297A (zh) | 基于重删技术的写方法、读方法、写装置和读装置 | |
| KR102533726B1 (ko) | 전자 장치 및 그의 제어방법 | |
| WO2016014217A1 (en) | System and method of loading virtual machines | |
| WO2021040855A1 (en) | Efficient storage and retrieval of resource data | |
| CN106874485A (zh) | 一种图片呈现的方法以及图片呈现装置 | |
| CN108599774B (zh) | 一种压缩方法、系统、装置及计算机可读存储介质 | |
| CN110489242A (zh) | 分布式数据计算方法、装置、终端设备及存储介质 | |
| KR102434990B1 (ko) | 이미지 압축 및 압축 해제 방법 및 시스템 | |
| CN109615668B (zh) | 基于分量的数字图像同步 | |
| CN108234552B (zh) | 一种数据存储方法及装置 | |
| US9436489B2 (en) | Virtual machine data replication with shared resources | |
| KR101628436B1 (ko) | 가상 머신의 데이터 처리 방법 |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190716 |