CN104123162A - Method and device controlling self-starting of application programs - Google Patents

Method and device controlling self-starting of application programs Download PDF

Info

Publication number
CN104123162A
CN104123162A CN201410367202.XA CN201410367202A CN104123162A CN 104123162 A CN104123162 A CN 104123162A CN 201410367202 A CN201410367202 A CN 201410367202A CN 104123162 A CN104123162 A CN 104123162A
Authority
CN
China
Prior art keywords
application program
described application
opening
certainly
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410367202.XA
Other languages
Chinese (zh)
Other versions
CN104123162B (en
Inventor
唐淳
张越
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410367202.XA priority Critical patent/CN104123162B/en
Publication of CN104123162A publication Critical patent/CN104123162A/en
Application granted granted Critical
Publication of CN104123162B publication Critical patent/CN104123162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method and device controlling self-starting of application programs. The method comprises the steps that an application program layer monitors interfaces, used for calling modules corresponding to the application programs, in a frame layer through a monitoring module, obtains the information of the modules corresponding to the application programs by monitoring the interfaces, carries out matching in preset self-starting rules through the information of the modules, determines self-starting of the application programs if matching succeeds and informs the frame layer of control over self-starting of the application programs. According to the method and device controlling self-starting of the application programs, the interception range covers all modules, some rules are summarized by analyzing the behaviors of the modules, and therefore mistaken interception is reduced.

Description

Controlling application program is from the method and the device that open
Technical field
The present invention relates to terminal security technical field, be specifically related to a kind of controlling application program from the method and the device that open.
Background technology
It is the system based on assembly that Android (Android) system is one, and these assemblies comprise broadcast (broadcast assembly), provider (supplier's assembly), service (serviced component) and activity (movable component).Each Android software is to be formed by these parts assemblings, by configuring function and the behavior of these assemblies, just can realize software and be waken up by other assemblies in user or system.Under many circumstances, this behavior of waking up is not initiatively to be triggered by user, this behavior be referred to as application program from open or software from opening.The software of Android has been set out as not only serious reduction system cruising time certainly, the fluency of the system also greatly reducing.
At present, a lot of security firms have all added and have forbidden that Android software is from the function opening in product, but in implementation method, have very large defect.The 360 mobile phone bodyguards of take are example, and this fail-safe software prevents that by the broadcast assembly of forbidding third party software, from opening, this taboo exists following shortcoming from opening mode: 1. effectively identification software opens certainly.Now a lot of software (mobile phone QQ, Taobao, assistant's class software etc.) can realize backstage from opening by service assembly, and only using broadcast assembly as control point, cannot comprehensive monitoring software certainly set out into, this implementation cannot initiatively be waken software to distinguish up from opening with user in addition, greatly reduces user's experience.2. there is certain risk from the mode opening in this interception software.The anti-of disabling component is a kind of breakneck behavior from opening mode, once assembly is disabled, even if the manual wake-up packet of user also cannot be cancelled this disabled status containing the software of this assembly, if user has unloaded 360 mobile phone bodyguards, be prohibited so will enter permanent afunction state from the program opening.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of controlling application program that overcomes the problems referred to above or address the above problem at least in part from the method and the device that open.
According to one aspect of the present invention, provide a kind of controlling application program from the method opening, comprising: application layer is by monitoring module, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer; Described application layer, by monitoring described interface, gets module information corresponding to described application program; Described application layer utilizes described module information, preset, mates in certainly opening rule, if the match is successful, determines that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, describedly in preset coupling in certainly opening rule, comprise: by the running status of component type corresponding to described application program and/or described application program, determine that whether described application program is from opening.
Preferably, if determine that according to described module information described component type is broadcast assembly, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, described to notify described ccf layer to control certainly setting out of described application program be to comprise: by injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention from opening; After described application program is waken up by user, start described application program.
Preferably, if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
Preferably, also comprise: to user, send prompting message, prompting user stopped described application program certainly set out into; When user arranges, allow described application program when opening, described application layer notify described ccf layer no longer forbid described application program certainly set out into.
Preferably, if determine that according to described module information described component type is movable component or supplier's assembly, determine that described application program not opens certainly, do not forbid the startup behavior of described application program.
Preferably, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.
According to another aspect of the present invention, provide a kind of controlling application program from the device opening, comprising: monitoring unit, for passing through by application layer, monitor module, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer; Module information acquiring unit, for by monitoring described interface, gets module information corresponding to described application program; From opening control module, for utilizing described module information at described application layer, preset, mate in certainly opening rule, if the match is successful, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, described from open control module specifically for: by the running status of component type corresponding to described application program and/or described application program, determine that described application program is whether from opening.
Preferably, described from open control module specifically for: if according to described module information determine described component type be broadcast assembly, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, described from open control module specifically for: by injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention and certainly open; After described application program is waken up by user, start described application program.
Preferably, described from open control module specifically for: if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
Preferably, also comprise: Tip element, to user, send prompting message, prompting user stopped described application program certainly set out into; Described from open control module also for, when user arranges, allow described application program when opening, by described application layer notify described ccf layer no longer forbid described application program certainly set out into.
Preferably, described from open control module specifically for: if determine that according to described module information described component type is movable component or supplier's assembly, determine that described application program, not from opening, do not forbid the startup behavior of described application program.
Preferably, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.
As the analysis to prior art before, tradition forbids that application program is the broadcast assembly for application program from the method opening, but in fact can cause application program, from the assembly opening, also comprises activity, service and provider.In order to reach better interception result, the present invention expands to interception scope on all components, and goes out some rules by analyzing the activity-summary of these assemblies, reduces mistake interception.Concrete, application layer is responsible for transferring the interface of assembly corresponding to application program by monitoring ccf layer, get module information corresponding to application program; And utilize described module information, preset, mate in certainly opening rule, thereby determine that whether application program is from opening, and according to component type final decision whether forbid this certainly set out into.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the method flow diagram that controlling application program opens certainly according to an embodiment of the invention; And
Fig. 2 shows the embodiment of the method schematic diagram that controlling application program opens certainly according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
For the more efficiently application program that solves Android is from opening problem, the present invention proposes a kind of intelligentized controlling application program from the scheme opening.
It will be appreciated by those skilled in the art that operating system comprises application layer (app layer) and system framework layer (framework layer).A kind of preferred implementation of the present invention is app layer and framework layer to be improved, thereby utilize this two-layer coordinated to realize startup communication fast on intelligent terminal.Concrete, can increase by one at app layer and monitor module, thereby wake assembly up and realize application program from the operation of opening for monitoring framework layer, thereby can be in application program before opening, get and be responsible for application program from the relevant information of the assembly opening, and analyze the type of this assembly, according to what set in advance, certainly open rule, determine whether to forbid this application program from set out into.
Fig. 1 is that a kind of controlling application program of providing of the embodiment of the present invention is from the method flow diagram opening.The method comprising the steps of S101-S103.
S101:app layer is by monitoring module, to monitoring for transferring the interface of assembly corresponding to application program in framework layer.
Take Android system as example, before starting an application program, can first at framework layer analysis, go out to need the component Name starting, framework layer can record the information relevant to this application program launching simultaneously, such as the component Name being activated, the type of this assembly (being broadcast, activity, service or provider) etc.By injecting and java hook, the interface that just can record this information to framework layer is monitored, and this information is returned to the monitoring module (for example, mobile phone virus killing client) of app layer, then by this virus killing client decision, whether allowed the startup behavior of this application program.Therefore, in fact monitoring behavior is that app layer is realized by monitoring the interface interchange of framework layer.Because itself just provides the relevant information that is waken up assembly this interface, so only need to carry out a small amount of parsing to the data of obtaining from framework layer, can obtain.
Referring to Fig. 2, for the controlling application program of the embodiment of the present invention is from the embodiment of the method schematic diagram opening.The monitoring module of App layer is to monitoring for transferring the interface of assembly corresponding to application program in framework layer, and the data that listen to are mated with the preset rule that certainly opens, then according to matching result, return to framework layer, thereby make certainly opening of framework layer controlling application program.
Can adopt interrupt mechanism to realize monitors transferring the interface of assembly.Concrete, can adopt hook (hook or hook) mechanism to realize monitoring for transferring the interface of assembly in framework layer.Those skilled in the art understand, and hook mechanism allows application program to intercept and capture message or the particular event of processing operating system.Hook is actually the program segment of a processing messages, by system call, it is hung into system.Whenever specific message is sent, before not arriving object window, hook program is just first caught this message, that is the first controlled power of Hook Function.At this moment Hook Function can process this message of processing (change), also can not deal with and continue to transmit this message, can also force the transmission of end.In embodiments of the present invention, adopt hook mechanism to interrupt transferring the process of assembly corresponding to application program, realize in application program and obtained its module information before opening.
S102:app layer, by monitoring this interface, gets module information corresponding to application program.
Take Android system as example, and four large basic modules are respectively activity (movable component), broadcast (broadcast assembly), service (serviced component) and provider (supplier's assembly).
Below these four kinds of component type are briefly described.
(1) activity assembly
In application program, an activity is exactly an independent screen conventionally, can show that some controls also can monitor and process user's event and make response above it.
(2) broadcast assembly
Application program can be used broadcast to filter external event, thereby only interested external event (as when the phone incoming call, or data network is when available) is received and make response.Broadcast does not have user interface.Yet they can start an activity or service responds the information that they are received, or notify user with status bar manager (NotificationManager).Notice can attract by a variety of modes user's notice--and flash back of the body lamp, shake, play sound etc.In general be on status bar, to put a lasting icon, user can open it and obtain message.
(3) service assembly
A Service is the program that there is no user interface of segment length's life cycle, can be used for exploitation as monitoring class method.For example, a media player for played songs from playlist.In the application program of a media player, should have a plurality of activity, allow user can select song played songs.Yet this function of music playback does not have corresponding activity, because user can think that music should also play when navigating to other screen certainly.In this example, this activity of media player can be used Context.startService () to start a service, thereby can keep on backstage the broadcasting of music.Meanwhile, system also will keep this service to carry out always, until this service end of run.In addition, can also, by using Context.bindService () method, be connected to a service upper (if this service does not also move and will start it).After being connected to a service, communication is carried out in the interface can also service providing and it.With this example of media player, can also suspend, the operation such as replay.
(4) provider assembly
Android platform provides Content Provider (content provider), makes the specific data collection of an application program offer other application programs.These data can be stored in file system, at a SQLite database or with any other reasonable manner, other application programs can be obtained or deposit in data from this content provider by ContentResolver class, only have and need to when a plurality of application program data sharing, just need content provider.For example, address book data is used by a plurality of application programs, and must be stored in a content provider.Its benefit has been to unify the access mode of data.
The module information that the utilization of S103:app layer gets, mates in certainly opening rule preset, if the match is successful, determines that application program is from opening, and notify framework layer control this application program certainly set out into.
Step S103 comprises two key points, the one, need to judge that application program is whether from opening, then be how controlling application program certainly set out into.
First, according to component type, judge that whether application program is from opening.
As the analysis to prior art before, tradition forbids that application program is the broadcast assembly for application program from the method opening, but in fact can cause application program, from the assembly opening, also comprises activity, service and provider.In order to reach better interception result, the present invention expands to interception scope on all components, and goes out some rules by analyzing the activity-summary of these assemblies, reduces mistake interception.
As described before, by injecting and the means such as java hook, startup behavior that can each software of real-time listening, and can analyze the assembly that causes this software to be waken up.
Take a decision as to whether software certainly set out into time, can follow following rule:
(1) activity assembly
Activity assembly is visualization component, and the startup behavior of its initiation can not be blocked, because this behavior is many, by user, is triggered, and not software is from opening.
(2) broadcast assembly
Process in two kinds of situation.For example, if the software that comprises this broadcast assembly in running status (, after the success of virus killing client terminal start-up, can monitor the running status of each application program in mobile phone, when an assembly is activated, just can travel through this running status list, whether the application program that differentiation comprises this assembly is in running status.Concrete implementation method is injected each application program exactly, and an audiomonitor is set in this program), think that current startup behavior is not from opening, do not need to be blocked, this situation generally occurs in multi-process Android software.Otherwise, think from opening.
(3) service assembly
Discriminant approach and broadcast component class are seemingly.But the importance of service assembly generally will be higher than broadcast assembly, inappropriate interception very likely causes some running software abnormal, for fear of this situation, when certainly setting out of causing of service assembly is when being blocked, can further point out, guiding user completes the operation of expection.For example, the operation of expection generally has following several scene: such as when user pays in mobile phone Taobao, even if user has forbidden that Alipay is from opening, now he also wishes that Alipay can be waken up; Another scene is 360 mobile phone bodyguards and 360 mobile phone assistants, when these two application programs coexist, mobile phone bodyguard can constantly wake mobile phone assistant up by service assembly, if what user itself had just forbidden mobile phone assistant opens function certainly, so at this time user does not probably wish that mobile phone assistant is activated.According to concrete use scenes, user can produce different expections to prohibiting from the effect opening.
(4) provider assembly
The startup behavior that provider assembly is caused is not generally tackled.
By the application to above these rules, can judge more accurately application program whether exist from set out as, user's normal use is not caused to puzzlement again simultaneously.
After having determined whether application program opens certainly, take safe interception mode.
Traditional hold-up interception method may cause function of application disappearance, and for fear of this situation, the present invention proposes a set of new interception scheme.
(1) for broadcast assembly, no longer forbid this assembly, but realize dynamic broadcast and filter that (dynamic broadcast filtering is exactly: which can configure dynamically and be not applied in and can not receive broadcast under starting state by injecting critical processes system_server (system service) process of Android system, which can not accept broadcast), when software is not waken up, all broadcast of need to this broadcast assembly processing all can be simply discarded, and realizes prevention from opening; And after software is waken up by user, this filtration behavior will be stopped automatically, can not have any impact to the normal operation of software, safer.
(2) for service assembly, if find be from set out for; notify Android system to stop the operation of this software and give user pointing out accordingly, user can determine according to current user demand whether certain software needs to be prohibited from opening at any time.Wherein, " notice Android system stops the operation of this software " refers to: app layer is with interface mode notice framework layer; Inject after system_server process, can in this process, add a new service, mobile phone virus killing client can communicate with this service.Because this service operation, in system_server process, has the authority of killing any process, so mobile phone virus killing client only need to be called the operation that the interface of this service can stop certain software.For the sake of security, this interface does not directly stop running software, but completes by calling the interface of framework layer.
The interception mode combining by above-mentioned number of ways, can forbid that software is from opening safely and effectively.
With an object lesson, controlling application program provided by the invention is described from the method opening below.
Take and on QQ software, implement the present invention program as example, flow process is as follows:
1. user forbids the self-starting of QQ software in the mobile phone virus killing client of app layer, and QQ software is out of service;
2. in broadcast filtering list, add QQ, the now broadcast of all QQ of issuing softwares can be simply discarded;
3. when certain QQ Games Software need to be authorized by QQ, will attempt waking QQ up by service mode;
4.framework layer listens to QQ and attempts starting, and the assembly that starts this software is com.tencent.qq/com.tencent.qq.service, and the type of assembly is service, and framework layer sends to mobile phone virus killing client by this message;
5. banned self-starting of mobile phone virus killing client terminal to discover QQ software, will be by residing in the startup behavior of a service stopping QQ software in system_server; In order not cause puzzlement to user, can on screen, remind " 360 mobile phone virus killing clients have forbidden that QQ starts ";
6. after user finds to forbid that QQ starts, QQ game cannot normally move, will manually opened QQ software (from starter, open, open any software from starter, virus killing client is not tackled) or cancel and forbid QQ self-starting in mobile phone virus killing client;
7. user opens QQ game again, and QQ game is authorized to QQ application again, and start assembly remains com.tencent.qq/com.tencent.qq.service, and the type of assembly is service, and framework layer sends to mobile phone virus killing client by this message;
8. mobile phone virus killing client terminal to discover QQ has started or has been stopped taboo from opening, and directly lets pass, and stops filtering the broadcast of issuing this software.
Corresponding with said method, the present invention also provides a kind of controlling application program from the device opening.This device can be realized by hardware, software or software and hardware combining mode.This device can refer to the functional module of terminal inner, also can refer to terminal itself, as long as terminal comprises the function that realizes this device.Wherein, the operating system of terminal comprises ccf layer and application layer.This device comprises:
Monitoring unit, monitors module for passing through by application layer, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer;
Module information acquiring unit, for by monitoring described interface, gets module information corresponding to described application program;
From opening control module, for utilizing described module information at described application layer, preset, mate in certainly opening rule, if the match is successful, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, described from open control module specifically for: by the running status of component type corresponding to described application program and/or described application program, determine that described application program is whether from opening.
Preferably, described from open control module specifically for: if according to described module information determine described component type be broadcast assembly, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
Preferably, described from open control module specifically for: by injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention and certainly open; After described application program is waken up by user, start described application program.
Preferably, described from open control module specifically for: if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
Preferably, this device also comprises: Tip element, to user, send prompting message, prompting user stopped described application program certainly set out into; Described from open control module also for, when user arranges, allow described application program when opening, by described application layer notify described ccf layer no longer forbid described application program certainly set out into.
Preferably, described from open control module specifically for: if determine that according to described module information described component type is movable component or supplier's assembly, determine that described application program, not from opening, do not forbid the startup behavior of described application program.
Preferably, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that can use in practice microprocessor or digital signal processor (DSP) to realize the some or all parts in the device opening according to the controlling application program of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The invention provides following scheme:
A1, a kind of controlling application program, from the method opening, comprising:
Application layer is by monitoring module, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer;
Described application layer, by monitoring described interface, gets module information corresponding to described application program;
Described application layer utilizes described module information, preset, mates in certainly opening rule, if the match is successful, determines that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
A2, the method as described in A1, describedly comprise in preset coupling in certainly opening rule: by the running status of component type corresponding to described application program and/or described application program, determine that whether described application program is from opening.
A3, the method as described in A2, if determine that according to described module information described component type is broadcast assembly, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
A4, the method as described in A3, describedly notify described ccf layer to control certainly setting out as comprising of described application program:
By injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention and certainly open; After described application program is waken up by user, start described application program.
A5, the method as described in A2, if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
A6, the method as described in A5, also comprise:
To user, send prompting message, prompting user stopped described application program certainly set out into;
When user arranges, allow described application program when opening, described application layer notify described ccf layer no longer forbid described application program certainly set out into.
A7, the method as described in A2, if determine that according to described module information described component type is movable component or supplier's assembly, determine that described application program not opens certainly, do not forbid the startup behavior of described application program.
A8, the method as described in A1 to A7 any one, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.
B9, a kind of controlling application program, from the device opening, comprising:
Monitoring unit, monitors module for passing through by application layer, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer;
Module information acquiring unit, for by monitoring described interface, gets module information corresponding to described application program;
From opening control module, for utilizing described module information at described application layer, preset, mate in certainly opening rule, if the match is successful, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
B10, the device as described in B9, described from open control module specifically for: by the running status of component type corresponding to described application program and/or described application program, determine that described application program is whether from opening.
B11, the device as described in B10, described from open control module specifically for: if according to described module information determine described component type be broadcast assembly, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
B12, the device as described in B11, described from open control module specifically for: by injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention from opening; After described application program is waken up by user, start described application program.
B13, the device as described in B10, described from open control module specifically for: if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if, determine that described application program not opens certainly, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
B14, the device as described in B13, also comprise: Tip element, to user, send prompting message, prompting user stopped described application program certainly set out into; Described from open control module also for, when user arranges, allow described application program when opening, by described application layer notify described ccf layer no longer forbid described application program certainly set out into.
B15, the device as described in B14, described from open control module specifically for: if determine that according to described module information described component type is movable component or supplier's assembly, determine that described application program not opens certainly, do not forbid the startup behavior of described application program.
B16, the device as described in B9 to B16 any one, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.

Claims (10)

1. controlling application program, from the method opening, is characterized in that, comprising:
Application layer is by monitoring module, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer;
Described application layer, by monitoring described interface, gets module information corresponding to described application program;
Described application layer utilizes described module information, preset, mates in certainly opening rule, if the match is successful, determines that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
2. the method for claim 1, is characterized in that, describedly in preset coupling in certainly opening rule, comprises: by the running status of component type corresponding to described application program and/or described application program, determine that whether described application program is from opening.
3. method as claimed in claim 2, it is characterized in that, if determine that according to described module information described component type is broadcast assembly, further judge that whether described application program is in running status, if so, determine that described application program is not from opening, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
4. method as claimed in claim 3, is characterized in that, describedly notifies described ccf layer to control certainly setting out as comprising of described application program:
By injecting the system service process of ccf layer, realize dynamic broadcast and filter, when described application program is not waken up, abandon the broadcast that this broadcast assembly of all needs is processed, realize prevention and certainly open; After described application program is waken up by user, start described application program.
5. method as claimed in claim 2, it is characterized in that, if determine that according to described module information described component type is serviced component, further judge that whether described application program is in running status, if so, determine that described application program is not from opening, do not forbid the startup behavior of described application program, otherwise, determine that described application program is from opening, and notify described ccf layer stop described application program certainly set out into.
6. method as claimed in claim 5, is characterized in that, also comprises:
To user, send prompting message, prompting user stopped described application program certainly set out into;
When user arranges, allow described application program when opening, described application layer notify described ccf layer no longer forbid described application program certainly set out into.
7. method as claimed in claim 2, is characterized in that, if determine that according to described module information described component type is movable component or supplier's assembly, determines that described application program not opens certainly, does not forbid the startup behavior of described application program.
8. the method as described in claim 1 to 7 any one, it is characterized in that, the monitoring module of described application layer adopts the described interface that hook mechanism is interrupted in described ccf layer to transfer the process of assembly corresponding to described application program, thereby realizes the monitoring to described interface.
9. controlling application program, from the device opening, is characterized in that, comprising:
Monitoring unit, monitors module for passing through by application layer, to monitoring for transferring the interface of assembly corresponding to described application program in ccf layer;
Module information acquiring unit, for by monitoring described interface, gets module information corresponding to described application program;
From opening control module, for utilizing described module information at described application layer, preset, mate in certainly opening rule, if the match is successful, determine that described application program is from opening, and notify described ccf layer control described application program certainly set out into.
10. device as claimed in claim 9, is characterized in that, described from open control module specifically for: by the running status of component type corresponding to described application program and/or described application program, determine that described application program is whether from opening.
CN201410367202.XA 2014-07-29 2014-07-29 The method and device that control application program is opened certainly Active CN104123162B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410367202.XA CN104123162B (en) 2014-07-29 2014-07-29 The method and device that control application program is opened certainly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410367202.XA CN104123162B (en) 2014-07-29 2014-07-29 The method and device that control application program is opened certainly

Publications (2)

Publication Number Publication Date
CN104123162A true CN104123162A (en) 2014-10-29
CN104123162B CN104123162B (en) 2017-06-16

Family

ID=51768586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410367202.XA Active CN104123162B (en) 2014-07-29 2014-07-29 The method and device that control application program is opened certainly

Country Status (1)

Country Link
CN (1) CN104123162B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375869A (en) * 2014-11-28 2015-02-25 北京奇虎科技有限公司 Self-starting application control method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Method and device for application program starting authentication
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN105912094A (en) * 2016-04-18 2016-08-31 深圳市万普拉斯科技有限公司 Switch off wake up method and device
CN106126322A (en) * 2016-06-14 2016-11-16 深圳市万普拉斯科技有限公司 Method for controlling application starting and device
CN106155704A (en) * 2016-08-05 2016-11-23 硕诺科技(深圳)有限公司 A kind of method and system stoping application program mutually to wake up up
CN106201738A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 System broadcasts call method and device
CN106341732A (en) * 2016-09-27 2017-01-18 Tcl集团股份有限公司 Management method of desktop starter and intelligent television set
CN106383727A (en) * 2016-09-05 2017-02-08 深圳市金立通信设备有限公司 Recent task list clearing optimization method and terminal
CN106874085A (en) * 2017-01-09 2017-06-20 深圳市金立通信设备有限公司 A kind of management method and terminal for opening application certainly
CN106919460A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of method for controlling broadcast transmission, device and mobile terminal
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal
CN109144676A (en) * 2017-06-15 2019-01-04 阿里巴巴集团控股有限公司 A kind of self-starting detection method, device and the server of application program
WO2019061043A1 (en) * 2017-09-26 2019-04-04 深圳传音通讯有限公司 Intelligent control method, device and apparatus for terminal, and computer readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100989613B1 (en) * 2009-12-08 2010-10-26 (주)제이모바일 Terminal device for executing android application based non-android flatform
CN103019706A (en) * 2012-11-29 2013-04-03 北京奇虎科技有限公司 Method and device for processing startup item
CN103595766B (en) * 2013-10-23 2016-10-19 北京奇虎科技有限公司 Realize the method and device of the sending out notice of extension application
CN103595547B (en) * 2013-11-15 2016-07-13 北京奇虎科技有限公司 The broadcast hold-up interception method of smart machine and device
CN103577237B (en) * 2013-11-15 2017-09-05 北京奇虎科技有限公司 The control method and device of application program launching
CN103744503A (en) * 2014-01-08 2014-04-23 广州市久邦数码科技有限公司 Method and system for prohibiting automatic running of applications after boot
CN103823699A (en) * 2014-02-27 2014-05-28 广州视源电子科技股份有限公司 Method and device for controlling self-starting of application program

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375869A (en) * 2014-11-28 2015-02-25 北京奇虎科技有限公司 Self-starting application control method and device
CN104375869B (en) * 2014-11-28 2018-04-10 北京奇虎科技有限公司 Self-starting application control method and device
CN104462978A (en) * 2014-12-24 2015-03-25 北京奇虎科技有限公司 Method and device for application program authority management
CN104461725A (en) * 2014-12-30 2015-03-25 小米科技有限责任公司 Application process starting control method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN104462952B (en) * 2014-12-31 2017-11-10 北京奇虎科技有限公司 A kind of method and device forbidden using self-starting
CN105095746A (en) * 2015-07-02 2015-11-25 北京奇虎科技有限公司 Method and device for application program starting authentication
CN105095746B (en) * 2015-07-02 2018-06-19 北京奇虎科技有限公司 Application program launching method for authenticating and device
CN105159771A (en) * 2015-09-21 2015-12-16 北京奇虎科技有限公司 Method and apparatus for processing inter-application chain type start
CN105912094A (en) * 2016-04-18 2016-08-31 深圳市万普拉斯科技有限公司 Switch off wake up method and device
CN106126322A (en) * 2016-06-14 2016-11-16 深圳市万普拉斯科技有限公司 Method for controlling application starting and device
CN106201738A (en) * 2016-06-27 2016-12-07 北京小米移动软件有限公司 System broadcasts call method and device
CN106201738B (en) * 2016-06-27 2020-09-29 北京小米移动软件有限公司 System broadcast calling method and device
CN106155704A (en) * 2016-08-05 2016-11-23 硕诺科技(深圳)有限公司 A kind of method and system stoping application program mutually to wake up up
CN106383727A (en) * 2016-09-05 2017-02-08 深圳市金立通信设备有限公司 Recent task list clearing optimization method and terminal
CN106341732A (en) * 2016-09-27 2017-01-18 Tcl集团股份有限公司 Management method of desktop starter and intelligent television set
CN106874085A (en) * 2017-01-09 2017-06-20 深圳市金立通信设备有限公司 A kind of management method and terminal for opening application certainly
CN106919460A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 A kind of method for controlling broadcast transmission, device and mobile terminal
US11048568B2 (en) 2017-03-10 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Broadcast sending control method and apparatus, storage medium, and electronic device
CN109144676A (en) * 2017-06-15 2019-01-04 阿里巴巴集团控股有限公司 A kind of self-starting detection method, device and the server of application program
CN109144676B (en) * 2017-06-15 2022-05-17 阿里巴巴集团控股有限公司 Self-starting detection method and device of application program and server
WO2019061043A1 (en) * 2017-09-26 2019-04-04 深圳传音通讯有限公司 Intelligent control method, device and apparatus for terminal, and computer readable storage medium
CN107944277A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Using the control method of startup, device, storage medium and intelligent terminal
CN107944277B (en) * 2017-11-21 2020-07-31 Oppo广东移动通信有限公司 Application starting control method and device, storage medium and intelligent terminal

Also Published As

Publication number Publication date
CN104123162B (en) 2017-06-16

Similar Documents

Publication Publication Date Title
CN104123162A (en) Method and device controlling self-starting of application programs
US9953161B2 (en) Method, device and system for processing notification bar message
CN104156662B (en) Method, device and the intelligent terminal of process monitoring
CN104360794A (en) Method and device for controlling window pop-up through full screen-identifying mode
CN106256116B (en) A kind of method and terminal controlling application program
CN102347941B (en) A kind of safety applications control method based on open platform
CN104462980A (en) Authority management method, device and system of application programs and mobile terminal
CN106874089B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN104462952A (en) Method and device for preventing self-starting of application
CN102118749A (en) Network access control device for mobile terminal and mobile terminal equipment
CN107203369A (en) Bullet frame reminding method and device based on Android
CN103595766A (en) Method and device for achieving push notification of extensive application program
CN102279912A (en) Client program monitoring method and device and client
EP3270317A1 (en) Dynamic security module server device and operating method thereof
CN106874048B (en) A kind of processing method, device and the mobile terminal of application program self-starting
CN106406944A (en) Control method and system for forbidding self-starting of application
CN110865824A (en) Android permeation method and device for realizing silence installation based on barrier-free service
CN109117208A (en) Information sharing method, device, user terminal and readable storage medium storing program for executing
CN106874086A (en) A kind of processing method of application program self-starting, device and mobile terminal
CN105095749A (en) Status bar notification takeover method and device
CN102497479B (en) Method for smart phone to judge Trojprograms according to application software behaviors
CN104992116B (en) Monitoring method based on intent sniffer and system
CN103648049A (en) Method and device for achieving safe video play
CN113542256A (en) Method, device, equipment and storage medium for updating login credentials in client
CN107894907A (en) A kind of operating mode control method of terminal, terminal and computer-readable medium

Legal Events

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

Effective date of registration: 20220808

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

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

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