CN107688497A - A kind of internal memory regulation and control method, equipment and computer-readable recording medium - Google Patents
A kind of internal memory regulation and control method, equipment and computer-readable recording medium Download PDFInfo
- Publication number
- CN107688497A CN107688497A CN201710613720.9A CN201710613720A CN107688497A CN 107688497 A CN107688497 A CN 107688497A CN 201710613720 A CN201710613720 A CN 201710613720A CN 107688497 A CN107688497 A CN 107688497A
- Authority
- CN
- China
- Prior art keywords
- memory
- internal memory
- releasing mechanism
- field
- destination application
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of internal memory regulation and control method, equipment and computer-readable recording medium, wherein, this method includes:Internal memory is divided into the first memory field and the second memory field;In the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;According to memory discharge operation corresponding to the second internal memory releasing mechanism goal of regulation and control application program.Realize a kind of when the larger application program of resource consumption can be run in terminal device, management and control more intelligently is carried out to Memory Allocation, internal memory releasing mechanism can be regulated and controled efficiently, accurately and in time, enrich internal memory management and control mode, improve the service efficiency of internal memory.
Description
Technical field
The present invention relates to moving communicating field, more particularly to a kind of internal memory regulation and control method, equipment and computer-readable storage
Medium.
Background technology
In the prior art, intelligent terminal, such as the purposes of mobile phone are more and more extensive, and with set about trip etc. game industry
Develop, at present with mobile phone play game user it is also more and more.Whether Mobile phone can be sold good, and playing game with it is
A no smooth often very important determinant.
And in most of Mobile operating system, such as Android system, in order to be adapted to a game, it is often necessary to expend huge
Big manpower and materials are tested game repeatedly on mobile phone to be released, then to code tuning repeatedly;Or simply
Increase internal memory, improve mobile phone cost.
But such scheme the problem of existing, is:
1st, each hot money game is required for labor intensive material resources to be tested repeatedly, and to code tuning repeatedly, efficiency
It is too low.
2nd, increase mobile phone EMS memory simply, but without the valid memory prioritization scheme for game, improve mobile phone cost, drop
Low profit margin.
3rd, the optimization to game is constantly present certain hysteresis quality, under the perfervid background of market competition, it is easy to because
The huge market share is lost to optimize the slow step of people one.
Therefore, in the prior art, the internal memory management and control mode for mobile terminal device exist efficiency is low, cost is high, optimization
The defects of hysteresis.
The content of the invention
In order to solve in the prior art, have that efficiency is low, cost is high, excellent for the internal memory management and control mode of mobile terminal device
Change the technological deficiency of hysteresis, the present invention proposes a kind of internal memory regulation and control method, and this method includes:
Internal memory is divided into the first memory field and the second memory field;
In the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;
According to memory discharge operation corresponding to the second internal memory releasing mechanism goal of regulation and control application program.
Optionally, it is described internal memory is divided into the first memory field and the second memory field to include:
The capacity and hardware environment of the memory field are determined in terminal device;
Determined according to the capacity of the memory field and the hardware environment in first memory field and described second
Deposit area;
The first internal memory releasing mechanism is performed in first memory field, and the second internal memory is performed in second memory field
Releasing mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
Optionally, it is described during operational objective application program, to trigger the second internal memory releasing mechanism in second memory field
Including:
Analyze the internal memory release demand of the destination application;
Demand is discharged according to the internal memory and determines extracode bag corresponding with the destination application.
Optionally, it is described during operational objective application program, to trigger the release of the second internal memory in second memory field
Mechanism also includes:
Monitor the triggering command of the destination application;
According to the triggering command, second memory field is called to run the destination application;
When the destination application is run, start the extracode bag;
The running status and operation demand of the destination application are monitored by the extracode bag.
Optionally, the internal memory release according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application
Operation includes:
Determine the renewal directorial area of internal memory releasing mechanism;
The second internal memory releasing mechanism is determined according to the running status and the operation demand;
The second internal memory releasing mechanism is updated in the renewal directorial area.
Optionally, the invention also provides a kind of internal memory adjusting device, it is characterised in that the equipment include memory,
Processor and the computer program that can be run on the memory and on the processor is stored in, the computer program quilt
Realized during the computing device:
Internal memory is divided into the first memory field and the second memory field;
In second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;
The memory discharge operation according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application.
Optionally, the computer program also by the computing device when realize:
The capacity and hardware environment of the memory field are determined in terminal device;
Determined according to the capacity of the memory field and the hardware environment in first memory field and described second
Deposit area;
The first internal memory releasing mechanism is performed in first memory field, and the second internal memory is performed in second memory field
Releasing mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
Optionally, the computer program also by the computing device when realize:
Analyze the internal memory release demand of the destination application;
Demand is discharged according to the internal memory and determines extracode bag corresponding with the destination application.
Optionally, the computer program also by the computing device when realize:
Monitor the triggering command of the destination application;
According to the triggering command, second memory field is called to run the destination application;
When the destination application is run, start the extracode bag;
The running status and operation demand of the destination application are monitored by the extracode bag;
Determine the renewal directorial area of internal memory releasing mechanism;
The second internal memory releasing mechanism is determined according to the running status and the operation demand;
The second internal memory releasing mechanism is updated in the renewal directorial area.
The invention also provides a kind of computer-readable recording medium, internal memory is stored with the computer-readable recording medium
Regulatory process, the step of internal memory described in any one regulates and controls method as described above is realized when internal memory regulatory process is executed by processor.
Implement internal memory regulation and control method, equipment and the computer-readable recording medium of the present invention, by the way that internal memory is divided into the
One memory field and the second memory field;In the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;Root
According to memory discharge operation corresponding to the second internal memory releasing mechanism goal of regulation and control application program.Realizing one kind can be in terminal device
During the interior operation larger application program of resource consumption, management and control more intelligently is carried out to Memory Allocation, can efficiently, in time, standard
Really regulate and control internal memory releasing mechanism, enrich internal memory management and control mode, improve the service efficiency of internal memory.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is a kind of hardware architecture diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is the flow chart of internal memory regulation and control method first embodiment of the present invention;
Fig. 4 is the flow chart of internal memory regulation and control method second embodiment of the present invention;
Fig. 5 is the flow chart of internal memory regulation and control method 3rd embodiment of the present invention;
Fig. 6 is the flow chart of internal memory regulation and control method fourth embodiment of the present invention;
Fig. 7 is the flow chart of the internal memory regulation and control embodiment of method the 5th of the present invention.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only
Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board
Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move
Dynamic terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special
Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting
Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit
108th, the part such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not form the restriction to mobile terminal, and mobile terminal can be included than illustrating more or less parts,
Either combine some parts or different parts arrangement.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station
Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate
Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, FDD Long Term Evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex Long Term Evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need
To be omitted in the essential scope for do not change invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is receiving or
It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103
The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared
Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out
Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited
Storage is transmitted in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can
To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound
Caused noise or interference during frequency signal.
Mobile terminal 100 also includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal
The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with
And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it
(for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071
Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can
To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, contact panel 1071 and display panel
1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can
Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically
Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example,
External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing
Line FPDP, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storage software program and various data.Memory 109 can mainly include storing program area
And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection
Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage
Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main
Handle radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) to all parts power supply, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put
The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used
Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers
Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc.
The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the inventive method is proposed.
Embodiment one
A kind of internal memory regulates and controls method, and this method includes:
S1, internal memory is divided into the first memory field and the second memory field;
S2, during operational objective application program, trigger the second internal memory releasing mechanism in the second memory field;
S3, the memory discharge operation according to corresponding to the second internal memory releasing mechanism goal of regulation and control application program.
In the present embodiment, in order to solve in the prior art, effect be present for the internal memory management and control mode of mobile terminal device
Rate is low, cost is high, the technological deficiency of optimization hysteresis, and the present embodiment proposes a kind of internal memory regulation and control method.
In the present embodiment, first, internal memory is divided into the first memory field and the second memory field.Specifically, due to Android
Each application of system is realized that its memory management is the JVM memory management mechanism based on java, i.e., fixed based on java
When internally deposit into capable recovery.The problem of caused by the mechanism of this timing recovery be mainly Memory recycle not in time, so as to cause
Memory usage is too high.When user plays mobile phone, also it is easy to because of Memory recycle not in time, and it is certain to cause game to occur
The interim card of degree.
In view of the above-mentioned problems, the present embodiment devises a set of customized memory management mechanism.I.e. user is entering game
When, the internal memory of Android system is proportionally divided into two regions, the first memory field and the second memory field automatically, wherein, one
It is to be directed to basic function, such as the region of memory of mobile phone short message, remains in that JVM memory management mechanism;And another is then the trip
The reserved area of play, the region use customized memory management mechanism.
In the present embodiment, in the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered.Tool
Body, the second internal memory releasing mechanism is based on the scanning to game application, the code of all generation internal memories in scanning application, and from
The dynamic release opportunity for analyzing its internal memory.Then a game extracode bag is automatically generated for internal memory release opportunity, swum
During play operation, the automatic start code bag.Discharged at once when being recorded when game generates internal memory, it is necessary to be discharged.It is logical
The memory management mechanism of instant receipts is crossed, is ensured under game mode, the maximum utilization rate of internal memory.It is for example, newly-built in game identification code
During one object, system is scanned identification, and analyses in depth, and the opportunity that finding the object needs to discharge recorded the game
In extracode bag.
In the present embodiment, the memory discharge operation according to corresponding to the second internal memory releasing mechanism goal of regulation and control application program.
Likewise, as above described in example, the second internal memory releasing mechanism is scanned in application in all generations based on the scanning to game application
The code deposited, and automatically analyze out the release opportunity of its internal memory.Then it is attached to automatically generate a game for internal memory release opportunity
Add code bag, in game running, the automatic start code bag.Stood when being recorded when game generates internal memory, it is necessary to be discharged
Quarter is discharged.By the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory.For example, trip
In play code during a newly-built object, system is scanned identification, and analyses in depth, and finds the opportunity note that the object needs to discharge
In the extracode bag for recording the game.The object that code operation position, the needs of recording mode such as game application discharge.Game
Additional bag is operated together with game, when game running is to the position for needing releasing memory, can be called automatically to the additional bag
Internal memory release code.So, it is ensured that internal memory discharges in time.
The beneficial effect of the present embodiment is, by the way that internal memory is divided into the first memory field and the second memory field;Second
In memory field during operational objective application program, the second internal memory releasing mechanism is triggered;According to the second internal memory releasing mechanism goal of regulation and control
Memory discharge operation corresponding to application program.Realize a kind of can run the larger application journey of resource consumption in terminal device
During sequence, management and control more intelligently is carried out to Memory Allocation, internal memory releasing mechanism can be regulated and controled efficiently, accurately and in time, enriched
Internal memory management and control mode, improve the service efficiency of internal memory.
Embodiment two
It is described internal memory is divided into the first memory field and the second memory field to include based on above-described embodiment:
S11, the capacity and hardware environment for determining in terminal device the memory field;
S12, first memory field and described are determined according to the capacity and the hardware environment of the memory field
Two memory fields;
S13, the first internal memory releasing mechanism is performed in first memory field, and second is performed in second memory field
Internal memory releasing mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
In the present embodiment, first, the capacity and hardware environment of the memory field are determined in terminal device.Example
Such as, the memory size for determining the terminal device is 2G, 4G or 8G etc., and the hardware environment of the terminal device, for example, should
The operating system version of operation in terminal device, and processor platform etc..
Then, first memory field and described are determined according to the capacity of the memory field and the hardware environment
Two memory fields.Specifically, i.e. the internal memory of Android system is proportionally divided into the first memory field by user automatically when entering game
With the two regions of the second memory field, one is to be directed to basic function, such as the region of memory of mobile phone short message, is remained in that in JVM
Deposit administrative mechanism;And another is then the reserved area of the game, the region uses customized memory management mechanism.
Further, the distribution in the first memory field and second the two regions of memory field is determined according to different content capacities
Mechanism;
Further, the first memory field and the second internal memory are determined according to different content capacities and application program use environment
The distribution mechanism in the two regions of area;
Further, according to different content capacity and hardware environment determine the first memory field and the second memory field the two
The distribution mechanism in region;
Further, the first internal memory is determined according to different content capacities, application program use environment and hardware environment
Area and the distribution mechanism in second the two regions of memory field.
Finally, perform the first internal memory releasing mechanism in first memory field, and perform in second memory field the
Two internal memory releasing mechanisms, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
Further, in order to set the best proportion of two memory partitionings, it is necessary to analyze the game data of each user.In
It is, for this problem, to realize a set of game data Analysis server.On mobile phone, a game monitoring program is realized, is supervised
Mobile phone type, systematic function and internal memory when control user plays game use data.During these data are periodically uploaded onto the server.
Each period that server is played according to different mobile phone types, game, game, internal memory service condition is recorded and divided
Analysis.And select each period systematic function it is optimal when internal memory service condition as game tuning memory scheme.So use
Family is when game is played, internal memory operational version of the system can according to proposed by server, to the ratio of two memory partitionings
Example is automatically adjusted.So as to ensure that game has enough memory headrooms.
The beneficial effect of the present embodiment is, by capacity and software and hardware that the memory field is determined in terminal device
Environment, first memory field and second internal memory are determined according to the capacity of the memory field and the hardware environment
Area, the first internal memory releasing mechanism is performed in first memory field, and the release of the second internal memory is performed in second memory field
Mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.Subsequently to realize that one kind can
When the larger application program of resource consumption is run in terminal device, management and control more intelligently is carried out to Memory Allocation and provides ring
Border basis.So that Memory Allocation management and control can regulate and control internal memory releasing mechanism efficiently, accurately and in time, internal memory pipe is enriched
Prosecutor formula, improve the service efficiency of internal memory.
Embodiment three
It is described during operational objective application program, to trigger the second internal memory in second memory field based on above-described embodiment
Releasing mechanism includes:
S21, the analysis destination application internal memory release demand;
S22, demand determination extracode bag corresponding with the destination application is discharged according to the internal memory.
In the present embodiment, first, the internal memory release demand of the destination application is analyzed;Then, according to described interior
Deposit release demand and determine extracode bag corresponding with the destination application.
Specifically, extracode bag corresponding to an application program is automatically generated for internal memory release opportunity, likewise, with
Exemplified by game class application program, after generating the game extracode bag, triggering startup code bag in game running.
Discharged at once when being recorded when game application needs and generates internal memory, it is necessary to be discharged;
By the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory;
For example, in game application code during a newly-built object, system is scanned identification, and analyses in depth, and looks for
In the extracode bag for needing the opportunity discharged to recorded the game to the object.
Further, object that the code operation position of recording mode such as game application, needs discharge etc.;
Further, bag is added corresponding to game application to be operated together with game application, when game running arrives
When needing the position of releasing memory, the internal memory release code called to the additional bag can be triggered.Thus, you can ensure terminal device
Internal memory can be released in time.
The beneficial effect of the present embodiment is, discharges demand by the internal memory for analyzing the destination application;Then, root
Extracode bag corresponding with the destination application is determined according to internal memory release demand.Realize that one kind can be to be follow-up
In terminal device during the larger application program of operation resource consumption, management and control more intelligently is carried out to Memory Allocation and provides environment
Basis.So that Memory Allocation management and control can regulate and control internal memory releasing mechanism efficiently, accurately and in time, internal memory management and control is enriched
Mode, improve the service efficiency of internal memory.
Example IV
Based on above-described embodiment, in second memory field during operational objective application program, triggering the second internal memory release
Mechanism also includes:
S23, the monitoring destination application triggering command;
S24, according to the triggering command, call second memory field to run the destination application;
S25, when the destination application is run, start the extracode bag;
S26, running status and operation demand by the extracode bag monitoring destination application.
In the present embodiment, first, the triggering command of the destination application is monitored, specifically, judging triggering command
Whether the application program of startup is destination application, that is, running on the application program of the second memory field;
Further, the application program in terminal device is marked, determines its corresponding running memory area.
Then, according to the triggering command, second memory field is called to run the destination application, specifically,
If recognizing the application program labeled as the second memory field, start the application program in second memory field.
Subsequently, when the destination application is run, the extracode bag is started.Specifically, released for internal memory
Put opportunity, extracode bag corresponding to triggering one application program of generation, likewise, by taking game class application program as an example, generation
After the game extracode bag, in game running, triggering starts the extracode bag.
Subsequently, the running status and operation demand of the destination application are monitored by the extracode bag.Tool
Body, discharged at once when being recorded when game application needs and generates internal memory, it is necessary to be discharged.
Further, by the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory;
Further, in game application code during a newly-built object, system is scanned identification, and deeply divides
Analysis, the opportunity that finding the object needs to discharge recorded in the extracode bag of the game;
Further, object that the code operation position of recording mode such as game application, needs discharge etc.;
Further, bag is added corresponding to game application to be operated together with game application, when game running arrives
When needing the position of releasing memory, the internal memory release code called to the additional bag can be triggered.Thus, you can ensure terminal device
Internal memory can be released in time.
The beneficial effect of the present embodiment is, by monitoring the triggering command of the destination application, is touched according to described
Send instructions, call second memory field to run the destination application, when the destination application is run, start institute
Extracode bag is stated, the running status and operation demand of the destination application are monitored by the extracode bag.To be rear
It is continuous to realize a kind of when the larger application program of resource consumption is run in terminal device, more intelligently Memory Allocation is entered
Row management and control provides environmental basis.So that Memory Allocation management and control can regulate and control internal memory machine for releasing efficiently, accurately and in time
System, enriches internal memory management and control mode, improves the service efficiency of internal memory.
Embodiment five
It is described according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application based on above-described embodiment
Memory discharge operation includes:
S31, the renewal directorial area for determining internal memory releasing mechanism;
S32, the second internal memory releasing mechanism determined according to the running status and the operation demand;
S33, update the second internal memory releasing mechanism in the renewal directorial area.
In the present embodiment, first, the renewal directorial area of internal memory releasing mechanism is determined.For example, a set of application program is set
The data analytics server of (such as game class application program).
Then, the second internal memory releasing mechanism is determined according to the running status and the operation demand.Specifically, such as
Described in upper example, on mobile phone, realize a game monitoring program, mobile phone type, systematic function when monitoring user plays game and
Internal memory uses data.Then, during these data of above-mentioned collection are periodically uploaded onto the server.
Finally, the second internal memory releasing mechanism is updated in the renewal directorial area.Server is according to different mobile phones
Each period that type, game, game are played, internal memory service condition is recorded and analyzed.And select each period system
Memory scheme of the internal memory service condition as game tuning during system best performance.So user is when game is played, system
Second internal memory releasing mechanism of the can according to proposed by server, is automatically adjusted to the ratio of two memory partitionings.From
And ensureing game has enough memory headrooms and internal memory service efficiency.
The beneficial effect of the present embodiment is, by determining the renewal directorial area of internal memory releasing mechanism, according to the operation
State and the operation demand determine the second internal memory releasing mechanism, update second internal memory in the renewal directorial area
Releasing mechanism.Realize it is a kind of when the larger application program of resource consumption can be run in terminal device, it is more intelligently internal
Deposit distribution progress management and control and provide environmental basis.So that Memory Allocation management and control can efficiently, regulate and control internal memory accurately and in time
Releasing mechanism, internal memory management and control mode is enriched, improve the service efficiency of internal memory.
Embodiment six
Based on above-described embodiment, the invention also provides a kind of internal memory adjusting device, it is characterised in that the equipment includes
Memory, processor and it is stored in the computer program that can be run on the memory and on the processor, the calculating
Realized when machine program is by the computing device:
Internal memory is divided into the first memory field and the second memory field;
In second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;
The memory discharge operation according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application.
In the present embodiment, in order to solve in the prior art, effect be present for the internal memory management and control mode of mobile terminal device
Rate is low, cost is high, the technological deficiency of optimization hysteresis, and the present embodiment proposes a kind of internal memory regulation and control method.
In the present embodiment, first, internal memory is divided into the first memory field and the second memory field.Specifically, due to Android
Each application of system is realized that its memory management is the JVM memory management mechanism based on java, i.e., fixed based on java
When internally deposit into capable recovery.The problem of caused by the mechanism of this timing recovery be mainly Memory recycle not in time, so as to cause
Memory usage is too high.When user plays mobile phone, also it is easy to because of Memory recycle not in time, and it is certain to cause game to occur
The interim card of degree.
In view of the above-mentioned problems, the present embodiment devises a set of customized memory management mechanism.I.e. user is entering game
When, the internal memory of Android system is proportionally divided into two regions, the first memory field and the second memory field automatically, wherein, one
It is to be directed to basic function, such as the region of memory of mobile phone short message, remains in that JVM memory management mechanism;And another is then the trip
The reserved area of play, the region use customized memory management mechanism.
In the present embodiment, in the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered.Tool
Body, the second internal memory releasing mechanism is based on the scanning to game application, the code of all generation internal memories in scanning application, and from
The dynamic release opportunity for analyzing its internal memory.Then a game extracode bag is automatically generated for internal memory release opportunity, swum
During play operation, the automatic start code bag.Discharged at once when being recorded when game generates internal memory, it is necessary to be discharged.It is logical
The memory management mechanism of instant receipts is crossed, is ensured under game mode, the maximum utilization rate of internal memory.It is for example, newly-built in game identification code
During one object, system is scanned identification, and analyses in depth, and the opportunity that finding the object needs to discharge recorded the game
In extracode bag.
In the present embodiment, the memory discharge operation according to corresponding to the second internal memory releasing mechanism goal of regulation and control application program.
Likewise, as above described in example, the second internal memory releasing mechanism is scanned in application in all generations based on the scanning to game application
The code deposited, and automatically analyze out the release opportunity of its internal memory.Then it is attached to automatically generate a game for internal memory release opportunity
Add code bag, in game running, the automatic start code bag.Stood when being recorded when game generates internal memory, it is necessary to be discharged
Quarter is discharged.By the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory.For example, trip
In play code during a newly-built object, system is scanned identification, and analyses in depth, and finds the opportunity note that the object needs to discharge
In the extracode bag for recording the game.The object that code operation position, the needs of recording mode such as game application discharge.Game
Additional bag is operated together with game, when game running is to the position for needing releasing memory, can be called automatically to the additional bag
Internal memory release code.So, it is ensured that internal memory discharges in time.
The beneficial effect of the present embodiment is, by the way that internal memory is divided into the first memory field and the second memory field;Second
In memory field during operational objective application program, the second internal memory releasing mechanism is triggered;According to the second internal memory releasing mechanism goal of regulation and control
Memory discharge operation corresponding to application program.Realize a kind of can run the larger application journey of resource consumption in terminal device
During sequence, management and control more intelligently is carried out to Memory Allocation, internal memory releasing mechanism can be regulated and controled efficiently, accurately and in time, enriched
Internal memory management and control mode, improve the service efficiency of internal memory.
Embodiment seven
Based on above-described embodiment, realized when the computer program is also by the computing device:
The capacity and hardware environment of the memory field are determined in terminal device;
Determined according to the capacity of the memory field and the hardware environment in first memory field and described second
Deposit area;
The first internal memory releasing mechanism is performed in first memory field, and the second internal memory is performed in second memory field
Releasing mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
In the present embodiment, first, the capacity and hardware environment of the memory field are determined in terminal device.Example
Such as, the memory size for determining the terminal device is 2G, 4G or 8G etc., and the hardware environment of the terminal device, for example, should
The operating system version of operation in terminal device, and processor platform etc..
Then, first memory field and described are determined according to the capacity of the memory field and the hardware environment
Two memory fields.Specifically, i.e. the internal memory of Android system is proportionally divided into the first memory field by user automatically when entering game
With the two regions of the second memory field, one is to be directed to basic function, such as the region of memory of mobile phone short message, is remained in that in JVM
Deposit administrative mechanism;And another is then the reserved area of the game, the region uses customized memory management mechanism.
Further, the distribution in the first memory field and second the two regions of memory field is determined according to different content capacities
Mechanism;
Further, the first memory field and the second internal memory are determined according to different content capacities and application program use environment
The distribution mechanism in the two regions of area;
Further, according to different content capacity and hardware environment determine the first memory field and the second memory field the two
The distribution mechanism in region;
Further, the first internal memory is determined according to different content capacities, application program use environment and hardware environment
Area and the distribution mechanism in second the two regions of memory field.
Finally, perform the first internal memory releasing mechanism in first memory field, and perform in second memory field the
Two internal memory releasing mechanisms, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
Further, in order to set the best proportion of two memory partitionings, it is necessary to analyze the game data of each user.In
It is, for this problem, to realize a set of game data Analysis server.On mobile phone, a game monitoring program is realized, is supervised
Mobile phone type, systematic function and internal memory when control user plays game use data.During these data are periodically uploaded onto the server.
Each period that server is played according to different mobile phone types, game, game, internal memory service condition is recorded and divided
Analysis.And select each period systematic function it is optimal when internal memory service condition as game tuning memory scheme.So use
Family is when game is played, internal memory operational version of the system can according to proposed by server, to the ratio of two memory partitionings
Example is automatically adjusted.So as to ensure that game has enough memory headrooms.
The beneficial effect of the present embodiment is, by capacity and software and hardware that the memory field is determined in terminal device
Environment, first memory field and second internal memory are determined according to the capacity of the memory field and the hardware environment
Area, the first internal memory releasing mechanism is performed in first memory field, and the release of the second internal memory is performed in second memory field
Mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.Subsequently to realize that one kind can
When the larger application program of resource consumption is run in terminal device, management and control more intelligently is carried out to Memory Allocation and provides ring
Border basis.So that Memory Allocation management and control can regulate and control internal memory releasing mechanism efficiently, accurately and in time, internal memory pipe is enriched
Prosecutor formula, improve the service efficiency of internal memory.
Embodiment eight
Based on above-described embodiment, realized when the computer program is also by the computing device:
Analyze the internal memory release demand of the destination application;
Demand is discharged according to the internal memory and determines extracode bag corresponding with the destination application.
In the present embodiment, first, the internal memory release demand of the destination application is analyzed;Then, according to described interior
Deposit release demand and determine extracode bag corresponding with the destination application.
Specifically, extracode bag corresponding to an application program is automatically generated for internal memory release opportunity, likewise, with
Exemplified by game class application program, after generating the game extracode bag, triggering startup code bag in game running.
Discharged at once when being recorded when game application needs and generates internal memory, it is necessary to be discharged;
By the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory;
For example, in game application code during a newly-built object, system is scanned identification, and analyses in depth, and looks for
In the extracode bag for needing the opportunity discharged to recorded the game to the object.
Further, object that the code operation position of recording mode such as game application, needs discharge etc.;
Further, bag is added corresponding to game application to be operated together with game application, when game running arrives
When needing the position of releasing memory, the internal memory release code called to the additional bag can be triggered.Thus, you can ensure terminal device
Internal memory can be released in time.
The beneficial effect of the present embodiment is, discharges demand by the internal memory for analyzing the destination application;Then, root
Extracode bag corresponding with the destination application is determined according to internal memory release demand.Realize that one kind can be to be follow-up
In terminal device during the larger application program of operation resource consumption, management and control more intelligently is carried out to Memory Allocation and provides environment
Basis.So that Memory Allocation management and control can regulate and control internal memory releasing mechanism efficiently, accurately and in time, internal memory management and control is enriched
Mode, improve the service efficiency of internal memory.
Embodiment nine
Based on above-described embodiment, realized when the computer program is also by the computing device:
Monitor the triggering command of the destination application;
According to the triggering command, second memory field is called to run the destination application;
When the destination application is run, start the extracode bag;
The running status and operation demand of the destination application are monitored by the extracode bag;
Determine the renewal directorial area of internal memory releasing mechanism;
The second internal memory releasing mechanism is determined according to the running status and the operation demand;
The second internal memory releasing mechanism is updated in the renewal directorial area.
In the present embodiment, first, the triggering command of the destination application is monitored, specifically, judging triggering command
Whether the application program of startup is destination application, that is, running on the application program of the second memory field;
Further, the application program in terminal device is marked, determines its corresponding running memory area.
Then, according to the triggering command, second memory field is called to run the destination application, specifically,
If recognizing the application program labeled as the second memory field, start the application program in second memory field.
Subsequently, when the destination application is run, the extracode bag is started.Specifically, released for internal memory
Put opportunity, extracode bag corresponding to triggering one application program of generation, likewise, by taking game class application program as an example, generation
After the game extracode bag, in game running, triggering starts the extracode bag.
Subsequently, the running status and operation demand of the destination application are monitored by the extracode bag.Tool
Body, discharged at once when being recorded when game application needs and generates internal memory, it is necessary to be discharged.
Further, by the memory management mechanism of instant receipts, ensure under game mode, the maximum utilization rate of internal memory;
Further, in game application code during a newly-built object, system is scanned identification, and deeply divides
Analysis, the opportunity that finding the object needs to discharge recorded in the extracode bag of the game;
Further, object that the code operation position of recording mode such as game application, needs discharge etc.;
Further, bag is added corresponding to game application to be operated together with game application, when game running arrives
When needing the position of releasing memory, the internal memory release code called to the additional bag can be triggered.Thus, you can ensure terminal device
Internal memory can be released in time.
In the present embodiment, first, the renewal directorial area of internal memory releasing mechanism is determined.For example, a set of application program is set
The data analytics server of (such as game class application program).
Then, the second internal memory releasing mechanism is determined according to the running status and the operation demand.Specifically, such as
Described in upper example, on mobile phone, realize a game monitoring program, mobile phone type, systematic function when monitoring user plays game and
Internal memory uses data.Then, during these data of above-mentioned collection are periodically uploaded onto the server.
Finally, the second internal memory releasing mechanism is updated in the renewal directorial area.Server is according to different mobile phones
Each period that type, game, game are played, internal memory service condition is recorded and analyzed.And select each period system
Memory scheme of the internal memory service condition as game tuning during system best performance.So user is when game is played, system
Second internal memory releasing mechanism of the can according to proposed by server, is automatically adjusted to the ratio of two memory partitionings.From
And ensureing game has enough memory headrooms and internal memory service efficiency.
The beneficial effect of the present embodiment is, by determining the renewal directorial area of internal memory releasing mechanism, according to the operation
State and the operation demand determine the second internal memory releasing mechanism, update second internal memory in the renewal directorial area
Releasing mechanism.Realize it is a kind of when the larger application program of resource consumption can be run in terminal device, it is more intelligently internal
Deposit distribution progress management and control and provide environmental basis.So that Memory Allocation management and control can efficiently, regulate and control internal memory accurately and in time
Releasing mechanism, internal memory management and control mode is enriched, improve the service efficiency of internal memory.
Embodiment ten
Based on above-described embodiment, the invention also provides a kind of computer-readable recording medium, the computer-readable storage
Internal memory regulatory process is stored with medium, the internal memory described in any one as described above is realized when internal memory regulatory process is executed by processor
The step of regulation and control method.
Implement internal memory regulation and control method, equipment and the computer-readable recording medium of the present invention, by the way that internal memory is divided into the
One memory field and the second memory field;In the second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;Root
According to memory discharge operation corresponding to the second internal memory releasing mechanism goal of regulation and control application program.Realizing one kind can be in terminal device
During the interior operation larger application program of resource consumption, management and control more intelligently is carried out to Memory Allocation, can efficiently, in time, standard
Really regulate and control internal memory releasing mechanism, enrich internal memory management and control mode, improve the service efficiency of internal memory.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements not only include those key elements, and
And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this
Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words
Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service
Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific
Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art
Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot
Form, these are belonged within the protection of the present invention.
Claims (10)
1. a kind of internal memory regulates and controls method, it is characterised in that methods described includes:
Internal memory is divided into the first memory field and the second memory field;
In second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;
The memory discharge operation according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application.
2. internal memory according to claim 1 regulates and controls method, it is characterised in that it is described by internal memory divide into the first memory field and
Second memory field includes:
The capacity and hardware environment of the memory field are determined in terminal device;
First memory field and second memory field are determined according to the capacity of the memory field and the hardware environment;
The first internal memory releasing mechanism is performed in first memory field, and the release of the second internal memory is performed in second memory field
Mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
3. internal memory according to claim 2 regulates and controls method, it is characterised in that described to run mesh in second memory field
When marking application program, the second internal memory releasing mechanism of triggering includes:
Analyze the internal memory release demand of the destination application;
Demand is discharged according to the internal memory and determines extracode bag corresponding with the destination application.
4. internal memory according to claim 3 regulates and controls method, it is characterised in that described to be transported in second memory field
During row destination application, the second internal memory releasing mechanism of triggering also includes:
Monitor the triggering command of the destination application;
According to the triggering command, second memory field is called to run the destination application;
When the destination application is run, start the extracode bag;
The running status and operation demand of the destination application are monitored by the extracode bag.
5. internal memory according to claim 4 regulates and controls method, it is characterised in that described according to the second internal memory releasing mechanism
Memory discharge operation corresponding to regulating and controlling the destination application includes:
Determine the renewal directorial area of internal memory releasing mechanism;
The second internal memory releasing mechanism is determined according to the running status and the operation demand;
The second internal memory releasing mechanism is updated in the renewal directorial area.
6. a kind of internal memory adjusting device, it is characterised in that the equipment includes memory, processor and is stored in the memory
Computer program that is upper and can running on the processor, is realized when the computer program is by the computing device:
Internal memory is divided into the first memory field and the second memory field;
In second memory field during operational objective application program, the second internal memory releasing mechanism is triggered;
The memory discharge operation according to corresponding to the second internal memory releasing mechanism regulates and controls the destination application.
7. internal memory adjusting device according to claim 6, it is characterised in that the computer program is also by the processor
Realized during execution:
The capacity and hardware environment of the memory field are determined in terminal device;
First memory field and second memory field are determined according to the capacity of the memory field and the hardware environment;
The first internal memory releasing mechanism is performed in first memory field, and the release of the second internal memory is performed in second memory field
Mechanism, wherein, the first internal memory releasing mechanism includes but is not limited to conventional memory releasing mechanism.
8. internal memory adjusting device according to claim 7, it is characterised in that the computer program is also by the processor
Realized during execution:
Analyze the internal memory release demand of the destination application;
Demand is discharged according to the internal memory and determines extracode bag corresponding with the destination application.
9. internal memory adjusting device according to claim 8, it is characterised in that the computer program is also by the processor
Realized during execution:
Monitor the triggering command of the destination application;
According to the triggering command, second memory field is called to run the destination application;
When the destination application is run, start the extracode bag;
The running status and operation demand of the destination application are monitored by the extracode bag;
Determine the renewal directorial area of internal memory releasing mechanism;
The second internal memory releasing mechanism is determined according to the running status and the operation demand;
The second internal memory releasing mechanism is updated in the renewal directorial area.
10. a kind of computer-readable recording medium, it is characterised in that internal memory tune is stored with the computer-readable recording medium
Program is controlled, the internal memory regulation and control as any one of claim 1 to 5 are realized when the internal memory regulatory process is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710613720.9A CN107688497B (en) | 2017-07-25 | 2017-07-25 | Memory regulation and control method, equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710613720.9A CN107688497B (en) | 2017-07-25 | 2017-07-25 | Memory regulation and control method, equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107688497A true CN107688497A (en) | 2018-02-13 |
CN107688497B CN107688497B (en) | 2021-09-14 |
Family
ID=61153001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710613720.9A Active CN107688497B (en) | 2017-07-25 | 2017-07-25 | Memory regulation and control method, equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107688497B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445705A (en) * | 2018-10-29 | 2019-03-08 | 湖南国科微电子股份有限公司 | Firmware authentication method and solid state hard disk |
CN111414254A (en) * | 2020-03-19 | 2020-07-14 | Oppo广东移动通信有限公司 | Device management method, device, storage medium and electronic device |
WO2023202295A1 (en) * | 2022-04-18 | 2023-10-26 | 深圳Tcl新技术有限公司 | Memory management and control method and apparatus, storage medium and electronic device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221536A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Internal memory managing method and device of embedded system |
CN101344861A (en) * | 2007-07-10 | 2009-01-14 | 凤凰微电子(中国)有限公司 | Smart card internal memory management method |
CN101593152A (en) * | 2009-06-25 | 2009-12-02 | 青岛海信移动通信技术股份有限公司 | A kind of portable terminal memory leakage detecting method and device |
EP2139196A1 (en) * | 2008-06-26 | 2009-12-30 | France Telecom | Method and system for remotely blocking/unblocking NFC applications on a terminal |
CN103164339A (en) * | 2011-12-15 | 2013-06-19 | 北京信威通信技术股份有限公司 | Method and system for achieving double internal memory hosting |
CN105138402A (en) * | 2015-08-25 | 2015-12-09 | 海信集团有限公司 | Method and device for adjusting priority of application process memory release |
CN106776038A (en) * | 2016-12-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of popular application resource allocation methods and mobile terminal |
CN106815079A (en) * | 2016-12-30 | 2017-06-09 | 广东欧珀移动通信有限公司 | The method and mobile terminal of a kind of popular application control |
CN106844057A (en) * | 2017-02-14 | 2017-06-13 | 广东欧珀移动通信有限公司 | Data processing method, device and mobile terminal |
-
2017
- 2017-07-25 CN CN201710613720.9A patent/CN107688497B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101344861A (en) * | 2007-07-10 | 2009-01-14 | 凤凰微电子(中国)有限公司 | Smart card internal memory management method |
CN101221536A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Internal memory managing method and device of embedded system |
EP2139196A1 (en) * | 2008-06-26 | 2009-12-30 | France Telecom | Method and system for remotely blocking/unblocking NFC applications on a terminal |
CN101593152A (en) * | 2009-06-25 | 2009-12-02 | 青岛海信移动通信技术股份有限公司 | A kind of portable terminal memory leakage detecting method and device |
CN103164339A (en) * | 2011-12-15 | 2013-06-19 | 北京信威通信技术股份有限公司 | Method and system for achieving double internal memory hosting |
CN105138402A (en) * | 2015-08-25 | 2015-12-09 | 海信集团有限公司 | Method and device for adjusting priority of application process memory release |
CN106776038A (en) * | 2016-12-30 | 2017-05-31 | 广东欧珀移动通信有限公司 | A kind of popular application resource allocation methods and mobile terminal |
CN106815079A (en) * | 2016-12-30 | 2017-06-09 | 广东欧珀移动通信有限公司 | The method and mobile terminal of a kind of popular application control |
CN106844057A (en) * | 2017-02-14 | 2017-06-13 | 广东欧珀移动通信有限公司 | Data processing method, device and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109445705A (en) * | 2018-10-29 | 2019-03-08 | 湖南国科微电子股份有限公司 | Firmware authentication method and solid state hard disk |
CN109445705B (en) * | 2018-10-29 | 2022-03-22 | 湖南国科微电子股份有限公司 | Firmware authentication method and solid state disk |
CN111414254A (en) * | 2020-03-19 | 2020-07-14 | Oppo广东移动通信有限公司 | Device management method, device, storage medium and electronic device |
WO2023202295A1 (en) * | 2022-04-18 | 2023-10-26 | 深圳Tcl新技术有限公司 | Memory management and control method and apparatus, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107688497B (en) | 2021-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107343083A (en) | One kind lifting game experiencing method, apparatus and computer-readable recording medium | |
CN107463481A (en) | Data interactive method, mobile terminal and storage medium | |
CN107436779A (en) | A kind of application management method, equipment and computer-readable recording medium | |
CN107517494A (en) | A kind of display methods of terminal battery electricity quantity, terminal and computer-readable recording medium | |
CN107566635A (en) | Screen intensity method to set up, mobile terminal and computer-readable recording medium | |
CN107203305A (en) | It is switched fast method, mobile terminal and the computer-readable recording medium of application | |
CN107436801A (en) | I/O resource regulating methods, terminal and computer-readable recording medium | |
CN107682627A (en) | A kind of acquisition parameters method to set up, mobile terminal and computer-readable recording medium | |
CN107219972A (en) | A kind of method of application management, equipment and computer-readable recording medium | |
CN107809536A (en) | Display screen fingerprint recognition processing method, mobile terminal and storage medium | |
CN107102878A (en) | One kind application startup method, mobile terminal and computer-readable recording medium | |
CN107678634A (en) | The method to set up and terminal of game mode, computer-readable recording medium | |
CN107566605A (en) | A kind of interactive interface processing method, equipment and computer-readable recording medium | |
CN107844230A (en) | A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium | |
CN109151162A (en) | A kind of multi-panel screen interaction control method, equipment and computer readable storage medium | |
CN107463324A (en) | A kind of image display method, mobile terminal and computer-readable recording medium | |
CN107688429A (en) | Management method, mobile terminal and the computer-readable recording medium of application controls | |
CN107678625A (en) | Information Sharing menu display method, mobile terminal and computer-readable recording medium | |
CN107678698A (en) | Data cached method for cleaning, server, terminal and computer-readable recording medium | |
CN108771861A (en) | A kind of game control method, mobile terminal and computer readable storage medium | |
CN107688497A (en) | A kind of internal memory regulation and control method, equipment and computer-readable recording medium | |
CN108234893A (en) | A kind of brightness adjusting method, equipment and computer readable storage medium | |
CN107613130A (en) | A kind of application management method, mobile terminal and computer-readable recording medium | |
CN107562586A (en) | A kind of internal-memory detection method, equipment and computer-readable storage medium | |
CN107347195A (en) | Focus sharing method and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |