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

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

An optimization method and threading technology, applied in inter-program communication, multi-program device, program control design, etc., can solve problems such as frequent system freezes, achieve the effects of avoiding frequent freezes, fast acquisition, and reducing intermediate logic calls

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 optimization method based on thread blocking, a mobile terminal and a readable storage medium, aiming to solve how to automatically clean up the memory when the Binder thread is blocked, reserve sufficient memory, and avoid frequent system freezes Dayton'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 optimization method based on thread blocking, mobile terminal and readable storage medium
  • Memory optimization method based on thread blocking, mobile terminal and readable storage medium
  • Memory optimization method based on thread blocking, mobile terminal and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0040] 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.

[0041] 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, wearable devices, mobile terminals such as smart bracelets, pedometers, and stationary terminals such as digital TVs and desktop computers.

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

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 optimization method based on thread blocking, a mobile terminal and a readable storage medium. When the inter-process data communication is monitored, the thread of the preset thread participating in the inter-process data communication is directly acquired from the kernel layer. Basic information, reduce intermediate logic calls, quickly obtain basic thread information, and judge whether the current process meets the conditions for creating preset threads based on the basic information of the thread, and block the created preset threads in the current process, and then When the process does not meet the conditions for creating a preset thread, and the current state of the 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 resources 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 optimization 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 perfor...

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/50G06F9/54
CPCG06F9/5022G06F9/546G06F2209/548
Inventor 周龙
Owner NUBIA TECHNOLOGY 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