CN105302579A - System memory occupying method and system memory occupying device - Google Patents

System memory occupying method and system memory occupying device Download PDF

Info

Publication number
CN105302579A
CN105302579A CN201510850215.7A CN201510850215A CN105302579A CN 105302579 A CN105302579 A CN 105302579A CN 201510850215 A CN201510850215 A CN 201510850215A CN 105302579 A CN105302579 A CN 105302579A
Authority
CN
China
Prior art keywords
memory occupation
ems memory
service
value
ems
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
Application number
CN201510850215.7A
Other languages
Chinese (zh)
Other versions
CN105302579B (en
Inventor
蒋文乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510850215.7A priority Critical patent/CN105302579B/en
Publication of CN105302579A publication Critical patent/CN105302579A/en
Application granted granted Critical
Publication of CN105302579B publication Critical patent/CN105302579B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides a system memory occupying method and a system memory occupying device. The method comprises the steps of setting a memory occupying value; starting a memory occupying service; through the memory occupying service, calling an application programming interface of a system outside a virtual machine, and applying system memory according to the memory occupying value. According to the invention, the memory occupying with appointed memory occupying value can be realized, so that the simultaneous starting of multiple courses can be avoided, the operation simplicity is improved, and the memory occupying controllability is realized.

Description

A kind of Installed System Memory take method and apparatus
Technical field
The present invention relates to the technical field of mobile device, what particularly relate to a kind of method that takies of Installed System Memory and a kind of Installed System Memory takies device.
Background technology
Along with the development of mobile communication technology, the mobile devices such as such as mobile phone are more and more universal, to people life, study, work bring great convenience.
In order to improve the deficiency of operating system with personalized, user can install many application usually in a mobile device.
When multiple application is opened simultaneously, more Installed System Memory can be taken, cause operating system efficiency slower, now, can management-type application be started, carry out internal memory cleaning, namely the comparatively large and process that priority is low of some backstage committed memory number ratio is closed, with the availability of lifting operating system.
When technician develops the application of similar administrative class, what often need simulation system internal memory takies scene.
But, the EMS memory occupation of many operating system to single application process has strict restriction, usually certain value can not be exceeded, so, technician often needs to open the occupied situation of multiple process simulation internal memories, complicated operation, and, accurately cannot take the internal memory of specifying size, cause EMS memory occupation uncontrollable.
Summary of the invention
In view of the above problems, propose the present invention in case provide a kind of overcome the problems referred to above or a kind of method that takies of Installed System Memory solved the problem at least in part and corresponding a kind of Installed System Memory take device.
According to one aspect of the present invention, what provide a kind of Installed System Memory takies method, comprising:
EMS memory occupation value is set;
Start EMS memory occupation service;
Served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
Alternatively, the step of described startup EMS memory occupation service comprises:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
Alternatively, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
Alternatively, describedly to be served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, comprises according to the step of described EMS memory occupation value application system internal memory:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
Alternatively, also comprise:
Judge whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and perform the described step that EMS memory occupation value is set, if not, then perform the step of described startup EMS memory occupation service.
Alternatively, described EMS memory occupation value is arranged at homepage, and described method also comprises:
Described homepage is minimized in task queue.
According to a further aspect in the invention, what provide a kind of Installed System Memory takies device, comprising:
EMS memory occupation value arranges module, is suitable for arranging EMS memory occupation value;
EMS memory occupation service starts module, is suitable for starting EMS memory occupation service;
Internal memory application module, is suitable for being served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
Alternatively, described EMS memory occupation service startup module is also suitable for:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
Alternatively, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
Alternatively, described internal memory application module is also suitable for:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
Alternatively, also comprise:
Installed System Memory comparison module, is suitable for judging whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and call described EMS memory occupation value module is set, if not, then call described EMS memory occupation service and start module.
Alternatively, described EMS memory occupation value is arranged at homepage, and described device also comprises:
Minimize module, be suitable for described homepage to minimize in task queue.
The embodiment of the present invention is served by EMS memory occupation, the application programming interface of calling system outside virtual machine, according to the EMS memory occupation value application system internal memory arranged, avoid the internal memory restriction that system is arranged for virtual machine, the EMS memory occupation of the EMS memory occupation value of specifying size can be realized by single application, avoid opening multiple process simultaneously, improve the simplicity of operation, and achieve the controllability of EMS memory occupation.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention flow chart of steps taking embodiment of the method 1 of Installed System Memory;
Fig. 2 shows a kind of according to an embodiment of the invention flow chart of steps taking embodiment of the method 2 of Installed System Memory;
Fig. 3 shows a kind of according to an embodiment of the invention structured flowchart taking device embodiment 1 of Installed System Memory; And
Fig. 4 shows a kind of according to an embodiment of the invention structured flowchart taking device embodiment 2 of Installed System Memory.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps taking embodiment of the method 1 of Installed System Memory, specifically can comprise the steps:
Step 101, arranges EMS memory occupation value;
It should be noted that, the embodiment of the present invention can be applied in various mobile device, such as, and mobile phone, panel computer, personal digital assistant, wearable device (as glasses, wrist-watch etc.) etc.
In specific implementation, this mobile device can have accessory, and this accessory is physical hardware, specifically can comprise protective sleeve, intelligence key, suspension member etc.
The operating system of this mobile device can comprise Android (Android), IOS, WindowsPhone, Windows etc., can support various application, and as EMS memory occupation application AndroidKillResources, it may be used for EMS memory occupation.
For making those skilled in the art understand the embodiment of the present invention better, in embodiments of the present invention, Android is described as a kind of example of system, AndroidKillResources as a kind of example of application.
In this example, the installation kit AndroidKillResources.apk of EMS memory occupation application AndroidKillResources can be installed in android system, and then start EMS memory occupation application AndroidKillResources.
Total in the embodiment of the present invention, EMS memory occupation value is arranged at the homepage (MainActivity) of EMS memory occupation application AndroidKillResources.
Wherein, the homepage given tacit consent to when MainActivity is generally an establishment Android engineering, the content of homepage is a TextView control.
Specifically, in the MainActivity of EMS memory occupation application AndroidKillResources, what provide EMS memory occupation value arranges frame, and user can arrange write memory occupation value in frame at this, arranges EMS memory occupation value.
Step 102, starts EMS memory occupation service;
In specific implementation, the EMS memory occupation value arranged in MainActivity, can be kept in Intent (intention).
Wherein, Intent may be used for the communication between every assembly of solution Android application.
Specifically, Intent is responsible for action to single job in application, action relates to data, additional data is described, and Android, then according to the description of this Intent, is responsible for finding corresponding assembly, Intent is passed to the assembly called, and complete calling of assembly.
In embodiments of the present invention, using the start-up parameter of EMS memory occupation value as EMS memory occupation service Service, EMS memory occupation service Service can be passed to when starting EMS memory occupation service Service.
The application embodiment of the present invention, EMS memory occupation assembly (.so module) can be passed through and take Installed System Memory according to specified memory occupation value size, this EMS memory occupation assembly (.so module) exists in the installation kit AndroidKillResources.apk of EMS memory occupation application AndroidKillResources, after EMS memory occupation application AndroidKillResources installation, can under solution be depressed into the catalogue of specifying, as/data/app-lib/packagename/.
In embodiments of the present invention, when startup takies service Service, EMS memory occupation assembly (.so module) can be loaded in the process of EMS memory occupation application AndroidKillResources.
Step 103, is served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
If system is android system, then EMS memory occupation assembly (.so module) can pass through JNI (JavaNativeInterface, Java call this locality) compiling.
Wherein, JNI is the one mechanism that Java provides, and can develop, can call the storehouse of oneself writing, also can call the primary storehouse of some systems by JNI at the Calling other Languages (mainly C/C++) of Java.
Therefore, in embodiments of the present invention, EMS memory occupation assembly (.so module) can be passed through, the scale-of-two shared library of calling system this locality, according to EMS memory occupation value application system internal memory.
Mainly comprise as lower part for the framework of Android, Android:
1、LinuxKernel
Android provides core system service based on Linux, such as: safety, memory management, management of process, network stack, driving model.
LinuxKernel is as the level of abstraction between hardware and software, and its is hidden particular hardware details and provides unified service for upper strata.
2、AndroidRuntime
Android comprises the set of a core library, provides the function that major part is available in Java programming language core class libraries.
Each Android application program is the example in virtual machine, operates in themselves process.
3、Libraries
Android comprises the set in a C/C++ storehouse, for each assembly of android system.These functions are exposed to developer by the application framework (ApplicationFramework) of Android.
4、ApplicationFramework
By providing open development platform, Android enables developer work out extremely abundant and novel application program.Developer freely can utilize device hardware advantage, access location information, runs background service, arranges alarm clock, add notice etc. to status bar.
The framework APIs that developer can use core application to use completely.The architecture of application program is intended to reusing of simplified assembly, and any application program can issue his function and any other application program can use these functions (needing to obey the safe limit of framework execution).
5、Applications
Android assembles a core application set, comprises email client, SMS program, calendar, map, browser, contact person and other settings.
All application programs are all write with Java programming language.
From said frame, in android system, the application program that developer writes is Applications, use the standard SDK (SoftwareDevelopmentKit, i.e. SDK (Software Development Kit)) that manufacturer provides during exploitation, these application programs depend on the various assemblies of system, and run on a virtual machine, these virtual machines are called Darvik or ART.
In android system, for each independently virtual machine, be all provided with strict internal memory restriction, as 64M, different mobile phone configuration is different, may be greater than or less than this numerical value of 64M, so by common applicating developing technology, and can by internal memory restriction.
For such as 64M, when individual process internal memory usage quantity is greater than 64M, system can point out process OutofMemory (OOM), and process collapse is simultaneously exited.
In addition, manufacturer additionally provides a set of NDK (NativeDevelopmentKit), the shared library of the localization that developer can use local C/C++ to write by NDK, the shared library after compiling is utilized to complete the operation of computation-intensive more efficiently to provide the performance of application, or transplant and reuse existing C/C++ assembly, improve development efficiency.
Based on NDK, developer can use JNI technology, realizes the local scale-of-two shared library of application call.
Now, calling of scale-of-two shared library is not occur in virtual machine, but the API (ApplicationProgrammingInterface of android system is directly called outward at virtual machine, application programming interface), at this moment call the EMS memory occupation number of binary library not by virutal machine memory ceiling restriction.
The embodiment of the present invention is served by EMS memory occupation, the application programming interface of calling system outside virtual machine, according to the EMS memory occupation value application system internal memory arranged, avoid the internal memory restriction that system is arranged for virtual machine, the EMS memory occupation of the EMS memory occupation value of specifying size can be realized by single application, avoid opening multiple process simultaneously, improve the simplicity of operation, and achieve the controllability of EMS memory occupation.
If revise primary system code, although the restriction of internal memory can be removed, this mode running cost is high, needs amendment system code and brush machine, not only destroys the primary configuration of system, and once amendment thinks that adjustment returns also to need again to revise code and brush machine, operate very loaded down with trivial details.
In addition, also can revise the configuration file of system, increasing individual process internal memory can use amount, but this mode needs the root authority of system of taking to revise system configuration, be also once after having revised simultaneously, can come into force to all processes, destroy the primary configuration of system.
With reference to Fig. 2, show a kind of according to an embodiment of the invention flow chart of steps taking embodiment of the method 2 of Installed System Memory, specifically can comprise the steps:
Step 201, arranges EMS memory occupation value;
Step 202, judges whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and perform step 201, then perform step 203 if not;
In embodiments of the present invention, if be provided with EMS memory occupation value, then can the total amount of Installed System Memory of acquisition of information mobile device of file reading "/proc/meminfo ".
If the EMS memory occupation value arranged is greater than Installed System Memory, is invalid, needs to re-start setting.
If the EMS memory occupation value arranged is less than or equal to Installed System Memory, is effective, can according to the EMS memory occupation value application internal memory of this setting.
Step 203, starts EMS memory occupation service;
Step 204, is served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory;
Step 205, minimizes to described homepage in task queue.
In embodiments of the present invention, EMS memory occupation value can be arranged at the homepage MainActivity of EMS memory occupation application AndroidKillResources, then MainActivity can be minimized in task queue (MoveMainActivityToBack), not show in front end.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 3, show a kind of according to an embodiment of the invention structured flowchart taking device embodiment 1 of Installed System Memory, specifically can comprise as lower module:
EMS memory occupation value arranges module 301, is suitable for arranging EMS memory occupation value;
EMS memory occupation service starts module 302, is suitable for starting EMS memory occupation service;
Internal memory application module 303, is suitable for being served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
In a kind of embodiment of the present invention, described EMS memory occupation service starts module 302 and can also be suitable for:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
In actual applications, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
In a kind of embodiment of the present invention, described internal memory application module 303 can also be suitable for:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
With reference to Fig. 4, show a kind of according to an embodiment of the invention structured flowchart taking device embodiment 2 of Installed System Memory, specifically can comprise as lower module:
EMS memory occupation value arranges module 401, is suitable for arranging EMS memory occupation value;
Installed System Memory comparison module 402, is suitable for judging whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and call described EMS memory occupation value module 401 is set, if not, then call described EMS memory occupation service and start module 403;
EMS memory occupation service starts module 403, is suitable for starting EMS memory occupation service;
Internal memory application module 404, is suitable for being served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory;
Minimize module 405 described homepage is minimized in task queue.
In embodiments of the present invention, described EMS memory occupation value can be arranged at homepage.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions taking the some or all parts in equipment that microprocessor or digital signal processor (DSP) can be used in practice to realize the Installed System Memory according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of Installed System Memory take method, comprising:
EMS memory occupation value is set;
Start EMS memory occupation service;
Served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
A2, method as described in A1, the step of described startup EMS memory occupation service comprises:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
A3, method as described in A2, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
A4, method as described in A2 or A3, describedly served by described EMS memory occupation, and the application programming interface of calling system outside virtual machine, comprises according to the step of described EMS memory occupation value application system internal memory:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
5, the method as described in A1 or A2 or A3, also comprises:
Judge whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and perform the described step that EMS memory occupation value is set, if not, then perform the step of described startup EMS memory occupation service.
A6, method as described in A1 or A2 or A3, described EMS memory occupation value is arranged at homepage, and described method also comprises:
Described homepage is minimized in task queue.
The embodiment of the invention also discloses B7, a kind of Installed System Memory take device, comprising:
EMS memory occupation value arranges module, is suitable for arranging EMS memory occupation value;
EMS memory occupation service starts module, is suitable for starting EMS memory occupation service;
Internal memory application module, is suitable for being served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
B8, device as described in B7, described EMS memory occupation service starts module and is also suitable for:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
B9, device as described in B8, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
B10, device as described in B8 or B9, described internal memory application module is also suitable for:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
B11, device as described in B7 or B8 or B9, also comprise:
Installed System Memory comparison module, is suitable for judging whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and call described EMS memory occupation value module is set, if not, then call described EMS memory occupation service and start module.
B12, device as described in B7 or B8 or B9, described EMS memory occupation value is arranged at homepage, and described device also comprises:
Minimize module, be suitable for described homepage to minimize in task queue.

Claims (10)

1. Installed System Memory take a method, comprising:
EMS memory occupation value is set;
Start EMS memory occupation service;
Served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
2. the method for claim 1, is characterized in that, the step of described startup EMS memory occupation service comprises:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
3. method as claimed in claim 2, it is characterized in that, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
4. as claimed in claim 2 or claim 3 method, is characterized in that, is describedly served by described EMS memory occupation, and the application programming interface of calling system outside virtual machine, comprises according to the step of described EMS memory occupation value application system internal memory:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
5. the method as described in claim 1 or 2 or 3, is characterized in that, also comprise:
Judge whether described EMS memory occupation value is greater than Installed System Memory; If so, then return and perform the described step that EMS memory occupation value is set, if not, then perform the step of described startup EMS memory occupation service.
6. the method as described in claim 1 or 2 or 3, is characterized in that, described EMS memory occupation value is arranged at homepage, and described method also comprises:
Described homepage is minimized in task queue.
7. Installed System Memory take a device, comprising:
EMS memory occupation value arranges module, is suitable for arranging EMS memory occupation value;
EMS memory occupation service starts module, is suitable for starting EMS memory occupation service;
Internal memory application module, is suitable for being served by described EMS memory occupation, the application programming interface of calling system outside virtual machine, according to described EMS memory occupation value application system internal memory.
8. device as claimed in claim 7, is characterized in that, described EMS memory occupation service starts module and is also suitable for:
Using described EMS memory occupation value as start-up parameter, pass to described EMS memory occupation service when starting EMS memory occupation service;
When taking service described in starting, load EMS memory occupation assembly.
9. device as claimed in claim 8, it is characterized in that, described system is Android Android, and described EMS memory occupation assembly is compiled by JNI.
10. device as claimed in claim 8 or 9, it is characterized in that, described internal memory application module is also suitable for:
By described EMS memory occupation assembly, the scale-of-two shared library of calling system this locality, according to described EMS memory occupation value application system internal memory.
CN201510850215.7A 2015-11-27 2015-11-27 A kind of occupancy method and apparatus of Installed System Memory Active CN105302579B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510850215.7A CN105302579B (en) 2015-11-27 2015-11-27 A kind of occupancy method and apparatus of Installed System Memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510850215.7A CN105302579B (en) 2015-11-27 2015-11-27 A kind of occupancy method and apparatus of Installed System Memory

Publications (2)

Publication Number Publication Date
CN105302579A true CN105302579A (en) 2016-02-03
CN105302579B CN105302579B (en) 2019-05-21

Family

ID=55199877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510850215.7A Active CN105302579B (en) 2015-11-27 2015-11-27 A kind of occupancy method and apparatus of Installed System Memory

Country Status (1)

Country Link
CN (1) CN105302579B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479978A (en) * 2017-08-30 2017-12-15 广州阿里巴巴文学信息技术有限公司 Electronic book displaying method, device and mobile terminal
CN110134454A (en) * 2018-02-09 2019-08-16 聚好看科技股份有限公司 A kind of method and device thereof starting application program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186462A (en) * 2011-12-30 2013-07-03 百度在线网络技术(北京)有限公司 Android operation system detection method and system
CN103544063A (en) * 2013-09-30 2014-01-29 三星电子(中国)研发中心 Method and device for removing processes applied to Android platform
CN103617129A (en) * 2013-12-10 2014-03-05 中科创达软件股份有限公司 Method and device for processing memory
CN104050001A (en) * 2014-06-24 2014-09-17 中科创达软件股份有限公司 Resource processing method, device and equipment based on Android system
CN104111892A (en) * 2013-04-22 2014-10-22 鸿富锦精密工业(深圳)有限公司 Internal memory dynamic distribution method and system
CN104751050A (en) * 2015-04-13 2015-07-01 成都睿峰科技有限公司 Client application program management method
CN105094946A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Method, device and virtual machine used to release occupied logic space

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186462A (en) * 2011-12-30 2013-07-03 百度在线网络技术(北京)有限公司 Android operation system detection method and system
CN104111892A (en) * 2013-04-22 2014-10-22 鸿富锦精密工业(深圳)有限公司 Internal memory dynamic distribution method and system
CN103544063A (en) * 2013-09-30 2014-01-29 三星电子(中国)研发中心 Method and device for removing processes applied to Android platform
CN103617129A (en) * 2013-12-10 2014-03-05 中科创达软件股份有限公司 Method and device for processing memory
CN104050001A (en) * 2014-06-24 2014-09-17 中科创达软件股份有限公司 Resource processing method, device and equipment based on Android system
CN104751050A (en) * 2015-04-13 2015-07-01 成都睿峰科技有限公司 Client application program management method
CN105094946A (en) * 2015-06-30 2015-11-25 小米科技有限责任公司 Method, device and virtual machine used to release occupied logic space

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107479978A (en) * 2017-08-30 2017-12-15 广州阿里巴巴文学信息技术有限公司 Electronic book displaying method, device and mobile terminal
CN107479978B (en) * 2017-08-30 2020-11-03 阿里巴巴(中国)有限公司 Electronic book display method and device and mobile terminal
CN110134454A (en) * 2018-02-09 2019-08-16 聚好看科技股份有限公司 A kind of method and device thereof starting application program

Also Published As

Publication number Publication date
CN105302579B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN105022630B (en) A kind of assembly management system and assembly management method
CN108121594B (en) Process management method and device
CN111061638B (en) iOS system debugging method, device and server
CN102027460B (en) Dynamic declarative application description
CN110134378A (en) Application program creation method and device, computer equipment and storage medium
CN110059456B (en) Code protection method, code protection device, storage medium and electronic equipment
Blouin et al. Combining aspect-oriented modeling with property-based reasoning to improve user interface adaptation
CN100492387C (en) Method and system for software protected development based on Keil C51
EP1915692A2 (en) Systems, methods and computer program products for safety checking executable application programs in a module
CN117075930B (en) Computing framework management system
CN104699503A (en) Method and device for replacing function execution logic in Android system
CN101263484B (en) Method and system for declaratively defined control actions
CN113312046A (en) Sub-application page processing method and device and computer equipment
EP3380899B1 (en) Program randomization for cyber-attack resilient control in programmable logic controllers
CN105302579A (en) System memory occupying method and system memory occupying device
CN116685946A (en) Reloading of updated shared libraries without stopping execution of an application
KR100803290B1 (en) Extensible Virtual Machine for Reprogramming in Wireless Sensor Networks and Reprogramming Method using it
CN116594640A (en) RISC-V oriented extensible segmentation automatic mirror image construction technology
CN115344275A (en) Method and device for generating image file of operating system and computer equipment
US11429358B2 (en) Representing asynchronous state machine in intermediate code
US11435989B2 (en) Thread-local return structure for asynchronous state machine
CN114816418A (en) Method, device, equipment and medium for building embedded operating system
CN109933355A (en) Application program updating method and device
CN103049306A (en) Simulation of static members and parameterized constructors on an interface-based api
CN103347059A (en) Method, client-side and system for realizing user configuration parameter transmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.