CN104732139A - Internal storage monitoring method and terminal - Google Patents

Internal storage monitoring method and terminal Download PDF

Info

Publication number
CN104732139A
CN104732139A CN201510063651.XA CN201510063651A CN104732139A CN 104732139 A CN104732139 A CN 104732139A CN 201510063651 A CN201510063651 A CN 201510063651A CN 104732139 A CN104732139 A CN 104732139A
Authority
CN
China
Prior art keywords
internal memory
application
terminal
curve
user
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
CN201510063651.XA
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.)
Shenzhen ZTE Mobile Telecom Co Ltd
Original Assignee
Shenzhen ZTE Mobile Telecom 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 Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201510063651.XA priority Critical patent/CN104732139A/en
Publication of CN104732139A publication Critical patent/CN104732139A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an internal storage monitoring method and terminal. The internal storage monitoring method comprises the steps that the size of an internal storage occupied by each application which runs at present is monitored in real time, and when the size of the internal storage occupied by a certain application is detected to exceed a normal range, the application is judged to be abnormal. By the adoption of the internal storage monitoring method and terminal, an abnormality can be detected at an initial moment when the abnormality occurs, a user is reminded, and the user can find the abnormal condition of the internal storage occupied by the background application in time and conduct timely relevant processing, so that the circumstances that the internal storage is occupied abnormally, the terminal runs slowly, or the dead halt happens to the terminal frequently due to poor development quality of a few APPs are avoided, and good usage experience is guaranteed for the user.

Description

