CN106127030A - A kind of interface control method and device - Google Patents

A kind of interface control method and device Download PDF

Info

Publication number
CN106127030A
CN106127030A CN201610464067.XA CN201610464067A CN106127030A CN 106127030 A CN106127030 A CN 106127030A CN 201610464067 A CN201610464067 A CN 201610464067A CN 106127030 A CN106127030 A CN 106127030A
Authority
CN
China
Prior art keywords
application
interface
module
terminal
identities
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610464067.XA
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610464067.XA priority Critical patent/CN106127030A/en
Publication of CN106127030A publication Critical patent/CN106127030A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of interface control method and device;Described method includes: receive the startup request of application interface, determine the destination application initiating this startup request, judge that destination application is currently the most whether at the front stage operation of terminal, if destination application is not currently in terminal front stage operation, then destination application is mated with default application program, to obtain matching result, control the startup of application interface according to matching result;This programme may determine that initiates the background application that application interface starts, and be actuated for controlling to this application interface, it is prevented from malicious application and starts application interface on backstage, intercepted unwanted pop-up interface, so that the safety of terminal is greatly improved.

Description

A kind of interface control method and device
Technical field
The present invention relates to communication technical field, be specifically related to a kind of interface control method and device.
Background technology
Universal along with intelligent terminal, more and more users use intelligent terminal to carry out learning, amusement etc., not only enrich User lives, and also brings advantage to the user, and the application program of the most various intelligent terminal is also developed, with satisfied use The different application demand at family.
As a example by intelligent terminal based on android system, normal application interface starts, it is necessary to start a correspondence Activity (interface) assembly, this activity assembly can be being created when, according to the interface layout files of self, Generate a corresponding interface, and in system administration services, an activity assembly corresponding to application interface will be started, logical Often will have a unified entrance, this entrance is exactly in ActivityManagerService (system service) StartActivity function.
But due to the opening of android system, system to call startActivity function carry out startup interface time, right Whom caller is, caller is at foreground/background, and these aspects do not limit, and therefore has some malicious application and utilizes this point Application interface is started at Background scheduling startActivity function, such as, some malicious application bullet on a terminal screen Go out some prompting frame or harassing of advertisement user, some link informations of the advertisement suspended window of malice also carry the most dangerous Factor, such as trojan horse, if user's imprudence clicks on this link information, may cause the leakage of individual privacy information etc., Or electronic device systemic breakdowns etc., safety is poor.
Summary of the invention
The embodiment of the present invention provides a kind of interface control method and device, can control startup and the closedown of application interface, Improve the safety of terminal unit.
The embodiment of the present invention provides a kind of interface control method, including:
Receive the startup request of application interface;
Determine and initiate the described destination application starting request;
Judge that described destination application is currently the most whether at the front stage operation of terminal;
If described destination application is not currently in described terminal front stage operation, then by described destination application with default Application program mates, to obtain matching result;
The startup of described application interface is controlled according to described matching result.
Further, described judge that described destination application is currently the most just the most concrete in the step of the front stage operation of terminal Including:
Obtain the foreground application mark that foreground application that described terminal is currently running is corresponding, with obtain foreground should Use logo collection;
Judge whether there is the application identities identical with intended application mark in the middle of described foreground application logo collection, its In, described intended application is designated the application identities that described destination application is corresponding;
If existing, it is determined that described destination application is currently at the front stage operation of described terminal;
If not existing, it is determined that described destination application is not currently in the front stage operation of described terminal.
Further, described described destination application is mated with default application program, to obtain matching result Step specifically include:
Intended application mark being compared with the application identities presetting application program, wherein, described intended application identifies For the application identities that described destination application is corresponding;
If described intended application mark is identical with the application identities of described default application program, it is determined that the match is successful;
If described intended application mark differs with the application identities of described default application program, it is determined that it fails to match.
Further, before the startup of described reception application interface is asked, described method also includes:
Obtain the user behavior characteristic information of candidate's application program in candidate's pool of applications;
From described candidate's pool of applications, default application program is selected according to described user behavior characteristic information;
Obtain the default application identities that described default application program is corresponding.
Further, the step of the described startup controlling described application interface according to described matching result specifically includes:
If described matching result is that it fails to match, then stop the startup of described application interface;
If described matching result is that the match is successful, then start described application interface.
Further, after the startup of the described application interface of described prevention is asked, described method also includes:
Generating information according to described intended application mark, described information carries described intended application mark;
Described information is shown the screen to described terminal.
The embodiment of the present invention additionally provides a kind of screen control device, including: receiver module, application determine module, judgement Module, matching module and processing module;
Described receiver module, for receiving the startup request of application interface;
Described application determines module, initiates the described destination application starting request for determining;
Described judge module, for judging that described destination application is currently the most whether at the front stage operation of terminal;
Described matching module, for before described judge module judges that described destination application is not currently in described terminal When platform runs, described destination application is mated with default application program, to obtain matching result;
Described processing module, for controlling the startup of described application interface according to described matching result.
Further, described judge module specifically includes: obtains submodule and first and judges submodule;
Described acquisition submodule, should for the foreground obtaining foreground application that described terminal is currently running corresponding By mark, to obtain foreground application logo collection;
Described first judges submodule, is used for judging whether exist and intended application in the middle of described foreground application logo collection Identifying identical application identities, wherein, described intended application is designated the application identities that described destination application is corresponding, if depositing , it is determined that described destination application is currently at the front stage operation of described terminal, if not existing, it is determined that described intended application Program is not currently in the front stage operation of described terminal.
Further, described matching module, specifically for by intended application mark and the application identities presetting application program Comparing, wherein, described intended application is designated the application identities that described destination application is corresponding, if described intended application Identify identical with the application identities of described default application program, it is determined that the match is successful, if described intended application identifies with described The application identities presetting application program differs, it is determined that it fails to match.
Further, described device also includes: feature acquisition module, choose module and identifier acquisition module;
Described feature acquisition module, before receive the startup request of application interface at described receiver module, obtains and waits Select the user behavior characteristic information of candidate's application program in pool of applications;
Described choose module, for choosing from described candidate's pool of applications according to described user behavior characteristic information Go out default application program;
Described identifier acquisition module, for obtaining the default application identities that described default application program is corresponding.
First the embodiment of the present invention receives the startup request of application interface, determines the intended application journey initiating this startup request Sequence, it is judged that the most whether destination application is at the front stage operation of terminal, if destination application is not currently in terminal foreground fortune OK, then destination application is mated with default application program, to obtain matching result, control application according to matching result The startup at interface;This programme may determine that initiates the background application that application interface starts, and the startup to this application interface It is controlled, it is possible to prevent malicious application from starting application interface on backstage, has intercepted unwanted pop-up interface, so that The safety of terminal is greatly improved.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing be briefly described, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for From the point of view of those skilled in the art, on the premise of not paying creative work, it is also possible to obtain the attached of other according to these accompanying drawings Figure.
The schematic flow sheet of a kind of interface control method that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of a kind of mobile phone interface control method that Fig. 2 provides for the embodiment of the present invention two;
Fig. 3 controls the structural representation of device for a kind of mobile phone interface that the embodiment of the present invention three provides;
Fig. 4 controls the structural representation of device for the second mobile phone interface that the embodiment of the present invention three provides.
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 only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under not making creative work premise Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of interface control method and device.To be described in detail respectively below.
Embodiment one,
The present embodiment will be described from the angle of interface control device, and this interface control device specifically can be integrated in end In end, this terminal can be mobile internet device (such as smart mobile phone, panel computer), Intelligent worn device (such as intelligent watch) Etc. each class of electronic devices.
Refer to the schematic flow sheet of a kind of interface control method that Fig. 1, Fig. 1 provide, this reality for the embodiment of the present invention one The interface control method executing example includes:
Step S101, receives the startup request of application interface.
Concrete, the startup request of this application interface can have multiple generating mode, such as user by clicking on terminal table Face icon generates startup request, or terminal by certain operation corresponding time automatically generate startup and ask, such as alarm clock, music Prompting, motion prompting etc., it is also possible to generate startup request by some background application.
Such as, when running QQ in the backstage of terminal, if QQ receives message, then can generate application according to this QQ message The startup request at interface, this startup request is used for generating message interface and showing the screen in terminal,
Step S102, determines the destination application initiating to start request.
Concrete, the present embodiment obtains the method for the destination application initiating above-mentioned startup request can be had multiple, than As obtained above-mentioned startup request, and extracting the attribute information of this startup request, wherein, this attribute information can include application interface Caller, i.e. initiate application interface start request application program, it is also possible to include the callee of application interface, i.e. to open The application program that dynamic application interface is corresponding, the most above-mentioned step determining the destination application initiating startup request can be concrete Including:
Extract the attribute information of above-mentioned startup request;
The destination application initiating to start request is determined according to above-mentioned attribute information.
Such as, the destination application that the QQ message pop-up of example from above starts corresponding to request is Tencent QQ.Certainly, When some application A needs to have adjusted or shown a visualization application interface a, this application interface a can be application journey The interface of sequence A, it is also possible to be the interface of other application programs such as application program B;Same, application interface starts in request Application interface a is probably by the application A initiation corresponding with this application interface, it is also possible to by other application programs such as Application program B initiates.
Step S103, it is judged that currently the most above-mentioned destination application at the front stage operation of terminal, the most then performs step S106, if it is not, then perform step S104.
Concrete, can first obtain current just at the application program of terminal front stage operation, it should be noted that current at end The application program of end front stage operation can be an application program, it is also possible to (such as grasped by mobile phone split screen for multiple application programs Make to run multiple application program simultaneously), it is judged that above-mentioned destination application whether with current the most just at terminal front stage operation should Identical by program or identical with current just in multiple application programs of terminal front stage operation.
Further, above-mentioned steps can be by the application program of the application identities of destination application and current operation Application identities contrasts, and according to comparing result judge destination application currently the most whether at the front stage operation of terminal, wherein, This application identities can be the attribute information of application program, such as application name, installation path information etc., that is, on State and judge that the destination application step the most just at the front stage operation of terminal can specifically include:
Obtain the foreground application mark that the foreground application that is currently running of terminal is corresponding, to obtain foreground application mark Know set;
Judge whether to exist in the middle of foreground application logo collection the application identities identical with intended application mark, wherein, be somebody's turn to do Intended application is designated the application identities that destination application is corresponding;
If existing, it is determined that destination application is currently at the front stage operation of terminal;
If not existing, it is determined that destination application is not currently in the front stage operation of terminal.
Step S104, mates destination application with default application program, to obtain matching result.
Concrete, it can be determined that the intended application of this destination application identifies whether with to preset application identities identical, or Person is identical with in multiple default application identities, if, it is determined that this destination application is default application program, namely Described described destination application is mated with default application program, specifically includes obtaining the step of matching result:
Intended application mark being compared with the application identities presetting application program, wherein, intended application is designated institute State the application identities that destination application is corresponding;
If intended application mark is identical with the application identities presetting application program, it is determined that the match is successful;
If intended application mark differs with the application identities presetting application program, it is determined that it fails to match.
Wherein, the mark of above-mentioned default application program can be that the characteristic information that terminal uses according to user automatically generates, Such as the characteristic information of terminal can also be used to automatically generate according to user preset application mark for generate according to user setup Knowing, i.e. before the startup request receiving application interface, this method can also include:
Obtain the user behavior characteristic information of multiple application programs in terminal;
From multiple application programs, default application program is determined according to user behavior characteristic information;
Obtain and preset the default application identities that application program is corresponding.
Wherein, above-mentioned user's characteristic information can be the use habit of user, is such as should in terminal within a time period By the number of starts of program, operation duration of application program etc., with above-mentioned user behavior characteristic information opening as application program As a example by dynamic number of times, the number of starts in one section of preset time period can be obtained and be default answering more than the application program of predetermined threshold value By program, extract the default application identities of this default application program.
In the middle of other embodiments, above-mentioned default application identities can also generate according to user setup, namely above-mentioned Before receiving the startup request of application interface, this method can also include:
Reception user setup is asked, and application identification information is preset in the request instruction of this user setup;
Default application identities is determined according to above-mentioned default application identification information.
Step S105, controls the startup of described application interface according to matching result.
In embodiments of the present invention, the step of the above-mentioned startup controlling described application interface according to matching result can be concrete Including:
If matching result is that it fails to match, then stop the startup of application interface;
If matching result is that the match is successful, then start described application interface.
Such as, if above-mentioned default application program be allow start application interface application program, preset application identities namely Application program " white list ", if judging, the application identities of destination application not in this " white list ", then stops above-mentioned application The startup at interface, such as intercepts or ignores the startup request of above-mentioned application interface.
Optionally, in other examples, above-mentioned default application program can also be for not allowing to start application interface Application program, presets application identities namely application program " blacklist ", if judging, the application identities of destination application is " black at this List " in, then stop the startup of above-mentioned application interface to be asked.
Preferably, after the step that above-mentioned prevention application interface starts, it is also possible to generate information, this information Comprise the identification information of destination application, and show to the display screen of terminal, such as, by message box or on status bar Face shows, namely after stoping the startup of application interface, this method can also include:
Generating information according to intended application mark, information carries intended application mark;
The information of will be prompted to shows the screen to terminal.
Step S106, is not further processed, namely allows above-mentioned startup request to start application interface.
Optionally, the method that the embodiment of the present invention provides can also arrange one and control switch, is used for controlling above-mentioned interface Control the switch of function, can freely be selected by user, add motility for this programme.
From the foregoing, it will be observed that the embodiment of the present invention uses the startup request receiving application interface, determine and initiate this startup request Destination application, it is judged that the most whether destination application is at the front stage operation of terminal, if destination application is not currently in Terminal front stage operation, then mate destination application with default application program, to obtain matching result, according to coupling knot Fruit controls the startup of application interface;This programme may determine that initiates the background application that application interface starts, and to this application Interface be actuated for control, it is possible to prevent malicious application from starting application interface on backstage, intercepted unwanted pop-up Interface, so that the safety of terminal is greatly improved, makes user have again preferably experience.
Embodiment two,
The present embodiment will be on the basis of embodiment one, as a example by smart mobile phone, for by calling startActivity Function carrys out this situation of startup interface, and the interface control method providing the present invention is described further, and refer to Fig. 2, this reality The interface control method that executing example provides includes:
Step S201, smart mobile phone receives application interface and starts request.
Wherein, the startup request of this application interface can have multiple generating mode, such as user by clicking on smart mobile phone Desktop icons generate startup request, or mobile phone by certain operation corresponding time automatically generate startup and ask, such as alarm clock, sound Happy prompting, motion prompting etc., it is also possible to generate startup request by some background application.
Step S202, obtains the caller bag name of this startup request by process entrance function startActivity.
Wherein, above-mentioned caller bag name is the intended application mark in the middle of embodiment one, and such as, intelligent terminal system exists Increase application interface before and after startActivity function in system service ActivityManagerService and start testing machine System, application interface start testing mechanism can obtain startup process entrance function startActivity caller, The type parameters such as callingPackage, intent, get caller bag name, callee bag name, the boundary that i.e. will start Face component Name etc., wherein, above-mentioned caller is the application program triggering and starting application interface, and callee is application interface Belonging application program.
Step S203, it is judged that above-mentioned caller Bao Mingyu foreground application bag name is the most identical, if it is not, then perform step S204, the most then perform step S206.
Concrete, above-mentioned application interface starts testing mechanism, first passes through ActivityManagerService system clothes Business gets the current application bag name on foreground, and then the caller bag name with interface to be started compares, if Identical, then judge that above-mentioned request is the request of foreground initiation interface, at this moment, it is allowed to start;Otherwise, it is judged that be that backstage startup interface please Ask, need to determine whether.
Step S204, it is judged that call application program whether in the middle of white list, if it is not, then perform step S205, the most then Perform step S206.
Concrete, can determine according to above-mentioned caller bag name and call application program.Above-mentioned white list is unrestricted Application list, can arrange white list according to the use habit of user, and this use habit can be terminal within a time period The number of starts of middle application program, operation duration of application program etc., with above-mentioned user behavior characteristic information as application program The number of starts as a example by, in the one section of preset time period number of starts application program more than predetermined threshold value can be obtained, extract The application identities of this application program, determines white list according to this application identities.The startup of the most above-mentioned reception application interface asks it Before, this method also includes:
Obtain the user behavior characteristic information of candidate's application program in candidate's pool of applications;
From candidate's pool of applications, default application program is selected according to user behavior characteristic information;
Obtain and preset the default application identities that application program is corresponding.
Step S205, smart mobile phone stops the startup of above-mentioned application interface.
Preferably, when application interface starts the request of testing mechanism refusal backstage startup interface, if caller needs Obtaining return value, the request that can return caller is rejected information, anti-locking system or application and blocks;It addition, refusal is passed through Background interface start request, can print log and reporting system service ActivityManagerService, intelligent terminal be System aspect is it is known that it is to be employed interface startup testing mechanism to be intercepted that background interface starts request action.
Optionally, in other examples, it is also possible to arrange blacklist, this blacklist is not for allowing to start application interface Application program, if judging, the application identities of destination application in this " blacklist ", then stops opening of above-mentioned application interface Dynamic request
Step S206, is not further processed, namely allows above-mentioned startup request to start application interface.
Concrete, in the middle of step S203, judge caller Bao Mingyu foreground application bag famous prime minister simultaneously, namely this calls and answers By program just when front stage operation, it is allowed to above-mentioned startup request starts application interface;Or in the middle of step S204, determine tune With application program in white list, it is also possible to allow above-mentioned startup request to start application interface.
Step S207, smart mobile phone generates information by status bar and notifies user.
After the step that above-mentioned prevention application interface starts, it is also possible to generating information, this information comprises mesh The identification information of mark application program, and show to the display screen of terminal, such as system can be notified by status bar or toast Prompting user knows.
Optionally, the method that the embodiment of the present invention provides can also arrange one and control switch, is used for controlling above-mentioned interface Control the switch of function, user freely select, add motility for this programme.
From the foregoing, it will be observed that the embodiment of the present invention uses smart mobile phone to receive application interface starts request, by process entrance letter Number startActivity obtains the caller bag name of this startup request, it is judged that above-mentioned caller Bao Mingyu foreground application bag name is No identical, if it is not, then judge to call application program whether in the middle of white list, if judging to call application program not in above-mentioned white name In the middle of single, then smart mobile phone stops the startup of application interface, and notifies user by status bar generation information;This programme can Initiate, to determine, the background application that application interface starts, and be actuated for this application interface controlling, it is possible to prevent from disliking Meaning application program starts application interface on backstage, has intercepted unwanted pop-up interface, so that the safety of terminal carries significantly Height, makes user have again preferably experience.
Embodiment three,
In order to preferably implement above method, the embodiment of the present invention will provide a kind of Interface Control on the basis of said method Device, this interface control device specifically can integrated in the terminal, this terminal can be mobile internet device (as intelligence hands Machine, panel computer), each class of electronic devices such as Intelligent worn device (such as intelligent watch).
Referring to Fig. 3, this interface control device includes: receiver module 301, application determine module 302, judge module 303, Matching module 304 and processing module 305 are as follows:
This receiver module 301, for receiving the startup request of application interface;
This application determines module 302, for determining the destination application initiating to start request;
This judge module 303, for judging that destination application is currently the most whether at the front stage operation of terminal;
When judge module 303, this matching module 304, for judging that destination application is not currently in terminal front stage operation Time, destination application is mated with default application program, to obtain matching result;
This processing module 305, for controlling the startup of application interface according to above-mentioned matching result.
Wherein, above-mentioned processing module 305, specifically for when it fails to match for matching module 304, stop opening of application interface Dynamic, when the match is successful for matching module 304, start application interface.
Wherein, above-mentioned judge module 303 specifically includes: obtains submodule and first and judges submodule;
This acquisition submodule, for obtaining the foreground application mark that foreground application that terminal is currently running is corresponding Know, to obtain foreground application logo collection;
This first judges submodule, is used for judging whether exist in the middle of foreground application logo collection and intended application mark phase Same application identities, wherein, intended application is designated the application identities that destination application is corresponding, if existing, it is determined that target Application program is currently at the front stage operation of terminal, if not existing, it is determined that destination application is not currently in the foreground fortune of terminal OK.
Above-mentioned matching module 304, specifically for comparing the application identities of intended application mark with default application program Relatively, wherein, intended application is designated the application identities that destination application is corresponding, if intended application identifies and presets application program Application identities identical, it is determined that the match is successful, if intended application mark differ, then with the application identities presetting application program Determine that it fails to match.
Preferably, referring to Fig. 4, the interface control device that the embodiment of the present invention provides can also include: feature obtains mould Block 306, choose module 307 and identifier acquisition module 308;
This feature acquisition module 306, before receive the startup request of application interface at receiver module, obtaining candidate should With the user behavior characteristic information of candidate's application program in collection of programs;
This chooses module 307, for selecting default from candidate's pool of applications according to user behavior characteristic information Application program;
This identifier acquisition module 308, for obtaining the default application identities that default application program is corresponding.
Further, this device can also include: generation module 309 and display module 310;
This generation module 309, after stop the startup of application interface in processing module, raw according to intended application mark Becoming information, information carries intended application mark.
Display module 310, shows the screen to terminal for will be prompted to information.
From the foregoing, it will be observed that the embodiment of the present invention uses receiver module 301 to receive the startup request of application interface, application determine Module 302 obtains the destination application initiating this startup request, it is judged that module 303 judges that currently the most whether destination application exists The front stage operation of terminal, if destination application is not currently in terminal front stage operation, then by matching module 304 by intended application journey Sequence is mated with default application program, and to obtain matching result, processing module 305 controls application circle according to above-mentioned matching result The startup in face;This programme may determine that initiates the background application that application interface starts, and the startup to this application interface is entered Row controls, it is possible to prevents malicious application from starting application interface on backstage, has intercepted unwanted pop-up interface, so that eventually The safety of end is greatly improved, and makes user have again preferably experience.
When being embodied as, above modules can realize as independent entity, it is also possible to carries out combination in any, makees Realize for same or several entities, the embodiment of the method being embodied as can be found in above of above modules, at this not Repeat again.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or Part steps can be by program and completes to instruct relevant hardware, and this program can be stored in computer-readable storage medium In matter, as being stored in the memorizer of terminal, and performed by least one processor in this terminal, can wrap in the process of implementation Include the flow process of the embodiment such as information issuing method.Wherein, storage medium may include that read only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
A kind of interface control method and the device that there is provided the embodiment of the present invention above are described in detail, its each function Module can be integrated in one and process in chip, it is also possible to be that modules is individually physically present, it is also possible to two or two with Upper module is integrated in a module.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software The form of functional module realizes.Principle and the embodiment of the present invention are set forth by specific case used herein, with The explanation of upper embodiment is only intended to help to understand method and the core concept thereof of the present invention;Technology simultaneously for this area Personnel, according to the thought of the present invention, the most all will change, in sum, and this theory Bright book content should not be construed as limitation of the present invention.

Claims (10)

1. an interface control method, it is characterised in that comprise the following steps:
Receive the startup request of application interface;
Determine and initiate the described destination application starting request;
Judge that described destination application is currently the most whether at the front stage operation of terminal;
If described destination application is not currently in described terminal front stage operation, then described destination application is applied with presetting Program is mated, to obtain matching result;
The startup of described application interface is controlled according to described matching result.
2. the method for claim 1, it is characterised in that described judge that described destination application is current the most eventually The step of the front stage operation of end specifically includes:
Obtain the foreground application mark that foreground application that described terminal is currently running is corresponding, to obtain foreground application mark Know set;
Judge whether to exist in the middle of described foreground application logo collection the application identities identical with intended application mark, wherein, institute State intended application and be designated the application identities that described destination application is corresponding;
If existing, it is determined that described destination application is currently at the front stage operation of described terminal;
If not existing, it is determined that described destination application is not currently in the front stage operation of described terminal.
3. the method for claim 1, it is characterised in that described described destination application is entered with default application program Row coupling, specifically includes obtaining the step of matching result:
Intended application mark being compared with the application identities presetting application program, wherein, described intended application is designated institute State the application identities that destination application is corresponding;
If described intended application mark is identical with the application identities of described default application program, it is determined that the match is successful;
If described intended application mark differs with the application identities of described default application program, it is determined that it fails to match.
4. method as claimed in claim 3, it is characterised in that before the startup of described reception application interface is asked, described Method also includes:
Obtain the user behavior characteristic information of candidate's application program in candidate's pool of applications;
From described candidate's pool of applications, default application program is selected according to described user behavior characteristic information;
Obtain the default application identities that described default application program is corresponding.
5. method as claimed in claim 3, it is characterised in that described control described application interface according to described matching result The step started specifically includes:
If described matching result is that it fails to match, then stop the startup of described application interface;
If described matching result is that the match is successful, then start described application interface.
6. the method for claim 1, it is characterised in that after the startup of the described application interface of described prevention is asked, Described method also includes:
Generating information according to described intended application mark, described information carries described intended application mark;
Described information is shown the screen to described terminal.
7. an interface control device, it is characterised in that including: receiver module, application determine module, judge module, coupling mould Block and processing module;
Described receiver module, for receiving the startup request of application interface;
Described application determines module, initiates the described destination application starting request for determining;
Described judge module, for judging that described destination application is currently the most whether at the front stage operation of terminal;
When described judge module, described matching module, for judging that described destination application is not currently in described terminal foreground fortune During row, described destination application is mated with default application program, to obtain matching result;
Described processing module, for controlling the startup of described application interface according to described matching result.
8. interface control device as claimed in claim 7, it is characterised in that described judge module specifically includes: obtain submodule Block and first judges submodule;
Described acquisition submodule, for obtaining the foreground application mark that foreground application that described terminal is currently running is corresponding Know, to obtain foreground application logo collection;
Whether described first judges submodule, be used for judging to exist in the middle of described foreground application logo collection identifying with intended application Identical application identities, wherein, described intended application is designated the application identities that described destination application is corresponding, if existing, Then determine described destination application currently at the front stage operation of described terminal, if not existing, it is determined that described intended application journey Sequence is not currently in the front stage operation of described terminal.
9. interface control device as claimed in claim 7, it is characterised in that
Described matching module, specifically for intended application mark and the application identities presetting application program being carried out those tables, wherein, Described intended application is designated the application identities that described destination application is corresponding, if described intended application mark is preset with described The application identities of application program is identical, it is determined that the match is successful, if described intended application mark and described default application program Application identities differs, it is determined that it fails to match.
10. interface control device as claimed in claim 9, it is characterised in that described device also includes: feature acquisition module, Choose module and identifier acquisition module;
Described feature acquisition module, before receive the startup request of application interface at described receiver module, obtaining candidate should With the user behavior characteristic information of candidate's application program in collection of programs;
Described choose module, for selecting pre-from described candidate's pool of applications according to described user behavior characteristic information If application program;
Described identifier acquisition module, for obtaining the default application identities that described default application program is corresponding.
CN201610464067.XA 2016-06-22 2016-06-22 A kind of interface control method and device Pending CN106127030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610464067.XA CN106127030A (en) 2016-06-22 2016-06-22 A kind of interface control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610464067.XA CN106127030A (en) 2016-06-22 2016-06-22 A kind of interface control method and device

