WO2015078342A1 - Method for acquiring memory information, and terminal - Google Patents
Method for acquiring memory information, and terminal Download PDFInfo
- Publication number
- WO2015078342A1 WO2015078342A1 PCT/CN2014/092041 CN2014092041W WO2015078342A1 WO 2015078342 A1 WO2015078342 A1 WO 2015078342A1 CN 2014092041 W CN2014092041 W CN 2014092041W WO 2015078342 A1 WO2015078342 A1 WO 2015078342A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory
- space occupied
- memory space
- preset threshold
- snapshot
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/81—Threshold
Definitions
- the present disclosure relates to the field of information processing technology, particularly to a method for acquiring memory information, and a terminal.
- a process of the application may occupy some memory spaces.
- a user needs to initiatively trigger an acquisition, to obtain a memory snapshot of the process, i.e., the state of the memory occupied by the process. Then, whether the process should be optimized may be determined according to the state of the memory occupied by the process.
- a method for acquiring memory information is provided according to embodiments of the disclosure, to automatically acquire information on memory occupancy of a process.
- a corresponding terminal is further provided according to embodiments of the disclosure.
- a method for acquiring memory information is provided according to the disclosure, which is applied to the terminal.
- the method includes:
- a terminal comprising one or more processors and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising:
- the determining unit determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process;
- a non-transitory computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computer system with one or more processors, cause the computer system to:
- the memory snapshot is memory description information of the memory space occupied by the process
- memory space occupied by each process is monitored; a memory snapshot of a process is acquired when memory space occupied by the process is larger than a preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory occupied by the process; and the memory description information of the memory occupied by the process is displayed.
- the method for acquiring memory information can automatically acquire information on memory occupied by a process when memory space occupied by the process is larger than a preset threshold, and display the information to the user. In this way, the user can obtain information on memory space occupied by a process timely.
- Fig. 1 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure
- Fig. 2 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure
- Fig. 3 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure.
- Fig. 4 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure.
- Fig. 5 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure.
- Fig. 6 is a diagram of a terminal according to an embodiment of the disclosure.
- Fig. 7 is a diagram of a terminal according to another embodiment of the disclosure.
- Fig. 8 is a diagram of a terminal according to another embodiment of the disclosure.
- Fig. 9 is a schematic structural diagram of a terminal to which the method for acquiring memory information is applied according to an embodiment of the disclosure.
- a method for acquiring memory information is provided according to embodiments of the disclosure, to automatically acquire information on memory occupied by a process.
- a corresponding terminal is further provided according to embodiments of the disclosure. The detailed description thereof is provided as follows.
- a method for acquiring memory information includes steps 101-104.
- Step 101 includes: monitoring a memory space occupied by each of multiple processes.
- a processor may process multiple processes simultaneously. Therefore, the memory may be occupied by the multiple processes simultaneously, and each process corresponds to the occupied memory space.
- Step 102 includes: determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
- Step 103 includes: acquiring a memory snapshot of the process, in a case that the memory space occupied by the process exceeds the preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory space occupied by the process.
- the memory description information may include the memory space occupied by the process, and legality of the process occupying the memory.
- Preset thresholds of several processes are illustrated in Table 1.
- Table 1 correspondence table of processes and thresholds
- the thresholds may be preset by a programmer. Thus, the corresponding thresholds will be obtained when the application is downloaded and installed.
- the memory space occupied by the process com. tencent. apt is 20 MB
- the memory space occupied by the process com. tencent. apt is compared with the preset threshold 10 MB of the process to determine that the memory space occupied by the process com. tencent. apt is larger than the preset threshold 10 MB.
- a memory snapshot of the process com. tencent. apt is acquired.
- the memory snapshot may include memory description information, which may be for example that the memory space occupied by the process com. tencent. apt is 20 MB, and that the process illegally occupies memory.
- Step 104 includes: displaying the memory description information of the memory space occupied by the process.
- the memory description information corresponding to the process may be displayed to a user. Therefore, the user can determine how to deal with the situation.
- the memory space occupied by each process is monitored.
- a memory snapshot of the process is acquired, where the memory snapshot is memory description information of the memory occupied by the process.
- the memory description information of the memory occupied by the process is displayed.
- a method for acquiring memory information is provided according to another embodiment of the disclosure. As shown in Fig. 2, before the monitoring a memory space occupied by each of multiple processes, the method further includes steps 1021 and 1022.
- Step 1021 includes: receiving thresholds of the memory spaces occupied by respective processes, where the thresholds are input by a user; and
- Step 1022 includes: associating a name of each process with the threshold of the memory space occupied by the process; and storing the associated name and threshold.
- the thresholds of the memory spaces occupied by respective processes may be set by the user.
- the user may set various thresholds of occupied memory spaces for different processes.
- a terminal After receiving the thresholds of occupied memory spaces set for respective processes, a terminal associates a name of each process and the threshold of the memory space occupied by the process, and stores the associated name and threshold.
- the method further includes steps 1031 and 1032.
- Step 1031 includes: receiving an optimization instruction of the process, where the optimization instruction is input by the user and adapted to optimize an assigned application;
- Step 1032 includes: optimizing the assigned application according to the optimization instruction.
- a terminal displays the memory description information of the process to indicate that the occupied memory space is larger than the preset threshold
- the user can understand that an application, corresponding to the process occupying memory space larger than the preset threshold, should be optimized.
- the user may input an optimization instruction to the terminal.
- the terminal optimizes the corresponding application.
- a process of the optimization may include downloading a patch, or updating to a latest version.
- the method further includes steps 1041 and 1042.
- Step 1041 includes: continuously monitoring the memory space occupied by the process.
- Step 1042 includes: no more acquiring the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
- the terminal determines that the memory space occupied by the process is larger than the preset threshold, it is possible that the memory space occupied by the process keeps larger than the preset threshold during a period. During this period, the memory information described by the memory snapshot is invariant. To avoid a repeated acquisition of the memory snapshot of the process, the memory snapshot is acquired only once during the period when the memory space occupied by the process keeps larger than the preset threshold.
- the method for acquiring memory information further include steps 1051 and 1052
- Step 1051 includes: monitoring the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold;
- Step 1052 includes: acquiring another memory snapshot of the process, in the case that the memory space occupied by the process exceeds the threshold again.
- the process may have been optimized. If the memory space occupied by the process exceeds the preset threshold again, it needs to acquire another memory snapshot of the process occupying memory space larger than the preset threshold. In this way, the user may be convenient to learning the evolvement of the process.
- a terminal is provided according to an embodiment of the disclosure.
- the terminal includes one or more processors and memory having instructions stored thereon, and the instructions, when executed by the one or more processors, cause the processors to perform operations includes:
- a monitoring unit 201 adapted to monitor a memory space occupied by each of multiple processes
- a determining unit 202 adapted to determine whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process
- an acquisition unit 203 adapted to acquire a memory snapshot of the process, in a case that the determining unit 202 determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory occupied by the process;
- a display unit 204 adapted to display the memory description information of the memory occupied by the process, where the memory description information is acquired by the acquisition unit 203.
- the acquisition unit 203 is adapted to acquire a memory snapshot of a process, in the case that the determining unit 202 determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process.
- the terminal for acquiring the memory information With the terminal for acquiring the memory information according to the embodiment of the disclosure, information on memory occupied by the process can be automatically acquired, in the case that memory space occupied by the process is larger than the preset threshold; and the acquired information is displayed to a user. In this way, the user can obtain information on the memory space occupied by the process timely.
- the terminal 20 further includes:
- a first receiving unit 205 adapted to receive thresholds of memory spaces occupied by respective processes, where the thresholds are input by a user;
- an associative storage unit 206 adapted to associate a name of each process with the threshold of the memory space occupied by the each process; and store the associated name and threshold, where the threshold is received by the first receiving unit 205.
- the terminal 20 further includes:
- a second receiving unit 207 adapted to receive an optimization instruction of the process, where the optimization instruction is input by the user and adapted to optimize an assigned application;
- a processing unit 208 adapted to optimize the assigned application according to the optimization instruction.
- the monitoring unit 201 is further adapted to continuously monitor the memory space occupied by the process; and no more acquire the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
- the acquisition unit 203 is further adapted to monitor the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold; and acquire another memory snapshot of the process, in a case that the monitoring unit 201 monitors that that memory space occupied by the process exceeds the threshold again.
- Fig. 9 shows a structural diagram of a terminal according to an embodiment of the disclosure.
- the terminal may be adapted to perform the method for acquiring the memory information according to the foregoing embodiments.
- the terminal 1200 may include: a Radio Frequency (RF) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180 including one or more processing cores, and a power supply 190.
- RF Radio Frequency
- a memory 120 including one or more computer readable storage media
- an input unit 130 a display unit 140
- a sensor 150 an audio circuit 160
- WiFi wireless fidelity
- processor 180 including one or more processing cores
- a power supply 190 Those skilled in the art may understand that the terminal is not limited to a structure of the terminal shown in Figure 9, and may include more components or less components than the illustrated components, a combination of the components, or a different arrangement of the components.
- the RF circuit 110 is adapted to receive and transmit information, i.e., to receive a downlink signal from a base station and send the received signal to the processor 180 to process the signal; and to transmit an uplink signal to a base station.
- the RF circuit 110 includes but not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA) , and a duplexer.
- SIM Subscriber Identity Module
- the RF circuit 110 may further enable the terminal to communicate with other devices via a wireless communication network.
- the wireless communication network may operate according to any communication standard or protocol, which includes but not limited to Global System of Mobile communication (GSM) , a General Packet Radio Service (GPRS) , Code Division Multiple Access (CDMA) , Wideband Code Division Multiple Access (WCDMA) , Long Term Evolution (LTE) , e-mail, Short Messaging Service (SMS) .
- GSM Global System of Mobile communication
- GPRS General Packet Radio Service
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- LTE Long Term Evolution
- SMS Short Messaging Service
- the memory 120 may be adapted to store software programs or modules.
- the processor 180 is adapted to perform various functional applications and data processing by running the software programs or modules stored in the memory 120.
- the memory 120 may mainly include a program memory area and a data memory area.
- In the program memory area may store an operating system, an application required by at least one function (such as a sound playing function, an image playing function) .
- the data memory area may store data (such as audio data, a phone book) created according to the work of the terminal 1200.
- the memory 120 may include a high speed random access memory, or a nonvolatile memory such as at least one magnetic disk memory device, a flash memory device or other volatile solid state memory devices. Accordingly, the memory 120 may also include a memory controller for providing access of the processor 180 and the input unit 130 to the memory 120.
- the input unit 130 may be adapted to receive input digital information or input character information, and to generate signals input by a keyboard, a mouse, a joystick, an optical ball or a trackball, which relate to user settings and function control.
- the input unit 130 may include a touch-sensitive surface 131 and other input devices 132.
- the touch-sensitive surface 131 also called as a touch display screen or a touch panel, may collect touch operations, performed by a user thereon or in the vicinity thereof, such as operations performed by the user using any suitable object or accessory (such as a finger and a touch pen) on the touch-sensitive surface 131 or in the vicinity of the touch-sensitive surface 131; and then may drive a corresponding connection device according to a preset program.
- the touch-sensitive surface 131 may include a touch detection device and a touch controller.
- the touch detection device detects the position of the touch performed by the user and a signal caused by the touch operation, and sends the signal to the touch controller.
- the touch controller receives touch information from the touch detection device; converts the information into coordinates of the touch point; then sends the coordinates of the touch point to the processor 180; and receives and executes a command sent from the processor 180.
- the touch-sensitive surface 131 can be realized in multiple types such as a resistive type, a capacitive type, an infrared type and a surface acoustic wave type.
- the input unit 130 may also include other input devices 132 besides the touch-sensitive surface 131.
- the other input devices 132 may include but not limited to one or more of a physical keyboard, a function key (such as a volume control button and a switch button) , a trackball, a mouse, a joystick.
- the display unit 140 may be adapted to display information input by the user, information provided to the user, or various graphic user interfaces of the terminal 1200. Those graphic user interfaces may include a graphic, text, an icon, a video or any combination thereof.
- the display unit 140 may include a display panel 141.
- the display panel 141 may be configured as, for example, a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) display.
- the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation thereon or in the vicinity thereof, the touch-sensitive surface 131 sends a signal of the detected touch operation to the processor 180 to determine a type of the touch event.
- the processor 180 then provides a corresponding visual output on the display panel 141 according to the type of the touch event.
- the touch-sensitive surface 131 and the display panel 141 which is shown as two separate components to realize the input function and the output function respectively in Figure 9, may be integrated together to realize the input function and the output function in some embodiments.
- the terminal 1200 may further include at least one sensor 150 such as a light sensor, a motion sensor and other sensors.
- the light sensor may include an ambient light sensor and a proximity sensor.
- the ambient light sensor may adjust brightness of the display panel 141 according to ambient light.
- the proximity sensor may turn off the display panel 141 and/or backlight when the terminal 1200 is moved close to the user’s ear.
- a gravity acceleration sensor may detect an acceleration value in various directions (generally, in three axial directions) , and detect a value and direction of the gravity in a stationary state.
- the gravity acceleration sensor may be applied to an application for identifying the attitude of a cell phone (such as screen orientation switch, related games, and magnetometer attitude calibration) , a function related to vibration identification (such as a pedometer, or a knock) and so on.
- Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, which may be equipped to the terminal, will not be described here any more.
- An audio interface between the user and the terminal 1200 may be provided by the audio circuit 160, a speaker 161 and a microphone 162.
- the audio circuit 160 may convert the received audio data into an electrical signal and transmit the electrical signal to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal and output the sound signal.
- the microphone 162 converts the collected sound signal into an electrical signal.
- the audio circuit 160 converts the received electrical signal into audio data and outputs the audio data to the processor 180. After the audio data are processed by the processor 180, the processed audio data are then sent to for example another terminal via the RF circuit 110 or are output to the memory 120 to further process.
- the audio circuit 160 may also include an earphone jack, to provide communication between a peripheral headphone and the terminal 1200.
- the WiFi is a short range wireless transmission technology.
- the terminal 1200 may assist a user to send and receive e-mails, browse a webpage and access streaming media and so on via the WiFi module 170.
- the WiFi module 170 provides a wireless broadband internet access to the user. Although the WiFi module 170 is illustrated in Figure 9, it may be understood that the WiFi module 170 is not necessary in the terminal 1200, and can be omitted without changing the scope of essence of the present disclosure.
- the processor 180 as a control center of the terminal 1200, is adapted to connect each part of the terminal using various interfaces and circuits, to perform various functions of the terminal and to process data by running or executing a software program and/or the software module stored in the memory 120 and calling data stored in the memory 120, thus achieving overall monitoring of the whole terminal.
- the processor 180 may include one or more processing cores.
- an application processor and a modem processor may be integrated into the processor 180.
- the application processor mainly processes an operating system, user interfaces, and applications; and the modem processor mainly processes wireless communication. It can be understood that the modem processor described above may be not integrated into the processor 180.
- the terminal 1200 may further include the power supply 190 (such as a battery) for supplying power to each component.
- the power source may be logically connected to the processor 180 via a power supply management system, thus achieving functions such as charge management, discharge management, power consumption management by the power supply management system.
- the power supply 190 may further include any components, such as one or more DC power supplies or AC power supplies, a recharge system, a power supply fault detection system, a power supply converter or inverter, or a power supply state indicator.
- the terminal may also include a camera, a Bluetooth module and so on, which are not described here any more.
- a display unit of the terminal is a touch screen display; the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs are configured to be performed by one or more processors to execute instructions for the following operations:
- instructions for operating following operations may further be stored in the memory of the terminal, which includes:
- instructions for operating following operations may further be stored in the memory of the terminal, which includes:
- instructions for operating following operations may further be stored in the memory of the terminal, which includes:
- a computer readable storage medium is provided in another embodiment.
- the computer readable storage medium may be the computer readable storage medium contained in the above embodiments, or may be a separate computer readable storage medium not assembled in the terminal.
- One or more programs are stored in the computer readable storage medium, and operated by one or more processors to perform a method for acquiring memory information. The method includes:
- the above embodiment is regarded as a first embodiment.
- the method before the monitoring a memory space occupied by each of multiple processes, the method further includes:
- the method further includes:
- the method further includes:
- the method further includes:
- the program may be stored in a computer readable storage medium.
- the storage medium may include: a Read-Only Memory (ROM) , a Random Access Memory (RAM) , a magnetic disk, a compact disc or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
A method for acquiring memory information, which is applied to a terminal, includes: monitoring a memory space occupied by each of multiple processes; determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process; acquiring a memory snapshot of the process, in a case that the memory space occupied by the process exceeds a preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory space occupied by the process; and displaying the memory description information of the memory space occupied by the process.
Description
This application claims priority to Chinese Patent Application No.201310639728.4, entitled “METHOD FOR ACQUIRING MEMORY INFORMATION, AND TERMINAL” , filed with the Chinese Patent Office on November 28, 2013, which is incorporated by reference in its entirety herein.
Field of the Technology
The present disclosure relates to the field of information processing technology, particularly to a method for acquiring memory information, and a terminal.
When an application is run in a terminal, a process of the application may occupy some memory spaces. To acquire a state of a memory occupied by the process, a user needs to initiatively trigger an acquisition, to obtain a memory snapshot of the process, i.e., the state of the memory occupied by the process. Then, whether the process should be optimized may be determined according to the state of the memory occupied by the process.
By studying and practicing a common scenario, it is found that according to the common scenario, it is impossible for the user to trigger, in a real time manner, the acquisition of the state of the memory occupied by the process. Therefore, the user can not obtain information on the memory occupied by the process in a real time manner.
Summary
A method for acquiring memory information is provided according to embodiments of the disclosure, to automatically acquire information on memory occupancy of a process. A corresponding terminal is further provided according to embodiments of the disclosure.
In a one aspect, a method for acquiring memory information is provided
according to the disclosure, which is applied to the terminal. The method includes:
monitoring memory space occupied by each of multiple processes;
determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
acquiring a memory snapshot of the process, in a case that the memory space occupied by the process exceeds a preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; and
displaying the memory description information of the memory occupied by the process.
In another aspect, a terminal is provided in the disclosure, comprising one or more processors and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising:
monitoring memory space occupied by each of multiple processes;
determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
acquiring a memory snapshot of the process, in a case that the determining unit determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; and
displaying the memory description information of the memory occupied by the process, wherein the memory description information is acquired by the acquisition unit.
In yet another aspect, a non-transitory computer readable storage medium storing one or more programs, the one or more programs including instructions, which when executed by a computer system with one or more processors, cause the computer system to:
monitor a memory space occupied by each of multiple processes;
determine whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
acquire a memory snapshot of the process, in a case that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; and
display the memory description information of the memory space occupied by the process.
According to the embodiments of the disclosure, memory space occupied by each process is monitored; a memory snapshot of a process is acquired when memory space occupied by the process is larger than a preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory occupied by the process; and the memory description information of the memory occupied by the process is displayed. Compared with the conventional technology in which the user can not obtain information on the memory space occupied by the process timely, the method for acquiring memory information according to the embodiments of the disclosure can automatically acquire information on memory occupied by a process when memory space occupied by the process is larger than a preset threshold, and display the information to the user. In this way, the user can obtain information on memory space occupied by a process timely.
To better explain the technical solutions in embodiments of the disclosure, drawings for description of the embodiments are described below briefly. Apparently, the drawings described below are merely a few embodiments of the disclosure. For those skilled in the art, other drawings may be obtained without paying any creative work according to these drawings.
Fig. 1 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure;
Fig. 2 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure;
Fig. 3 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure;
Fig. 4 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure;
Fig. 5 is a diagram of a method for acquiring memory information according to an embodiment of the disclosure;
Fig. 6 is a diagram of a terminal according to an embodiment of the disclosure;
Fig. 7 is a diagram of a terminal according to another embodiment of the disclosure;
Fig. 8 is a diagram of a terminal according to another embodiment of the disclosure; and
Fig. 9 is a schematic structural diagram of a terminal to which the method for acquiring memory information is applied according to an embodiment of the disclosure.
Detailed Description of Embodiments
A method for acquiring memory information is provided according to embodiments of the disclosure, to automatically acquire information on memory occupied by a process. A corresponding terminal is further provided according to embodiments of the disclosure. The detailed description thereof is provided as follows.
Technical solutions in the embodiments of the disclosure are clearly and completely described below in combination with the drawings for the embodiments of the disclosure. Apparently, the described embodiments are merely a few instead of all embodiments of the disclosure. Based on the embodiments of the disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of the disclosure
As shown in Fig. 1, a method for acquiring memory information according to an embodiment of the disclosure includes steps 101-104.
In a terminal device, a processor may process multiple processes simultaneously. Therefore, the memory may be occupied by the multiple processes
simultaneously, and each process corresponds to the occupied memory space.
The memory description information may include the memory space occupied by the process, and legality of the process occupying the memory.
Various processes have different preset thresholds. Preset thresholds of several processes are illustrated in Table 1.
Table 1: correspondence table of processes and thresholds
| name of process | threshold (MB) |
| com. tencent. apt | 10 |
| com. tencent. apt: mss | 15 |
| com. tencent. qq | 40 |
The thresholds may be preset by a programmer. Thus, the corresponding thresholds will be obtained when the application is downloaded and installed.
For example, it is acquired that the memory space occupied by the process com. tencent. apt is 20 MB, and the memory space occupied by the process com. tencent. apt is compared with the preset threshold 10 MB of the process to determine that the memory space occupied by the process com. tencent. apt is larger than the preset threshold 10 MB. In this case, a memory snapshot of the process com. tencent. apt is acquired. The memory snapshot may include memory description information, which may be for example that the memory space occupied by the process com. tencent. apt is 20 MB, and that the process illegally occupies memory.
Step 104 includes: displaying the memory description information of the memory space occupied by the process.
After an improper memory occupancy of any one of the processes is determined, the memory description information corresponding to the process may be displayed to a user. Therefore, the user can determine how to deal with the situation.
In an embodiment of the disclosure, the memory space occupied by each process is monitored. When a memory space occupied by a process among the multiple processes exceeds a threshold corresponding to the process, a memory snapshot of the process is acquired, where the memory snapshot is memory description information of the memory occupied by the process. Then, the memory description information of the memory occupied by the process is displayed. With the method for acquiring the memory information according to the embodiment of the disclosure, information on memory occupied by the process can be automatically acquired, in the case that the memory space occupied by the process is larger than the preset threshold; and the acquired information is displayed to the user. Thus, the user can obtain information on memory space occupied by the process timely.
Based on the foregoing embodiment corresponding to Fig. 1, a method for acquiring memory information is provided according to another embodiment of the disclosure. As shown in Fig. 2, before the monitoring a memory space occupied by each of multiple processes, the method further includes steps 1021 and 1022.
In this embodiment, the thresholds of the memory spaces occupied by respective processes may be set by the user. The user may set various thresholds of occupied memory spaces for different processes. After receiving the thresholds of occupied memory spaces set for respective processes, a terminal associates a name of each process and the threshold of the memory space occupied by the process, and stores the associated name and threshold.
Based on the foregoing embodiment as shown in Fig. 1, in another
embodiment of the disclosure, as shown in Fig. 3, after the displaying the memory description information of the memory space occupied by the process, the method further includes steps 1031 and 1032.
In this embodiment, in the case that a terminal displays the memory description information of the process to indicate that the occupied memory space is larger than the preset threshold, the user can understand that an application, corresponding to the process occupying memory space larger than the preset threshold, should be optimized. Then, the user may input an optimization instruction to the terminal. After receiving the optimization instruction, the terminal optimizes the corresponding application. A process of the optimization may include downloading a patch, or updating to a latest version.
Based on the embodiment shown in Fig. 1, the embodiment shown in Fig. 2, or the embodiment shown in Fig. 3, in another embodiment of the disclosure, as shown in Fig. 4, after the acquiring a memory snapshot of a process, the method further includes steps 1041 and 1042.
In this embodiment, after the terminal determines that the memory space occupied by the process is larger than the preset threshold, it is possible that the memory space occupied by the process keeps larger than the preset threshold during a period. During this period, the memory information described by the memory snapshot is
invariant. To avoid a repeated acquisition of the memory snapshot of the process, the memory snapshot is acquired only once during the period when the memory space occupied by the process keeps larger than the preset threshold.
Based on the foregoing embodiments, in another embodiment of the disclosure, as shown in Fig. 5, the method for acquiring memory information further include steps 1051 and 1052
In this embodiment, if it is monitored that the memory space occupied by the process is no larger than the preset threshold, it means the process may have been optimized. If the memory space occupied by the process exceeds the preset threshold again, it needs to acquire another memory snapshot of the process occupying memory space larger than the preset threshold. In this way, the user may be convenient to learning the evolvement of the process.
As shown in Fig. 6, a terminal is provided according to an embodiment of the disclosure. The terminal includes one or more processors and memory having instructions stored thereon, and the instructions, when executed by the one or more processors, cause the processors to perform operations includes:
a monitoring unit 201, adapted to monitor a memory space occupied by each of multiple processes;
a determining unit 202 adapted to determine whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
an acquisition unit 203, adapted to acquire a memory snapshot of the process, in a case that the determining unit 202 determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process, where the
memory snapshot is memory description information of the memory occupied by the process; and
a display unit 204, adapted to display the memory description information of the memory occupied by the process, where the memory description information is acquired by the acquisition unit 203.
In the embodiment, the acquisition unit 203 is adapted to acquire a memory snapshot of a process, in the case that the determining unit 202 determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process. With the terminal for acquiring the memory information according to the embodiment of the disclosure, information on memory occupied by the process can be automatically acquired, in the case that memory space occupied by the process is larger than the preset threshold; and the acquired information is displayed to a user. In this way, the user can obtain information on the memory space occupied by the process timely.
Based on the foregoing embodiment as shown in Fig. 6, in another embodiment of the disclosure, as shown in Fig. 7, the terminal 20 further includes:
a first receiving unit 205, adapted to receive thresholds of memory spaces occupied by respective processes, where the thresholds are input by a user; and
an associative storage unit 206, adapted to associate a name of each process with the threshold of the memory space occupied by the each process; and store the associated name and threshold, where the threshold is received by the first receiving unit 205.
Based on the foregoing embodiment as shown in Fig. 6, in another embodiment of the disclosure, as shown in Fig. 8, the terminal 20 further includes:
a second receiving unit 207, adapted to receive an optimization instruction of the process, where the optimization instruction is input by the user and adapted to optimize an assigned application; and
a processing unit 208, adapted to optimize the assigned application according to the optimization instruction.
In another embodiment of the disclosure, the monitoring unit 201 is further
adapted to continuously monitor the memory space occupied by the process; and no more acquire the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
In another embodiment of the disclosure, the acquisition unit 203 is further adapted to monitor the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold; and acquire another memory snapshot of the process, in a case that the monitoring unit 201 monitors that that memory space occupied by the process exceeds the threshold again.
Fig. 9 shows a structural diagram of a terminal according to an embodiment of the disclosure. The terminal may be adapted to perform the method for acquiring the memory information according to the foregoing embodiments.
The terminal 1200 may include: a Radio Frequency (RF) circuit 110, a memory 120 including one or more computer readable storage media, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art may understand that the terminal is not limited to a structure of the terminal shown in Figure 9, and may include more components or less components than the illustrated components, a combination of the components, or a different arrangement of the components.
The RF circuit 110 is adapted to receive and transmit information, i.e., to receive a downlink signal from a base station and send the received signal to the processor 180 to process the signal; and to transmit an uplink signal to a base station. In general, the RF circuit 110 includes but not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA) , and a duplexer. The RF circuit 110 may further enable the terminal to communicate with other devices via a wireless communication network. The wireless communication network may operate according to any communication standard or protocol, which includes but not limited to Global
System of Mobile communication (GSM) , a General Packet Radio Service (GPRS) , Code Division Multiple Access (CDMA) , Wideband Code Division Multiple Access (WCDMA) , Long Term Evolution (LTE) , e-mail, Short Messaging Service (SMS) .
The memory 120 may be adapted to store software programs or modules. The processor 180 is adapted to perform various functional applications and data processing by running the software programs or modules stored in the memory 120. The memory 120 may mainly include a program memory area and a data memory area. In the program memory area may store an operating system, an application required by at least one function (such as a sound playing function, an image playing function) . The data memory area may store data (such as audio data, a phone book) created according to the work of the terminal 1200. In addition, the memory 120 may include a high speed random access memory, or a nonvolatile memory such as at least one magnetic disk memory device, a flash memory device or other volatile solid state memory devices. Accordingly, the memory 120 may also include a memory controller for providing access of the processor 180 and the input unit 130 to the memory 120.
The input unit 130 may be adapted to receive input digital information or input character information, and to generate signals input by a keyboard, a mouse, a joystick, an optical ball or a trackball, which relate to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 and other input devices 132. The touch-sensitive surface 131, also called as a touch display screen or a touch panel, may collect touch operations, performed by a user thereon or in the vicinity thereof, such as operations performed by the user using any suitable object or accessory (such as a finger and a touch pen) on the touch-sensitive surface 131 or in the vicinity of the touch-sensitive surface 131; and then may drive a corresponding connection device according to a preset program. Optionally, the touch-sensitive surface 131 may include a touch detection device and a touch controller. The touch detection device detects the position of the touch performed by the user and a signal caused by the touch operation, and sends the signal to the touch controller. The touch controller receives touch information from the touch detection device; converts the information into coordinates of the touch point; then sends the coordinates of the touch point to the processor 180; and receives and executes a command sent from the processor 180. In addition, the
touch-sensitive surface 131 can be realized in multiple types such as a resistive type, a capacitive type, an infrared type and a surface acoustic wave type. The input unit 130 may also include other input devices 132 besides the touch-sensitive surface 131. The other input devices 132 may include but not limited to one or more of a physical keyboard, a function key (such as a volume control button and a switch button) , a trackball, a mouse, a joystick.
The display unit 140 may be adapted to display information input by the user, information provided to the user, or various graphic user interfaces of the terminal 1200. Those graphic user interfaces may include a graphic, text, an icon, a video or any combination thereof. The display unit 140 may include a display panel 141. Optionally, the display panel 141 may be configured as, for example, a Liquid Crystal Display (LCD) or an Organic Light-Emitting Diode (OLED) display. Further, the touch-sensitive surface 131 may cover the display panel 141. When the touch-sensitive surface 131 detects a touch operation thereon or in the vicinity thereof, the touch-sensitive surface 131 sends a signal of the detected touch operation to the processor 180 to determine a type of the touch event. The processor 180 then provides a corresponding visual output on the display panel 141 according to the type of the touch event. The touch-sensitive surface 131 and the display panel 141, which is shown as two separate components to realize the input function and the output function respectively in Figure 9, may be integrated together to realize the input function and the output function in some embodiments.
The terminal 1200 may further include at least one sensor 150 such as a light sensor, a motion sensor and other sensors. In particular, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor may adjust brightness of the display panel 141 according to ambient light. The proximity sensor may turn off the display panel 141 and/or backlight when the terminal 1200 is moved close to the user’s ear. As one of the motion sensors, a gravity acceleration sensor may detect an acceleration value in various directions (generally, in three axial directions) , and detect a value and direction of the gravity in a stationary state. The gravity acceleration sensor may be applied to an application for identifying the attitude of a cell phone (such as screen orientation switch, related games, and magnetometer attitude
calibration) , a function related to vibration identification (such as a pedometer, or a knock) and so on. Other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, which may be equipped to the terminal, will not be described here any more.
An audio interface between the user and the terminal 1200 may be provided by the audio circuit 160, a speaker 161 and a microphone 162. The audio circuit 160 may convert the received audio data into an electrical signal and transmit the electrical signal to the speaker 161, and the speaker 161 converts the electrical signal into a sound signal and output the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal. After receiving the electrical signal, the audio circuit 160 converts the received electrical signal into audio data and outputs the audio data to the processor 180. After the audio data are processed by the processor 180, the processed audio data are then sent to for example another terminal via the RF circuit 110 or are output to the memory 120 to further process. The audio circuit 160 may also include an earphone jack, to provide communication between a peripheral headphone and the terminal 1200.
The WiFi is a short range wireless transmission technology. The terminal 1200 may assist a user to send and receive e-mails, browse a webpage and access streaming media and so on via the WiFi module 170. The WiFi module 170 provides a wireless broadband internet access to the user. Although the WiFi module 170 is illustrated in Figure 9, it may be understood that the WiFi module 170 is not necessary in the terminal 1200, and can be omitted without changing the scope of essence of the present disclosure.
The processor 180, as a control center of the terminal 1200, is adapted to connect each part of the terminal using various interfaces and circuits, to perform various functions of the terminal and to process data by running or executing a software program and/or the software module stored in the memory 120 and calling data stored in the memory 120, thus achieving overall monitoring of the whole terminal. Optionally, the processor 180 may include one or more processing cores. Preferably, an application processor and a modem processor may be integrated into the processor 180. In the processor 180, the application processor mainly processes an operating system, user
interfaces, and applications; and the modem processor mainly processes wireless communication. It can be understood that the modem processor described above may be not integrated into the processor 180.
The terminal 1200 may further include the power supply 190 (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the processor 180 via a power supply management system, thus achieving functions such as charge management, discharge management, power consumption management by the power supply management system. The power supply 190 may further include any components, such as one or more DC power supplies or AC power supplies, a recharge system, a power supply fault detection system, a power supply converter or inverter, or a power supply state indicator.
Although not illustrated, the terminal may also include a camera, a Bluetooth module and so on, which are not described here any more. In this embodiment, a display unit of the terminal is a touch screen display; the terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs are configured to be performed by one or more processors to execute instructions for the following operations:
monitoring a memory space occupied by each of multiple processes;
determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
acquiring a memory snapshot of the process, in a case that a memory space occupied by the process exceeds the preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory space occupied by the process; and
displaying the memory description information of the memory space occupied by the process.
The above embodiment is regarded as a first embodiment. In a second embodiment provided based on the first embodiment, instructions for operating following operations are stored in the memory of the terminal, which includes:
receiving thresholds of the memory spaces occupied by respective processes, where the thresholds are input by a user; and
associating a name of each process with the threshold of the memory space occupied by the each process; and storing the associated name and threshold.
In a third embodiment provided based on the first or second embodiment, instructions for operating following operations may further be stored in the memory of the terminal, which includes:
receiving an optimization instruction of the process, where the optimization instruction is input by a user and adapted to optimize an assigned application; and
optimizing the assigned application according to the optimization instruction.
In a fourth embodiment provided based on the first or second embodiment, instructions for operating following operations may further be stored in the memory of the terminal, which includes:
continuously monitoring the memory space occupied by the process; and
no more acquiring the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
In a fifth embodiment provided based on the fourth embodiment, instructions for operating following operations may further be stored in the memory of the terminal, which includes:
monitoring the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold; and
acquiring another memory snapshot of the process, in a case that the memory space occupied by the process exceeds the threshold again.
On the other hand, a computer readable storage medium is provided in another embodiment. The computer readable storage medium may be the computer readable storage medium contained in the above embodiments, or may be a separate computer
readable storage medium not assembled in the terminal. One or more programs are stored in the computer readable storage medium, and operated by one or more processors to perform a method for acquiring memory information. The method includes:
monitoring a memory space occupied by each of multiple processes;
determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;
acquiring a memory snapshot of a process, in a case that the memory space occupied by the process exceeds the preset threshold corresponding to the process, where the memory snapshot is memory description information of the memory space occupied by the process; and
displaying the memory description information of the memory space occupied by the process.
The above embodiment is regarded as a first embodiment. In a second embodiment provided based on the first embodiment, before the monitoring a memory space occupied by each of multiple processes, the method further includes:
receiving thresholds of the memory spaces occupied by respective processes, where the thresholds are input by a user; and
associating a name of each process with the threshold of memory space occupied by the process; and storing the associated name and threshold.
In a third embodiment provided based on the first or second embodiment, after the displaying the memory description information of the memory space occupied by the process, the method further includes:
receiving an optimization instruction of the process, where the optimization instruction is input by the user and adapted to optimize an assigned application; and
optimizing the assigned application according to the optimization instruction.
In a fourth embodiment provided based on the first or second embodiment, after the acquiring a memory snapshot of a process, the method further includes:
continuously monitoring the memory space occupied by the process; and
no more acquiring the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
In a fifth embodiment provided based on the fourth embodiment, the method further includes:
monitoring the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold; and
acquiring another memory snapshot of the process, in a case that memory space occupied by the process exceeds the threshold again.
Those skilled in the art can understand that all or a few of the steps in the methods in the foregoing embodiments may be implemented by instructing related hardware by a program. The program may be stored in a computer readable storage medium. The storage medium may include: a Read-Only Memory (ROM) , a Random Access Memory (RAM) , a magnetic disk, a compact disc or the like.
Hereinbefore, a method for acquiring memory information and a terminal are described in detail. Examples are adopted herein to describe the principle and the embodiments of the disclosure, and the description of the above embodiments is merely used to facilitate understanding the method and core idea of the disclosure. Those skilled in the art may make some variations in the specific embodiments and application scope according to the idea of the disclosure. In summary, the content of this description should not be construed as limits to the disclosure.
Claims (15)
- A method for acquiring memory information, applied to a terminal, comprising:monitoring multiple processes of computer programs executed by the terminal, and detecting a memory space occupied by each of the multiple processes, each process corresponding to a preset threshold;determining whether the memory space occupied by each of the processes exceeds the preset threshold corresponding to the process;acquiring a memory snapshot of the process, in a case that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; anddisplaying the memory description information of the memory space occupied by the process.
- The method according to claim 1, before the monitoring a memory space occupied by each of multiple processes, further comprising:receiving thresholds of the memory spaces occupied by respective processes, wherein the thresholds are input by a user; andassociating a name of each process with the threshold of the memory space occupied by the each process; and storing the associated name and threshold.
- The method according to claim 1 or 2, after the displaying the memory description information of the memory space occupied by the process, further comprising:receiving an optimization instruction of the process, wherein the optimization instruction is input by a user and adapted to optimize an assigned application; andoptimizing the assigned application according to the optimization instruction.
- The method according to claim 1 or 2, after the acquiring a memory snapshot of the process, further comprising:continuously monitoring the memory space occupied by the process; andno more acquiring the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
- The method according to claim 4, further comprising:monitoring the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than or equal to the preset threshold; andacquiring another memory snapshot of the process, in a case that the memory space occupied by the process exceeds the preset threshold again.
- A terminal, comprising one or more processors and memory having instructions stored thereon, the instructions, when executed by the one or more processors, cause the processors to perform operations comprising:monitoring a memory space occupied by each of multiple processes;determining whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;acquiring a memory snapshot of the process, in a case that the determining unit determines that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; anddisplaying the memory description information of the memory space occupied by the process, wherein the memory description information is acquired by the acquisition unit.
- The terminal according to claim 6, wherein the instructions further cause the processors to perform operations comprising:receiving thresholds of the memory spaces occupied by respective processes, wherein the thresholds are input by a user; andassociating a name of each process and the received threshold of the memory space occupied by the each process, and store the associated name and threshold.
- The terminal according to claim 6 or 7, wherein the instructions further cause the processors to perform operations comprising:receiving an optimization instruction of the process, wherein the optimization instruction is input by the user and adapted to optimize an assigned application; andoptimizing the assigned application according to the optimization instruction.
- The terminal according to claim 6 or 7, wherein the instructions further cause the processors to perform operations comprisingcontinuously monitoring the memory space occupied by the process; and no more acquire the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
- The terminal according to claim 6 or 7, wherein the instructions further cause the processors to perform operations comprisingmonitoring the memory space occupied by the process again, in the case that the determining unit determines that the memory space occupied by the process is less than the preset threshold; and acquire another memory snapshot of the process, in a case that the determining unit determines that memory space occupied by the process exceeds the threshold again.
- A non-transitory computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computer system with one or more processors, cause the computer system to:monitor a memory space occupied by each of multiple processes;determine whether a memory space occupied by one of the processes exceeds a preset threshold corresponding to the process;acquire a memory snapshot of the process, in a case that the memory space occupied by the process exceeds the preset threshold corresponding to the process, wherein the memory snapshot is memory description information of the memory space occupied by the process; anddisplay the memory description information of the memory space occupied by the process.
- The non-transitory computer readable storage medium of claim 11, wherein before the monitoring a memory space occupied by each of multiple processes, the instructions further cause the computer system to:receive thresholds of the memory spaces occupied by respective processes, wherein the thresholds are input by a user; andassociate a name of each process and the threshold of memory space occupied by the each process, and store the associated name and threshold.
- The non-transitory computer readable storage medium of claim 11 or 12, wherein after the displaying the memory description information of the memory space occupied by the process, the instructions further cause the computer system to:receive an optimization instruction of the process, wherein the optimization instruction is input by a user and adapted to optimize an assigned application; andoptimize the assigned application according to the optimization instruction.
- The non-transitory computer readable storage medium of claim 11 or 12, wherein after the acquiring a memory snapshot of the process, the instructions further cause the computer system to:continuously monitor the memory space occupied by the process; andno more acquire the memory snapshot of the process, in a case that the memory space occupied by the process keeps larger than the preset threshold corresponding to the process.
- The non-transitory computer readable storage medium of claim 14, wherein the instructions further cause the computer system to:monitor the memory space occupied by the process again, in the case that it is determined that the memory space occupied by the process is less than the preset threshold; andacquire another memory snapshot of the process, in a case that memory space occupied by the process exceeds the threshold again.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310639728.4A CN104133757A (en) | 2013-11-28 | 2013-11-28 | Method for obtaining memory information and terminal |
| CN201310639728.4 | 2013-11-28 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015078342A1 true WO2015078342A1 (en) | 2015-06-04 |
Family
ID=51806440
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/092041 Ceased WO2015078342A1 (en) | 2013-11-28 | 2014-11-24 | Method for acquiring memory information, and terminal |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104133757A (en) |
| WO (1) | WO2015078342A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109977018A (en) * | 2019-03-29 | 2019-07-05 | 努比亚技术有限公司 | The grasping means of hprof file, device, mobile terminal and readable storage medium storing program for executing |
| CN112783711A (en) * | 2019-11-01 | 2021-05-11 | 福建省天奕网络科技有限公司 | Method and storage medium for analyzing program memory on NodeJS |
| CN112860590A (en) * | 2019-11-28 | 2021-05-28 | 北京沃东天骏信息技术有限公司 | Picture analysis method and device |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104133757A (en) * | 2013-11-28 | 2014-11-05 | 腾讯科技(成都)有限公司 | Method for obtaining memory information and terminal |
| CN105808412A (en) * | 2014-12-30 | 2016-07-27 | 展讯通信(天津)有限公司 | Process resource real-time monitoring method |
| CN106339274B (en) * | 2015-07-14 | 2019-07-02 | 阿里巴巴集团控股有限公司 | A kind of method and system that data snapshot obtains |
| CN105511963B (en) * | 2015-11-30 | 2019-12-10 | Tcl集团股份有限公司 | memory optimization method and system based on Android system |
| CN106708616A (en) * | 2016-11-29 | 2017-05-24 | 深圳天珑无线科技有限公司 | Process control method and process control device |
| CN110633183B (en) * | 2019-08-01 | 2022-06-24 | 平安科技(深圳)有限公司 | Method and related device for monitoring execution progress of software product |
| CN113407348B (en) * | 2021-07-07 | 2024-04-09 | Tcl通讯(宁波)有限公司 | Application process management method, device, equipment and storage medium |
| CN116662392A (en) * | 2023-05-30 | 2023-08-29 | 维沃移动通信有限公司 | Log processing method, device, electronic device and medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103092689A (en) * | 2013-01-10 | 2013-05-08 | 深圳市金立通信设备有限公司 | Method and terminal of process management |
| CN103399785A (en) * | 2013-07-25 | 2013-11-20 | 华南理工大学 | Method of improving Android vehicular system process management |
| CN103412793A (en) * | 2013-07-29 | 2013-11-27 | 北京奇虎科技有限公司 | Method, device and system for optimizing system resources |
| CN104133757A (en) * | 2013-11-28 | 2014-11-05 | 腾讯科技(成都)有限公司 | Method for obtaining memory information and terminal |
-
2013
- 2013-11-28 CN CN201310639728.4A patent/CN104133757A/en active Pending
-
2014
- 2014-11-24 WO PCT/CN2014/092041 patent/WO2015078342A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103092689A (en) * | 2013-01-10 | 2013-05-08 | 深圳市金立通信设备有限公司 | Method and terminal of process management |
| CN103399785A (en) * | 2013-07-25 | 2013-11-20 | 华南理工大学 | Method of improving Android vehicular system process management |
| CN103412793A (en) * | 2013-07-29 | 2013-11-27 | 北京奇虎科技有限公司 | Method, device and system for optimizing system resources |
| CN104133757A (en) * | 2013-11-28 | 2014-11-05 | 腾讯科技(成都)有限公司 | Method for obtaining memory information and terminal |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109977018A (en) * | 2019-03-29 | 2019-07-05 | 努比亚技术有限公司 | The grasping means of hprof file, device, mobile terminal and readable storage medium storing program for executing |
| CN109977018B (en) * | 2019-03-29 | 2023-11-14 | 努比亚技术有限公司 | hprof file grabbing method and device, mobile terminal and readable storage medium |
| CN112783711A (en) * | 2019-11-01 | 2021-05-11 | 福建省天奕网络科技有限公司 | Method and storage medium for analyzing program memory on NodeJS |
| CN112860590A (en) * | 2019-11-28 | 2021-05-28 | 北京沃东天骏信息技术有限公司 | Picture analysis method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104133757A (en) | 2014-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2015078342A1 (en) | Method for acquiring memory information, and terminal | |
| CN103473163B (en) | application program detection method and device | |
| US11108955B2 (en) | Mobile terminal-based dual camera power supply control method, system and mobile terminal | |
| US10657347B2 (en) | Method for capturing fingerprint and associated products | |
| CN106357925A (en) | Method, device and terminal for switching screen brightness adjusting modes | |
| US9977651B2 (en) | Mobile terminal and image processing method thereof | |
| US20200212701A1 (en) | Method for controlling multi-mode charging, mobile terminal, and storage medium | |
| US20220255639A1 (en) | Radio frequency parameter processing method and device, and mobile terminal and storage medium | |
| US20170097725A1 (en) | Device and method for starting mobile terminal application and mobile terminal | |
| CN106502681A (en) | A sensor registration method, device and mobile terminal | |
| WO2014166307A1 (en) | Method for determining performance of process of application and computer system | |
| CN105278942B (en) | Component management method and device | |
| EP2869233A1 (en) | Method, device and terminal for protecting application program | |
| CN109688611B (en) | Frequency band parameter configuration method, device, terminal and storage medium | |
| CN111629263A (en) | Display picture compensation method and device, electronic equipment and storage medium | |
| US9928134B2 (en) | Method and apparatus for repairing dynamic link library file | |
| US20210143926A1 (en) | Fm channel finding and searching method, mobile terminal and storage apparatus | |
| CN107122204B (en) | Application unloading state detection method and device | |
| US10073957B2 (en) | Method and terminal device for protecting application program | |
| CN105635379B (en) | Noise suppression method and device | |
| CN105528220B (en) | Method and device for loading dynamic shared object | |
| CN104461273A (en) | Information displaying method and terminal device | |
| CN105159655B (en) | Behavior event playing method and device | |
| US20140310711A1 (en) | Method for determining performance of process of application and computer system | |
| CN108280798B (en) | Method and device for rendering and displaying browser kernel |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14866692 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 17.11.2016) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14866692 Country of ref document: EP Kind code of ref document: A1 |