A kind of internal memory monitoring method and terminal
Technical field
The present invention relates to communication technical field, particularly relate to a kind of internal memory monitoring method and terminal.
Background technology
At present, the life of the network terminal and people is more and more tightr, and in life, smart mobile phone, panel computer, desktop computer etc. are seen everywhere.Along with popularizing of the network terminal, from strength to strength, opening is also more and more stronger for the function of the network terminal, and APP is also thereupon fast-developing.In today that APP is flourishing at a high speed, all kinds of APP emerges in an endless stream, and the development quality of APP is also uneven.User downloads all kinds of APP from the Internet when using to terminal; some APP can take a large amount of internal memory or even there is the phenomenon of RAM leakage because there is exception; there is the situation that abnormal reaction slowly or even frequently crashes in the terminal causing user to use, and the solution effectively not avoiding this type of phenomenon to occur at present.
Summary of the invention
The object of the present invention is to provide a kind of internal memory monitoring method and terminal, detect according to internal memory monitoring information and abnormal application occurs and alarm in time, taken even memory overflow in a large number to avoid internal memory.
The object of the invention is to be achieved through the following technical solutions.
A kind of internal memory monitoring method, comprising:
Each of the current operation of real-time monitoring memory size shared by application, to have detected that application shared memory size judges when exceeding normal range that this application occurs abnormal.
Wherein, before the memory size shared by each application of the current operation of monitoring in real time, also step is comprised:
For each application, pre-rendered and record its in normal course of operation internal memory change the curve of cyclical fluctuations, draw accordingly normal internal memory change fluctuation reference curve.
Wherein, for each application, pre-rendered and record its in normal course of operation internal memory change the curve of cyclical fluctuations include at least two.
Wherein, for each application of current operation, judge its whether occur abnormal method as: for each application of current operation, in real time its corresponding for the internal memory change curve of cyclical fluctuations in its current operational process normal internal memory change fluctuation reference curve is compared, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal.
Wherein, after being determined with application and occurring extremely, adopt the alarm mode preset to user's alarm.
Wherein, also comprise: after user's alarm, if user confirms anomalous event, then add up the abnormal frequency of current application and show in respective icon inferior horn mark; If user ignores this anomalous event, then return the internal memory continuing to draw this application and change the curve of cyclical fluctuations and monitor; If user does not process this anomalous event, then again remind at interval of after the time period.
A kind of terminal, comprising:
Internal memory monitoring unit, for monitor current operation in real time each application shared by memory size, to have detected that application shared memory size judges when exceeding normal range that this application occurs abnormal.
Wherein, also comprise:
Abnormality alarming unit, for when internal memory monitoring unit inspection is to exception, adopts the alarm mode preset to carry out alarm.
Wherein, also comprise:
Qualitative detection switch, for opening or cut out the internal memory monitoring function of described internal memory monitoring unit.
Wherein, described internal memory monitoring unit comprises further:
Internal memory change curve of cyclical fluctuations drafting module, for for each application, draws and records its internal memory change curve of cyclical fluctuations in normal course of operation, to fluctuate reference curve as its normal internal memory change; Also for after each application start, this internal memory be applied in current operational process of real-time rendering changes the curve of cyclical fluctuations;
Abnormal judge module, for for each application, in real time its corresponding for the internal memory change curve of cyclical fluctuations in its current operational process normal internal memory change fluctuation reference curve is compared, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal.
Compared with prior art, the present invention's embodiment of the present invention has the following advantages:
The application embodiment of the present invention, abnormal also reminding user just can be detected at the abnormal initial time occurred, can allow user's Timeliness coverage background application committed memory abnormal conditions, and make relevant treatment in time, avoid some due to the situation that APP development quality difference causes memory abnormal to take, terminal occurs running slowly or frequently crashes, ensure that the good experience of user.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of existing mobile terminal;
Fig. 2 is can the block diagram of wireless communication system of mobile terminal shown in service chart 1;
Fig. 3 is the structured flowchart of mobile terminal in the embodiment of the present invention one;
Fig. 4 is internal memory monitoring method process flow diagram in the embodiment of the present invention one;
Fig. 5 is internal memory monitoring method process flow diagram in the embodiment of the present invention two.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desk-top computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.
Fig. 1 is the block diagram of the mobile terminal that the embodiment of the present invention is correlated with.
Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, sensing cell 140, output unit 150, storer 160, interface unit 170, controller 180 and power supply unit 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.
Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows mobile terminal 100 and the wireless communication of mobile terminal between wireless communication system wherein or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.
Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.
Broadcast related information can not provide via mobile communications network yet, and in this case, broadcast related information can be received by mobile communication module 112.
Broadcast singal can exist in a variety of manners.Such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.
Broadcast reception module 111 can be constructed to by using various types of broadcast system Received signal strength to broadcast.Especially, broadcast reception module 111 can receive digital broadcasting by using the digit broadcasting system of such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), the Radio Data System being known as only forward link media (MediaFLO), received terrestrial digital broadcasting integrated service (ISDB-T) etc.Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.
The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in storer 160 (or storage medium of other type).
Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.
Wireless Internet module 113 support is used for the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or externally thickly receive terminal.The Wi-Fi (Wireless Internet Access) technology implemented can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.
Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth TM, radio-frequency (RF) identification (RFID), Infrared Data Association (I rDA), ultra broadband (UWB), purple honeybee tMetc..
Positional information module 115 is the modules of position for checking or obtain mobile terminal.The typical case of positional information module is GPS (GPS).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating position and temporal information uses three satellites and by using the error of the position that goes out of an other satellite correction calculation and temporal information.In addition, GPS module 115 can carry out computing velocity information by Continuous plus current location in real time.
A/V input block 120 is constructed to audio reception or vision signal.A/V input block 120 can comprise camera 121 and the view data of microphone 1220 camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.
The picture frame processed by camera 121 can be stored in storer 160 (or other storage medium) or via wireless communication unit 110 and send.Two or more cameras 1210 can be provided according to the structure of mobile terminal.
Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc., and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of sound signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.
Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power supply unit 190 provides electric power or interface unit 170 to connect with external device (ED) is thick.
Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.
Identification module can be that storage uses the various information of the right of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), Subscriber Identity Module (SIM), general subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card.Therefore, recognition device can be connected with terminal 100 via port or other coupling arrangement.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.
Output unit 150 is constructed to provide output (such as, sound signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.
Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (U I) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.
Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input media and output unit.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparent in allow from outside viewing, and this can be called transparent display.Typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific embodiment wanted, mobile terminal 100 can comprise two or more display units (or other display device).Such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be constructed to even to detect touch input pressure and touch input position and touch and input area.
Dio Output Modules 152 can by receive from wireless communication unit 110 in call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode etc. or storer 160 store voice data change and export as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function performed by mobile terminal 100 to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loudspeaker, hummer etc.
Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration.When receive calling, message or some other enter communication (incomingcommunication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.The output of the generation of notification event also can be provided via display unit 151 or dio Output Modules 152.
Storer 160 can store software program of process for being performed by controller 180 and control operation etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, storer 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of sound signal.
Storer 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type storer (such as, SD or DX storer etc.), random access storage device (RAM), static random-access memory (SRAM), ROM (read-only memory) (ROM), electrically Erasable Programmable Read Only Memory EPROM (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.
Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 multi-media module 1810 multi-media module 181 that can comprise for reproducing (or playback) multi-medium data can be configured in controller 180 or can be configured to be separated with controller 180.
Controller 180 pattern recognition process can be identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.
Power supply unit 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.
Various embodiment described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.
For hardware implementation, embodiment described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device.Object, programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, be designed at least one performed in the electronic unit of function described herein and implement.In some cases, such embodiment can be implemented in controller 180.
For implement software, the embodiment of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language.Software code can be stored in storer 160 and to be performed by controller 180.
So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.
Describe wherein according to such communication system that mobile terminal of the present invention can operate referring now to Fig. 2.
Such communication system can use different air interfaces and/or Physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA) (TDMA), CDMA (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.
With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 2800MSC 280 and be constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC 280 is also constructed to and can forms interface via the thick BSC 275 receiving base station 270 of back haul link.Back haul link can construct according to any one in some known interfaces, and described interface comprises such as E 1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC275.
Each BS 270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS 270.Or each subregion can by two or more antenna covers for diversity reception.Each BS 270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS 270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC 275 and at least one BS 270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.
As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on terminal 100 and sentences the broadcast singal receiving and sent by BT 295.In fig. 2, several GPS (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple terminal 100 in location.
In fig. 2, depict several satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.
As a typical operation of wireless communication system, BS 270 receives the reverse link signal from various mobile terminal 10.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S 270.The data obtained are forwarded to relevant BSC 275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS 270.The data received also are routed to MSC280 by BSC 275, and it is provided for the extra route service forming interface with PSTN 290.Similarly, PSTN 290 and MSC 280 form interface, and MSC and BSC 275 forms interface, and BSC 275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.
Embodiment one
Based on the mobile terminal shown in Fig. 1, in order to realize monitoring each application committed memory size, the present embodiment has increased some functional modules newly on this mobile terminal 100, defines new mobile terminal 100 ', as shown in Figure 3, comprising:
Qualitative detection switch 310, for opening or cutting out internal memory monitoring function, is selected to arrange opening and closing by user; In other embodiments, for the sake of simplicity, can omit qualitative detection switch 310, the internal memory monitoring function arranging contents supervision's unit 320 is a direct-open;
Internal memory monitoring unit 320, for when internal memory monitoring function is opened, each of the in real time current operation of monitoring memory size shared by application, having detected that application shared memory size notifies this anomalous event to abnormality alarming unit 330 when occurring abnormal;
Abnormality alarming unit 330, for when internal memory monitoring unit 320 detects abnormal, adopts the alarm mode preset to carry out alarm; Also for when user ignores anomalous event, periodically to user's alarm again; Alarm mode can adopt the mode such as information, voice, vibration.
Wherein, internal memory monitoring unit 320 specifically comprises:
Internal memory change curve of cyclical fluctuations drafting module 321, for for each application, draws and records its internal memory change curve of cyclical fluctuations in normal course of operation, as its normal internal memory change fluctuation reference curve, for the judgement of follow-up exception provides reference frame; Also for after each application start, this internal memory be applied in this operational process of real-time rendering changes the curve of cyclical fluctuations;
Abnormal judge module 322, for for each application, in real time its corresponding for the internal memory change curve of cyclical fluctuations in its this operational process normal internal memory change fluctuation reference curve is compared, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal.
Refer to Fig. 4, the figure shows internal memory monitoring method flow process in the present embodiment, comprise step:
401, internal memory monitoring function is opened.
Internal memory monitoring function can be selected to arrange opening and closing by user, also can adopt default setting mode.
402, for each application, pre-rendered and record its internal memory change curve of cyclical fluctuations in normal course of operation, as its normal internal memory change fluctuation reference curve, for follow-up exception judges to provide reference frame.
In this step, for each application, can draw and record its internal memory change curve of cyclical fluctuations in repeatedly normal course of operation, statistics draws its normal internal memory change fluctuation reference curve accordingly, can improve the abnormal accuracy rate judged like this.
Such as, for application A, can draw and record its in 10 operational processs internal memory change the curve of cyclical fluctuations, removal is wherein distinguished larger minority internal memory and is changed the curve of cyclical fluctuations with other curves, residual curve can be considered the internal memory change curve of cyclical fluctuations that this application A produces in normal course of operation, can add up drawing normal internal memory change fluctuation reference curve according to this part curve exactly.
403, for each application, after its starting, real-time rendering this be applied in internal memory change curve of cyclical fluctuations in current operational process, and itself and corresponding normal internal memory changed the reference curve that fluctuates compare.
404, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal, perform step 405; Otherwise, repeated execution of steps 403.
Because normal internal memory change fluctuation reference curve forming according to being applied in repeatedly the internal memory change curve of cyclical fluctuations drafting produced in normal course of operation, thus more adequately reflecting the fluctuation tendency of internal memory change, can be used as abnormal basis for estimation.
405, according to preset alarm mode to user's alarm.
Such as, information prompting is ejected in terminal screen centre position: XXX application EMS memory occupation in use may exist exception.
If 406 users confirm exception, then add up abnormal number of times occurring and in respective icon inferior horn mark, intuitively for user represents the internal memory service condition of this application, facilitating user to determine whether start this application next time of current application.If user ignores this exception, then return the internal memory change curve of cyclical fluctuations that step 403 continues to draw this application.If user does not process this abnormality alarming, then again remind at interval of after the time period.
In above-mentioned internal memory monitoring process, can detect at the abnormal initial time occurred and to user's alarm, carry out abnormality processing by user, avoiding aberrant continuation to increase the weight of to cause the more shared increasing even memory overflow of internal memory.
Embodiment two
In embodiment one, take the mode to all internal memory is monitored shared by application, this monitor mode is applicable to the less environment of the number of applications of current operation, occurred abnormal application can be found out accurately and effectively, but when the number ratio of monitored application is more, watchdog routine will take a large amount of internal memory, affects the normal operation of other application on the contrary.
Thus, in the present embodiment two, as shown in the step 501-507 in Fig. 5, filter out certain applications monitor from all application, concrete method for supervising is identical with embodiment, repeats no more herein.Particularly, before monitoring, first monitored application is screened, the certain applications that can therefrom filter out abnormal probability of happening higher according to the abnormal probability of happening of each application of record are monitored in real time, also the certain applications of outbalance therefrom can be selected to monitor in real time by user, the internal memory shared by this watchdog routine can be reduced like this, do not affect the normal operation of other application.
Embodiment three
In embodiment one, no matter be the normal internal memory change fluctuation reference information that statistics draws, still the internal memory change fluctuation information drawn in real time, all embodied by the mode of curve plotting, this Method compare is directly perceived and the data message amount gathered is large, comprehensively, the application be specially adapted to the short time is run is monitored.
The present embodiment three, is just with embodiment one difference: substitution curves mode, adopts the mode of data form to carry out storing data information, is applicable to monitor long playing application.In monitor procedure, at interval of time point, memory size shared by monitored application is detected and is saved to correspondence position in data form.Acquisition can be reduced like this and effectively detect data, additionally reduce internal memory shared by watchdog routine.Certainly, also embody by other modes, only otherwise departing from core concept of the present invention all can realize the object of the invention.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an internal memory monitoring method, is characterized in that, the method comprises:
Each of the current operation of real-time monitoring memory size shared by application, to have detected that application shared memory size judges when exceeding normal range that this application occurs abnormal.
2. internal memory monitoring method as claimed in claim 1, is characterized in that, before the memory size shared by each application of the current operation of monitoring in real time, also comprise step:
For each application, pre-rendered and record its in normal course of operation internal memory change the curve of cyclical fluctuations, draw accordingly normal internal memory change fluctuation reference curve.
3. internal memory monitoring method as claimed in claim 2, is characterized in that, in the method, for each application, its of pre-rendered and record internal memory change curve of cyclical fluctuations in normal course of operation includes at least two.
4. internal memory monitoring method as claimed in claim 2, it is characterized in that, for each application of current operation, judge its whether occur abnormal method as: for each application of current operation, in real time its corresponding for the internal memory change curve of cyclical fluctuations in its current operational process normal internal memory change fluctuation reference curve is compared, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal.
5. the internal memory monitoring method as described in as arbitrary in Claims 1-4, is characterized in that, be determined with application occur abnormal after, adopt the alarm mode preset to user's alarm.
6. internal memory monitoring method as claimed in claim 5, it is characterized in that, the method also comprises: after user's alarm, if user confirms anomalous event, then add up the abnormal frequency of current application and show in respective icon inferior horn mark; If user ignores this anomalous event, then return the internal memory continuing to draw this application and change the curve of cyclical fluctuations and monitor; If user does not process this anomalous event, then again remind at interval of after the time period.
7. a terminal, is characterized in that, this terminal comprises:
Internal memory monitoring unit, for monitor current operation in real time each application shared by memory size, to have detected that application shared memory size judges when exceeding normal range that this application occurs abnormal.
8. terminal as claimed in claim 7, it is characterized in that, this terminal also comprises:
Abnormality alarming unit, for when internal memory monitoring unit inspection is to exception, adopts the alarm mode preset to carry out alarm.
9. terminal as claimed in claim 8, it is characterized in that, this terminal also comprises:
Qualitative detection switch, for opening or cut out the internal memory monitoring function of described internal memory monitoring unit.
10. mobile terminal as claimed in claim 7, it is characterized in that, described internal memory monitoring unit comprises further:
Internal memory change curve of cyclical fluctuations drafting module, for for each application, draws and records its internal memory change curve of cyclical fluctuations in normal course of operation, to fluctuate reference curve as its normal internal memory change; Also for after each application start, this internal memory be applied in current operational process of real-time rendering changes the curve of cyclical fluctuations;
Abnormal judge module, for for each application, in real time its corresponding for the internal memory change curve of cyclical fluctuations in its current operational process normal internal memory change fluctuation reference curve is compared, judge whether the current internal memory change curve of cyclical fluctuations exceeds normal internal memory change fluctuation tendency scope, if exceed, judge that this application occurs abnormal.
CN201510063651.XA 2015-02-04 2015-02-04 Internal storage monitoring method and terminal Pending CN104732139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510063651.XA CN104732139A (en) 2015-02-04 2015-02-04 Internal storage monitoring method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510063651.XA CN104732139A (en) 2015-02-04 2015-02-04 Internal storage monitoring method and terminal

Publications (1)

Publication Number Publication Date
CN104732139A true CN104732139A (en) 2015-06-24

Family

ID=53456019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510063651.XA Pending CN104732139A (en) 2015-02-04 2015-02-04 Internal storage monitoring method and terminal

Country Status (1)

Country Link
CN (1) CN104732139A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764085A (en) * 2016-02-15 2016-07-13 努比亚技术有限公司 Abnormal electricity consumption detection method and terminal
CN107066367A (en) * 2017-04-05 2017-08-18 青岛海信宽带多媒体技术有限公司 Application detection method and device in intelligent terminal
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN113268392A (en) * 2020-02-14 2021-08-17 北京字节跳动网络技术有限公司 Video memory monitoring method and device, readable medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (en) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 Real time monitoring system and method of application program
WO2013070773A2 (en) * 2011-11-07 2013-05-16 Qualcomm Incorporated Methods, devices, and systems for detecting return-oriented programming exploits
WO2014056794A1 (en) * 2012-10-09 2014-04-17 Continental Automotive Gmbh Method for controlling separated running of linked program blocks and control device
CN103914366A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method and device for automatically monitoring application memory information
CN104239184A (en) * 2014-09-22 2014-12-24 北京金山安全软件有限公司 Method and device for identifying abnormal application program of terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408861A (en) * 2007-10-11 2009-04-15 鸿富锦精密工业(深圳)有限公司 Real time monitoring system and method of application program
WO2013070773A2 (en) * 2011-11-07 2013-05-16 Qualcomm Incorporated Methods, devices, and systems for detecting return-oriented programming exploits
WO2014056794A1 (en) * 2012-10-09 2014-04-17 Continental Automotive Gmbh Method for controlling separated running of linked program blocks and control device
CN103914366A (en) * 2013-01-05 2014-07-09 腾讯科技(深圳)有限公司 Method and device for automatically monitoring application memory information
CN104239184A (en) * 2014-09-22 2014-12-24 北京金山安全软件有限公司 Method and device for identifying abnormal application program of terminal and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764085A (en) * 2016-02-15 2016-07-13 努比亚技术有限公司 Abnormal electricity consumption detection method and terminal
CN107066367A (en) * 2017-04-05 2017-08-18 青岛海信宽带多媒体技术有限公司 Application detection method and device in intelligent terminal
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN113268392A (en) * 2020-02-14 2021-08-17 北京字节跳动网络技术有限公司 Video memory monitoring method and device, readable medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN104834517A (en) Mobile terminal power-saving method and mobile terminal
CN104714874A (en) Method for intelligently optimizing internal storage of mobile terminal and mobile terminal
CN105094618A (en) Method and device for managing background applications
CN104714895A (en) Mobile terminal and method and device for increasing running speed of mobile terminal
CN104750420A (en) Screen capturing method and device
CN104836915A (en) Method and device for processing screen projection display and mobile terminal
CN104883430A (en) Mobile terminal, processing method of unread superscripts of mobile terminal, and processing device of unread superscripts of mobile terminal
CN105260083A (en) Mobile terminal and method for realizing split screens
CN104898970A (en) Volume control method and apparatus
CN104980588A (en) Method and apparatus for detecting state of mobile terminal
CN104850443A (en) Method for shutting down false start-up application program and mobile terminal
CN104796956A (en) Mobile terminal network switching method and mobile terminal
CN105094555A (en) Method and device for switching application program through swipe gesture
CN104731480A (en) Image display method and device based on touch screen
CN104850799A (en) Mobile terminal and method of hiding data in mobile terminal
CN104731512A (en) Method, device and terminal for sharing pictures
CN104915227A (en) Multi-source and multithread software upgrading method and system
CN105101264A (en) Method and device for monitoring state of terminal network
CN104820555A (en) Transverse and vertical screen modes switching method and device, and terminal
CN104915215A (en) Icon recommending device and method
CN105095051A (en) Method and device for reminding working state of background application program
CN104881218A (en) Mobile terminal screen scrolling method and mobile terminal screen scrolling device
CN105764085A (en) Abnormal electricity consumption detection method and terminal
CN105100416A (en) Event reminding method and wearable device
CN104821990A (en) Intelligent terminal power-off alarm clock realization method and intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
CB02 Change of applicant information

Address after: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after: Nubian Technologies Ltd.

Address before: A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before: Shenzhen ZTE Mobile Tech Co., Ltd.

COR Change of bibliographic data
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: 20150624

RJ01 Rejection of invention patent application after publication