CN107943590B - Memory optimization method based on associated starting application, mobile terminal and storage medium - Google Patents

Memory optimization method based on associated starting application, mobile terminal and storage medium Download PDF

Info

Publication number
CN107943590B
CN107943590B CN201711236950.4A CN201711236950A CN107943590B CN 107943590 B CN107943590 B CN 107943590B CN 201711236950 A CN201711236950 A CN 201711236950A CN 107943590 B CN107943590 B CN 107943590B
Authority
CN
China
Prior art keywords
application
memory
cleaned
mobile terminal
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711236950.4A
Other languages
Chinese (zh)
Other versions
CN107943590A (en
Inventor
周龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201711236950.4A priority Critical patent/CN107943590B/en
Publication of CN107943590A publication Critical patent/CN107943590A/en
Application granted granted Critical
Publication of CN107943590B publication Critical patent/CN107943590B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a memory optimization method based on a correlation starting application, which comprises the following steps: when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database; when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database; and scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned. The invention also provides a mobile terminal and a computer readable storage medium. The invention can realize the automatic cleaning of the memory under the condition that the user does not know, ensure the normal operation of the application and improve the response speed of the application.

Description

Memory optimization method based on associated starting application, mobile terminal and storage medium
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a memory optimization method based on an associated starting application, a mobile terminal and a storage medium.
Background
With the popularization of mobile terminals and the close relationship between applications based on mobile terminals and people's daily life, more applications are usually installed on the mobile terminals of users. However, as the number of applications opened by the user increases and the applications are not closed in time after the applications are used up, the available capacity of the memory of the mobile terminal is insufficient.
Because the memory of the mobile terminal does not have dynamic expansibility, the memory capacity of the mobile terminal of the user is the size of the memory when the user leaves a factory, and when the user opens too many applications and does not close the applications in time to release the memory, the limited memory resources are occupied, so that the memory resources which can be applied by the applications which are opened or installed later are more and more limited.
At present, in order to clean up the memory resource of the mobile terminal, a user needs to manually quit the running application, so as to release the occupied memory resource, and the memory cannot be cleaned up without the knowledge of the user. Therefore, how to implement automatic cleaning of the memory without the knowledge of the user and reserve a sufficient memory to improve the response speed of the application is a problem to be solved at present.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a memory optimization method based on an associated starting application, a mobile terminal and a storage medium, and aims to solve the technical problems of how to realize automatic cleaning of a memory and reserve sufficient memory to improve the response speed of the application under the condition that a user does not know.
In order to achieve the above object, the present invention provides a memory optimization method based on an associated boot application, including the following steps:
when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
and scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned.
Optionally, the step of scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database includes:
scanning the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application;
and establishing an associated starting application table of the running application according to the application identifier of the running application and the associated starting application, and storing the associated starting application table to an associated database.
Optionally, the step of determining an associated starting application set according to the current application process information of the mobile terminal and the associated starting database includes:
when a memory cleaning instruction triggered based on a preset condition is detected, acquiring current application process information from a memory of the mobile terminal;
acquiring a corresponding correlation starting application table from the correlation starting database according to the application identifier in the current application process information;
and taking a set formed by all the associated starting applications in the associated starting application table as an associated starting application set.
Optionally, the step of determining an application to be cleaned according to the memory scanning data and the associated start-up application set, and releasing resources occupied by the memory of the application to be cleaned includes:
determining a resource type contained in the memory occupied resource of each associated starting application in the associated starting application set according to the memory scanning data;
determining a memory cleaning weight of each correlation starting application according to a resource type contained in the memory occupied resource of each correlation starting application;
and taking the associated starting application with the memory cleaning weight value higher than a preset threshold value as an application to be cleaned, and releasing the memory occupied resources of the application to be cleaned.
Optionally, the step of releasing the memory occupied resource of the application to be cleaned includes:
determining the release sequence of the memory occupied resources of each application to be cleaned according to the memory cleaning weight of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Optionally, the step of releasing the memory occupied resource of the application to be cleaned further includes:
calculating the size of the memory occupied resources of each application to be cleaned, and determining the release sequence of the memory occupied resources of each application to be cleaned according to the size of the memory occupied resources of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Optionally, the preset trigger condition of the memory cleaning instruction includes that the mobile terminal is in a screen-off standby state, a screen-off standby time of the screen-off standby state exceeds a preset time, and available memory resources of the mobile terminal are lower than a preset threshold.
In addition, to achieve the above object, the present invention also provides a mobile terminal, including: the memory optimization method comprises a memory, a processor and a memory optimization program based on the associated starting application, wherein the memory optimization program based on the associated starting application is stored on the memory and can run on the processor, and when being executed by the processor, the memory optimization program based on the associated starting application realizes the steps of the memory optimization method based on the associated starting application.
The invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a memory optimization program based on an associated starting application, and when the memory optimization program based on the associated starting application is executed by a processor, the steps of the memory optimization method based on the associated starting application are implemented.
The invention provides a memory optimization method based on a correlation start application, a mobile terminal and a storage medium, when the running application is detected, the running application is scanned according to a preset scanning rule to establish a correlation start application table of the running application, the correlation start application table is stored in a correlation database, then when a memory cleaning instruction triggered based on a preset trigger condition is detected, a correlation start application set is determined according to the current application process information of the mobile terminal and the correlation database, the memory of the mobile terminal is scanned to obtain memory scanning data, finally the application to be cleaned is determined according to the memory scanning data and the correlation start application set, and the memory occupied resources of the application to be cleaned are released, the scheme scans the running application based on the preset scanning rule in the application running process to establish the correlation start application table of the running application, and storing the associated starting application table, then when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an associated starting application set based on the current application process information and the stored associated starting application table, scanning the memory to select an application to be cleaned from the associated starting application set, and releasing the memory occupied resource of the application to be cleaned, thereby optimizing the memory, realizing the automatic release of the occupied memory resource under the condition that a user does not know, reserving abundant memory, ensuring that the application can normally run, and improving the response speed of the application.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for optimizing a memory based on an associated boot application according to the present invention;
fig. 3 is a detailed flowchart of the step of scanning the running application according to the preset scanning rule to establish the associated starting application table of the running application and store the associated starting application table in the associated database in fig. 2;
fig. 4 is a schematic diagram illustrating a detailed flow of the step of determining the associated start application set according to the current application process information of the mobile terminal and the associated start database in fig. 2;
fig. 5 is a schematic flowchart illustrating a detailed process of the step of determining an application to be cleaned according to the memory scan data and the associated start-up application set and releasing the application to be cleaned in fig. 2;
fig. 6 is a schematic view of a detailed flow of releasing the memory occupied resources of the application to be cleaned according to the second embodiment of the memory optimization method based on the associated start-up application.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the above mobile terminal hardware structure, various embodiments of the mobile terminal of the present invention are provided.
Referring to fig. 1, in a first embodiment of the mobile terminal of the present invention, the mobile terminal includes: a memory, a processor, and an associated startup-application-based memory optimizer stored on the memory and executable on the processor, the associated startup-application-based memory optimizer when executed by the processor implementing the steps of:
when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
and scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
scanning the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application;
and establishing an associated starting application table of the running application according to the application identifier of the running application and the associated starting application, and storing the associated starting application table to an associated database.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
when a memory cleaning instruction triggered based on a preset condition is detected, acquiring current application process information from a memory of the mobile terminal;
acquiring a corresponding correlation starting application table from the correlation starting database according to the application identifier in the current application process information;
and taking a set formed by all the associated starting applications in the associated starting application table as an associated starting application set.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
determining a resource type contained in the memory occupied resource of each associated starting application in the associated starting application set according to the memory scanning data;
determining a memory cleaning weight of each correlation starting application according to a resource type contained in the memory occupied resource of each correlation starting application;
and taking the associated starting application with the memory cleaning weight value higher than a preset threshold value as an application to be cleaned, and releasing the memory occupied resources of the application to be cleaned.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
determining the release sequence of the memory occupied resources of each application to be cleaned according to the memory cleaning weight of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
calculating the size of the memory occupied resources of each application to be cleaned, and determining the release sequence of the memory occupied resources of each application to be cleaned according to the size of the memory occupied resources of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Further, the preset trigger condition of the memory cleaning instruction includes that the mobile terminal is in a screen-off standby state, the screen-off standby time of the screen-off standby state exceeds a preset time, and the available memory resource of the mobile terminal is lower than a preset threshold.
The specific embodiment of the mobile terminal of the present invention is substantially the same as each specific embodiment of the following memory optimization method based on the associated boot application, and is not described herein again.
Further, the present invention also provides a memory optimization method based on the associated boot application, which is applied to the mobile terminal shown in fig. 1, referring to fig. 2, and fig. 2 is a flowchart of a first embodiment of the memory optimization method based on the associated boot application in the present invention.
In this embodiment, the method for optimizing a memory based on an associated boot application includes:
step S101, when detecting running application, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
the memory optimization method based on the associated starting application is applied to the mobile terminal shown in fig. 1, and the mobile terminal comprises a smart phone, a tablet computer and the like. The method comprises the steps that when the mobile terminal is in a user use state, namely the mobile terminal is in an unlocking and screen-lighting state, whether running applications exist in the mobile terminal or not is detected, when the running applications are detected, the running applications are scanned according to a preset scanning rule so as to establish a correlation starting application table of the running applications, and the correlation starting application table is stored in a correlation database. In specific implementation, when the mobile terminal is detected to be in an application installation state, the current installation application can be obtained, the current installation application is scanned based on a preset scanning rule, so that an associated starting application table of the current installation application during running is established, and the associated starting application table is stored in an associated database. When a plurality of running applications exist, respective associated starting application tables can be established according to the sequence of the starting time of the running applications, and each application only needs to execute the establishing operation of the associated starting application table.
Specifically, referring to fig. 3, fig. 3 is a detailed flowchart of the step S101 in fig. 2, where the step S101 includes:
step S1011, scanning the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application;
when detecting the running application, the mobile terminal scans the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application, wherein the preset scanning rule comprises a first scanning rule, a second scanning rule, a third scanning rule and a fourth scanning rule, and all the associated starting applications of the running application are obtained after the first scanning rule, the second scanning rule, the third scanning rule and the fourth scanning rule are executed.
Executing a first scanning rule, namely acquiring a Java class file loaded in the running process of the running application, and scanning a function startActivity and a function startActityForResult in the Java class file to acquire a component value (component value) of a parameter intent in the function startActivity and the function startActityForResult, wherein if the component value is not a class for running the application, the application corresponding to the component value is an associated starting application for running the application; executing a second scanning rule, namely acquiring a Java class file loaded in the running process of the running application, and scanning a function startService and a function bindService in the Java class file to acquire a component value (component value) of a parameter intent in the function startService and the function bindService, wherein if the component value is not the class of the running application and is not the service of the system, an application corresponding to the component value is an associated starting application of the running application; executing a third scanning rule, namely acquiring a Java class file loaded in the running process of the running application, and scanning a function sendBloadcast, a function sendOrderedBroadcast and a function sendStickyBroadcast in the Java class file to acquire a component value (component value) of a parameter intent in the function sendBloadcast, the function sendOrderedBroadcast and the function sendStickyBroadcast, wherein if the component value is not a class of the running application, an application corresponding to the component value is an associated starting application of the running application; executing a fourth scanning rule, namely acquiring a Java class file loaded in the running process of the running application, and scanning the query, insert, delete and update method calls of the ContentResolver object in the Java class file to acquire the address values called by the query, insert, delete and update methods, wherein if the address values do not point to the class of the running application, the application pointed by the address values is the associated starting application of the running application.
Step S1012, establishing an associated starting application table of the running application according to the application identifier of the running application and the associated starting application, and storing the associated starting application table in an associated database.
After the mobile terminal acquires all the associated starting applications of the running application, an associated starting application table of the running application is established according to the application identification of the running application and the associated starting application, and the associated starting application table is stored in an associated database, wherein the associated database comprises the associated starting application table of each installed application in the mobile terminal. In specific implementation, when it is detected that an application in the mobile terminal is uninstalled, the associated start-up application table of the uninstalled application may be deleted, the associated start-up application table including the uninstalled application may be obtained, and the uninstalled application may be deleted from the associated start-up application table.
Step S102, when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
when the mobile terminal detects a memory cleaning instruction triggered based on a preset trigger condition, determining a relevant starting application set according to current application process information of the mobile terminal and the relevant database, wherein the preset trigger condition comprises that the mobile terminal is in a screen-off standby state, the screen-off standby time of the screen-off standby state exceeds a preset time, and available memory resources of the mobile terminal are lower than a preset threshold value. It should be noted that the preset time period and the preset threshold may be set by those skilled in the art based on practical situations, and the present invention is not limited thereto.
Specifically, referring to fig. 4, fig. 4 is a detailed flowchart of the step S102 in fig. 2, where the step S102 includes:
step S1021, when a memory cleaning instruction triggered based on a preset condition is detected, current application process information is obtained from the memory of the mobile terminal;
when the mobile terminal detects a memory cleaning instruction triggered based on a preset trigger condition, that is, the mobile terminal is in a screen-off standby state, and the screen-off standby time of the screen-off standby state exceeds a preset time or available memory resources of the mobile terminal are lower than a preset threshold, the mobile terminal triggers the memory cleaning instruction, and acquires current application process information from the memory of the mobile terminal, wherein the current application process information is information of an application in a running state in the memory, and includes an application identifier, running time and the like of the running application.
Step S1023, a set formed by all the associated start applications in the associated start application table is used as an associated start application set.
Step S1022, obtaining a corresponding associated starting application table from the associated starting database according to the application identifier in the current application process information;
after the mobile terminal acquires the current process information, acquiring an application identifier of the running application from the current process information, and acquiring an associated starting application table associated with the application identifier from an associated starting database, namely acquiring the associated starting application table of the running application, and then taking a set formed by all associated starting applications in the associated starting application table as an associated starting application set. In specific implementation, when the current process information includes application identifiers of multiple running applications, an associated startup application table corresponding to the application identifier of each running application is obtained from an associated startup database, that is, multiple associated startup application tables are obtained, and then a set formed by all associated startup applications in the multiple associated startup application tables is used as an associated startup application set.
Step S103, scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned.
The mobile terminal scans a memory of the mobile terminal after determining an associated starting application set to obtain memory scanning data, determines an application to be cleaned according to the memory scanning data and the associated starting application set, and releases memory occupied resources of the application to be cleaned, specifically scans occupied resources in the memory one by one, namely scans and detects occupied resources of preset types one by one, wherein the occupied resources of the preset types comprise system type occupied resources, application type occupied resources, object type occupied resources, database type occupied resources and asset type occupied resources, the system type occupied resources comprise Native Heap, Dalvik Other, Stack, Ashmem, Other dev, so mmap, apk mmap, ttf mmap, dex mmap, ommap, o mmap, armmap, art mmap, Othermmap, GL mmrapm, Unknown type occupied resources of Java applications and the like, and the occupied resources of Java appl types comprise Stack resources such as Stack resources, The database type comprises resources such as Native Heap, Code pointer, Stack, Graphics, Private Other and System, the object type occupies resources such as Views, AppContexts, Assets, Local Binders, Parcel memory and Death registers, the database type occupies resources such as memory _ used and pagecache _ overflow, and the asset type occupies resources such as ttf. The memory scanning data comprises state information and application identification information of each occupied resource, wherein the occupied resource comprises a system type occupied resource, an application type occupied resource, an object type occupied resource, a database type occupied resource, an asset type occupied resource and the like.
Specifically, referring to fig. 5, fig. 5 is a detailed flowchart of step S103 shown in fig. 2, where step S103 includes:
step S1031, determining resource types contained in the memory occupied resources of each associated starting application in the associated starting application set according to the memory scanning data;
the mobile terminal scans occupied resources in the memory to obtain memory scanning data, and then determines resource types contained in the memory occupied resources of each associated starting application in the associated starting application set according to the memory scanning data, specifically, obtains application identifiers of system class occupied resources, application class occupied resources, object class occupied resources, database class occupied resources and asset class occupied resources from the memory scanning data, and then uses the type carrying the same resources as the application identifiers of the associated starting applications as the resource types contained in the memory occupied resources of the corresponding associated starting applications, wherein the resource types contained in the memory occupied resources of each associated starting application can be one or more resource types, for example, the resource types contained in the memory occupied resources of the associated starting applications are the system class occupied resources and the application class occupied resources, or the system class occupies the resources and the object class occupies the resources, or the system class occupies the resources, the application class occupies the resources and the object class occupies the resources.
Step S1032, determining the memory cleaning weight of each associated starting application according to the resource type contained in the memory occupied resource of each associated starting application;
after determining the resource type contained in the memory occupied resource of each associated starting application, the mobile terminal determines the memory cleaning weight of each associated starting application according to the resource type contained in the memory occupied resource of each associated starting application, and takes the sum of the respective weights of the resource types contained in the memory occupied resource of each associated starting application as the memory cleaning weight of each associated starting application. In this embodiment, the weight of the resource occupied by the system class is 0, the weight of the resource occupied by the application class is 1, the weight of the resource occupied by the object class is 2, the weight of the resource occupied by the database class is 3, and the weight of the resource occupied by the asset class is 4.
For example, the resource type included in the memory occupied resource of the associated start-up application is a system class occupied resource, an application class occupied resource, and an object class occupied resource, and the memory cleaning weight of the associated start-up application is the sum of the respective weights of the system class occupied resource, the application class occupied resource, and the object class occupied resource, that is, 0+1+2 to 3. For another example, the memory occupied resource of the associated start-up application includes resource types of system class occupied resource, application class occupied resource, object class occupied resource and database class occupied resource, and the memory cleaning weight of the associated start-up application is the sum of the respective weights of the system class occupied resource, the application class occupied resource, the object class occupied resource and the database class occupied resource, that is, 0+1+2+3 to 6. For another example, the resource types included in the memory occupied resources of the associated start-up application are system class occupied resources, object class occupied resources, and database class occupied resources, and the memory cleaning weight of the associated start-up application is the sum of the respective weights of the system class occupied resources, the object class occupied resources, and the database class occupied resources, that is, 0+2+3 is 5. It should be noted that, weights corresponding to the five resource types, i.e., the system type occupied resource, the application type occupied resource, the object type occupied resource, the database type occupied resource, and the asset type occupied resource, may be set by those skilled in the art based on actual conditions, which is not specifically limited in this embodiment.
Step S1033, using the associated start-up application with the memory cleaning weight higher than the preset threshold as an application to be cleaned, and releasing the memory occupied resource of the application to be cleaned.
After determining the memory cleaning weight of each associated start-up application, the mobile terminal takes the associated start-up application with the memory cleaning weight higher than a preset threshold as the application to be cleaned, and releases the memory occupied resources of the application to be cleaned, for example, if there are 5 associated start-up applications, which are respectively a first associated start-up application, a second associated start-up application, a third associated start-up application, a fourth associated start-up application, and a fifth associated start-up application, and the corresponding memory cleaning weights are 9, 2, 5, 3, and 7, and the preset threshold is 4, the associated start-up application with the memory cleaning weight higher than 4, that is, the first associated start-up application, the third associated start-up application, and the fifth associated start-up application are taken as the application to be cleaned. It should be noted that the preset threshold may be set by a person skilled in the art based on actual situations, and the embodiment does not specifically limit this.
In this embodiment, in the process of running an application, the running application is scanned based on a preset scanning rule to establish an associated starting application table of the running application, and the associated starting application table is stored, and then when a memory cleaning instruction triggered based on a preset trigger condition is detected, an associated starting application set is determined based on current application process information and the stored associated starting application table, and the memory is scanned to select an application to be cleaned from the associated starting application set and release memory occupied resources of the application to be cleaned, so that the memory is optimized, automatic release of occupied memory resources can be realized without the knowledge of a user, sufficient memory is reserved, the application can be guaranteed to run normally, and the response speed of the application is improved.
Further, referring to fig. 6, based on the first embodiment, a second embodiment of the memory optimization method based on an associated starting application according to the present invention is provided, and the difference from the foregoing embodiment is that the step of releasing the memory occupied resource of the application to be cleaned in step S103 includes:
step S1034, determining the release sequence of the memory occupied resources of each application to be cleaned according to the memory cleaning weight of each application to be cleaned;
and step S1035, releasing the memory occupied resources of each application to be cleaned according to the release order.
It should be noted that the present invention provides a specific memory cleaning method based on the foregoing embodiments, and the following description is only made for the specific memory cleaning method.
After determining the applications to be cleaned, the mobile terminal determines the release sequence of the resources occupied by the memory of each application to be cleaned according to the memory cleaning weight of each application to be cleaned, and releases the resources occupied by the memory of each application to be cleaned according to the release sequence. For example, if the resource type included in the memory occupied resource of the associated start application a is the object class occupied resource and the database class occupied resource, the memory cleaning weight is 5, and the resource type included in the memory occupied resource of the associated start application a is the application class occupied resource and the asset class occupied resource, the memory cleaning weight is 5, and if the weight corresponding to the asset class occupied resource is 4 and the weight corresponding to the database class occupied resource is 3, the associated start application a is arranged behind the associated start application B.
In this embodiment, the method and the device for clearing the memory resources of the applications to be cleared determine the clearing sequence of the memory occupied resources of the applications to be cleared based on the memory clearing weight of the applications to be cleared, so that the mobile terminal can clear the memory occupied resources of the applications to be cleared based on the clearing sequence, and the memory resource release rate is effectively improved.
Further, based on the first or second embodiment, a third embodiment of the memory optimization method based on the association-based application startup of the present invention is provided, and the difference from the foregoing embodiment is that the step S104 of releasing the memory occupied resource of the application to be cleaned further includes:
calculating the size of the memory occupied resources of each application to be cleaned, and determining the release sequence of the memory occupied resources of each application to be cleaned according to the size of the memory occupied resources of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
It should be noted that the present invention provides another specific memory cleaning method based on the foregoing embodiments, which will be described below only, and other embodiments can be referred to.
After determining the applications to be cleaned based on the operation associated application, the use frequency weight table, the use time period weight table and the use place weight table, the mobile terminal calculates the size of the memory occupied resource of each application to be cleaned, determines the release sequence of the memory occupied resource of each application to be cleaned according to the size of the memory occupied resource of each application to be cleaned, and then releases the memory occupied resource of each application to be cleaned according to the release sequence.
In this embodiment, the method and the device for clearing the memory occupied resources of the applications to be cleared determine the clearing sequence of the memory occupied resources of the applications to be cleared based on the size of the memory occupied resources of the applications to be cleared, so that the mobile terminal can clear the memory occupied resources of the applications to be cleared based on the clearing sequence, and the memory resource release rate is effectively improved.
In addition, an embodiment of the present invention further provides a computer-readable storage medium, where a memory optimization program based on an associated starting application is stored on the computer-readable storage medium, and when executed by the processor, the memory optimization program based on the associated starting application implements the following steps:
when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
and scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
scanning the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application;
and establishing an associated starting application table of the running application according to the application identifier of the running application and the associated starting application, and storing the associated starting application table to an associated database.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
when a memory cleaning instruction triggered based on a preset condition is detected, acquiring current application process information from a memory of the mobile terminal;
acquiring a corresponding correlation starting application table from the correlation starting database according to the application identifier in the current application process information;
and taking a set formed by all the associated starting applications in the associated starting application table as an associated starting application set.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
determining a resource type contained in the memory occupied resource of each associated starting application in the associated starting application set according to the memory scanning data;
determining a memory cleaning weight of each correlation starting application according to a resource type contained in the memory occupied resource of each correlation starting application;
and taking the associated starting application with the memory cleaning weight value higher than a preset threshold value as an application to be cleaned, and releasing the memory occupied resources of the application to be cleaned.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
determining the release sequence of the memory occupied resources of each application to be cleaned according to the memory cleaning weight of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Further, when executed by the processor, the memory optimizer based on the associated boot application performs the following steps:
calculating the size of the memory occupied resources of each application to be cleaned, and determining the release sequence of the memory occupied resources of each application to be cleaned according to the size of the memory occupied resources of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
Further, the preset trigger condition of the memory cleaning instruction includes that the mobile terminal is in a screen-off standby state, the screen-off standby time of the screen-off standby state exceeds a preset time, and the available memory resource of the mobile terminal is lower than a preset threshold.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the specific embodiments of the memory optimization method based on the associated boot application, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. A memory optimization method based on correlation starting application is characterized in that the memory optimization method is applied to a mobile terminal, and comprises the following steps:
when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned;
the step of determining the application to be cleaned according to the memory scanning data and the associated starting application set, and releasing the memory occupied resources of the application to be cleaned includes:
determining a resource type contained in the memory occupied resource of each associated starting application in the associated starting application set according to the memory scanning data, wherein the resource type contained in the memory occupied resource of each associated starting application is a plurality of resource types in system type occupied resources, application type occupied resources, object type occupied resources, database type occupied resources and asset type occupied resources;
determining a memory cleaning weight of each correlation starting application according to a resource type contained in the memory occupied resource of each correlation starting application;
and taking the associated starting application with the memory cleaning weight value higher than a preset threshold value as an application to be cleaned, and releasing the memory occupied resources of the application to be cleaned.
2. The memory optimization method based on the associated start-up application as claimed in claim 1, wherein the step of scanning the run application according to a preset scanning rule to establish an associated start-up application table of the run application and storing the associated start-up application table in an associated database comprises:
scanning the Java class file loaded in the running process of the running application according to a preset scanning rule to obtain the associated starting application of the running application;
and establishing an associated starting application table of the running application according to the application identifier of the running application and the associated starting application, and storing the associated starting application table to an associated database.
3. The memory optimization method based on the associated start-up application according to claim 1, wherein the step of determining the associated start-up application set according to the current application progress information of the mobile terminal and the association database comprises:
when a memory cleaning instruction triggered based on a preset condition is detected, acquiring current application process information from a memory of the mobile terminal;
acquiring a corresponding correlation starting application table from the correlation database according to the application identifier in the current application process information;
and taking a set formed by all the associated starting applications in the associated starting application table as an associated starting application set.
4. The memory optimization method based on the associated boot application according to claim 1, wherein the step of releasing the memory occupied resources of the application to be cleaned comprises:
determining the release sequence of the memory occupied resources of each application to be cleaned according to the memory cleaning weight of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
5. The method for optimizing memory based on an associated start-up application according to any one of claims 1 to 3, wherein the step of releasing the memory occupied resources of the application to be cleaned further comprises:
calculating the size of the memory occupied resources of each application to be cleaned, and determining the release sequence of the memory occupied resources of each application to be cleaned according to the size of the memory occupied resources of each application to be cleaned;
and releasing the memory occupied resources of each application to be cleaned according to the release sequence.
6. The method for optimizing memory based on the associated start-up application according to any one of claims 1 to 4, wherein the preset trigger condition of the memory cleaning instruction includes that the mobile terminal is in a screen-off standby state, the screen-off standby duration of the screen-off standby state exceeds a preset duration, and the available memory resources of the mobile terminal are lower than a preset threshold.
7. A mobile terminal, characterized in that the mobile terminal comprises: a memory, a processor, and an associated startup-application-based memory optimizer stored on the memory and operable on the processor, the associated startup-application-based memory optimizer when executed by the processor implementing the steps of:
when the running application is detected, scanning the running application according to a preset scanning rule to establish an associated starting application table of the running application, and storing the associated starting application table to an associated database;
when a memory cleaning instruction triggered based on a preset trigger condition is detected, determining an association starting application set according to the current application process information of the mobile terminal and the association database;
scanning the memory of the mobile terminal to obtain memory scanning data, determining an application to be cleaned according to the memory scanning data and the associated starting application set, and releasing memory occupied resources of the application to be cleaned;
the step of determining the application to be cleaned according to the memory scanning data and the associated starting application set, and releasing the memory occupied resources of the application to be cleaned includes:
determining a resource type contained in the memory occupied resource of each associated starting application in the associated starting application set according to the memory scanning data, wherein the resource type contained in the memory occupied resource of each associated starting application is a plurality of resource types in system type occupied resources, application type occupied resources, object type occupied resources, database type occupied resources and asset type occupied resources;
determining a memory cleaning weight of each correlation starting application according to a resource type contained in the memory occupied resource of each correlation starting application;
and taking the associated starting application with the memory cleaning weight value higher than a preset threshold value as an application to be cleaned, and releasing the memory occupied resources of the application to be cleaned.
8. The mobile terminal according to claim 7, wherein the memory optimization program based on the associated launched application, when executed by the processor, further implements the steps of the memory optimization method based on the associated launched application according to any one of claims 2 to 6.
9. A computer-readable storage medium, wherein the computer-readable storage medium has stored thereon an associated launched application-based memory optimization program, which when executed by a processor implements the steps of the associated launched application-based memory optimization method according to any one of claims 1 to 6.
CN201711236950.4A 2017-11-30 2017-11-30 Memory optimization method based on associated starting application, mobile terminal and storage medium Active CN107943590B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236950.4A CN107943590B (en) 2017-11-30 2017-11-30 Memory optimization method based on associated starting application, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236950.4A CN107943590B (en) 2017-11-30 2017-11-30 Memory optimization method based on associated starting application, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107943590A CN107943590A (en) 2018-04-20
CN107943590B true CN107943590B (en) 2022-03-18

Family

ID=61946920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236950.4A Active CN107943590B (en) 2017-11-30 2017-11-30 Memory optimization method based on associated starting application, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107943590B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109388947B (en) * 2018-10-30 2023-06-20 浙江解纷链数字科技有限公司 Background management method, device and computer readable storage medium
CN110221756B (en) * 2019-06-18 2020-08-28 Oppo广东移动通信有限公司 Method, device, terminal and storage medium for processing application data
CN111427629B (en) * 2020-03-30 2023-03-17 北京梧桐车联科技有限责任公司 Application starting method and device, vehicle equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014079228A1 (en) * 2012-11-20 2014-05-30 惠州Tcl移动通信有限公司 Method for automatic cleaning background application of electronic device, electronic device and storage medium
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN106407804A (en) * 2016-09-26 2017-02-15 北京小米移动软件有限公司 An apparatus state detection method and device
CN106951328A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 The management method and system of application program
CN107038074A (en) * 2017-04-14 2017-08-11 努比亚技术有限公司 Internal memory optimization device and method based on associating policy
CN107145392A (en) * 2017-04-26 2017-09-08 努比亚技术有限公司 A kind of method and apparatus of memory optimization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014079228A1 (en) * 2012-11-20 2014-05-30 惠州Tcl移动通信有限公司 Method for automatic cleaning background application of electronic device, electronic device and storage medium
CN104298612A (en) * 2014-09-30 2015-01-21 北京金山安全软件有限公司 Method and device for cleaning memory in mobile terminal and mobile terminal
CN106407804A (en) * 2016-09-26 2017-02-15 北京小米移动软件有限公司 An apparatus state detection method and device
CN106951328A (en) * 2017-03-28 2017-07-14 努比亚技术有限公司 The management method and system of application program
CN107038074A (en) * 2017-04-14 2017-08-11 努比亚技术有限公司 Internal memory optimization device and method based on associating policy
CN107145392A (en) * 2017-04-26 2017-09-08 努比亚技术有限公司 A kind of method and apparatus of memory optimization

Also Published As

Publication number Publication date
CN107943590A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN108845853B (en) Application program starting method and mobile terminal
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN107402694B (en) Application switching method, device and computer-readable storage medium
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
CN110837327B (en) Message viewing method and terminal
CN109471690B (en) Message display method and terminal equipment
US11543935B2 (en) Information processing method and terminal device
CN109284144B (en) Fast application processing method and mobile terminal
CN107480169B (en) Picture loading method, terminal and computer readable storage medium
CN110971510A (en) Message processing method and electronic equipment
US20210320995A1 (en) Conversation creating method and terminal device
CN107943590B (en) Memory optimization method based on associated starting application, mobile terminal and storage medium
CN108549660B (en) Information pushing method and device
CN107967177B (en) Memory optimization method based on core process, mobile terminal and readable storage medium
CN108008892B (en) Function starting method and terminal
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
EP4007246A1 (en) Message sending method, and terminal apparatus
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111190515A (en) Shortcut panel operation method, device and readable storage medium
CN108089935B (en) Application program management method and mobile terminal
CN107704287B (en) Installation-free method for program application, mobile terminal and computer-readable storage medium
CN107734477B (en) Call forwarding method and mobile terminal
CN109922209B (en) Photo management method and terminal equipment
CN109521916B (en) File processing method based on flexible screen, mobile terminal and storage medium
CN111597435A (en) Voice search method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant