CN106155808A - The management method of resource for computer system and device - Google Patents
The management method of resource for computer system and device Download PDFInfo
- Publication number
- CN106155808A CN106155808A CN201510179506.8A CN201510179506A CN106155808A CN 106155808 A CN106155808 A CN 106155808A CN 201510179506 A CN201510179506 A CN 201510179506A CN 106155808 A CN106155808 A CN 106155808A
- Authority
- CN
- China
- Prior art keywords
- prison
- software
- escaping
- library file
- dynamic library
- 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
Abstract
This application discloses the management method of a kind of resource for computer system, it is applied to electronic equipment, electronic equipment is provided with the one or more softwares of escaping from prison for its operating system, and the method comprises determining that the public directory at the operation resource place of one or more softwares of escaping from prison in electronic equipment;And, change at least one of which escape from prison the running status of software by changing the attribute running resource under public directory.Disclosed herein as well is corresponding device.Utilize these technical schemes, the resource occupation of electronic equipment can be saved.
Description
Technical field
The present invention relates to information technology (IT, Information Technology) field, particularly relate to meter
The management method of calculation machine system resource and device.
Background technology
Generally, operating system can be divided into closed operating system and open operating system.Closed behaviour
Make in system, such as the operating system (IOS, iPhone OS) of i Phone, do not allow user the most more
Change system to arrange or exploitation software, limit some interface and authority does not opens to third party software manufacturer.
In consideration of it, user uses software of escaping from prison obtain the control to closed operating system and use authority,
And then can self-defined installation and operation unofficial or from third-party application program, plug-in unit etc..Example
As, in IOS, user can use software of escaping from prison to install some free game, application program, more
Change system theme etc., to meet the personalized use demand of user.But, the use of these softwares of escaping from prison
Substantial amounts of resource for computer system can be taken.
Such as, after the software that is mounted with to escape from prison in IOS system, software of escaping from prison can be always at running background.
Although, on the interface of the such as terminal unit such as mobile phone, panel computer user cannot to see that these are escaped from prison soft
The operation conditions of part, but, the system resource of the operation meeting occupied terminal equipment always of these softwares of escaping from prison,
This will affect its speed of service and increase its electric quantity consumption.If user does not unload this type of software of escaping from prison, just
Its operation on backstage cannot be stopped.Equally, for research and development of software and tester, do not unloading
Escape from prison in the case of software, also cannot forbid its operation on backstage.
Summary of the invention
In view of this, the invention provides management method and the device of a kind of resource for computer system, permissible
Save the resource occupation of electronic equipment.
The technical scheme is that and be achieved in that:
The invention provides the management method of a kind of resource for computer system, be applied to electronic equipment, electronics
Equipment is provided with the one or more softwares of escaping from prison for its operating system, and the method comprises determining that electronics
The public directory at the operation resource place of one or more softwares of escaping from prison in equipment;And, public by changing
Run the attribute of resource under catalogue and escape from prison the running status of software changing at least one of which.
Present invention also offers the managing device of a kind of resource for computer system, be applied to electronic equipment, electronics
Equipment is provided with the one or more softwares of escaping from prison for its operating system, and this device comprises determining that module,
For determining the public directory at the operation resource place of one or more softwares of escaping from prison in electronic equipment;And, pipe
By change, reason module, for determining that the attribute running resource under the public directory that module determines changes wherein
The running status of at least one software of escaping from prison.
Compared with prior art, user is the invention enables can to control in the case of not unloading software of escaping from prison
System is escaped from prison the software running status on backstage, save electronic equipment resource occupation, reduce electric quantity consumption,
Promote the speed of service.
Accompanying drawing explanation
Fig. 1 is the flow process signal of the management method of the resource for computer system according to one embodiment of the invention
Figure;
Fig. 2 is the attribute list schematic diagram running resource under the public directory according to one embodiment of the invention;
Fig. 3 is the flow process signal of the management method of the resource for computer system according to another embodiment of the present invention
Figure;
Fig. 4 is the user interface schematic diagram of software of escaping from prison according to the selection of one embodiment of the invention;
Fig. 5 is the schematic diagram of the mapping table according to one embodiment of the invention;
Fig. 6 is the user interface schematic diagram restarting or nullifying electronic equipment according to one embodiment of the invention;
Fig. 7 is the composition signal of the managing device of the resource for computer system according to one embodiment of the invention
Figure;
Fig. 8 is the composition signal of the managing device of the resource for computer system according to another embodiment of the present invention
Figure;
Fig. 9 is the hardware architecture diagram of the electronic equipment according to the present invention one example.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment be a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow process signal of the management method of the resource for computer system according to one embodiment of the invention
Figure.The method is applied to electronic equipment, and this electronic equipment is provided with one for its operating system or many
Individual software of escaping from prison.Seeing Fig. 1, the method includes:
Step 101, determine operation resource place public of one or more softwares of escaping from prison in electronic equipment
Catalogue.
After user installs one or more software of escaping from prison on an electronic device, the operation system of this electronic equipment
System can generate the public directory corresponding with the one or more software of escaping from prison in internal memory, in this public directory
Under deposit the operation resource of software of escaping from prison.
In one embodiment, the operation resource under public directory includes the dynamic base corresponding with software of escaping from prison
File.Each dynamic library file can be made up of one or more hooks (hook) function.Wherein, hook
Subfunction, in an operating system before the particular message sent the most does not arrives purpose window, captures
This particular message, thus obtain the control to this particular message.Therefore, be made up of Hook Function is dynamic
State library file can as run under this public directory corresponding escape from prison software time entrance, by calling
Dynamic library file, performs Hook Function therein, thus runs this software of escaping from prison.
Such as, in the iphone operating system (IOS) used on i Phone, when user installation one
After individual or multiple software of escaping from prison, above-mentioned public directory can be an absolute path, for example,
/Library/MobileSubstrate/DynamicLibraries.Correspondence is housed under this public directory
Dynamic library file in each software of escaping from prison.Wherein, each software of escaping from prison can a corresponding dynamic library text
Part.
In implementing, can also comprise in addition to above-mentioned dynamic library file under this public directory
Other non-dynamic library files.
In the present invention, run the electronic equipment of software of escaping from prison include but not limited to smart mobile phone, palm PC,
Panel computer etc..
Step 102, change at least one of which by changing the attribute running resource under this public directory
Escape from prison the running status of software.
Here, the attribute that attribute is dynamic library file of resource is run under public directory, including dynamic library text
The title of part, size, type, date etc..Fig. 2 is under the public directory according to one embodiment of the invention
Run the attribute list schematic diagram of resource.Wherein, the title of each dynamic library file includes important name and extension
Name.Such as, the dynamic library file of entitled " TEMain.dylib ", including important name " TEMain " and
Extension name " dylib ".
When electronic equipment starts, will there is the dynamic of default important name and default extension name under public directory
Library file is loaded into internal memory, thus runs software of escaping from prison accordingly.Such as, in IOS system, all
Extend the dynamic library file of entitled " dylib ", all can be called by operating system, and then run corresponding
Escape from prison software.Here " dylib " is default extension name.And the suffix shown in Fig. 2 entitled " disabled "
Dynamic library file, then cannot be called, software of escaping from prison accordingly will not be run on backstage.Additionally, can
To be referred to as presetting important name by the name of software of escaping from prison.
In one embodiment, change run under this public directory resource attribute can by change dynamic base
The title of file realizes.Specifically, change important name and/or the extension name of dynamic library file.
Such as, the dynamic library file of entitled " TEMain.dylib " is revised as " TEMain-X.dylib "
(i.e. revising important name), " TEMain.disabled " (i.e. revising extension name) or " TEMain-X.disabled "
(i.e. amendment important name and extension name).When operating system access public directory, read moving under public directory
During state library file, it is impossible to read " TEMain.dylib " file, i.e. presetting important name is " TEMain ",
Preset and extend entitled " dylib ", thus forbid the corresponding software of escaping from prison " TEMain " fortune on backstage
OK.
In another embodiment, change run the attribute of resource under this public directory can also be dynamic by changing
Title and the date of state library file realize.
Such as, when there is substantial amounts of dynamic library file and non-dynamic library file under public directory, changing
While becoming the title of dynamic library file, also revise the date of this dynamic library file.Such as, for Fig. 2
In the dynamic library file of entitled " TEMain.dylib ", except above-mentioned to primary filename and/or extension name
Outside modifying, it is also possible to the date is revised as the abnormal date " 2014-02-29 " by " 2014-02-02 ",
The attribute revising this dynamic library file further is improper attribute, thus forbids corresponding software of escaping from prison
" TEMain " is in the operation on backstage.
After running the attribute of resource under changing public directory, update the memory source that software of escaping from prison takies,
And then the running status of software of escaping from prison can be updated, specifically include: releasing memory, will have under public directory
The dynamic library file having default important name and default extension name is loaded into internal memory.
The running status of software of escaping from prison described in the it may be noted that software that refers to escape from prison on the backstage of operating system is
The most no operation, take system memory resource, so judge this software of escaping from prison be in starting state or
Illegal state.Specifically, starting state refer to this software of escaping from prison at running background, committed memory resource,
Read in the dynamic library file that this software of escaping from prison is corresponding;Illegal state refers to that this software of escaping from prison is not transported on backstage
OK, it is not take up any memory source, or releases the dynamic library file institute that this software of escaping from prison is corresponding before
The resource taken.
In embodiments of the present invention, the operation of one or more softwares of escaping from prison in electronic equipment it is determined by
The public directory at resource place, changes the most extremely by changing the attribute running resource under this public directory
The running status of few software of escaping from prison so that user, in the case of not unloading software of escaping from prison, controls more
Prison software, in the running status on backstage, inputs startup according to user or forbids software of escaping from prison, saving electronics
The resource of equipment and electric quantity consumption, improve the speed of service of electronic equipment, it is also possible to helps exploitation and test
Personnel are operated in the environment of without running software of escaping from prison, and reduce the software shadow to development process of escaping from prison
Ring, tested data more accurately.
Fig. 3 is the flow process signal of the management method of the resource for computer system according to another embodiment of the present invention
Figure.The method is applied to electronic equipment, and this electronic equipment is provided with one for its operating system or many
Individual software of escaping from prison.Seeing Fig. 3, the method includes:
Step 301, determine operation resource place public of one or more softwares of escaping from prison in electronic equipment
Catalogue.
This step is identical with the description of step 101, does not repeats them here.
Step 302, in response to user operation, access public directory, and determine user's choosing under public directory
At least one selected is escaped from prison operation resource corresponding to software.
User interface is provided, inputs selected at least one according to user and escape from prison software, accessing step 301
Determined by public directory, determine the operation resource that under public directory, at least one software of escaping from prison is corresponding.Its
In, run resource and include the dynamic library file corresponding with software of escaping from prison.
Fig. 4 is user interface 400 schematic diagram of software of escaping from prison according to the selection of one embodiment of the invention.As
Shown in Fig. 4, user interface 400 includes escaping from prison the current operation of dbase 410, each software of escaping from prison
State 420 and the running status 430 of software of escaping from prison with change for user operation.Wherein, for each
Escape from prison software, current operating conditions 420 include start button 421,422,424,426 and forbid by
Button 423,425;The running status 430 changing software of escaping from prison then refers to change into forbidding by startup, or will prohibit
Only change into starting, correspondingly, including forbid button 431,432,434,436 and start button 433,
435。
By user interface 400, user it will be seen that the current operating conditions of each software of escaping from prison, and passes through
Corresponding button is selected, it is determined that user wishes that changing the one or more of running status escapes from prison in 430
Software, further defines simultaneously and changes into running status starting or changing into forbidding.Such as, user clicks on and presses
Button 431, changes the software of escaping from prison of entitled " TEMain " into illegal state from starting state;User enters
One beans-and bullets shooter hits button 433, changes into starting shape from illegal state by the software of escaping from prison of entitled " TEGPS "
State.
It may be noted that the multiple buttons changed in running status 430 can also use other ways of realization,
The form horizontally slipped for example with shift knob so that user can starting state and illegal state it
Between select.The concrete form operated for this change, the present invention is not specifically limited.
Each software of escaping from prison is corresponding to a dynamic library file under public directory.One selected for user
According to presetting, individual or multiple softwares of escaping from prison, determine that rule determines that this software of escaping from prison is corresponding under public directory
Dynamic library file.This is preset and determines that rule can be there to be following three kinds of modes:
Mode one: determine the dynamic library file escaped from prison important name and this title of software matches.
Now, this preset determine that rule is: the important name of the dynamic library file that each software of escaping from prison is corresponding with should
The title of software of escaping from prison matches, then determined selected by user by the important name of this dynamic library file
Software correspondence of escaping from prison is which dynamic library file.
Such as, listed dynamic in the title of each softwares of escaping from prison of display and Fig. 3 in 410 in Fig. 4
Important name in library file title is one to one.So, user have selected on the interface shown in Fig. 4
Certain escapes from prison after software, finds the dynamic library file that the title of software of escaping from prison with this is consistent under public directory
Important name, so that it is determined that corresponding dynamic library file.
Mode two: determine the dynamic library text that the preset field of important name matches with the title of this software of escaping from prison
Part.
Now, this is preset and determines that rule is: the important name of the dynamic library file that each software of escaping from prison is corresponding pre-
If field matches with the title of this software of escaping from prison.Wherein, this preset field can be in important name
Divide character.
Such as, character before symbol "-" during preset field is arranged to important name.For in Fig. 4 410
, under public directory, there is a dynamic library file, its title in the software of escaping from prison " TEMain " of interior display
For " TEMain-X.dylib ", then preset field is " TEMain ", itself and the title of software of escaping from prison
Identical, it is taken as that the dynamic library file of entitled " TEMain-X.dylib " and software of escaping from prison
" TEMain " is corresponding.
Mode three: obtain the dynamic library text of correspondence according to the name lookup mapping table of this software of escaping from prison
Part.
Now, this is preset and determines that rule is: be pre-configured with the corresponding dynamic library text of title of software of escaping from prison
The mapping table of part title, according to the title of the software of escaping from prison that user selects, by searching corresponding relation
Table, determines corresponding dynamic library file under public directory.
Fig. 5 is the schematic diagram of mapping table according to one embodiment of the invention, wherein list escape from prison soft
The title of part and the title of dynamic library file.Wherein, the title of software of escaping from prison is arranged to preset important name,
" dylib " is arranged to preset extension name.
Such as, the software of escaping from prison of entitled " TEMain ", the dynamic library text of its correspondence is learnt by tabling look-up
Part entitled " TEM.dylib ".Owing to the important name in this title is different from default important name " TEMain ",
Then judge the current operating conditions of this software of escaping from prison as forbidding, this dynamic library file is not loaded into internal memory.
And for example, the software of escaping from prison of entitled " Mobilesafety ", the dynamic of its correspondence is learnt by tabling look-up
Library file entitled " abc.efg ", due to the important name " abc " in this title and default important name
" Mobilesafety " is different, and its extension name " efg " and default extension name " dylib " are different, then sentence
The current operating conditions of this software of escaping from prison disconnected is for forbidding, this dynamic library file is not loaded into internal memory.
For another example, the software of escaping from prison of entitled " Libstatusbar ", the dynamic of its correspondence is learnt by tabling look-up
Library file entitled " Libstatusbar.dylib ", owing to the important name of this title (is i.e. escaped from prison with default important name
The title of software) identical, and extension name is identical with default extension name " dylib ", then judge that this is escaped from prison
The current operating conditions of software is for starting, and this dynamic library file has been loaded into internal memory.
Step 303, change the attribute of operation resource corresponding at least one software of escaping from prison.
By step 302, it is determined that the dynamic library file that under public directory, at least one software of escaping from prison is corresponding
After, change the attribute of these dynamic library files.
Wherein, the attribute changing dynamic library file can include changing dynamic base by default alteration ruler
The important name of file name and/or extension name.
Specifically, this default alteration ruler has following three kinds of modes:
Mode one: the extension name of amendment dynamic library file.
Now, default alteration ruler is: if this dynamic library file is loaded into internal memory, then revise this dynamic
Arbitrary character in the extension name of library file, is changed into prohibiting by startup by the running status of corresponding software of escaping from prison
Only;If this dynamic library file is not loaded into internal memory, then the extension name of this dynamic library file is revised as pre-
If extension name, change into starting by forbidding by the running status of corresponding software of escaping from prison.
Such as, the dynamic library file shown in Fig. 3 entitled " TEMain.dylib ", as it has been described above,
This dynamic library file is loaded into internal memory.If by the running status of corresponding software of escaping from prison " TEMain " by
Start and change into forbidding, extension name " dylib " can be revised as the extension name of any one non-" dylib ",
Such as it is revised as " TEMain.disabled ".
And for example, the dynamic library file shown in Fig. 3 entitled " TEGPS.disabled ", wherein important name
" TEGPS ", corresponding to the title of software of escaping from prison shown in Fig. 4, extension name " disabled " is different from pre-
If extension name " dylib ", therefore this dynamic library file is not loaded into internal memory.If by soft for corresponding escaping from prison
The running status of part " TEGPS " starts by forbidding changing into, changes into extension name " disabled " presetting expansion
Exhibition name " dylib ".
Mode two: the important name of amendment dynamic library file.
Now, default alteration ruler is: if this dynamic library file is loaded into internal memory, then in this dynamic base
Predeterminated position in the important name of file adds character, if this dynamic library file is not loaded into internal memory, then deletes
The character of predeterminated position described in the important name except this dynamic library file, to be revised as described presetting by this important name
Important name.
Such as, this predeterminated position is the afterbody interpolation character at important name.For dynamic library file
" TEMain.dylib " is loaded into internal memory, is " TEMain-X.dylib " by name modifications, thus prohibits
Only this software of escaping from prison;Otherwise, when the dynamic library file of entitled " TEMain-X.dylib " is not loaded
During to internal memory, delete the character "-X " added at the afterbody at important name, by name modifications be
" TEMain.dylib ", thus start this software of escaping from prison.
Mode three: simultaneously revise important name and the extension name of dynamic library file.
Now, this is preset and determines that rule is: if this dynamic library file is loaded into internal memory, then revise this and move
Arbitrary character in the important name of state library file and/or the arbitrary character in extension name, if this dynamic library file
It is not loaded into internal memory, then revises important name and/or the extension name of this dynamic library file, so that this dynamic base
File has described default important name and described default extension name;And by the important name of amended dynamic library file
It is recorded in described mapping table with extension name.
Such as, entitled in Fig. 5 " Mobilesafety " is escaped from prison software, when by this software of escaping from prison
Running status when being changed into forbidding by startup, by the title of dynamic library file that is loaded in internal memory by
" Mobilesafety.dylib " is revised as " abc.efg ", thus forbids this software of escaping from prison;Otherwise, open
Dynamic this escape from prison software time, learnt that by lookup names mapping table the dynamic library file of its correspondence is entitled
" abc.efg ", is revised as " Mobilesafety.dylib ", i.e. important name for presetting important name
" Mobilesafety ", extends entitled default extension name " dylib ", thus starts this software of escaping from prison.
After the title every time having revised dynamic library file, update this mapping table, by amended dynamic
The important name of state library file and extension name are recorded in described mapping table, determine public mesh for follow-up
Operation resource that software of escaping from prison under record is corresponding and change the attribute running resource.
According to above-mentioned three kinds of default alteration rulers, software of escaping from prison is loaded into internal memory when being in starting state
Dynamic library file is executable dynamic library file, and the important name in its title, for presetting important name, is i.e. escaped from prison soft
The title of part, extends entitled default extension name.Software of escaping from prison is in dynamic library text corresponding during illegal state
Part is not executable dynamic library file, has arbitrary character and performing of being loaded into internal memory in its title
The title of dynamic library file different.
Step 304, update the resource that at least one software of escaping from prison takies in internal memory, to update at least one
The running status of individual software of escaping from prison.
Update the resource that at least one software of escaping from prison takies in internal memory and include releasing memory resource, by public
The dynamic library file under catalogue with described default important name and described default extension name is loaded into internal memory.
When implementing, after changing the attribute of dynamic library file, can automatically restart or nullify fortune
The electronic equipment of capable software of escaping from prison, or by user interface, determine that at least one software of escaping from prison of renewal exists
The mode of the resource taken in internal memory, is i.e. selected to restart or nullifies the escape from prison electronics of software of operation by user and sets
Standby, thus update the running status of software of escaping from prison.
Fig. 6 is restarting or nullifying the user interface 600 of electronic equipment and illustrate according to one embodiment of the invention
Figure.When user in user interface 400 430 in change the running status of any one software of escaping from prison
After, user interface 600 can be provided on an electronic device, user is restarted this electronics by button 610 and is set
Standby or nullify accessing to your account of this electronic equipment by button 620.
Corresponding with said method, the embodiment of the present invention additionally provides the management dress of a kind of resource for computer system
Put.Fig. 7 is that the composition of the managing device 700 of the resource for computer system according to one embodiment of the invention shows
It is intended to, including:
Determine module 710, for determining the operation resource place of one or more softwares of escaping from prison in electronic equipment
Public directory;
Management module 720, for determining the genus running resource under the public directory that module 710 determines by change
Property changes at least one of which and escapes from prison the running status of software.
Fig. 8 is the composition of the managing device 800 of the resource for computer system according to another embodiment of the present invention
Schematic diagram.Wherein, management module 720 includes:
Change unit 721, for changing the attribute of the operation resource of at least one software of escaping from prison;
Updating block 722, for updating the resource that at least one software of escaping from prison takies in internal memory, to be updated to
The running status of few software of escaping from prison.
In one embodiment, device 800 also includes:
Interface module 730, is used for providing user interface, and receives the operation of described user input;
Correspondingly, at least one software of escaping from prison changing unit 721 change is in response to user operation and determines.
Updating block 722, in response to user operation, at least one escapes from prison software in internal memory to determine renewal
The mode of the resource taken.
In one embodiment, run resource and include dynamic library file;
Correspondingly, unit 721 is changed for changing the name of dynamic library file corresponding at least one software of escaping from prison
Claim, or change title and the date of dynamic library file corresponding at least one software of escaping from prison.
In one embodiment, when electronic equipment starts, will there is under public directory default important name and preset extension
The dynamic library file of name is loaded into internal memory;
Correspondingly, change unit 721, for determining the dynamic of its correspondence according to the title of at least one software of escaping from prison
State library file, the important name of dynamic library file determined by amendment and/or extension name;
Updating block 722, for releasing memory, will have default important name and default extension name under public directory
Dynamic library file is loaded into internal memory.
In said apparatus embodiment, the concrete grammar that modules and unit realize self function is real in method
Execute in example and be all described, repeat no more here.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing unit
In, it is also possible to it is that modules is individually physically present, it is also possible to two or more modules are integrated in one
In individual unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software merit
The form of energy unit realizes.
Fig. 9 is the hardware architecture diagram of the electronic equipment 900 according to one embodiment of the invention.This electronics
Equipment comprises the steps that processor 910, memorizer 920, port 930 and bus 940.Processor 910
Interconnected by bus 940 with memorizer 920.Processor 910 can be received by port 930 and be sent number
According to.Wherein,
Processor 910 is for performing the machine readable instructions module of memorizer 920 storage.
Memorizer 920 storage has processor 910 executable machine readable instructions module.Processor 910
Executable instruction module comprises determining that module 921 and management module 922.Wherein it is determined that module 921
When being performed by processor 910 can be: determine the fortune of one or more softwares of escaping from prison in electronic equipment 900
The public directory at row resource place;Management module 922 when being performed by processor 910 can be: by changing
Become and determine that the attribute running resource under the public directory that module 921 determines is escaped from prison to change at least one of which
The running status of software.
In one embodiment, the executable instruction module of processor 910 of memorizer 920 storage also wraps
Include: interface module 923.Wherein, when interface module 923 is performed by processor 910 can be: provide
User interface, and receive the operation of described user input.
It can thus be seen that when the instruction module being stored in memorizer 920 is performed by processor 910
Time, can realize foregoing individual embodiments determines module, management module and the various functions of interface module.
It addition, each embodiment of the present invention can be by being performed by data handling equipment such as computer
Data processor realizes.Obviously, data processor constitutes the present invention.Additionally, be commonly stored
Data processor in a storage medium by directly reading out storage medium or passing through by program
Program is installed or is copied to the storage device (such as hard disk and or internal memory) of data handling equipment performs.
Therefore, such storage medium also constitutes the present invention.Storage medium can use any kind of record
Mode, such as paper storage medium (such as paper tape etc.), magnetic storage medium are (such as floppy disk, hard disk, flash memory
Deng), optical storage media (such as CD-ROM etc.), magnetic-optical storage medium (such as MO etc.) etc..
The invention also discloses a kind of storage medium, wherein storage has data processor, and these data process
Program is for performing any embodiment of said method of the present invention.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this
Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in
Within the scope of protection of the invention.
Claims (15)
1. the management method of a resource for computer system, it is characterised in that be applied to electronic equipment, described
Electronic equipment is provided with the one or more softwares of escaping from prison for its operating system, and described method includes:
Determine the public mesh at the operation resource place of one or more softwares of escaping from prison described in described electronic equipment
Record;And,
Change at least one of which by the attribute of described operation resource under the described public directory of change and escape from prison soft
The running status of part.
Method the most according to claim 1, wherein, described described by changing under described public directory
Run the attribute of resource to change at least one of which and escape from prison the running status of software, including:
Change the attribute of the operation resource of at least one software of escaping from prison described;
Update the resource that at least one software of escaping from prison described takies in internal memory, so that described in renewal, at least one is got over
The running status of prison software.
Method the most according to claim 1 and 2, wherein, at least one software of escaping from prison described is in response to
Determine in user operation.
Method the most according to claim 2, wherein, described operation resource includes dynamic library file;
The attribute of the operation resource of at least one software of escaping from prison described in described change includes: described in change at least one
The title of the dynamic library file that individual software of escaping from prison is corresponding, or it is corresponding to change at least one software of escaping from prison described
The title of dynamic library file and date.
Method the most according to claim 4, wherein, when described electronic equipment starts, by described public
The dynamic library file under catalogue with default important name and default extension name is loaded into internal memory;
The title of the dynamic library file that at least one software of escaping from prison described in described change is corresponding, including: according to institute
The title stating at least one software of escaping from prison determines the dynamic library file of its correspondence, dynamic library text determined by amendment
The important name of part and/or extension name;
The resource that at least one software of escaping from prison described in described renewal takies in internal memory, including: releasing memory,
In the dynamic library file under described public directory with described default important name and described default extension name is loaded into
Deposit.
Method the most according to claim 5, wherein, the dynamic library file that each software of escaping from prison is corresponding
Important name matches with the title of this software of escaping from prison;
The extension name of dynamic library file determined by described amendment, including: at least one software of escaping from prison described
In each, determine the dynamic library file escaped from prison important name and this title of software matches, if this dynamic base
File is loaded into internal memory, then revise the arbitrary character in the extension name of this dynamic library file, if this dynamic base
File is not loaded into internal memory, then be revised as the extension name of this dynamic library file presetting extension name.
Method the most according to claim 5, wherein, the dynamic library file that each software of escaping from prison is corresponding
The preset field of important name matches with the title of this software of escaping from prison;
The important name of dynamic library file determined by described amendment, including: to described at least one escape from prison in software
Each, determine the dynamic library file that the preset field of important name matches with the title of this software of escaping from prison, if
This dynamic library file is loaded into internal memory, then the predeterminated position in the important name of this dynamic library file adds character,
If this dynamic library file is not loaded into internal memory, then delete predeterminated position described in the important name of this dynamic library file
Character, this important name to be revised as described default important name.
Method the most according to claim 5, wherein, is pre-configured with escape from prison dbase and dynamic library text
The mapping table of part title;
The important name of dynamic library file determined by described amendment and/or extension name, including: to described at least one
Escaping from prison each in software, it is corresponding that mapping table described in name lookup of software of escaping from prison according to this obtains it
The important name of dynamic library file and extension name, if this dynamic library file is loaded into internal memory, then revise this dynamic
Arbitrary character in the important name of library file and/or the arbitrary character in extension name, if this dynamic library file is not added
It is downloaded to internal memory, then revises important name and/or the extension name of this dynamic library file, so that this dynamic library file has institute
State default important name and described default extension name;And by the important name of amended dynamic library file and extension name record
In described mapping table.
9., according to the method described in claim 2 or 5, wherein, in response to user operation, determine renewal institute
State the mode of the resource that at least one software of escaping from prison takies in internal memory.
10. the managing device of a resource for computer system, it is characterised in that be applied to electronic equipment, institute
Stating electronic equipment and be provided with the one or more softwares of escaping from prison for its operating system, described device includes:
Determine module, for determining the operation resource of one or more softwares of escaping from prison described in described electronic equipment
The public directory at place;And,
Management module, for determining described operation resource under the public directory that module determines by change is described
Attribute changes at least one of which and escapes from prison the running status of software.
11. managing devices according to claim 10, wherein, described management module includes:
Change unit, for changing the attribute of the operation resource of at least one software of escaping from prison described;
Updating block, for updating the resource that at least one software of escaping from prison described takies in internal memory, to update
The running status of at least one software of escaping from prison described.
12., according to the managing device described in claim 10 or 11, also include:
Interface module, is used for providing user interface, and receives the operation of described user input;
Wherein, at least one software of escaping from prison described that described change unit changes is in response to user operation and true
Fixed.
13. managing devices according to claim 11, wherein, described operation resource includes dynamic library text
Part;
Described change unit, for changing the title of dynamic library file corresponding at least one software of escaping from prison described,
Or change title and the date of dynamic library file corresponding at least one software of escaping from prison described.
14. managing devices according to claim 13, wherein, when described electronic equipment starts, by institute
State and there is under public directory the dynamic library file of default important name and default extension name be loaded into internal memory;
Described change unit, for determining the dynamic of its correspondence according to the title of at least one software of escaping from prison described
Library file, the important name of dynamic library file determined by amendment and/or extension name;
Described updating block, for releasing memory, will have described default important name and institute under described public directory
The dynamic library file stating default extension name is loaded into internal memory.
15., according to the managing device described in claim 11 or 13, also include:
Interface module, is used for providing user interface, and receives the operation of described user input;
Wherein, described updating block, in response to user operation, determine that described in renewal, at least one is escaped from prison
The mode of the resource that software takies in internal memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510179506.8A CN106155808B (en) | 2015-04-16 | 2015-04-16 | Method and device for managing computer system resources |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510179506.8A CN106155808B (en) | 2015-04-16 | 2015-04-16 | Method and device for managing computer system resources |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106155808A true CN106155808A (en) | 2016-11-23 |
CN106155808B CN106155808B (en) | 2020-10-13 |
Family
ID=58058211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510179506.8A Active CN106155808B (en) | 2015-04-16 | 2015-04-16 | Method and device for managing computer system resources |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155808B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106372005A (en) * | 2016-09-20 | 2017-02-01 | 深圳市华美兴泰科技股份有限公司 | Method and device for storing image data in IOS (Iphone Operation System) by using external memory |
CN107438078A (en) * | 2017-08-17 | 2017-12-05 | 四川长虹电器股份有限公司 | One kind applies security protection system and method |
CN112784264A (en) * | 2021-01-18 | 2021-05-11 | 北京洛塔信息技术有限公司 | Jail crossing state detection method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902284A (en) * | 2014-03-07 | 2014-07-02 | 中国人民解放军装甲兵工程学院 | Data acquisition method and system based on dynamic library API interception |
CN104036183A (en) * | 2013-05-17 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Method and system for installing software in sandbox |
US20150093991A1 (en) * | 2013-09-30 | 2015-04-02 | Elwha Llc | Mobile device sharing facilitation methods and systems |
-
2015
- 2015-04-16 CN CN201510179506.8A patent/CN106155808B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104036183A (en) * | 2013-05-17 | 2014-09-10 | 腾讯科技(深圳)有限公司 | Method and system for installing software in sandbox |
US20150093991A1 (en) * | 2013-09-30 | 2015-04-02 | Elwha Llc | Mobile device sharing facilitation methods and systems |
CN103902284A (en) * | 2014-03-07 | 2014-07-02 | 中国人民解放军装甲兵工程学院 | Data acquisition method and system based on dynamic library API interception |
Non-Patent Citations (2)
Title |
---|
GZ_ICER: "钛备份冻结原理是什么会开机启动冻结的软件吗和后台运行吗", 《百度知道》 * |
十月一抹: "冻结或者卸载你手机中的应用", 《电脑迷》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106372005A (en) * | 2016-09-20 | 2017-02-01 | 深圳市华美兴泰科技股份有限公司 | Method and device for storing image data in IOS (Iphone Operation System) by using external memory |
CN106372005B (en) * | 2016-09-20 | 2019-10-11 | 深圳市华美兴泰科技股份有限公司 | The method and device of image data is accessed in IOS system using external memorizer |
CN107438078A (en) * | 2017-08-17 | 2017-12-05 | 四川长虹电器股份有限公司 | One kind applies security protection system and method |
CN107438078B (en) * | 2017-08-17 | 2020-11-03 | 四川长虹电器股份有限公司 | Application safety protection system and method |
CN112784264A (en) * | 2021-01-18 | 2021-05-11 | 北京洛塔信息技术有限公司 | Jail crossing state detection method, device, equipment and storage medium |
CN112784264B (en) * | 2021-01-18 | 2024-04-02 | 北京洛塔信息技术有限公司 | Jail-break state detection method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106155808B (en) | 2020-10-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10831567B2 (en) | Application processing method and apparatus | |
WO2018103550A1 (en) | Application program page processing method and apparatus | |
USRE48311E1 (en) | Apparatus and method for running multiple instances of a same application in mobile devices | |
KR20130114699A (en) | Dynamic device configuration using predicates | |
CN108549568B (en) | Application entry processing method and device, storage medium and electronic equipment | |
KR20100058583A (en) | Multi-os(operating system) boot via mobile device | |
CN103631580B (en) | Method and device for generating theme icon | |
CN103902265A (en) | Application implementation method and application implementation device | |
CN110147241A (en) | Program configures update method, electronic device, computer equipment and storage medium | |
AU2016200072B2 (en) | Apparatus and method for running multiple instances of the same application in mobile devices | |
CN102646037A (en) | Menu display processing method and terminal device | |
CN106484262A (en) | A kind of generation method of application of attending to anything else, device and terminal | |
CN106155808A (en) | The management method of resource for computer system and device | |
CN109117153A (en) | Processing method, device, terminal and the storage medium of application program | |
CN106648685A (en) | Processing method and device of intelligent terminal system and intelligent terminal | |
CN109725790A (en) | A kind of application recommended method, terminal and storage medium | |
US20190235884A1 (en) | Method and system for disabling non-deletable application in mobile terminal | |
CN115374481A (en) | Data desensitization processing method and device, storage medium and electronic equipment | |
CN106250180A (en) | A kind of ODEX optimal control method and mobile terminal | |
CN101986662B (en) | Widget instance operation method and system | |
CN104375896A (en) | Information processing method and electronic equipment | |
WO2019062615A1 (en) | User interface rendering method and apparatus | |
CN104281462A (en) | Firmware upgrade configuration saving system and method | |
CN110321241A (en) | A kind of method for restarting and terminal device of application program | |
CN104021030A (en) | Information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |