Method and device for automatic snapshot of inner memory

A memory snapshot and memory technology, which is applied to instruments, digital data processing, computing, etc. to optimize memory usage and improve performance

Inactive Publication Date: 2017-12-15
ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to solve the deficiencies of the prior art, to provide a method and device for automatic memory snapshot, aiming to solve the problem of detecting the memory allocation status during the running of the entire mobile phone game

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 and device for automatic snapshot of inner memory
  • Method and device for automatic snapshot of inner memory
  • Method and device for automatic snapshot of inner memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The idea, specific structure and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, scheme and effect of the present invention. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The same reference numbers are used throughout the drawings to indicate the same or similar parts.

[0039] figure 1 Shown is a flow chart of the method for automatic memory snapshot according to the first embodiment of the present invention. After the mobile application developer starts the game program to be tested, execute figure 1 The function code of the shown method will be injected into the game program to be tested through process injection, so as to achieve the purpose of monitoring the Mono platform of the Unity engine to allocate m...

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

Disclosed is a method for automatic snapshot of an inner memory. The method comprises the steps of initializing inner memory snapshot records and a list of the inner memory snapshot records, setting the total size of the allocated inner memory for a current inner memory snapshot record as zero, and storing the current inner memory snapshot record to the list of the inner memory snapshot records; by monitoring a function of allocating inner memories to an operation system from a Mono platform of a Unity engine, obtaining a notification for new inner memory allocation from the operation system; according to the received notification for new inner memory allocation from the operation system, calculating the total size of the inner memory currently allocated from the system; calculating the difference between the total size of the inner memory allocated in a current moment and the total size of the allocated inner memory in the previous inner memory snapshot record; automatically generating the current inner memory snapshot records according to the difference and/or the interval between the current moment and the moment of the previous memory snapshot record, and storing the current inner memory snapshot record to the list of the inner memory snapshot records. The method for the automatic snapshot of the inner memory has the advantages that developers of mobile phone applications can conveniently monitor the changing conditions of the inner memory in the running process of a game.

Description

technical field [0001] The invention relates to the field of mobile equipment, in particular to a method and device for allocating and managing mobile equipment based on internal applications. Background technique [0002] In the smart phone industry, with the increasing market share of mobile games, most well-known game development companies have invested more in technology research and development in mobile game development. In the development process of mobile games, reducing the memory usage of mobile games has always been one of the most concerned points of mobile application developers. If the game takes up too much memory during the running process, it may be identified as an abnormal process by the operating system and shut down directly, or it may cause system memory due to excessive use, which will reduce system performance and reduce the game experience. [0003] As a widely used mobile game development engine, Unity uses the Mono platform as its C# virtual machi...

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): G06F11/36G06F11/34
CPCG06F11/3466G06F11/3612
Inventor 刘马良张强李星刘鼎三彭元龙周诚
Owner ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products