Publications (1)

Publication Number Publication Date
CN106127030A true CN106127030A (en) 2016-11-16

Family

ID=57269113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610464067.XA Pending CN106127030A (en) 2016-06-22 2016-06-22 A kind of interface control method and device

Country Status (1)

Country Link
CN (1) CN106127030A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329763A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Application program interface display method and device, electronic equipment and storage medium
CN107894909A (en) * 2017-11-30 2018-04-10 北京小米移动软件有限公司 Limit method, apparatus and storage medium that Activity starts
CN107908448A (en) * 2017-11-01 2018-04-13 北京小米移动软件有限公司 The processing method and device of Toast message
WO2019100869A1 (en) * 2017-11-21 2019-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Processing method, device and storage medium for implementing automatic startup
CN109947503A (en) * 2019-03-27 2019-06-28 重庆传音通讯技术有限公司 Application control method, device, terminal and computer readable storage medium
CN110135163A (en) * 2019-03-28 2019-08-16 江苏通付盾信息安全技术有限公司 A kind of safety detection method based on target application, apparatus and system
CN111026479A (en) * 2019-11-25 2020-04-17 深圳传音控股股份有限公司 Interface switching method, terminal and computer readable storage medium
CN111095211A (en) * 2017-10-13 2020-05-01 华为技术有限公司 Application starting control method and user terminal
CN111752632A (en) * 2020-06-01 2020-10-09 Oppo(重庆)智能科技有限公司 Control method and device of mobile terminal, mobile terminal and storage medium
CN112306313A (en) * 2019-07-30 2021-02-02 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium
CN114003913A (en) * 2021-12-28 2022-02-01 支付宝(杭州)信息技术有限公司 Operation control method and device for application program
CN116048325A (en) * 2022-06-30 2023-05-02 荣耀终端有限公司 Processing method for abnormal behavior of application, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138448A1 (en) * 1998-11-24 2005-06-23 Microsoft Corporation System and method for terminating applications
CN104077521A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Information processing method and device
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN105512549A (en) * 2015-12-02 2016-04-20 珠海市君天电子科技有限公司 Application program intercepting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050138448A1 (en) * 1998-11-24 2005-06-23 Microsoft Corporation System and method for terminating applications
CN104077521A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Information processing method and device
CN104598315A (en) * 2014-12-12 2015-05-06 广州三星通信技术研究有限公司 Memory managing method, device and terminal
CN104462952A (en) * 2014-12-31 2015-03-25 北京奇虎科技有限公司 Method and device for preventing self-starting of application
CN105512549A (en) * 2015-12-02 2016-04-20 珠海市君天电子科技有限公司 Application program intercepting method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
任成鑫: "《WINDOWS 10中文版操作系统 从入门到精通》", 31 January 2016, 中国青年出版社 *
张英全: "《新手学上网无师自通》", 31 January 2012, 清华大学出版社 *
范怀宇: "《Android开发精要》", 31 August 2012, 机械工业出版社 *

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107329763B (en) * 2017-06-30 2020-12-18 北京金山安全软件有限公司 Application program interface display method and device, electronic equipment and storage medium
CN107329763A (en) * 2017-06-30 2017-11-07 北京金山安全软件有限公司 Application program interface display method and device, electronic equipment and storage medium
CN111095211A (en) * 2017-10-13 2020-05-01 华为技术有限公司 Application starting control method and user terminal
CN111095211B (en) * 2017-10-13 2024-05-14 华为技术有限公司 Control method for application starting and user terminal
CN107908448A (en) * 2017-11-01 2018-04-13 北京小米移动软件有限公司 The processing method and device of Toast message
WO2019100869A1 (en) * 2017-11-21 2019-05-31 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Processing method, device and storage medium for implementing automatic startup
US10956176B2 (en) 2017-11-21 2021-03-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Processing method, device and storage medium for implementing automatic startup
CN107894909B (en) * 2017-11-30 2020-06-02 北京小米移动软件有限公司 Method, device and storage medium for limiting Activity starting
CN107894909A (en) * 2017-11-30 2018-04-10 北京小米移动软件有限公司 Limit method, apparatus and storage medium that Activity starts
CN109947503A (en) * 2019-03-27 2019-06-28 重庆传音通讯技术有限公司 Application control method, device, terminal and computer readable storage medium
CN110135163A (en) * 2019-03-28 2019-08-16 江苏通付盾信息安全技术有限公司 A kind of safety detection method based on target application, apparatus and system
CN112306313A (en) * 2019-07-30 2021-02-02 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium
CN112306313B (en) * 2019-07-30 2022-08-02 Oppo广东移动通信有限公司 Interface display method, device, terminal and storage medium
CN111026479A (en) * 2019-11-25 2020-04-17 深圳传音控股股份有限公司 Interface switching method, terminal and computer readable storage medium
CN111752632A (en) * 2020-06-01 2020-10-09 Oppo(重庆)智能科技有限公司 Control method and device of mobile terminal, mobile terminal and storage medium
CN114003913A (en) * 2021-12-28 2022-02-01 支付宝(杭州)信息技术有限公司 Operation control method and device for application program
CN114003913B (en) * 2021-12-28 2022-05-06 支付宝(杭州)信息技术有限公司 Operation control method and device for application program
CN116048325A (en) * 2022-06-30 2023-05-02 荣耀终端有限公司 Processing method for abnormal behavior of application, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106127030A (en) A kind of interface control method and device
CN106201468B (en) A kind of processing method of screenshotss, device and electronic equipment
CN106096425A (en) System permission starting method, device and equipment
CN107944258A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107861773A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107944257A (en) Start control method, device, storage medium and the terminal of application with method of service
CN110149599B (en) Short message protection method and terminal equipment
CN104808898B (en) A kind of terminal
CN106211164A (en) Terminal network changing method, terminal network switching device and terminal
CN107957913A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN104267997B (en) The startup method and terminal device of application software in a kind of terminal device
CN109543405A (en) A kind of privacy calls Activity recognition method and electronic equipment
CN106022108A (en) Synchronous management method and terminal device
CN107302493A (en) A kind of message treatment method, message processing apparatus and intelligent terminal
CN105825104A (en) Service processing method based on fingerprint recognition and electronic equipment
CN106126232B (en) A kind of interface startup method and device
CN104808916B (en) A kind of screenshot method
CN106161793A (en) Originating method based on contact person's packet and device
CN105933497A (en) Multi-mode incoming call intercepting method and device
CN106657545A (en) Method and device for intercepting push information, and terminal
CN107992745A (en) Kidnap countermeasure in a kind of interface based on Android platform
CN110928600A (en) Cleaning method and device for terminal background application, mobile terminal and electronic equipment
CN108108618B (en) Application interface detection method and device for counterfeiting attack
CN109669785A (en) Page sharing method, device, server and the storage medium of terminal applies
CN111131440B (en) Resource scheduling method and device and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161116

RJ01 Rejection of invention patent application after publication