CN106250222A - Method and device for managing application program and electronic equipment - Google Patents
Method and device for managing application program and electronic equipment Download PDFInfo
- Publication number
- CN106250222A CN106250222A CN201610608868.9A CN201610608868A CN106250222A CN 106250222 A CN106250222 A CN 106250222A CN 201610608868 A CN201610608868 A CN 201610608868A CN 106250222 A CN106250222 A CN 106250222A
- Authority
- CN
- China
- Prior art keywords
- application program
- bag
- application
- name
- stop flag
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
- G06F9/4893—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues taking into account power or heat criteria
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/329—Power saving characterised by the action undertaken by task scheduling
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a method and a device for managing an application program and electronic equipment, relates to an information management technology, and can be used for improving the endurance time of the electronic equipment and improving the management efficiency of the application program. The method for managing the application program comprises the following steps: acquiring a target application program package name; judging whether the acquired target application program package name has a mandatory stop mark, and if so, deleting the mandatory stop mark; and calling a forced stop packet method, and executing packet stop processing on the target application program packet name of which the forced stop mark is removed so as to enable the application program packet name to obtain the forced stop mark again. The invention is suitable for effectively managing the power consumption of the application program.
Description
Technical field
The present invention relates to information management technique, particularly relate to a kind of manage the method for application program, device and electronic equipment.
Background technology
Along with compunication and the development of Internet technology, electronic equipment, such as, intelligent mobile phone, individual
The application such as personal digital assistant, palm PC, notebook computer is more and more extensive, the application program of installation (App,
Application) also get more and more, it is provided that application function more and more abundanter, greatly meet the individual character of different user
Change demand.Along with being on the increase of the application program installed, each application program expends the electricity of electronic equipment in running
And memory source etc. also gets more and more, but the battery of electronic equipment, CPU and memory source are the most relatively limited.Thus, when answering
With the process of program reside backstage run always time, and along with the long-time use of electronic equipment, the Resident Process on backstage more comes
The most, the electricity of consuming, CPU usage and memory source consumption also get more and more so that electric device battery flying power
Dramatic decrease, meanwhile, the speed of service of electronic equipment is slower, heating, card machine or the situation without response even occurs.
In order to application program is effectively managed, it is to avoid when the drastically decline of the electronic equipment speed of service and continuation of the journey
Between shortening, in prior art, for some without the application program of running background, i.e. judge background application process or
When person's service belongs to inessential operation process or service, then judge the application package name that the application program of running background is corresponding
Existence is forced to stop (forcestop) labelling, if there is this pressure stop flag, show this application program process or
Person's service is forcibly stopped, if there is no this pressure stop flag, then performs to force to stop bag
(forceStopPackage) method, to stop the process of this application program, and after stopping its process, for corresponding application journey
Sequence bag name arranges pressure stop flag.
But the method for this management application program, some application program is in order to be often active in backstage to obtain more
Resource and interests, such as, networking download, advertisement etc., various mechanism can be utilized, such as, operate in backstage at application program
Time, by the method for some injection scripts, the application package name for self correspondence arranges pressure stop flag.So so that
Security management application program the process or service judging this application program belong to inessential operation process or service after, by
Pressure stop flag has been there is in corresponding application package name, it is therefore believed that be the application program being stopped process, thus
Do not perform to force to stop bag method, cause this application program to enliven on backstage always, thus consume electricity, reduce electronic equipment
In cruising time, the application program management also making electronic equipment is inefficient.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of and manages the method for application program, device and electronic equipment, it is possible to carry
Rise the cruising time of electronic equipment, improve the efficiency of management of application program, to solve in the method for existing management application program,
Frequently self application program is waken up up after electronic equipment screen locking, cause that electronic equipment cruising time is short, application program
The problem that the efficiency of management is relatively low.
First aspect, the embodiment of the present invention provides a kind of method managing application program, including:
Obtain destination application bag name;
Judge whether the destination application bag name obtained exists pressure stop flag, if it does, delete described pressure
Stop flag;
Call pressure and stop bag method, the destination application bag name removing pressure stop flag is performed to stop bag and processes,
So that described application package name reacquires forces stop flag.
In conjunction with first aspect, in the first embodiment of first aspect, described acquisition destination application bag name bag
Include:
Reading system enliven application package list of file names, according to the described application journey enlivened in application package list of file names
Sequence bag name liveness sequence enumeration from high to low needs destination application bag name to be processed.
In conjunction with first aspect, in the second embodiment of first aspect, the described destination application judging to obtain
Whether bag name exists pressure stop flag, before:
Judging whether destination application bag name meets Disposal Strategies, if meeting Disposal Strategies, then performing described judgement
Whether the destination application bag name obtained exists pressure stop flag.
In conjunction with the second embodiment of first aspect, in the third embodiment of first aspect, described judgement mesh
Whether mark application package name meets Disposal Strategies, including:
Judge that destination application bag name is included in blacklist, or
Judge that destination application bag name is not included in white list, then meet Disposal Strategies.
In conjunction with first aspect, in the 4th kind of embodiment of first aspect, described deletion described pressure stop flag, bag
Include:
Start described destination application, so that forcing stop flag to be automatically left out.
In conjunction with first aspect, in the 5th kind of embodiment of first aspect, at described deletion described pressure stop flag
Afterwards, before calling pressure stopping bag method, described method also includes:
Judge whether the application program of described deletion described pressure stop flag have invoked system call job task, if
It is then to remove the described application program of calling system schedule job task.
In conjunction with the 5th kind of embodiment of first aspect, in the 6th kind of embodiment of first aspect, described removing is adjusted
Include with the described application program of system call job task:
Judge whether described application package name have registered self-starting schedule job task, adjust if it is, remove self-starting
The described application program of registration in degree job task.
Second aspect, the embodiment of the present invention provides a kind of device managing application program, including: bag name acquisition module, mark
Remember except module and stop bag module, wherein,
Bag name acquisition module, is used for obtaining destination application bag name;
Labelling removes module, for judging whether the destination application bag name obtained exists pressure stop flag, if
Exist, delete described pressure stop flag;
Stop bag module, be used for calling pressure and stop bag method, to removing the destination application bag name forcing stop flag
Execution stops bag and processes, so that described application package name reacquires forces stop flag.
In conjunction with second aspect, in the first embodiment of second aspect, described acquisition destination application bag name bag
Include:
Reading system enliven application package list of file names, according to the described application journey enlivened in application package list of file names
Sequence bag name liveness sequence enumeration from high to low needs destination application bag name to be processed.
In conjunction with second aspect, in the second embodiment of second aspect, described device also includes:
Disposal Strategies judge module, is used for judging whether destination application bag name meets Disposal Strategies, if meeting place
Put strategy, then perform whether the described destination application bag name judging to obtain exists pressure stop flag.
In conjunction with the second embodiment of second aspect, in the third embodiment of second aspect, described judgement mesh
Whether mark application package name meets Disposal Strategies, including:
Judge that destination application bag name is included in blacklist, or
Judge that destination application bag name is not included in white list, then meet Disposal Strategies.
In conjunction with second aspect, in the 4th kind of embodiment of second aspect, described deletion described pressure stop flag, bag
Include:
Start described destination application, so that forcing stop flag to be automatically left out.
In conjunction with second aspect, in the 5th kind of embodiment of second aspect, described device also includes:
Call judge module, for judging whether the application program of described deletion described pressure stop flag have invoked system
Schedule job task, if it is, remove the described application program of calling system schedule job task.
In conjunction with second aspect, in the 6th kind of embodiment of second aspect, described removing calling system schedule job is appointed
The described application program of business includes:
Judge whether described application package name have registered self-starting schedule job task, adjust if it is, remove self-starting
The described application program of registration in degree job task.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment includes: housing, processor, deposit
Reservoir, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges
On circuit boards;Power circuit, powers for each circuit or the device for above-mentioned electronic equipment;Memorizer is used for storing can be held
Line program code;Processor runs and executable program code pair by reading the executable program code of storage in memorizer
The program answered, for the method performing aforementioned arbitrary described management application program.
The a kind of of embodiment of the present invention offer manages the method for application program, device and electronic equipment, by obtaining target
Application package name;Judge whether the destination application bag name obtained exists pressure stop flag, if it does, delete described
Force stop flag;Call pressure and stop bag method, perform to stop bag to removing the destination application bag name forcing stop flag
Process, so that described application package name reacquires forces stop flag.The cruising time of electronic equipment, raising can be promoted
The efficiency of management of application program is to solve in the method for existing management application program, the most right after electronic equipment screen locking
Self application program wakes up up, causes the problem that electronic equipment cruising time is short, application program management is inefficient.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram that embodiments of the invention one manage application program;
Fig. 2 is the method flow schematic diagram that embodiments of the invention two manage application program;
Fig. 3 is the apparatus structure schematic diagram that embodiments of the invention three manage application program;
Fig. 4 is the structural representation of one embodiment of electronic equipment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings the embodiment of the present invention is described in detail.
It will be appreciated that described embodiment be only the present invention a part of embodiment rather than whole embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art obtained under not making creative work premise all its
Its embodiment, broadly falls into the scope of protection of the invention.
Fig. 1 is the method flow schematic diagram that embodiments of the invention one manage application program, as it is shown in figure 1, the present embodiment
Method may include that
Step 101, obtains destination application bag name;
In the present embodiment, as an alternative embodiment, obtain destination application bag name and include:
Reading system enliven application package list of file names, according to the described application journey enlivened in application package list of file names
Sequence bag name liveness sequence enumeration from high to low needs destination application bag name to be processed.
As another alternative embodiment, obtain destination application bag name and include:
Utilize the process strategy pre-set, obtain and meet the described application package name processing strategy.
As yet another alternative embodiment, obtain destination application bag name and include:
Enumerate the application package name installed in system;
From each application package name enumerated, the optimization extracting and pre-setting processes the application journey that strategy matches
Sequence bag name, obtains bag application package name collection to be stopped.
In the present embodiment, as an alternative embodiment, enumerate the application package name installed in system and include:
Calling system destroys application programming interface (API, the Application Programming of process
Interface), so that the application programming interface of described system destruction process calls Enum () function enumerates installation in system
Application package name.
The title of the entitled application program of application package in the present embodiment, in order to unique mark one application program.
Step 102, it is judged that whether the destination application bag name of acquisition exists pressure stop flag, if it does, delete
Described pressure stop flag;
In the present embodiment, as an alternative embodiment, whether exist in the described destination application bag name judging to obtain
Forcing stop flag, before, the method also includes:
Judging whether destination application bag name meets Disposal Strategies, if meeting Disposal Strategies, then performing described judgement
Whether the destination application bag name obtained exists pressure stop flag.
In the present embodiment, as an alternative embodiment, described judge whether destination application bag name meets Disposal Strategies,
Including:
Judge that destination application bag name is included in blacklist, or
Judge that destination application bag name is not included in white list, then meet Disposal Strategies.
In the present embodiment, as an alternative embodiment, delete described pressure stop flag and include:
Described pressure stop flag is deleted by code logic.
As another alternative embodiment, delete described pressure stop flag and include:
Start described destination application, so that forcing stop flag to be automatically left out.
In the present embodiment, by starting destination application, so that the application program that this destination application is corresponding
The pressure stop flag that Bao Mingzhong is arranged disappears automatically.
Step 103, calls pressure and stops bag method, performs to stop to removing the destination application bag name forcing stop flag
Bag processes, so that described application package name reacquires forces stop flag.
In the present embodiment, as an alternative embodiment, after described deletion described pressure stop flag, call pressure and stop
Only before bag method, the method also includes:
Judge whether the application program of described deletion described pressure stop flag have invoked system call job task, if
It is then to remove the described application program of calling system schedule job task.
In the present embodiment, job scheduling application programming interface (JobScheduler API) can be called by acquisition
Application package name judge whether to have invoked system call job task.
As an alternative embodiment, the method obtaining the application package name calling JobSchedulerAPI can be straight
Connect from system cache internal memory, read the application package name that have registered JobScheduler API Calls.
As another alternative embodiment, the method obtaining the application package name calling JobSchedulerAPI can also
It is that JobScheduler API is called by monitoring application program, hooks (Hook) application call JobScheduler API
Behavior.
In the present embodiment, by injecting hook (Hook) function, Hook Function is utilized to monitor application program pair
JobScheduler API calls, and when monitoring application program and calling job scheduling application programming interface, blocks
Cut application program and job scheduling application programming interface is called behavior.
In the present embodiment, due to the mechanism permission application program self-starting of registration job service (JobService), therefore,
If needing thoroughly to terminate this application program background process and service, need, before terminating its background process and service, to use
The method of disable JobScheduler API, makes the JobService mechanism failure that this application program is registered.
As an alternative embodiment, the described application program of described removing calling system schedule job task includes:
Judge whether described application package name have registered self-starting schedule job task, adjust if it is, remove self-starting
The described application program of registration in degree job task.
In the present embodiment, deleted by the application program that will be registered in job service so that this application program is stopped bag
After, it is possible to prevent the application program being registered in job service to be drawn the application program caused of living to stop the problem that bag lost efficacy by system,
Such as, it is registered to the application program in job service (JobService), job scheduling application programming interface can be passed through
(JobScheduler API) arranges a plurality of JobService entry condition, in the JobService entry condition of satisfied setting
Time, automatically start application program, thus cause application program to stop bag and lost efficacy.
In the present embodiment, as an alternative embodiment, described to removing the destination application bag forcing stop flag
After name performs to stop bag process, the method also includes:
The application package name performing to stop bag process is arranged pressure stop flag.
In the present embodiment, stop bag (forceStopPackage) method to the execution of application package name very calling pressure
Real stop package operation after, pressure is set for this application package name and stops (forcestop) labelling, to avoid this application program quilt
Repeatedly stop to wrap the wasting of resources caused.
Embodiments of the invention one manage the method for application program, by obtaining destination application bag name;Judge to obtain
Destination application bag name whether there is pressure stop flag, if it does, delete described pressure stop flag;Call pressure
Stop bag method, perform to stop bag process to removing the destination application bag name forcing stop flag, so that described application program
Bag name reacquires forces stop flag.So, it is to avoid application program is forced to stop strategy to escape system, understands oneself right
The bag name of oneself stamps forcestop labelling so that when these application programs carry out forcestop process when, system
Perform inquire this application package name and had forcestop labelling when that forcestop processing, then will not repeat to hold
Row forcestop function, thus.Pressure is maliciously set stops for according to forcing stop flag to carry out the method for process stagnation
The application package name of labelling, by removing its pressure stop flag arranged, such that it is able to effectively to such application package
Name carries out stopping bag and processes, and really terminates the class application program process on backstage and service, save electronics in the case of unwanted
Equipment electric quantity consumption, promotes the cruising time of electronic equipment, is effectively increased the efficiency of management of application program in electronic equipment.
Fig. 2 is the method flow schematic diagram that embodiments of the invention two manage application program, as in figure 2 it is shown, the present embodiment
Method may include that
Step 201, enumerates the application package name installed in system;
Step 202, from each application package name enumerated, extracts and matches with the optimization process strategy pre-set
Application package name, obtain bag application package name collection to be stopped;
Step 203, bag application package name to be stopped described in acquisition concentrates the process that bag application package name to be stopped maps
CPU usage;
Step 204, according to the CPU usage threshold value pre-set, concentrates described bag application package name to be stopped and respectively treats
Stop bag application package name map process classify, obtain according to CPU usage threshold value from high to low arrangement enliven into
Cheng Liebiao collection;
Step 205, extracts the active schedule list that active schedule list is concentrated, and removes in described active schedule list each
The pressure stop flag that bag application package name to be stopped comprises;
Step 206, according to the bag application package to be stopped removed in the described active schedule list forcing stop flag
Name, removes the application program that the bag application package name to be stopped of registration is corresponding in job service;
Step 207, calls pressure and stops bag method, respectively treat removing in the described active schedule list forcing stop flag
Stop bag application package name to perform to stop bag process;
Step 208, arranges pressure stop flag for bag application package name to be stopped in described active schedule list;
Step 209, it is judged that whether the active schedule list that active schedule list is concentrated extracts complete, if it is, terminate stream
Journey, if it is not, extract active schedule list to concentrate an active schedule list being not extracted by, performs described removing described active
The step forcing stop flag that in process list, bag application package name to be stopped comprises.
In the present embodiment, each active schedule list concentrated active schedule list successively stops bag and processes and force
Stop flag processes.
Embodiments of the invention two manage the method for application program, process the process that CPU usage is higher in advance,
Thus discharge its resource taken so that when the follow-up process to other CPU usages processes, it is possible to obtain more
Resource, thus promote processing speed, shortening processes the time stopped needed for application program;Meanwhile, also by being registered in work
Application program in industry service is deleted so that after this application program is stopped bag, be possible to prevent the application being registered in job service
Program is drawn the application program lived and cause to stop the problem that bag lost efficacy by system, it is possible to realize on backstage process (application Cheng Baoming)
Thoroughly stop bag process.
Fig. 3 is the apparatus structure schematic diagram that embodiments of the invention three manage application program, as it is shown on figure 3, the present embodiment
Device may include that bag name acquisition module 31, labelling remove module 32 and stop bag module 33, wherein,
Bag name acquisition module 31, is used for obtaining destination application bag name;
In the present embodiment, as an alternative embodiment, described acquisition destination application bag name includes:
Reading system enliven application package list of file names, according to the described application journey enlivened in application package list of file names
Sequence bag name liveness sequence enumeration from high to low needs destination application bag name to be processed.
Labelling removes module 32, for judging whether the destination application bag name obtained exists pressure stop flag, as
Fruit exists, and deletes described pressure stop flag;
In the present embodiment, as an alternative embodiment, described deletion described pressure stop flag, including:
Start described destination application, so that forcing stop flag to be automatically left out.
Stop bag module 33, be used for calling pressure and stop bag method, to removing the destination application bag forcing stop flag
Name performs to stop bag and processes, so that described application package name reacquires forces stop flag.
In the present embodiment, as an alternative embodiment, this device also includes:
Disposal Strategies judge module 34, is used for judging whether destination application bag name meets Disposal Strategies, if met
Disposal Strategies, then perform whether the described destination application bag name judging to obtain exists pressure stop flag.
In the present embodiment, as an alternative embodiment, described judge whether destination application bag name meets Disposal Strategies,
Including:
Judge that destination application bag name is included in blacklist, or
Judge that destination application bag name is not included in white list, then meet Disposal Strategies.
In the present embodiment, as another alternative embodiment, this device also includes:
Call judge module 35, for judging whether the application program of described deletion described pressure stop flag have invoked be
Tracking degree job task, if it is, remove the described application program of calling system schedule job task.
In the present embodiment, as an alternative embodiment, the described application journey of described removing calling system schedule job task
Sequence includes:
Judge whether described application package name have registered self-starting schedule job task, adjust if it is, remove self-starting
The described application program of registration in degree job task.
The device of the present embodiment, may be used for performing the technical scheme of embodiment of the method shown in Fig. 1 and Fig. 2, and it realizes former
Managing similar with technique effect, here is omitted.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
Each embodiment in this specification all uses relevant mode to describe, identical similar portion between each embodiment
Dividing and see mutually, what each embodiment stressed is the difference with other embodiments.
For device embodiment, owing to it is substantially similar to embodiment of the method, so the comparison described is simple
Single, relevant part sees the part of embodiment of the method and illustrates.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.
In the above-described embodiment, multiple steps or method can be with storing in memory and by suitably instructing execution
Software or firmware that system performs realize.Such as, if realized with hardware, with the most the same, available
Any one or their combination in following technology well known in the art realize: have for data signal realizes logic merit
The discrete logic of the logic gates of energy, has the special IC of suitable combination logic gate circuit, programmable gate
Array (PGA), field programmable gate array (FPGA) etc..
The embodiment of the present invention also provides for a kind of electronic equipment, and described electronic equipment comprises the dress described in aforementioned any embodiment
Put.
Fig. 4 is the structural representation of one embodiment of electronic equipment of the present invention, it is possible to achieve implement shown in Fig. 1-3 of the present invention
The flow process of example, as shown in Figure 4, above-mentioned electronic equipment may include that housing 41, processor 42, memorizer 43, circuit board 44 and electricity
Source circuit 45, wherein, circuit board 44 is placed in the interior volume that housing 41 surrounds, processor 42 and memorizer 43 and is arranged on circuit
On plate 44;Power circuit 45, powers for each circuit or the device for above-mentioned electronic equipment;Memorizer 43 is used for storing can be held
Line program code;Processor 42 runs and executable program generation by reading the executable program code of storage in memorizer 43
The program that code is corresponding, for the method performing the management application program described in aforementioned any embodiment.
Processor 42 to concrete process and the processor 42 of performing of above-mentioned steps by running executable program code
The step performed further, may refer to the description of Fig. 1-3 illustrated embodiment of the present invention, does not repeats them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data
Communication is main target.This Terminal Type includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low
End mobile phone etc..
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes merit
Can, the most also possess mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia.This kind equipment includes: audio frequency,
Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: providing the equipment of the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total
Lines etc., server is similar with general computer architecture, but owing to needing to provide highly reliable service, is therefore processing energy
The aspects such as power, stability, reliability, safety, extensibility, manageability require higher.
(5) other have the electronic equipment of data interaction function.
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
For convenience of description, describing apparatus above is to be divided into various units/modules to be respectively described with function.Certainly, exist
Implement the function of each unit/module to be realized in same or multiple softwares and/or hardware during the present invention.
As seen through the above description of the embodiments, those skilled in the art is it can be understood that arrive this
Invention can add the mode of required general hardware platform by software and realize.Based on such understanding, the present invention
The part that the most in other words prior art contributed of technical scheme can embody with the form of software product, should
Computer software product can be stored in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that
One computer equipment (can be personal computer, server, or the network equipment etc.) perform each embodiment of the present invention or
The method described in some part of person's embodiment.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all answer
Contain within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.
Claims (10)
1. the method managing application program, it is characterised in that including:
Obtain destination application bag name;
Judge whether the destination application bag name obtained exists pressure stop flag, stop if it does, deleting described pressure
Labelling;
Call pressure and stop bag method, the destination application bag name removing pressure stop flag is performed to stop bag and processes, so that
Described application package name reacquires forces stop flag.
The method of management application program the most according to claim 1, it is characterised in that described acquisition destination application bag
Name includes:
Reading system enliven application package list of file names, according to the described application package enlivened in application package list of file names
Name liveness sequence enumeration from high to low needs destination application bag name to be processed.
The method of management application program the most according to claim 1, it is characterised in that the intended application that described judgement obtains
Whether program bag name exists pressure stop flag, before:
Judge whether destination application bag name meets Disposal Strategies, if meeting Disposal Strategies, then perform described judgement and obtain
Destination application bag name whether there is pressure stop flag.
The method of management application program the most according to claim 3, it is characterised in that described judgement destination application bag
Whether name meets Disposal Strategies, including:
Judge that destination application bag name is included in blacklist, or
Judge that destination application bag name is not included in white list, then meet Disposal Strategies.
The method of management application program the most according to claim 1, it is characterised in that the described pressure of described deletion stops mark
Note, including:
Start described destination application, so that forcing stop flag to be automatically left out.
The method of management application program the most according to claim 1, it is characterised in that stop described pressure of described deletion
After labelling, before calling pressure stopping bag method, described method also includes:
Judge whether the application program of described deletion described pressure stop flag have invoked system call job task, if it is,
Then remove the described application program of calling system schedule job task.
The method of management application program the most according to claim 6, it is characterised in that the scheduling of described removing calling system is made
The described application program of industry task includes:
Judge whether described application package name have registered self-starting schedule job task, make if it is, remove self-starting scheduling
The described application program of registration in industry task.
8. the device managing application program, it is characterised in that including: bag name acquisition module, labelling are removed module and stop
Bag module, wherein,
Bag name acquisition module, is used for obtaining destination application bag name;
Labelling removes module, for judging whether the destination application bag name obtained exists pressure stop flag, if it does,
Delete described pressure stop flag;
Stop bag module, be used for calling pressure and stop bag method, perform removing the destination application bag name forcing stop flag
Stop bag to process, so that described application package name reacquires forces stop flag.
The device of management application program the most according to claim 8, it is characterised in that described acquisition destination application bag
Name includes:
Reading system enliven application package list of file names, according to the described application package enlivened in application package list of file names
Name liveness sequence enumeration from high to low needs destination application bag name to be processed.
10. an electronic equipment, it is characterised in that described electronic equipment includes: housing, processor, memorizer, circuit board and electricity
Source circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards;Power supply
Circuit, powers for each circuit or the device for above-mentioned electronic equipment;Memorizer is used for storing executable program code;Process
Device runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, is used for holding
The method of the management application program described in the aforementioned any claim 1-7 of row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610608868.9A CN106250222A (en) | 2016-07-28 | 2016-07-28 | Method and device for managing application program and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610608868.9A CN106250222A (en) | 2016-07-28 | 2016-07-28 | Method and device for managing application program and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106250222A true CN106250222A (en) | 2016-12-21 |
Family
ID=57604604
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610608868.9A Pending CN106250222A (en) | 2016-07-28 | 2016-07-28 | Method and device for managing application program and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106250222A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247507A (en) * | 2017-04-26 | 2017-10-13 | 努比亚技术有限公司 | Prevent from applying booting-self controller method and terminal, computer-readable recording medium |
CN107957905A (en) * | 2017-11-21 | 2018-04-24 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120324481A1 (en) * | 2011-06-16 | 2012-12-20 | Samsung Electronics Co. Ltd. | Adaptive termination and pre-launching policy for improving application startup time |
CN104238713A (en) * | 2013-06-21 | 2014-12-24 | 贝壳网际(北京)安全技术有限公司 | Charging method and system of intelligent mobile terminal |
CN104391743A (en) * | 2014-11-26 | 2015-03-04 | 北京奇虎科技有限公司 | Method and device for optimizing running speed of mobile terminal |
CN104731302A (en) * | 2013-12-20 | 2015-06-24 | 贝壳网际(北京)安全技术有限公司 | Power-saving operation method and power-saving operation system of mobile terminal |
US9152694B1 (en) * | 2013-06-17 | 2015-10-06 | Appthority, Inc. | Automated classification of applications for mobile devices |
-
2016
- 2016-07-28 CN CN201610608868.9A patent/CN106250222A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120324481A1 (en) * | 2011-06-16 | 2012-12-20 | Samsung Electronics Co. Ltd. | Adaptive termination and pre-launching policy for improving application startup time |
US9152694B1 (en) * | 2013-06-17 | 2015-10-06 | Appthority, Inc. | Automated classification of applications for mobile devices |
CN104238713A (en) * | 2013-06-21 | 2014-12-24 | 贝壳网际(北京)安全技术有限公司 | Charging method and system of intelligent mobile terminal |
CN104731302A (en) * | 2013-12-20 | 2015-06-24 | 贝壳网际(北京)安全技术有限公司 | Power-saving operation method and power-saving operation system of mobile terminal |
CN104391743A (en) * | 2014-11-26 | 2015-03-04 | 北京奇虎科技有限公司 | Method and device for optimizing running speed of mobile terminal |
Non-Patent Citations (1)
Title |
---|
技术小黑屋: "Package Stopped State Since Android 3.1", 《HTTPS://DROIDYUE.COM/BLOG/2014/01/04/PACKAGE-STOP-STATE-SINCE-ANDROID-3-DOT-1/》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247507A (en) * | 2017-04-26 | 2017-10-13 | 努比亚技术有限公司 | Prevent from applying booting-self controller method and terminal, computer-readable recording medium |
CN107957905A (en) * | 2017-11-21 | 2018-04-24 | 广东欧珀移动通信有限公司 | Method, apparatus, storage medium and the intelligent terminal of self-starting are applied in limitation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103973875B (en) | Mobile terminal notice center PUSH message processing method and device | |
CA2741088C (en) | Methods of achieving cognizant power management | |
CN106125882A (en) | Application program management method and electronic equipment | |
CN105224421B (en) | Data backup method and device and electronic equipment | |
CN103246532B (en) | Method and device for installing application program of terminal equipment | |
CN105282047A (en) | Access request processing method and device | |
CN103984468A (en) | Method and device for information processing | |
SE0004672D0 (en) | A method and system for real-time updating of available network service access in a communications network | |
CN106131185B (en) | Video data processing method, device and system | |
CN106201468A (en) | Screen capture processing method and device and electronic equipment | |
DE602007007820D1 (en) | METHOD AND DEVICE FOR DEBATING THE STORAGE OF USER DATA IN DIGITAL CELLULAR 3G TELECOMMUNICATIONS SYSTEMS | |
CN104539672A (en) | Mobile application program message pushing agency system based on cloud computing | |
CN103235915A (en) | Network application program processing method and mobile terminal thereof | |
CN107968881A (en) | End-point device broadcast processing method and processing device, terminal device and storage medium | |
CN106713004A (en) | Router adaptation method and system | |
CN102436457A (en) | Method and equipment for distributing progresses of browser | |
CN106301968A (en) | The processing method of a kind of terminal data, Apparatus and system | |
CN104572394A (en) | Process monitoring method and device | |
CN105631019A (en) | Metadata extension method and device | |
TW200513949A (en) | Information processing device and information processing terminal | |
CN106250222A (en) | Method and device for managing application program and electronic equipment | |
US11816200B2 (en) | Terminal and method for managing launch of an application of a terminal | |
CN106095414A (en) | Method and device for managing application program and electronic equipment | |
ATE336866T1 (en) | LOADING AN APPLICATION TO BE USED IN A TERMINAL AND IN A CHIP CARD | |
CN105354491B (en) | Intelligent terminal standby mode detection method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161221 |