CN104133761A - Memory usage analysis method, device and system of mobile terminal - Google Patents

Memory usage analysis method, device and system of mobile terminal Download PDF

Info

Publication number
CN104133761A
CN104133761A CN201310629930.9A CN201310629930A CN104133761A CN 104133761 A CN104133761 A CN 104133761A CN 201310629930 A CN201310629930 A CN 201310629930A CN 104133761 A CN104133761 A CN 104133761A
Authority
CN
China
Prior art keywords
memory
snapshot
mobile terminal
mapped
value
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.)
Pending
Application number
CN201310629930.9A
Other languages
Chinese (zh)
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.)
Tencent Technology Chengdu Co Ltd
Original Assignee
Tencent Technology Chengdu 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 Tencent Technology Chengdu Co Ltd filed Critical Tencent Technology Chengdu Co Ltd
Priority to CN201310629930.9A priority Critical patent/CN104133761A/en
Publication of CN104133761A publication Critical patent/CN104133761A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the invention discloses a memory usage analysis method, device and system of a mobile terminal. The memory usage analysis method disclosed by the embodiment of the invention comprises the following steps: obtaining a first memory mapping snapshot of an application process in the mobile terminal, wherein the first memory mapping snapshot comprises mapping contents and PSS(Proportional Set Size) values; according to the mapping contents, respectively obtaining the corresponding PSS values from the first memory mapping snapshot, accumulating the PSS values corresponding to the same mapping content to obtain a first accumulation result; and then, according to the mapping content and the first accumulation result, drawing a memory scale drawing or a memory scale statistical table. Since the memory scale drawing or the memory scale statistical table is vivid, simple and easy in understanding, a subsequent user can conveniently analyze and position memory problems according to the memory scale drawing or the memory scale statistical table so as to be favorable for improving the performance of a mobile terminal system.

Description

