CN106055396A - Application management method and terminal - Google Patents

Application management method and terminal Download PDF

Info

Publication number
CN106055396A
CN106055396A CN201610368284.9A CN201610368284A CN106055396A CN 106055396 A CN106055396 A CN 106055396A CN 201610368284 A CN201610368284 A CN 201610368284A CN 106055396 A CN106055396 A CN 106055396A
Authority
CN
China
Prior art keywords
component
request
intended application
terminal
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610368284.9A
Other languages
Chinese (zh)
Inventor
侯捷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201610368284.9A priority Critical patent/CN106055396A/en
Publication of CN106055396A publication Critical patent/CN106055396A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention provides an application management method, and the method comprises the steps: receiving a module call request, and obtaining a target application corresponding to the module call request; obtaining the operation states of the target application, wherein the operation states comprise a started state and a non-start sate; obtaining a module type corresponding to the module call request when the operation state of the target application is a non-start state; judging whether a module is an interface module or not: rejecting or postponing the response to the module call request if the module is not the interface module. In addition, the embodiment of the invention also provides a terminal. According to the invention, the method prevents the application program from automatically starting and operating in the background when a user does not use the application program, and improves the user experience.

Description

A kind of application management method and terminal
Technical field
The present invention relates to electronic technology field, particularly relate to a kind of application management method and terminal.
Background technology
Along with the rise of Internet technology, increasing Internet enterprises, electricity business's platform using application program as profit One of main battle ground, the application in current various system platforms gets more and more, and the application program that user installs in terminal is also got over Come the most.Some application developers user for convenience uses or in order to increase the utilization rate etc. of user, often has One function, it is simply that application program self-starting or self-starting during using during mounting platform start.This function is true Actually user brings a certain degree of facility, but when the application program that computer or mobile terminal are installed is a lot, each Application program self-starting of all starting shooting will drag slow starting up speed, a large amount of occupying system resources, causes the phenomenon that system card pauses, and The application program run also needs to consume the electricity of terminal and mobile data traffic in running, result in terminal with In the case of family is incognizant, the consumption of electricity and mobile data traffic is too much.It is to say, the self-starting of above-mentioned application program The experience that can make system is deteriorated.
Summary of the invention
Embodiments provide a kind of application management method and terminal, Consumer's Experience can be improved.
Embodiment of the present invention first aspect provides a kind of application management method, including:
Receiving unit call request, obtains the intended application that the request of described component call is corresponding;
Obtaining the running status of described intended application, described running status includes having been turned on not actuated;
When running status in described intended application is not actuated, the component type that securing component call request is corresponding;
Judge whether described component type is interface assembly, if it is not, then refuse or postpone to respond the request of described component call.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Component call request reception unit, for receiving unit call request, obtains described component call request correspondence Intended application;
Running status acquiring unit, for obtaining the running status of described intended application, described running status includes opening Dynamic and not actuated;
Component type acquiring unit, for when the running status of described intended application is not actuated, securing component calls The component type that request is corresponding;
Judging unit, is used for judging whether described component type is interface assembly;
Component call request refusal unit, for when described component type is not interface assembly, refuses or postpones response Described component call is asked.
Implement the embodiment of the present invention, will have the advantages that
After have employed above-mentioned application management method and terminal, the component call for terminal system is asked and it is corresponding Application program, if this application program is the application program having been started up, then respond correspondence component call request, if this application Program is not actuated application program, only when component call request is the component call request relevant to interface, and just response Corresponding component call is asked and starts the application program of correspondence.Use above-mentioned application management method and terminal, can effectively promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required use in embodiment being described below Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be some embodiments of the present invention, for this area From the point of view of those of ordinary skill, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of application management method in an embodiment;
Fig. 2 is the schematic flow sheet of a kind of application management method in an embodiment;
Fig. 3 is the structural representation of a kind of terminal in an embodiment;
Fig. 4 is the structural representation of a kind of terminal in an embodiment;
Fig. 5 is the structural representation of the computer equipment running aforementioned applications management method in an embodiment.
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 clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
In the present embodiment, spy proposes a kind of application management method, and third party application can be avoided not have user Automatically starting running background in the case of use, the effective rate of utilization that can improve system resource is low, increase terminal cruising time and The effective rate of utilization of mobile data traffic.The realization of the method can be dependent on computer program, and this computer program can run on On computer system based on von Neumann system, this computer program can be that the third party under the systems such as Android platform should By the No starting program of program.This computer system can be to run the such as smart mobile phone, flat board of above computer program The terminal unit such as computer, PC.
Concrete, as it is shown in figure 1, above-mentioned application management method comprises the steps:
Step S102: receiving unit call request, obtains the intended application that the request of described component call is corresponding.
Terminal system, when using related service, needs the associated component in calling system, such as broadcast component The groups such as broadcast, serviced component service, data access component contentprovider and interface assembly activity Part.Such as terminal, when starting some application program and being linked into the operation interface of corresponding application program, needs to call clothes The business interface assembly such as assembly service, interface assembly activity, and, terminal, must be corresponding a certain when invocation component The associative operation of individual application program.In the present embodiment, when terminal receives component call request, called by resolution component The intended application corresponding with component call request comprised in request, this intended application is in component call request to be needed to start Application program.
Step S104: obtain the running status of described intended application, described running status includes having been turned on not actuated;? When the running status of described intended application is not actuated, execution step S106: the component type that securing component call request is corresponding.
It should be noted that in other embodiments, optionally, as in figure 2 it is shown, above-mentioned application management method also includes as follows Step:
When the running status of described intended application is for having been turned on, perform step S112: respond the request of described component call, Start described intended application.
In the present embodiment, if intended application at the application program that running background or current operation interface are corresponding is For intended application, then component call corresponding with this intended application request is legal;If this intended application does not start, the most right The component call request answered and the demand starting intended application are probably what user needed, it is also possible to user is automatic.Right In above-mentioned situation, need whether to have been started up making a distinction to intended application.
Concrete, obtaining the running status of intended application, i.e. intended application is in the state that has been turned on or not actuated shape State.It should be noted that the state that has been turned on includes front stage operation and/or running background.If the running status of intended application is When having been turned on, the component call request received in response of step S102, start corresponding intended application.If above-mentioned intended application Running status when being not actuated, then need the component type of the concrete assembly corresponding to component call request, in order in step S108 analyzes further.
Step S108: judge whether described component type is interface assembly, if it is not, then perform step S110: refusal or temporary Slow response described component call request.
It should be noted that in other embodiments, optionally, as in figure 2 it is shown, above-mentioned application management method also includes as follows Step:
If described component type is interface assembly, then perform step S1112: respond the request of described component call, start institute State intended application.
Interface assembly refers to this assembly needs user interface.Such as, in android system, common component type Including broadcast component broadcast, serviced component service, data access component contentprovider and interface assembly activity.Said modules is four big assemblies most commonly seen in android system.
Concrete, broadcast component broadcast is used for receiving broadcast notice messages and making corresponding process, does not has user Interface;Serviced component service runs on application backstage, and no user interface, and either foreground services or is background service, It is required to call serviced component service;Data access component contentprovider provides the shared number between application program According to, provide unified interface, no user interface for storage and acquisition data;One corresponding list of interface assembly activity Only screen, that is responsible for user is mutual, and shows other events of other controls monitoring system on the screen.The most just It is to say, when user needs the operation interface showing certain application program on the display interface of terminal, is necessary for calling interface group Part activity.
It is to say, at above-mentioned broadcast component broadcast, serviced component service, data access component In the big assembly of common four of the android system such as contentprovider and interface assembly activity, broadcast component Broadcast, serviced component service, data access component contentprovider are non-interface assembly, interface assembly Activity is interface assembly.
When the component type of the component call request correspondence got in step s 106 is interface assembly, say, that bright Corresponding application program have interface requirements, such as need to enter into the operation interface of the application program of correspondence, in the case, Component call is legal when asking, therefore response assemblies call request, starts intended application.
During on the contrary, the assembly of the component call request correspondence got in above-mentioned steps S106 is not interface assembly, Namely illustrating that the startup of the application program of correspondence does not has interface requirements, in the present embodiment, intended application is in not actuated shape The component type of the component call request of state and correspondence is not that the component call request under interface assembly is judged to illegal, refusal Or postpone response said modules call request, so that the startup that the application program of terminal is in the case of user is the most conscious is banned Only.
It should be noted that in the present embodiment, it is also possible to there is user does not has interface requirements but to need to start application journey , i.e. there is application program and need not call the situation that interface assembly activity is also required to start, such as, desktop sky in the situation of sequence The desktop widgets such as gas etc. are applied.In this case, need to respond the component call request in the case of this kind.
Concrete, in other embodiments, as in figure 2 it is shown, above-mentioned steps S102: obtain described component call request correspondence Intended application after, above-mentioned application management method also includes step S103: judge whether described intended application belongs to white list, The most then perform step S112: respond the request of described component call, start described intended application;If it is not, then perform step S104: obtain the running status of described intended application, described running status includes having been turned on not actuated.
In being embodied as, set up white list according to the No starting of application program, for the application journey belonging to white list The random component call request of sequence, responds the request of this component call without exception, and starts corresponding belonging to according to component call request The application program of white list.Thus can make specifically do not have interface requirements but still to need the application program started to open Dynamic.
Additionally, in the present embodiment, it is also proposed that a kind of terminal, third party application can be avoided not use user In the case of automatically start running background, the effective rate of utilization that can improve system resource is low, increases terminal cruising time and movement The effective rate of utilization of data traffic.
Concrete, as it is shown on figure 3, above-mentioned terminal includes component call request reception unit 102, running status acquiring unit 104, component type acquiring unit 106, judging unit 108 and component call request refusal unit 110, wherein:
Component call request reception unit 102, for receiving unit call request, obtains described component call request correspondence Intended application;
Running status acquiring unit 104, for obtaining the running status of described intended application, described running status includes Start and not actuated;
Component type acquiring unit 106, for when the running status of described intended application is not actuated, securing component is adjusted By component type corresponding to request;
Judging unit 108, is used for judging whether described component type is interface assembly;
Component call request refusal unit 110, for when described component type is not interface assembly, refuses or postpones to ring Should the request of described component call.
Optionally, wherein in an embodiment, as shown in Figure 4, above-mentioned terminal also includes that the first component call request rings Answering unit 112, for when described component type is interface assembly, respond the request of described component call, starting described target should With.
Optionally, wherein in an embodiment, described component type includes broadcast component, serviced component, data access Assembly and interface assembly.
Optionally, wherein in an embodiment, as shown in Figure 4, above-mentioned terminal also includes that the second component call request rings Answer unit 114, for when the running status of described intended application is for having been turned on, responds the request of described component call, start institute State intended application.
Optionally, wherein in an embodiment, as shown in Figure 4, above-mentioned terminal also includes white list judging unit 116, For judging whether described intended application belongs to white list, if then responding the request of described component call, starting described target should With.
Implement the embodiment of the present invention, will have the advantages that
After have employed above-mentioned application management method and terminal, the component call for terminal system is asked and it is corresponding Application program, if this application program is the application program having been started up, then respond correspondence component call request, if this application Program is not actuated application program, only when component call request is the component call request relevant to interface, and just response Corresponding component call is asked and starts the application program of correspondence.It is to say, only when interface assembly is called, just start Corresponding application program, it is to avoid application program starts on backstage and runs, it is to avoid application program does not use user In the case of automatically start the situation of running background.It is to say, after have employed above-mentioned application management method and device, can be effective Avoid the illegal startup of application program, improve the effective rate of utilization of system resource, and increase the cruising time of terminal and mobile number According to the effective rate of utilization of flow, promote Consumer's Experience.
In one embodiment, as it is shown in figure 5, Fig. 5 illustrate a kind of run above-mentioned application management method based on Feng Nuo Terminal according to the computer system of graceful system.This computer system can be smart mobile phone, panel computer, palm PC, notes The terminal unit such as this computer or PC.Concrete, it may include the outer input interface 1001 that connected by system bus, place Reason device 1002, memorizer 1003 and output interface 1004.Wherein, outer input interface 1001 optionally can at least include that network connects Mouth 10012.Memorizer 1003 can include external memory 10032 (such as hard disk, CD or floppy disk etc.) and built-in storage 10034. Output interface 1004 can at least include display screen 10042 equipment such as grade.
In the present embodiment, the operation of this method is stored in based on computer program, the program file of this computer program In the external memory 10032 of aforementioned computer system based on von Neumann system, operationally it is loaded into built-in storage In 10034, it is transferred to after being then compiled as machine code in processor 1002 perform, so that based on von Neumann system Computer system in form component call request reception unit 102 in logic, running status acquiring unit 104, assembly class Type acquiring unit 106, judging unit 108, component call request refusal unit the 110, first component call request-response unit 112, the second component call request-response unit 114 and white list judging unit 116.And perform at above-mentioned application management method During, the parameter of input is all received by outer input interface 1001, and is transferred in memorizer 1003 caching, then inputs Processing in processor 1002, the result data of process or be cached in memorizer 1003 subsequently processes, or quilt It is transferred to output interface 1004 export.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Should be appreciated that in embodiments of the present invention, alleged processor can be CPU (Central Processing Unit, CPU), this processor can also is that other general processors, digital signal processor (Digital Signal Processor, DSP), special IC (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device can also be the processor etc. of any routine.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage Medium include read only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read only memory (Programmable Read-only Memory, PROM), erasable programmable is read-only deposits Reservoir (Erasable Programmable Read Only Memory, EPROM), disposable programmable read only memory (One- Time Programmable Read-Only Memory, OTPROM), the electronics formula of erasing can make carbon copies read only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), read-only optical disc (Compact Disc Read-Only Memory, CD-ROM) or other disk storages, disk memory, magnetic tape storage or can For carrying or store any other medium computer-readable of data.
The above disclosed present pre-ferred embodiments that is only, can not limit the right model of the present invention with this certainly Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. an application management method, it is characterised in that including:
Receiving unit call request, obtains the intended application that the request of described component call is corresponding;
Obtaining the running status of described intended application, described running status includes having been turned on not actuated;
When running status in described intended application is not actuated, the component type that securing component call request is corresponding;
Judge whether described component type is interface assembly, if it is not, then refuse or postpone to respond the request of described component call.
Application management method the most according to claim 1, it is characterised in that described judge whether described component type is boundary Also include after the assembly of face:
When described component type is interface assembly, responds the request of described component call, start described intended application.
Application management method the most according to claim 1, it is characterised in that described component type includes broadcast component, clothes Business assembly, data access component and interface assembly.
Application management method the most according to claim 1, it is characterised in that described method also includes:
When the running status of described intended application is for having been turned on, responds the request of described component call, start described intended application.
Application management method the most according to claim 1, it is characterised in that described acquisition described component call request correspondence Intended application after also include:
Judging whether described intended application belongs to white list, the most then respond the request of described component call, starting described target should With.
6. a terminal, it is characterised in that including:
Component call request reception unit, for receiving unit call request, obtains the target that the request of described component call is corresponding Application;
Running status acquiring unit, for obtaining the running status of described intended application, described running status include having been turned on and Not actuated;
Component type acquiring unit, is used for when the running status of described intended application is not actuated, securing component call request Corresponding component type;
Judging unit, is used for judging whether described component type is interface assembly;
Component call request refusal unit, for when described component type is not interface assembly, refuses or postpones response described Component call is asked.
Terminal the most according to claim 6, it is characterised in that described terminal also includes that the first component call request response is single Unit, for when described component type is interface assembly, responds the request of described component call, starts described intended application.
Terminal the most according to claim 6, it is characterised in that described component type includes broadcast component, serviced component, number According to access element and interface assembly.
Terminal the most according to claim 6, it is characterised in that described terminal also includes that the second component call request response is single Unit, for when the running status of described intended application is for having been turned on, responds the request of described component call, and starting described target should With.
Terminal the most according to claim 6, it is characterised in that described terminal also includes white list judging unit, is used for sentencing Whether disconnected described intended application belongs to white list, the most then respond the request of described component call, start described intended application.
CN201610368284.9A 2016-05-27 2016-05-27 Application management method and terminal Withdrawn CN106055396A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610368284.9A CN106055396A (en) 2016-05-27 2016-05-27 Application management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610368284.9A CN106055396A (en) 2016-05-27 2016-05-27 Application management method and terminal

Publications (1)

Publication Number Publication Date
CN106055396A true CN106055396A (en) 2016-10-26

Family

ID=57175748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610368284.9A Withdrawn CN106055396A (en) 2016-05-27 2016-05-27 Application management method and terminal

Country Status (1)

Country Link
CN (1) CN106055396A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729745A (en) * 2017-10-24 2018-02-23 珠海市魅族科技有限公司 Data processing method, terminal, computer installation and computer-readable recording medium
CN107748698A (en) * 2017-11-21 2018-03-02 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with broadcast mode
CN107944258A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN107944257A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107729745A (en) * 2017-10-24 2018-02-23 珠海市魅族科技有限公司 Data processing method, terminal, computer installation and computer-readable recording medium
CN107748698A (en) * 2017-11-21 2018-03-02 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with broadcast mode
CN107944258A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service
CN107944257A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Start control method, device, storage medium and the terminal of application with method of service

Similar Documents

Publication Publication Date Title
CN106055396A (en) Application management method and terminal
CN104199669A (en) Method and device for managing application program processes
CN106201574A (en) A kind of startup method and device of application interface
CN105094279A (en) Method, apparatus and system for improving standby performance of intelligent terminal
CN106256116A (en) A kind of method controlling application program and terminal
CN109471711B (en) Task processing method and device
CN106203162B (en) A kind of method for secret protection and system of combining the two ways of dredging and plugging
CN106406944A (en) Control method and system for forbidding self-starting of application
CN104360846A (en) OSGi-based adaptive design method for authority management of Web application development platform based on OSGi
CN105094280A (en) Method, apparatus and system for improving standby performance of intelligent terminal
CN106528210A (en) Application running method and apparatus
CN106155789A (en) A kind of application freezing method and mobile terminal
CN106022108A (en) Synchronous management method and terminal device
CN106874048B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN106844026A (en) A kind of method and system for clearing up terminal device process
CN106874086B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN106874089A (en) A kind of processing method of application program self-starting, device and mobile terminal
CN104572394A (en) Process monitoring method and device
CN106843977A (en) A kind of processing method of application program self-starting, device and mobile terminal
CN110147674A (en) A kind of trusted system environment construction method and device of charging control unit
CN109657485B (en) Authority processing method and device, terminal equipment and storage medium
CN106022102A (en) Method and apparatus for preventing third-party pushing platform from starting application in background
CN106022110A (en) Method and device for identifying application of pushing platform
CN106022103A (en) Method and apparatus for preventing application from being started through pushing platform component
CN106155870A (en) The optimized treatment method of a kind of terminal, device and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20161026