Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Memory cleaning method based on thread blocking, mobile terminal and readable storage medium

A cleaning method and thread technology, applied in multi-programming devices, program control design, electrical digital data processing, etc., can solve the problem of frequent system freezes and other problems, and achieve the effect of avoiding frequent freezes

Active Publication Date: 2021-11-16
NUBIA TECHNOLOGY CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a memory cleaning method based on thread blocking, a mobile terminal and a computer-readable storage medium, aiming to solve how to automatically clean up memory when Binder threads are blocked, reserve sufficient memory, and avoid system frequent Caton's technical problem

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
  • Memory cleaning method based on thread blocking, mobile terminal and readable storage medium
  • Memory cleaning method based on thread blocking, mobile terminal and readable storage medium
  • Memory cleaning method based on thread blocking, mobile terminal and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0044] In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by itself. Therefore, 'module', 'part' or 'unit' may be used in combination.

[0045] Terminals may be implemented in various forms. For example, the terminals described in the present invention may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, portable Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.

[0046]In the following description, a mobile terminal will be ...

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 memory cleaning method based on thread blocking, a mobile terminal and a readable storage medium. When the inter-process data communication is detected, the basic process of the current process participating in the inter-process data communication is acquired at an interval preset time. Information, and based on the basic process information, judge whether the current process for inter-process data communication has the conditions for creating a preset thread, and judge whether each created preset thread in the current process is in a blocked state, and then determine whether the current process does not When the conditions for creating a preset thread are met, and the current state of each created preset thread is blocked, determine the thread to be cleaned up according to the blocking duration of the created preset thread, and release the memory occupation resource of the thread to be cleaned up, In this way, when the preset thread (Binder thread) is blocked, the memory is automatically cleaned up, and sufficient memory is reserved to avoid frequent system freezes.

Description

technical field [0001] The invention relates to the technical field of mobile terminals, in particular to a memory cleaning method based on thread blocking, a mobile terminal and a readable storage medium. Background technique [0002] With the development of mobile terminal technology, the hardware configuration of the mobile terminal is getting better and better, more and more functions can be realized, and there are more and more integrated APPs (Applications, application programs). At present, there are tens of thousands of application programs based on different scenarios of mobile terminals. As users install more and more third-party applications and service software on mobile terminals. Different applications perform inter-process data communication mainly through Binder threads. During inter-process data communication, if the Binder thread is blocked, the system will interrupt the current inter-process data communication. [0003] When the mobile terminal performs i...

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 Patents(China)
IPC IPC(8): G06F9/50G06F11/30
CPCG06F9/5016G06F9/5022G06F11/3051
Inventor 周龙
Owner NUBIA TECHNOLOGY 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
Eureka Blog
Learn More
PatSnap group products