Data recovery method and system of Android system, storage medium, and electronic device

A technology of data recovery and Android system, which is applied in the direction of memory system, electrical digital data processing, memory address/allocation/relocation, etc. It can solve the problems of loss of system resource overhead, reduce recovery efficiency, increase power consumption, etc., to avoid The effects of periodic data recovery, efficiency improvement, and traversal speed improvement

Active Publication Date: 2018-11-13
WUHAN DOUYU NETWORK TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This strategy will be slower, and every time you need to traverse all data caches, it will reduce recycling efficiency
[0004] At the same time, data recycling requires a regular recycling mechanism. The traditional recycling mechanism implements periodic recycling through timers. This recycling strategy only recycles data continuously when the memory usage is not very high. Reduce system performance, greatly consume system resource overhead, increase power consumption overhead, etc.

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
  • Data recovery method and system of Android system, storage medium, and electronic device
  • Data recovery method and system of Android system, storage medium, and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] see figure 1 As shown, the embodiment of the present invention provides a method for Android system data recovery, comprising the following steps:

[0039] S1, setting a continuous memory space for storing discrete data pointers, and storing the discrete data pointers in the memory space in a continuous manner;

[0040] The design method of the data cache pool in the traditional solution is mainly to cache through a memory variable. If there are multiple data, multiple variables are used to realize the data cache logic. The disadvantage of the traditional solution is that the data is not continuous in the memory, that is to say, the data is stored in a scattered manner in the memory, so it is difficult to manage the data.

[0041] In the present invention, these data pointers are stored in a continuous memory space in order to solve the problem that data is discrete in the internal memory, although the address of the data indicated by the actual data pointer in the inter...

Embodiment 2

[0053] A storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method of Embodiment 1 is implemented.

Embodiment 3

[0055] An electronic device includes a memory and a processor, where a computer program running on the processor is stored in the memory, and the method of Embodiment 1 is implemented when the processor executes the computer program.

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 data recovery method and system of an Android system, a storage medium, and an electronic device, which relate to the technical field of Android system development. The invention sets a continuous memory space for storing discrete data pointers, and the discrete data pointers are stored in the memory space in a continuous manner. The memory space is expanded into a firstbuffer space, a second buffer space and a third buffer space which are increased in space in turn, and an initial buffer space is set in a register. Firstly, the reading and writing speed of the register is significantly faster than the memory, so that the data pointers are quickly buffered and recycled in the initial buffer space. Secondly, not all the buffered data is traversed for data collection, but only the data corresponding to the unnecessary data pointers in the initial buffer space and the first buffer space is collected, and the data collection amount is far less than that of a traditional scheme, so that the data management and collection are effectively realized, and the data collection efficiency is greatly improved.

Description

technical field [0001] The present invention relates to the technical field of Android system development, in particular to a method for recovering Android system data, a storage medium, electronic equipment and a system. Background technique [0002] In the Android development process, the execution of the program needs to be driven by data, and the data management in the traditional development process is handed over to the system for recycling and processing. If the data handed over to the system for recycling and processing is not handled properly, the recycling may not be timely or slow, which may cause the memory to remain high for a long time in some cases, and may cause memory out-of-bounds exceptions in severe cases. [0003] The recovery algorithm design of the traditional solution is relatively simple, that is, simply traverse the entire pointer container space, and then find the corresponding data according to the traversed pointer information, determine whether ...

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/02G06F12/0811
CPCG06F12/0253G06F12/0811
Inventor 张磊张文明陈少杰
Owner WUHAN DOUYU NETWORK 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