A kind of EMS memory occupation analytical approach, device and system of mobile terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of EMS memory occupation analytical approach, device and system of mobile terminal.
Background technology
Along with the development of the communication technology, the application of mobile terminal is more and more also extensive.The performance that how further to improve mobile terminal also becomes a problem of people's growing interest.
The quality of mobile terminal performance depends on multiple factors, internal memory is exactly one of them, therefore, how memory optimization, also having certain influence to improving mobile terminal performance, and taking of internal memory analyzed, is again the basis of internal memory optimization, so, prior art has proposed the various analytical technologies about EMS memory occupation, and Dalvik debugging monitor service (DDMS, Dalvik Debug Monitor Service) is exactly one wherein.What is called is DDMS, Dalvik virtual machine (a kind of Java Virtual Machine of the Android of being applicable to platform) in Android system (Android) development environment debugging monitor service, it can provide as for testing apparatus screenshotss, for specific process check in the thread that moving and heapinfo, Logcat(Android a command-line tool, can be for obtaining the log information of program), broadcasting status messages, analog telephone call out, receive SMS and virtual geographic coordinate etc. service.
In the research and practice process to prior art, the present inventor finds, although DDMS only provides the memory image analytic function of Dalvik virtual machine in application process, does not provide the memory analysis of system process rank, therefore, can not locate well EMS memory occupation problem.
Summary of the invention
The embodiment of the present invention provides a kind of EMS memory occupation analytical approach, device and system of mobile terminal, can form and analyze and gather the internal memory of mobile terminal application process, and generate accounting figure or statistical table, so that user can efficiently locate memory problem according to this accounting figure or statistical table.
An EMS memory occupation analytical approach for mobile terminal, comprising:
Obtain the first memory-mapped snapshot of application process in mobile terminal, described the first memory-mapped snapshot comprises the value of mapping content and the actual physical memory (PSS, Proportional Set Size) using;
From described the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to described mapping content;
Value to the identical corresponding PSS of mapping content adds up, and obtains the first accumulation result;
Draw internal memory accounting figure or internal memory accounting statistical table according to described mapping content and the first accumulation result.
An EMS memory occupation analytical equipment for mobile terminal, comprising:
Snapshot acquiring unit, for obtaining the first memory-mapped snapshot of mobile terminal application process, described the first memory-mapped snapshot comprises the value of mapping content and PSS;
Numerical value acquiring unit, for obtaining respectively the value of corresponding PSS from described the first memory-mapped snapshot according to described mapping content;
Cumulative unit, adds up for the value of the corresponding PSS of mapping content to identical, obtains the first accumulation result;
Drawing unit, for drawing internal memory accounting figure or internal memory accounting statistical table according to described mapping content and the first accumulation result.
A kind of communication system, comprises the EMS memory occupation analytical equipment of any mobile terminal that the embodiment of the present invention provides.
The embodiment of the present invention adopts the first memory-mapped snapshot that obtains application process in mobile terminal, and wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS; From the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to mapping content, and the value of the identical corresponding PSS of mapping content is added up, obtain the first accumulation result, then draw internal memory accounting figure or internal memory accounting statistical table according to this mapping content and the first accumulation result, due to internal memory accounting figure or not only image of internal memory accounting statistical table, and be easily understood, can analyze memory problem and locate according to this accounting figure or statistical table so be convenient to subsequent user, be conducive to improve the performance of mobile terminal system.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 a is the process flow diagram of the EMS memory occupation analytical approach of the mobile terminal that provides of the embodiment of the present invention;
Fig. 1 b is the schematic diagram of internal memory accounting pie chart in the EMS memory occupation analytical approach of the mobile terminal that provides of the embodiment of the present invention;
Fig. 2 is another process flow diagram of the EMS memory occupation analytical approach of the mobile terminal that provides of the embodiment of the present invention;
Fig. 3 is the another process flow diagram of the EMS memory occupation analytical approach of the mobile terminal that provides of the embodiment of the present invention;
Fig. 4 is the structural representation of the EMS memory occupation analytical equipment of the mobile terminal that provides of the embodiment of the present invention;
Fig. 5 is the structural representation of the terminal that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of EMS memory occupation analytical approach, device and system of mobile terminal.Below be elaborated respectively.
Embodiment mono-,
The present embodiment is described the angle of the EMS memory occupation analytical equipment from mobile terminal, the EMS memory occupation analytical equipment of this mobile terminal specifically can be integrated in mobile terminal, this mobile terminal can comprise smart mobile phone, panel computer, E-book reader, dynamic image expert compression standard audio frequency aspect 3(Moving Picture Experts Group Audio Layer III, MP3) player or dynamic image expert compression standard audio frequency aspect 4(Moving Picture Experts Group Audio Layer IV, MP4) player etc.
A kind of EMS memory occupation analytical approach of mobile terminal, comprise: the first memory-mapped snapshot that obtains application process in mobile terminal, wherein, this first memory-mapped snapshot comprises the value of mapping content and the actual physical memory (PSS, Proportional Set Size) using; From the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content, value to the identical corresponding PSS of mapping content adds up, obtain the first accumulation result, draw internal memory accounting figure or internal memory accounting statistical table according to mapping content and the first accumulation result.
As shown in Figure 1, idiographic flow can be as follows:
101, obtain the memory-mapped snapshot of application process in mobile terminal, for convenience, in the present embodiment, this memory-mapped snapshot getting is called to the first memory-mapped snapshot.
Wherein, the mode of obtaining this first memory-mapped snapshot can have multiple, for example, the memory mapping message command of the process of checking that specifically can carry by system, memory mapping information (the pmap of the process of checking carrying as linux system, report memory map of a process) order and obtain, step 101 specifically can be as follows:
Obtain the first memory-mapped snapshot of application process in mobile terminal by the memory mapping message command of the process of checking.
Wherein, this the first memory-mapped snapshot can comprise the information such as the value of mapping content and PSS, wherein, mapping content can comprise the application processes such as code segment, data segment (such as constant or global variable etc.), heap, heap space, equipment, dynamic link library, anonymous shared drive, system call and/or stack (such as passing ginseng or local variable etc.).For example, as shown in following table one, this table is a part of example of the first memory-mapped snapshot of getting by pmap order, as follows:
Table one:
Address Kbytes PSS Dirty Swap Mode Mapping
00008000 8 8 0 0 r-xp /system/bin/serviccmanager
0000a000 4 4 4 0 rw-p /system/bin/serviccmanager
0000b000 4 4 4 0 rw-p 【heap】
400f8000 32 0 0 0 r--s /dev/_properties_
401cb000 4 4 4 0 r--p 【anon】
40266000 128 4 0 0 r--p /dev/binder
afa00000 12 0 0 0 r-xp /system/lib/liblog.so
afa03000 4 4 4 0 rw-p /system/lib/liblog.so
afb00000 88 0 0 0 r-xp /system/lib/libm.so
afb16000 4 4 4 0 rw-p /system/lib/libm.so
afc00000 4 0 0 0 r-xp /system/lib/libstdc++.so
afc01000 4 4 4 0 rw-p /system/lib/libstdc++.so
afd00000 260 7 4 0 r-xp /system/lib/libc.so
afd41000 12 8 8 0 rw-p /system/lib/libc.so
afd44000 44 8 8 0 rw-p 【anon】
b0001000 32 0 0 0 r-xp /system/lib/linker
b0009000 4 4 4 0 rw-p /system/lib/linker
b000a000 44 0 8 0 rw-p 【anon】
beef7000 132 4 4 0 rw-p 【stack】
ffff0000 4 4 4 0 r-xp 【vectors】
? ? ? ? ? ? ?
total 828 79 64 0 ? ?
? ? ? ? ? ? ?
Wherein, " Address " is address; " Kbytes " is byte number; " PSS " is the value of the physical memory of border use; " Dirty " is the value of the shared internal memory of Dirty page (if the page was modified, the content that operating system must retain the page is called as the Dirty page in order to again accessing this page); " Swap " represents the value of the shared internal memory in exchange partition; " Mode " is the storage mode of internal memory; " Mapping " represents mapping content.
As shown in Table 1, wherein, "/the system/bin/serviccmanager " in mapping content (Mapping) represents code segment; "/system/lib/liblog.so " and "/system/lib/libm.so " represents data segment, and this data segment is specifically as follows constant or global variable; " [heap] " represents heap, and " [anon] " represents anonymous shared drive; "/system/lib/libstdc++.so " is dynamic link library, and "/system/lib/linker " represents system call, and " [stack] " represents stack, etc.
102, from this first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content.
For example, specifically can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this first memory-mapped snapshot, then carries out tabulate statistics by the value of this mapping content and its corresponding PSS, and leaves in a table.
Such as, can know from table one, the value of the corresponding PSS of mapping content " system/bin/serviccmanager " of the first row be 8(), the value of the corresponding PSS of mapping content " system/bin/serviccmanager " of the second row is i.e. the second line item of 4(), and the value of the capable corresponding PSS of mapping content " [heap] " of the third line is 4, by that analogy, etc., get after the value of these PSS, the value of this mapping content and its corresponding PSS is carried out to tabulate statistics, and leave in a table, such as, as shown in Table 2.
Table two:
Mapping content (Mapping) PSS(kilobyte (KB, K Byte))
system/bin/serviccmanager 8
system/bin/serviccmanager 8
【heap】 4
…… ……
/system/lib/liblog.so 0
/system/lib/liblog.so 4
…… ……
103, the value of the identical corresponding PSS of mapping content is added up, obtain the accumulation result of the value of the corresponding all PSS of this mapping content, namely obtain the summation of the value of the corresponding PSS of this mapping content, for convenience, in the present embodiment, this accumulation results is called to the first accumulation result.
For example, taking table two as example, because the first row record is identical with the mapping content of the second line item, be all " system/bin/serviccmanager ", therefore, the value of PSS in value and the second line item of PSS in the first row record can be added, obtain " system/bin/serviccmanager " corresponding first accumulation result for " 16 ".
In like manner, also the first accumulation result of this mapping content and its correspondence can be carried out to tabulate statistics, and leave in a table, such as, referring to table three.
Table three:
Mapping content (Mapping) PSS(KB)
system/bin/serviccmanager 16
【heap】 4
…… ……
/system/lib/liblog.so 4
…… ……
In addition, after obtaining this first accumulation result, can also sort to this first accumulation result, such as sorting by backward, check so that follow-up, in step " value to the corresponding actual physical memory using of identical mapping content adds up, and obtains the first accumulation result ", afterwards, the method can also comprise:
This first accumulation result is sorted according to numerical value order from small to large.
Certainly, also can sort according to numerical value order from big to small.
104, draw internal memory accounting figure or internal memory accounting statistical table according to this mapping content and the first accumulation result, such as, can be referring to Fig. 1 b, this figure is a schematic diagram of internal memory accounting pie chart.
Wherein, the internal memory accounting figure drawing specifically can show as multiple pattern, such as, can be column diagram or pie chart etc., wherein, pie chart, for column diagram, seems more directly perceived, that is to say, this internal memory accounting figure is specifically as follows pie chart.
As from the foregoing, the present embodiment adopts the first memory-mapped snapshot that obtains application process in mobile terminal, and wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS; From the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to mapping content, and the value of the identical corresponding PSS of mapping content is added up, obtain the first accumulation result, then draw internal memory accounting figure or internal memory accounting statistical table according to this mapping content and the first accumulation result, due to internal memory accounting figure or not only image of internal memory accounting statistical table, and be easily understood, can analyze memory problem and locate according to this accounting figure or statistical table so be convenient to subsequent user, be conducive to improve the performance of mobile terminal system.
Embodiment bis-,
On the basis of the EMS memory occupation analytical approach of the mobile terminal providing at embodiment mono-, can also obtain multiple memory-mapped snapshots, and these memory-mapped snapshots are compared, such as, deduct the value of the corresponding PSS of same map content in a front memory-mapped snapshot with a rear memory-mapped snapshot, thereby the difference of calculating, to analyze the variation of EMS memory occupation.As shown in Figure 2, carrying out outside step 101~103, the EMS memory occupation analytical approach of this mobile terminal can also comprise the steps:
201, obtain another memory-mapped snapshot of application process in mobile terminal, for convenience, in the present embodiment, this memory-mapped snapshot getting is called to the second memory-mapped snapshot.
Wherein, the mode of obtaining this second memory-mapped snapshot is with to obtain the first memory-mapped snapshot identical, can there is various ways, for example, the memory mapping message command of the process of checking that specifically can carry by system, obtain as the pmap order that linux system carries, step 201 specifically can be as follows:
Obtain the first memory-mapped snapshot of application process in mobile terminal by the memory mapping message command of the process of checking.
Wherein, this the second memory-mapped snapshot can comprise the information such as the value of mapping content and PSS, wherein, mapping content can comprise the application processes such as code segment, data segment (such as constant or global variable etc.), heap, heap space, equipment, dynamic link library, anonymous shared drive, system call and/or stack (such as passing ginseng or local variable etc.).Table one concrete and embodiment mono-is similar, does not repeat them here.
Step 201 can be in no particular order with the execution of step 104.
202, from this second memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content.
For example, specifically can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this second memory-mapped snapshot, then the value of this mapping content and its corresponding PSS is carried out to tabulate statistics, and for example leave in, in a table,, specifically can, referring to embodiment mono-, not repeat them here.
203, the value of the identical corresponding PSS of mapping content is added up, obtain the second accumulation result.
For example, specifically can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this second memory-mapped snapshot, then the value of this mapping content and its corresponding PSS is carried out to tabulate statistics, and leave in a table, such as, can, referring to table two, not repeat them here.
In addition, after obtaining this second accumulation result, can also sort to this second accumulation result, such as carrying out backward sequence, check so that follow-up, in step " value to the corresponding actual physical memory using of identical mapping content adds up, and obtains the second accumulation result ", afterwards, the method can also comprise:
This second accumulation result is sorted according to numerical value order from small to large.
Certainly, also can sort according to numerical value order from big to small.
204, corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtain comparative result;
For example, specifically can be taking mapping content as key word, obtain corresponding the first accumulation result and the second accumulation result, then the second accumulation result is deducted to the first accumulation result, obtain comparative result, optional, this mapping content and its corresponding comparative result can also be carried out to tabulate statistics, and leave in a table, do not repeat them here.
In addition, after obtaining this comparative result, can also sort to this comparative result, such as carrying out backward sequence, check so that follow-up, " corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtain comparative result " that afterwards, the method can also comprise in step:
This comparative result is sorted according to numerical value order from small to large.
Certainly, also can sort according to numerical value order from big to small.
205, draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table.
Wherein, the internal memory accounting figure drawing specifically can show as multiple pattern, such as, can be column diagram or pie chart etc., wherein, pie chart, for column diagram, seems more directly perceived, that is to say, this internal memory accounting figure is specifically as follows pie chart.
As from the foregoing, the present embodiment is except can realizing the achieved beneficial effect of embodiment mono-, further, can also obtain multiple memory-mapped snapshots of application process in mobile terminal, these memory-mapped snapshots are compared, with the difference of the value of the corresponding PSS of same map content in twice memory-mapped snapshot before and after obtaining, it is comparative result, then draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table, because internal memory changes accounting figure or not only image of internal memory variation accounting statistical table, and be easily understood, so being convenient to subsequent user can analyze memory problem and locate according to this accounting figure or statistical table, be conducive to improve the performance of mobile terminal system.
Embodiment tri-,
According to embodiment mono-and two described methods, below will be described in further detail for example.
In the present embodiment, the EMS memory occupation analytical equipment taking this mobile terminal is specifically integrated in mobile terminal as example describes.
As shown in Figure 3, a kind of EMS memory occupation analytical approach of mobile terminal, specifically can be as follows:
301, the first memory-mapped snapshot of application process in acquisition for mobile terminal mobile terminal, this first memory-mapped snapshot can comprise the information such as the value of mapping content and PSS.
Wherein, the mode of obtaining this first memory-mapped snapshot can have multiple, for example, the memory mapping message command of the process of checking that specifically can carry by system, as the pmap order that linux system carries is obtained, etc.
302, mobile terminal obtains respectively the value of corresponding PSS from this first memory-mapped snapshot according to this mapping content.
For example, mobile terminal can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this first memory-mapped snapshot, then the value of this mapping content and its corresponding PSS is carried out to tabulate statistics, and for example leave in, in a table,, specifically can, referring to embodiment mono-, not repeat them here.
303, mobile terminal, according to the value of each PSS getting in step 302, adds up to the value of the identical corresponding PSS of mapping content, obtains the first accumulation result, namely obtains the summation of the value of the corresponding PSS of this mapping content.
In addition, after obtaining this first accumulation result, can also carry out backward sequence (sorting according to numerical value order from small to large) to this first accumulation result, check so that follow-up.
304, another memory-mapped snapshot of application process in acquisition for mobile terminal mobile terminal, i.e. the second memory-mapped snapshot, this second memory-mapped snapshot can comprise the information such as the value of mapping content and PSS.
Wherein, the mode of obtaining this second memory-mapped snapshot, with to obtain the first memory-mapped snapshot identical, can have various ways, for example, the memory mapping message command of the process of checking that specifically can carry by system, as the pmap order that linux system carries is obtained, etc.
Wherein, step 304 and step 302,303 execution can be in no particular order.
305, mobile terminal obtains respectively the value of corresponding PSS from this second memory-mapped snapshot according to this mapping content.
For example, mobile terminal can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this second memory-mapped snapshot, then the value of this mapping content and its corresponding PSS is carried out to tabulate statistics, and leave in a table, for example, specifically can, referring to embodiment above, not repeat them here.
306, mobile terminal, according to the value of each PSS getting in step 305, adds up to the value of the identical corresponding PSS of mapping content, obtains the second accumulation result.
In addition, after obtaining this second accumulation result, can also carry out backward sequence (sorting according to numerical value order from small to large) to this second accumulation result, check so that follow-up.
307, mobile terminal compares corresponding identical mapping content the first accumulation result and the second accumulation result, obtains comparative result;
For example, specifically can be taking mapping content as key word, obtain corresponding the first accumulation result and the second accumulation result, then the second accumulation result is deducted to the first accumulation result, obtain comparative result, optional, this mapping content and its corresponding comparative result can also be carried out to tabulate statistics, and leave in a table, do not repeat them here.
In addition, after obtaining this comparative result, can also carry out backward sequence (sorting according to numerical value order from small to large) to this comparative result, check so that follow-up.
308, mobile terminal is drawn internal memory variation accounting figure or internal memory variation accounting statistical table according to this comparative result.
In addition, according to user's demand, terminal also can be drawn internal memory accounting figure or internal memory accounting statistical table according to the first accumulation result respectively, and draws internal memory accounting figure or internal memory accounting statistical table according to the second accumulation result, etc., do not repeat them here.
After this, the internal memory obtaining based on these changes accounting figure, internal memory changes accounting statistical table, internal memory accounting figure and/or internal memory accounting statistical table, and user just can analyze the service condition of internal memory, to locate better memory problem.
As from the foregoing, the present embodiment adopts the first memory-mapped snapshot that obtains application process in mobile terminal, and wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS, from the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to mapping content, and the value of the identical corresponding PSS of mapping content is added up, obtain the first accumulation result, then draw internal memory accounting figure or internal memory accounting statistical table according to this mapping content and the first accumulation result, further, can also obtain multiple memory-mapped snapshots of application process in mobile terminal, these memory-mapped snapshots are compared, with the difference of the value of the corresponding PSS of same map content in twice memory-mapped snapshot before and after obtaining, it is comparative result, then draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table, because internal memory changes accounting figure or not only image of internal memory variation accounting statistical table, and be easily understood, so being convenient to subsequent user can analyze memory problem and locate according to this accounting figure or statistical table, be conducive to improve the performance of mobile terminal system.
Embodiment tetra-,
In order to implement better above method, this embodiment of the present invention also correspondingly provides a kind of EMS memory occupation analytical equipment of mobile terminal, as shown in Figure 4, the EMS memory occupation analytical equipment of this mobile terminal comprises snapshot acquiring unit 401, numerical value acquiring unit 402, cumulative unit 403 and drawing unit 404.
Snapshot acquiring unit 401, for obtaining the first memory-mapped snapshot of mobile terminal application process, wherein, this first memory-mapped snapshot comprises the information such as the value of mapping content and PSS, specifically can, referring to embodiment of the method above, not repeat them here;
Wherein, the mode of obtaining this first memory-mapped snapshot can have multiple, for example, the memory mapping message command of the process of checking that specifically can carry by system, as the pmap order that linux system carries is obtained, etc.
Be snapshot acquiring unit 401, specifically can obtain for the memory mapping message command by the process of checking the first memory-mapped snapshot of application process in mobile terminal.
Numerical value acquiring unit 402, for obtaining respectively the value of corresponding PSS from this first memory-mapped snapshot according to this mapping content.
For example, specifically can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this first memory-mapped snapshot, then carries out tabulate statistics by the value of this mapping content and its corresponding PSS, and leaves in a table, etc.
Cumulative unit 403, adds up for the value of the corresponding PSS of mapping content to identical, obtains the first accumulation result.
Drawing unit 404, draws internal memory accounting figure or internal memory accounting statistical table for the first accumulation result obtaining according to this mapping content and cumulative unit 403.
Optionally, can also obtain multiple memory-mapped snapshots, and these memory-mapped snapshots are compared, such as, deduct the value of the corresponding PSS of same map content in a front memory-mapped snapshot with a rear memory-mapped snapshot, thereby the difference of calculating, to analyze the variation of EMS memory occupation.The EMS memory occupation analytical equipment of this mobile terminal can also comprise comparing unit, as follows:
Snapshot acquiring unit 401, can also be used for obtaining the second memory-mapped snapshot of mobile terminal application process, and wherein, this second memory-mapped snapshot comprises the information such as the value of mapping content and PSS, specifically can, referring to embodiment of the method above, not repeat them here;
Wherein, the mode of obtaining this first memory-mapped snapshot can have multiple, for example, the memory mapping message command of the process of checking that specifically can carry by system, as the pmap order that linux system carries is obtained, etc.
Be snapshot acquiring unit 401, specifically can obtain for the memory mapping message command by the process of checking the second memory-mapped snapshot of application process in mobile terminal.
Numerical value acquiring unit 402, can also be used for obtaining from the second memory-mapped snapshot respectively according to this mapping content the value of corresponding PSS;
For example, specifically can be taking mapping content as key word, the value of inquiring about its corresponding PSS in this first memory-mapped snapshot, then carries out tabulate statistics by the value of this mapping content and its corresponding PSS, and leaves in a table, etc.
Cumulative unit 403, can also be used for the value of the corresponding actual physical memory using of identical mapping content to add up, and obtains the second accumulation result;
Comparing unit, for corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtains comparative result;
Drawing unit 404, can also be used for drawing internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table.
Wherein, the internal memory accounting figure drawing or internal memory change accounting figure specifically can show as multiple pattern, such as, can be column diagram or pie chart etc., wherein, pie chart, for column diagram, seems more directly perceived, that is to say, this internal memory accounting figure or internal memory change accounting figure and are specifically as follows pie chart.
In addition, after obtaining this first accumulation result, the second accumulation result or comparative result, can also sort to this first accumulation result, the second accumulation result or comparative result, such as sorting by backward, check so that follow-up, the EMS memory occupation analytical equipment of this mobile terminal can also comprise sequencing unit, as follows:
Sequencing unit, for sorting according to numerical value order from small to large to this first accumulation result.Certainly, also can sort according to numerical value order from big to small.
This sequencing unit, can also be used for this first accumulation result to sort according to numerical value order from small to large.Certainly, also can sort according to numerical value order from big to small.
This sequencing unit, can also be used for compared result and sort according to numerical value order from small to large.Certainly, also can sort according to numerical value order from big to small.
When specific implementation, above unit can be used as independently entity and realizes, and also can carry out combination in any, realizes as same or several entities, and the concrete enforcement of above unit can, referring to embodiment of the method above, not repeat them here.
The EMS memory occupation analytical equipment of this mobile terminal specifically can be integrated in mobile terminal, and this mobile terminal can comprise smart mobile phone, panel computer, E-book reader, MP3 player or MP4 player etc.
As from the foregoing, the snapshot acquiring unit 401 of the EMS memory occupation analytical equipment of the mobile terminal of the present embodiment can obtain the first memory-mapped snapshot of application process in mobile terminal, wherein, this the first memory-mapped snapshot comprises the value of mapping content and PSS, then from the first memory-mapped snapshot, obtained respectively the value of corresponding PSS according to mapping content by numerical value acquiring unit 402, and by cumulative unit 403, the value of the identical corresponding PSS of mapping content is added up, obtain the first accumulation result, then draw internal memory accounting figure or internal memory accounting statistical table by drawing unit 404 according to this mapping content and the first accumulation result.Further, snapshot acquiring unit 401 can also obtain multiple memory-mapped snapshots of application process in mobile terminal, then by comparing unit, these memory-mapped snapshots are compared, with the difference of the value of the corresponding PSS of same map content in twice memory-mapped snapshot before and after obtaining, it is comparative result, then draw internal memory by drawing unit 404 according to this comparative result and change accounting figure or internal memory variation accounting statistical table, because internal memory changes accounting figure or not only image of internal memory variation accounting statistical table, and be easily understood, so being convenient to subsequent user can analyze memory problem and locate according to this accounting figure or statistical table, be conducive to improve the performance of mobile terminal system.
Embodiment five,
Accordingly, the embodiment of the present invention also provides a kind of communication system, comprise the EMS memory occupation analytical equipment of any mobile terminal that the embodiment of the present invention provides, specifically can be referring to embodiment tetra-, wherein, the EMS memory occupation analytical equipment of this mobile terminal specifically can be integrated in terminal, for example, and specifically can be as follows:
Terminal, for obtaining the first memory-mapped snapshot of mobile terminal application process, wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS; From the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content, value to the identical corresponding PSS of mapping content adds up, obtain the first accumulation result, draw internal memory accounting figure or internal memory accounting statistical table according to mapping content and the first accumulation result.
This terminal, also for obtaining the second memory-mapped snapshot of mobile terminal application process, from described the second memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content, value to the identical corresponding PSS of mapping content adds up, obtain the second accumulation result, corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtain comparative result, draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table.
In addition, this communication system can also comprise other equipment, such as server etc., does not repeat them here.
The concrete enforcement of above equipment can, referring to embodiment above, not repeat them here.
Because this communication system can comprise the EMS memory occupation analytical equipment of any mobile terminal that the embodiment of the present invention provides, therefore, the achieved beneficial effect of EMS memory occupation analytical equipment that can realize any mobile terminal that the embodiment of the present invention provides, does not repeat them here.
Embodiment six,
Accordingly, the embodiment of the present invention also provides a kind of mobile terminal, as shown in Figure 5, this mobile terminal can comprise radio frequency (RF, Radio Frequency) circuit 501, the storer 502 that includes one or more computer-readable recording mediums, input block 503, display unit 504, sensor 505, voicefrequency circuit 506, Wireless Fidelity (WiFi, Wireless Fidelity) module 507, include one or one parts such as processor 508 and power supply 509 of processing above core.It will be understood by those skilled in the art that the mobile terminal structure shown in Fig. 5 does not form the restriction to mobile terminal, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.Wherein:
RF circuit 501 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, after the downlink information of base station is received, transfer to more than one or one processor 508 to process; In addition, send to base station by relating to up data.Conventionally, RF circuit 501 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupling mechanism, low noise amplifier (LNA, Low Noise Amplifier), diplexer etc.In addition, RF circuit 501 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA) (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc.
Storer 502 can be used for storing software program and module, and processor 508 is stored in software program and the module of storer 502 by operation, thereby carries out various function application and data processing.Storer 502 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of mobile terminal etc. can be stored in storage data field.In addition, storer 502 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 502 can also comprise Memory Controller, so that processor 508 and the access of input block 503 to storer 502 to be provided.
Input block 503 can be used for receiving numeral or the character information of input, and generation is inputted with user arranges and function control is relevant keyboard, mouse, control lever, optics or trace ball signal.Particularly, in a specific embodiment, input block 503 can comprise touch-sensitive surface and other input equipments.Touch-sensitive surface, also referred to as touch display screen or Trackpad, can collect user or near touch operation (use any applicable objects such as finger, stylus or annex such as user on touch-sensitive surface or in the operation of touch-sensitive near surface) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, touch-sensitive surface can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 508, and the order that energy receiving processor 508 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surface.Except touch-sensitive surface, input block 503 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 504 can be used for showing the information inputted by user or the various graphical user interface of the information that offers user and mobile terminal, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 504 can comprise display panel, optional, can adopt the form such as liquid crystal display (LCD, Liquid Crystal Display), Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) to configure display panel.Further, touch-sensitive surface can cover display panel, when touch-sensitive surface detect thereon or near touch operation after, send processor 508 to determine the type of touch event, on display panel, provide corresponding vision output with preprocessor 508 according to the type of touch event.Although in Fig. 5, touch-sensitive surface and display panel be as two independently parts realize input and input function, in certain embodiments, can be by integrated and realize input and output function to touch-sensitive surface and display panel.
Mobile terminal also can comprise at least one sensor 505, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor can regulate according to the light and shade of ambient light the brightness of display panel, proximity transducer can, in the time that mobile terminal moves in one's ear, cut out display panel and/or backlight.As the one of motion sensor; Gravity accelerometer can detect the size of the acceleration that (is generally three axles) in all directions; when static, can detect size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as passometer, knock) of mobile phone attitude etc.; As for also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor of mobile terminal, do not repeat them here.
Voicefrequency circuit 506, loudspeaker, microphone can provide the audio interface between user and mobile terminal.Voicefrequency circuit 506 can, by the electric signal after the voice data conversion receiving, be transferred to loudspeaker, is converted to voice signal output by loudspeaker; On the other hand, the voice signal of collection is converted to electric signal by microphone, after being received by voicefrequency circuit 506, be converted to voice data, after again voice data output processor 508 being processed, through RF circuit 501 to send to such as another mobile terminal, or export voice data to storer 502 so as further process.Voicefrequency circuit 506 also may comprise earphone jack, so that communicating by letter of peripheral hardware earphone and mobile terminal to be provided.
WiFi belongs to short range wireless transmission technology, mobile terminal by WiFi module 507 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 5 shows WiFi module 507, be understandable that, it does not belong to must forming of mobile terminal, completely can be as required in the essential scope that does not change invention and omit.
Processor 508 is control centers of mobile terminal, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out the software program and/or the module that are stored in storer 502, and call the data that are stored in storer 502, carry out various functions and the deal with data of mobile terminal, thereby mobile phone is carried out to integral monitoring.Optionally, processor 508 can comprise one or more processing cores; Preferably, processor 508 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 508.
Mobile terminal also comprises that the power supply 509(powering to all parts is such as battery), preferably, power supply can be connected with processor 508 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 509 can also comprise the random component such as one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although not shown, mobile terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, processor 508 in mobile terminal can be according to following instruction, the executable file corresponding process of one or more application program is loaded in storer 502, and moved the application program being stored in storer 502 by processor 508, thus realize various functions:
Although not shown, mobile terminal can also comprise camera, bluetooth module etc., does not repeat them here.Specifically in the present embodiment, the display unit of mobile terminal is touch-screen display, mobile terminal also includes storer, and one or more than one program, one of them or more than one program are stored in storer, and are configured to be carried out and stated more than one or one routine package containing for carrying out the instruction of following operation by more than one or one processor:
Obtain the first memory-mapped snapshot of application process in mobile terminal, wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS; From the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content, value to the identical corresponding PSS of mapping content adds up, obtain the first accumulation result, draw internal memory accounting figure or internal memory accounting statistical table according to mapping content and the first accumulation result.
In addition, can also obtain the second memory-mapped snapshot of application process in mobile terminal, from described the second memory-mapped snapshot, obtain respectively the value of corresponding PSS according to this mapping content, value to the identical corresponding PSS of mapping content adds up, obtain the second accumulation result, corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtain comparative result, draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table.
Wherein, the internal memory accounting figure drawing and internal memory change accounting figure specifically can show as multiple pattern, such as, can be column diagram or pie chart etc., wherein, pie chart, for column diagram, seems more directly perceived, that is to say, this internal memory accounting figure and internal memory change accounting figure and are specifically as follows pie chart.
Wherein, the mode of obtaining this first memory-mapped snapshot and the second memory-mapped snapshot can have multiple, for example, the memory mapping message command of the process of checking that specifically can carry by system, as the pmap order that linux system carries is obtained, etc.
In addition, after obtaining this first accumulation result, the second accumulation result or comparative result, can also sort to this first accumulation result, the second accumulation result or comparative result respectively, such as by backward sequence, check so that follow-up.
The concrete enforcement of each operation can, referring to embodiment above, not repeat them here above.
This mobile terminal can comprise smart mobile phone, panel computer, E-book reader, MP3 player or MP4 player etc.
As from the foregoing, the mobile terminal of the present embodiment adopts the first memory-mapped snapshot that obtains application process in mobile terminal, and wherein, this first memory-mapped snapshot comprises the value of mapping content and PSS, from the first memory-mapped snapshot, obtain respectively the value of corresponding PSS according to mapping content, and the value of the identical corresponding PSS of mapping content is added up, obtain the first accumulation result, then draw internal memory accounting figure or internal memory accounting statistical table according to this mapping content and the first accumulation result, further, can also obtain multiple memory-mapped snapshots of application process in mobile terminal, these memory-mapped snapshots are compared, with the difference of the value of the corresponding PSS of same map content in twice memory-mapped snapshot before and after obtaining, it is comparative result, then draw internal memory according to this comparative result and change accounting figure or internal memory variation accounting statistical table, because internal memory changes accounting figure or not only image of internal memory variation accounting statistical table, and be easily understood, so being convenient to subsequent user can analyze memory problem and locate according to this accounting figure or statistical table, be conducive to improve the performance of mobile terminal system.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is can carry out the hardware that instruction is relevant by program to complete, this program can be stored in a computer-readable recording medium, storage medium can comprise: ROM (read-only memory) (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
EMS memory occupation analytical approach, device and the system of a kind of the mobile terminal above embodiment of the present invention being provided are described in detail, applied specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (10)

1. an EMS memory occupation analytical approach for mobile terminal, is characterized in that, comprising:
Obtain the first memory-mapped snapshot of application process in mobile terminal, described the first memory-mapped snapshot comprises the value of mapping content and the actual physical memory using;
From described the first memory-mapped snapshot, obtain respectively the value of the physical memory of corresponding actual use according to described mapping content;
Value to the corresponding actual physical memory using of identical mapping content adds up, and obtains the first accumulation result;
Draw internal memory accounting figure or internal memory accounting statistical table according to described mapping content and the first accumulation result.
2. method according to claim 1, is characterized in that, also comprises:
Obtain the second memory-mapped snapshot of application process in mobile terminal, described the second memory-mapped snapshot comprises the value of mapping content and the actual physical memory using;
From described the second memory-mapped snapshot, obtain respectively the value of the physical memory of corresponding actual use according to described mapping content;
Value to the corresponding actual physical memory using of identical mapping content adds up, and obtains the second accumulation result;
Corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtain comparative result;
Draw internal memory according to described comparative result and change accounting figure or internal memory variation accounting statistical table.
3. method according to claim 2, is characterized in that,
Described the first memory-mapped snapshot that obtains application process in mobile terminal, comprising: the first memory-mapped snapshot that obtains application process in mobile terminal by the memory mapping message command of the process of checking;
Describedly obtain the second memory-mapped snapshot of application process in mobile terminal and comprise: the second memory-mapped snapshot that obtains application process in mobile terminal by the memory mapping message command of the process of checking.
4. according to the method described in claims 1 to 3 any one, it is characterized in that, the described value to the corresponding actual physical memory using of identical mapping content adds up, and after obtaining the first accumulation result, also comprises:
Described the first accumulation result is sorted according to numerical value order from small to large.
5. according to the method in claim 2 or 3, it is characterized in that, described internal memory accounting figure and internal memory change accounting figure and are specially pie chart.
6. an EMS memory occupation analytical equipment for mobile terminal, is characterized in that, comprising:
Snapshot acquiring unit, for obtaining the first memory-mapped snapshot of mobile terminal application process, described the first memory-mapped snapshot comprises the value of mapping content and the actual physical memory using;
Numerical value acquiring unit, for obtaining respectively the value of the physical memory of corresponding actual use from described the first memory-mapped snapshot according to described mapping content;
Cumulative unit, adds up for the value of the corresponding actual physical memory using of the mapping content to identical, obtains the first accumulation result;
Drawing unit, for drawing internal memory accounting figure or internal memory accounting statistical table according to described mapping content and the first accumulation result.
7. the EMS memory occupation analytical equipment of mobile terminal according to claim 6, is characterized in that, also comprises comparing unit;
Described snapshot acquiring unit, also for obtaining the second memory-mapped snapshot of mobile terminal application process, described the second memory-mapped snapshot comprises the value of mapping content and the actual physical memory using;
Described numerical value acquiring unit, also for obtaining respectively the value of the physical memory of corresponding actual use from described the second memory-mapped snapshot according to described mapping content;
Described cumulative unit, also adds up for the value of the corresponding actual physical memory using of the mapping content to identical, obtains the second accumulation result;
Described comparing unit, for corresponding identical mapping content the first accumulation result and the second accumulation result are compared, obtains comparative result;
Described drawing unit, also for drawing according to described comparative result, internal memory changes accounting figure or internal memory changes accounting statistical table.
8. the EMS memory occupation analytical equipment of mobile terminal according to claim 7, is characterized in that,
Described snapshot acquiring unit, obtain the first memory-mapped snapshot of application process in mobile terminal specifically for the memory mapping message command by the process of checking, and obtain the second memory-mapped snapshot of application process in mobile terminal by the memory mapping message command of the process of checking.
9. the EMS memory occupation analytical equipment of mobile terminal according to claim 7, is characterized in that, also comprises sequencing unit;
Sequencing unit, for sorting according to numerical value order from small to large to described the first accumulation result.
10. a communication system, is characterized in that, comprises the EMS memory occupation analytical equipment of the mobile terminal described in claim 6 to 9 any one.
CN201310629930.9A 2013-11-28 2013-11-28 Memory usage analysis method, device and system of mobile terminal Pending CN104133761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310629930.9A CN104133761A (en) 2013-11-28 2013-11-28 Memory usage analysis method, device and system of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310629930.9A CN104133761A (en) 2013-11-28 2013-11-28 Memory usage analysis method, device and system of mobile terminal

Publications (1)

Publication Number Publication Date
CN104133761A true CN104133761A (en) 2014-11-05

Family

ID=51806444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310629930.9A Pending CN104133761A (en) 2013-11-28 2013-11-28 Memory usage analysis method, device and system of mobile terminal

Country Status (1)

Country Link
CN (1) CN104133761A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932970A (en) * 2015-05-29 2015-09-23 小米科技有限责任公司 Monitoring method and device of memory leakage
CN106484598A (en) * 2016-10-18 2017-03-08 珠海市魅族科技有限公司 A kind of display methods of tag memory and display device
CN106528371A (en) * 2016-10-26 2017-03-22 珠海市魅族科技有限公司 Method and apparatus for reminding running state of terminal system
CN107291619A (en) * 2017-06-21 2017-10-24 北京奇虎科技有限公司 EMS memory occupation analysis method and device
CN107346285A (en) * 2017-05-26 2017-11-14 郑州云海信息技术有限公司 A kind of method for detecting memory leakage and device
CN107704332A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 Freeze screen solution method, mobile terminal and computer-readable recording medium
CN111435299A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Application processing method and device
CN111949492A (en) * 2020-08-20 2020-11-17 深圳市锐尔觅移动通信有限公司 System resource acquisition method and device and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221527A (en) * 2007-01-08 2008-07-16 上海宇梦通信科技有限公司 Physical memory information monitoring system of Linux platform
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring
CN103136059A (en) * 2011-11-24 2013-06-05 中兴通讯股份有限公司 Communication method and processing unit among programs with mutually isolated memory intervals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221527A (en) * 2007-01-08 2008-07-16 上海宇梦通信科技有限公司 Physical memory information monitoring system of Linux platform
CN101599048A (en) * 2009-07-01 2009-12-09 福建星网锐捷网络有限公司 A kind of method and apparatus of internal memory monitoring
CN103136059A (en) * 2011-11-24 2013-06-05 中兴通讯股份有限公司 Communication method and processing unit among programs with mutually isolated memory intervals

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
石头的专栏: "smem在Android中的使用", 《石头的专栏》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104932970A (en) * 2015-05-29 2015-09-23 小米科技有限责任公司 Monitoring method and device of memory leakage
CN106484598A (en) * 2016-10-18 2017-03-08 珠海市魅族科技有限公司 A kind of display methods of tag memory and display device
CN106528371A (en) * 2016-10-26 2017-03-22 珠海市魅族科技有限公司 Method and apparatus for reminding running state of terminal system
CN107346285A (en) * 2017-05-26 2017-11-14 郑州云海信息技术有限公司 A kind of method for detecting memory leakage and device
CN107291619A (en) * 2017-06-21 2017-10-24 北京奇虎科技有限公司 EMS memory occupation analysis method and device
CN107704332A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 Freeze screen solution method, mobile terminal and computer-readable recording medium
CN107704332B (en) * 2017-09-28 2021-06-15 努比亚技术有限公司 Screen freezing solution method, mobile terminal and computer readable storage medium
CN111435299A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Application processing method and device
CN111435299B (en) * 2019-01-14 2023-06-20 阿里巴巴集团控股有限公司 Application processing method and device
CN111949492A (en) * 2020-08-20 2020-11-17 深圳市锐尔觅移动通信有限公司 System resource acquisition method and device and terminal equipment

Similar Documents

Publication Publication Date Title
CN104133761A (en) Memory usage analysis method, device and system of mobile terminal
CN103455407A (en) Mobile terminal CPU (Central Processing Unit) occupation rate monitoring method and device and mobile terminal
CN105404585A (en) Method and apparatus for acquiring code coverage rate
CN104834529A (en) Method and device for optimizing performance of application
CN104468679A (en) Geographic position sharing method and system and terminals
CN104951432A (en) Information processing method and device
CN104572430A (en) Method, device and system for testing terminal application interface
CN103345602A (en) Client-side code integrality detection method, device and system
CN105302452A (en) Gesture interaction-based operation method and device
CN104252341A (en) Method and device for resurfacing application program and client side device of application program
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN105320701A (en) Method and device for screening function point test implementing ways, and terminal
CN103177217B (en) A kind of file scanning method, system and client and server
CN104572046A (en) Method for restoring stacks and computer system
CN104123276A (en) Method, device and system for intercepting popup windows in browser
CN103945241A (en) Streaming data statistical method, system and related device
CN106502833A (en) Data back up method and device
CN104699501A (en) Method and device for running application program
CN105245432A (en) Unread message counting method, unread message counting device and terminal
CN104901992A (en) Resource transfer method and device
CN104102560A (en) Method and device for testing system performance
CN104123210A (en) Method, device and system for testing performance of browser
CN104918130A (en) Methods for transmitting and playing multimedia information, devices and system
CN104834655A (en) Method and device for displaying mass parameter of network resource
CN104951324A (en) Method and device for acquiring application calling relation table

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141105

RJ01 Rejection of invention patent application after publication