Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for processing repeated pictures in memory, electronic equipment and storage medium

A picture and memory technology, applied in the computer field, can solve problems such as waste and insolvency, and achieve the effects of optimizing memory usage, accurate real-time identification, and avoiding merger and recycling processing

Pending Publication Date: 2021-05-25
TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this function does not solve the waste problem caused by allocating multiple identical image resources when the application is running

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
  • Method for processing repeated pictures in memory, electronic equipment and storage medium
  • Method for processing repeated pictures in memory, electronic equipment and storage medium
  • Method for processing repeated pictures in memory, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in combination with specific implementation methods and accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

[0039] An embodiment of the present invention provides a memory optimization solution for a computer, such as a terminal device, such as a mobile terminal, especially a memory optimization solution for an application process that repeatedly calls or allocates pictures in the memory. Specifically, the embodiment of the present invention relates to a method for processing repeated pictures in memory. Specifically, the method generates a second process that replicates the first process run by the application program, especially in the case of running an application program that rep...

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

The invention discloses a method for processing repeated pictures in a memory, which comprises the following steps: generating a second process of an application program based on a first process of the running application program, the second process having the same virtual address space and memory object reference relationship as the first process; based on the memory object reference relationship, extracting a picture object list of the running application program in the memory in the second process; determining repeated pictures in the picture object list and virtual addresses of the repeated pictures in the virtual address space in the second process; obtaining a virtual address of the repeated picture by the first process; and based on the virtual addresses of the repeated pictures obtained by the first process, modifying a memory object reference relationship of the first process so as to enable the virtual addresses of the repeated pictures in the first process to merge and reference the same object in a memory. The invention further discloses electronic equipment and a storage medium.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method and device for processing repeated pictures in memory. The present application also relates to related electronic equipment and storage media. Background technique [0002] Currently, computer terminal devices represented by smartphones and the like are widely used. The functions of the application program (APP) installed in these terminal devices are also becoming more and more powerful. Therefore, the application business in terminal devices often faces the pain point of huge memory consumption. In particular, a large number of images that an application calls at runtime often occupy a large portion of precious memory resources. In many cases, these images that occupy memory resources are often the same images that are allocated repeatedly by the application at runtime. [0003] In order to ensure the normal use of the terminal device, the current opera...

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): G06F12/02G06F9/50G06F16/583G06F16/901
CPCG06F12/023G06F9/5016G06F16/583G06F16/9014G06F2212/1044
Inventor 许圣霖
Owner TENCENT MUSIC ENTERTAINMENT TECH SHENZHEN CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products