CN109358935A - Control method and device for popup window display, terminal equipment and storage medium - Google Patents
Control method and device for popup window display, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN109358935A CN109358935A CN201811152229.1A CN201811152229A CN109358935A CN 109358935 A CN109358935 A CN 109358935A CN 201811152229 A CN201811152229 A CN 201811152229A CN 109358935 A CN109358935 A CN 109358935A
- Authority
- CN
- China
- Prior art keywords
- pop
- task
- presented
- evasion tactics
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a control method and device for popup window display and related equipment. The method comprises the following steps: acquiring a pre-configured popup window evasion strategy; when the application program is detected to run to a target point, N pop-up windows to be displayed at the target point in the application program are obtained, wherein N is a positive integer; generating N popup tasks according to popup information of the N popup tasks correspondingly; and acquiring the popup tasks of the popup to be displayed from the N popup tasks according to the popup avoidance strategy, and executing the popup tasks of the popup to be displayed so as to display the popup to be displayed. The method can solve the problem that a plurality of pop-up windows are displayed at the same time point, and improves the use experience of users; in addition, in the development process, developers do not need to be familiar with and depend on each popup service, and development cost is reduced.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of control methods of pop-up displaying, device, terminal device
And computer readable storage medium.
Background technique
Current mobile terminal application often includes miscellaneous pop-up interface, such as logs in pop-up, authorize pop-up, is wide
Accuse pop-up, recommendation pop-up etc..But various pop-up levels are uneven, these pop-ups can may also be shown simultaneously, and user needs
The function of the ability normal use application is closed one by one.
In the related technology, it is typically relied on and is delayed the pop-up pressure in application program to avoid pop-up by business
It shows simultaneously, but also pop-up exposure can be increased, on the one hand this way can generate injury to user (for example may go out
Now the case where continuous pop-up), on the other hand can be relatively high to the requirement of developer, it require developer must be familiar with and according to
Rely each pop-up business, the pop-up to avoid oneself exploitation is shown simultaneously with other pop-ups.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of control method that pop-up is shown.This method can solve
The problem of same time point multiple pop-ups are shown simultaneously, improves the usage experience of user;Also, it in the process of development, is not necessarily to
Developer is familiar with and relies on each pop-up business, reduces development cost.
Second object of the present invention is to propose a kind of control device that pop-up is shown.
Third object of the present invention is to propose a kind of terminal device.
Fourth object of the present invention is to propose a kind of computer readable storage medium.
In order to achieve the above objectives, the control method that the pop-up that first aspect present invention embodiment proposes is shown, comprising: obtain
Preconfigured pop-up evasion tactics;When detecting that application program runs to target point, obtains and be intended in the application program
N number of pop-up that the target point is shown, wherein N is positive integer;It is N number of according to the corresponding generation of the pop window information of N number of pop-up
Pop-up task;The pop-up task of pop-up to be presented is obtained from N number of pop-up task according to the pop-up evasion tactics, and is held
The pop-up task of the row pop-up to be presented is to be shown the pop-up to be presented.
The control method that pop-up according to an embodiment of the present invention is shown, can obtain preconfigured pop-up evasion tactics, and
When detecting that application program runs to target point, the N number of pop-up for being intended to show in application program in target point is obtained, and according to N
The corresponding N number of pop-up task of generation of the pop window information of a pop-up is obtained from N number of pop-up task according to pop-up evasion tactics later
The pop-up task of pop-up to be presented is taken, and executes the pop-up task of pop-up to be presented to be shown to pop-up to be presented.That is root
According to preconfigured pop-up evasion tactics, one is selected from the pop-ups that all possibility are shown at some time point in application program
Pop-up to be presented can solve the multiple pop-ups of same time point simultaneously using the pop-up as the time point pop-up to be shown
The problem of displaying, improves the usage experience of user;Also, in the process of development, it is familiar with without developer and relies on each
Pop-up business, reduces development cost.
According to one embodiment of present invention, described to be obtained from N number of pop-up task according to the pop-up evasion tactics
Take the pop-up task of pop-up to be presented, comprising: use asynchronous computing mode, calculate whether N number of pop-up task meets respectively
Corresponding displaying condition;According to the pop-up evasion tactics, from M pop-up task for meeting corresponding displaying condition
The middle pop-up task for obtaining the pop-up to be presented, wherein M is the positive integer less than or equal to N.
According to one embodiment of present invention, the pop-up evasion tactics includes that pop-up shows priority;It is described according to institute
Pop-up evasion tactics is stated, obtains the pop-up to be presented from M pop-up task for meeting corresponding displaying condition
Pop-up task, comprising: when thering is M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task,
It is judged whether or not the pop-up shown;If it is determined that currently not having the pop-up shown, then according to the pop-up exhibition
Show that priority obtains the pop-up task that pop-up shows highest priority from the M pop-up task;By the displaying priority
Pop-up task of the highest pop-up task as the pop-up to be presented.
According to one embodiment of present invention, the method also includes: if it is determined that currently having the pop-up shown, then
It abandons obtaining the pop-up task of the pop-up to be presented, and exits process.
According to one embodiment of present invention, the pop-up evasion tactics further includes white list;Calculating N number of pop-up
After thering is M pop-up task to meet corresponding displaying condition in task, it is judged whether or not the pop-up shown
Before, the method also includes: judge the corresponding pop-up of the M pop-up task whether there is in the white list;If
The corresponding pop-up of the M pop-up task is present in the white list, then using the M pop-up task as described to be presented
The pop-up task of pop-up;If the corresponding pop-up of the M pop-up task does not exist in the white list, execute described in sentence
It is disconnected currently whether to have the step of pop-up shown.
In order to achieve the above objectives, the control device that the pop-up that second aspect of the present invention embodiment proposes is shown, comprising: strategy
Module is obtained, for obtaining preconfigured pop-up evasion tactics;Pop-up obtains module, for detecting application program operation
When to target point, the N number of pop-up for being intended to show in the application program in the target point is obtained, wherein N is positive integer;Pop-up is appointed
Business generation module, for the corresponding N number of pop-up task of generation of the pop window information according to N number of pop-up;Pop-up task choosing mould
Block, for obtaining the pop-up task of pop-up to be presented from N number of pop-up task according to the pop-up evasion tactics;Pop-up exhibition
Show module, for executing the pop-up task of the pop-up to be presented to be shown to the pop-up to be presented.
It is preconfigured can to obtain module acquisition by strategy for the control device that pop-up according to an embodiment of the present invention is shown
Pop-up evasion tactics, pop-up obtain module when detecting that application program runs to target point, obtain and be intended in application program in mesh
N number of pop-up that punctuate is shown, pop-up task generation module generate N number of pop-up task according to the pop window information of N number of pop-up is corresponding,
Pop-up task choosing module obtains the pop-up task of pop-up to be presented, pop-up according to pop-up evasion tactics from N number of pop-up task
Display module executes the pop-up task of pop-up to be presented to be shown to pop-up to be presented.Advised according to preconfigured pop-up
Strategy is kept away, a pop-up to be presented is selected from the pop-ups that all possibility are shown at some time point in application program, by this
Pop-up improves the problem of can solve the multiple pop-ups of same time point while showing as the time point pop-up to be shown
The usage experience of user;Also, in the process of development, it is familiar with without developer and relies on each pop-up business, reduce out
Send out cost.
According to one embodiment of present invention, the pop-up task choosing module includes: computing unit, for using asynchronous
Calculation, calculates whether N number of pop-up task meets corresponding displaying condition;Pop-up task choosing unit, is used for
According to the pop-up evasion tactics, obtained from M pop-up task for meeting corresponding displaying condition described wait open up
Show the pop-up task of pop-up, wherein M is the positive integer less than or equal to N.
According to one embodiment of present invention, the pop-up evasion tactics includes that pop-up shows priority;The pop-up is appointed
Business selecting unit is specifically used for: having M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task
When, it is judged whether or not the pop-up shown;If it is determined that currently not having the pop-up shown, then according to the pop-up
Show that priority obtains the pop-up task that pop-up shows highest priority from the M pop-up task;It is shown described preferentially
Pop-up task of the highest pop-up task of grade as the pop-up to be presented.
According to one embodiment of present invention, the pop-up task choosing unit is also used to: if it is determined that currently having
The pop-up of displaying then abandons the pop-up task for obtaining the pop-up to be presented, and exits process.
According to one embodiment of present invention, the pop-up evasion tactics further includes white list;The pop-up task choosing
Unit is also used to: after thering is M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task,
It is judged whether or not judging that the corresponding pop-up of the M pop-up task whether there is in described before the pop-up shown
In white list;If the corresponding pop-up of the M pop-up task is present in the white list, by the M pop-up task
Pop-up task as the pop-up to be presented;If the corresponding pop-up of the M pop-up task does not exist in the white list
In, then execute it is described it is judged whether or not showing pop-up the step of.
In order to achieve the above objectives, the terminal device that third aspect present invention embodiment proposes, comprising: memory, processor
And it is stored in the computer program that can be run on the memory and on the processor, the processor executes described program
When, realize the control method that pop-up described in first aspect present invention embodiment is shown.
In order to achieve the above objectives, the non-transitorycomputer readable storage medium that fourth aspect present invention embodiment proposes,
It is stored thereon with computer program, pop-up described in first aspect present invention embodiment is realized when described program is executed by processor
The control method of displaying.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart for the control method that pop-up according to an embodiment of the invention is shown;
Fig. 2 is the flow chart for the control method that pop-up accord to a specific embodiment of that present invention is shown;
Fig. 3 is the flow chart of the pop-up task according to an embodiment of the invention for obtaining pop-up to be presented;
Fig. 4 is the flow chart of the pop-up task in accordance with another embodiment of the present invention for obtaining pop-up to be presented;
Fig. 5 is the structural schematic diagram for the control device that pop-up according to an embodiment of the invention is shown;
Fig. 6 is the structural schematic diagram for the control device that pop-up in accordance with another embodiment of the present invention is shown;
Fig. 7 is the structural schematic diagram of terminal device according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings control method, device, terminal device and calculating that the pop-up of the embodiment of the present invention is shown are described
Machine readable storage medium storing program for executing.
Fig. 1 is the flow chart for the control method that pop-up according to an embodiment of the invention is shown.It should be noted that this
The control method that the pop-up of inventive embodiments is shown can be applied to the control device that the pop-up of the embodiment of the present invention is shown, the control
Device can be configured on terminal device.Wherein, in an embodiment of the present invention, which can be mobile terminal, example
The hardware device that such as mobile phone, tablet computer, personal digital assistant have various operating systems.
As shown in Figure 1, the control method that the pop-up is shown may include:
S110 obtains preconfigured pop-up evasion tactics.
It should be noted that the pop-up of the embodiment of the present invention refers to the pop-up interface in application program, such as application program
In log in pop-up, authorization pop-up, advertisement pop-up, recommendation pop-up etc..In an embodiment of the present invention, it is realizing to application
When the control that the pop-up in program is shown, pop-up evasion tactics for this application can be obtained first.Wherein, which advises
Keep away strategy be it is preconfigured, can be pre-stored on server, optionally, when monitoring that the application program is activated,
The pop-up evasion tactics of the application program can be obtained from server.
S120 is obtained and is intended in application program in the N number of of target point displaying when detecting that application program runs to target point
Pop-up, wherein N is positive integer.
Wherein, in an embodiment of the present invention, the target point be in application program pop-up pop up time point or when
Machine.It is appreciated that having multiple pop-ups in application program, the pop-up opportunity of each pop-up is usually fixed, for example, with
When the Button Login in application program is clicked at family, it will pop up and log in pop-up interface;For another example, user is when browsing some webpage, meeting
Pop up advertisement pop-up interface relevant to the webpage.In this step, detecting that application program runs to some time point (i.e.
Above-mentioned target point) when, all pop-ups that may be shown at the time point in the application program can be obtained.
S130 generates N number of pop-up task according to the pop window information of N number of pop-up is corresponding.
Optionally, corresponding pop-up task is generated according to the pop window information of all possible pop-ups shown.Wherein, pop-up is believed
Breath may include title or ID, explicit function of pop-up etc..Wherein, the explicit function refers to returns for what is shown to pop-up
Letter of transfer number.
S140, obtains the pop-up task of pop-up to be presented according to pop-up evasion tactics from N number of pop-up task, and execute to
Show the pop-up task of pop-up to be shown to pop-up to be presented.
Optionally, a pop-up to be presented is obtained from N number of pop-up task according to preconfigured pop-up evasion tactics
Pop-up task.As an example, asynchronous computing mode can be used, calculate whether N number of pop-up task meets respective correspondence
Displaying condition, and according to the pop-up evasion tactics, from M pop-up task for meeting corresponding displaying condition
Obtain the pop-up task of the pop-up to be presented, wherein M is the positive integer less than or equal to N.
It should be noted that the displaying condition is appreciated that, such as some industry relevant to the specific business of pop-up
Business needs to judge whether user is starting application program for the first time, if so, pop up corresponding pop-up, i.e. the displaying item of the pop-up
Part is " user starts application program for the first time ";Some business need asynchronous query database, are answered with checking into third party
Whether duration is greater than certain value, then can pop up pop-up prompt of similar application overlong time etc., that is to say, that
The displaying condition of the pop-up is " checking that the duration into third-party application is greater than certain value ".
In this step, according to the pop-up evasion tactics, from M bullet for meeting corresponding displaying condition
After the pop-up task for obtaining the pop-up to be presented in window task, the pop-up task can be performed to realize to the pop-up to be presented
It is shown.For example, the explicit function in the pop-up task can be obtained, and the explicit function is executed to realize the exhibition to the pop-up
Show.
It should be noted that in an embodiment of the present invention, the pop-up evasion tactics can be server and pass through collection
User is to the operation information of pop-up in application program, and obtained from analyzing the operation information of user feedback.Example
Such as, there are two advertisement pop-up (such as advertisement pop-up A and advertisement pop-up B) in application program, user can be according to oneself hobby and demand
Advertisement pop-up A or advertisement pop-up B is checked in click, or directly closes advertisement pop-up A or advertisement pop-up B, and server, which collects, to be used
Operation is checked to the click of advertisement pop-up A and advertisement pop-up B in family, to judge the happiness of advertisement pop-up A and advertisement pop-up B to user
It is good, for example, user, which clicks, has checked advertisement pop-up A, and advertisement pop-up B is directly closed, then illustrates user preferences advertisement pop-up A
Degree be higher than hobby advertisement pop-up B degree.For this purpose, in an embodiment of the present invention, it can be according to user in application program
The feedback information of pop-up, to determine the displaying priority of pop-up in the application program, thus using determining displaying priority as
The pop-up evasion tactics of the application program.
The control method that pop-up according to an embodiment of the present invention is shown, can obtain preconfigured pop-up evasion tactics, and
When detecting that application program runs to target point, the N number of pop-up for being intended to show in application program in target point is obtained, and according to N
The corresponding N number of pop-up task of generation of the pop window information of a pop-up is obtained from N number of pop-up task according to pop-up evasion tactics later
The pop-up task of pop-up to be presented is taken, and executes the pop-up task of pop-up to be presented to be shown to pop-up to be presented.That is root
According to preconfigured pop-up evasion tactics, one is selected from the pop-ups that all possibility are shown at some time point in application program
Pop-up to be presented can solve the multiple pop-ups of same time point simultaneously using the pop-up as the time point pop-up to be shown
The problem of displaying, improves the usage experience of user;Also, in the process of development, it is familiar with without developer and relies on each
Pop-up business, reduces development cost.
Fig. 2 is the flow chart for the control method that pop-up accord to a specific embodiment of that present invention is shown.As shown in Fig. 2,
The pop-up show control method may include:
S210 obtains preconfigured pop-up evasion tactics.
S220 is obtained and is intended in application program in the N number of of target point displaying when detecting that application program runs to target point
Pop-up, wherein N is positive integer.
S230 generates N number of pop-up task according to the pop window information of N number of pop-up is corresponding.
It should be noted that in an embodiment of the present invention, the description of the implementation of above-mentioned steps S210-S230 can be joined
See the description of the implementation of above-mentioned steps S110-S130, details are not described herein.
S240 calculates whether N number of pop-up task meets corresponding displaying condition using asynchronous computing mode.
Wherein, the displaying condition is appreciated that relevant to the specific business of pop-up, for example some business needs are sentenced
Whether disconnected user is to start application program for the first time, if so, popping up corresponding pop-up, i.e. the displaying condition of the pop-up is
" user starts application program for the first time ";Some business need asynchronous query database, with check enter third-party application when
It is long whether to be greater than certain value, it then can pop up pop-up prompt of similar application overlong time etc., that is to say, that the pop-up
Displaying condition be " check into third-party application duration be greater than certain value ".
As an example, it may be determined that the corresponding business information of all pop-ups, and according to the corresponding business information of each pop-up
Determine that corresponding pop-up shows that asynchronous computing mode can be used later in condition, calculating each pop-up task, whether to meet its corresponding
Displaying condition.For example, for registering pop-up, it is assumed that contain registration pop-up task in N number of pop-up task, it may be determined that the registration bullet
The corresponding business of window is user's registration, corresponding pop-up show condition can for " user for the first time starting application program not into
Went registration ", at this point, asynchronous computing mode, which can be used, calculates whether the registration pop-up task meets its corresponding displaying condition,
Calculate whether active user is starting application program for the first time, and do not carried out registration, for example, if calculating active user is the
One-shot application program, and do not carried out registration, then it can determine that the registration pop-up task meets the displaying condition.
S250 is obtained from M pop-up task for meeting corresponding displaying condition according to pop-up evasion tactics
The pop-up task of the pop-up to be presented, and the pop-up task of the pop-up to be presented is executed to carry out to the pop-up to be presented
It shows, wherein M is the positive integer less than or equal to N.
Optionally, when having the pop-up task for meeting corresponding displaying condition in calculating N number of pop-up task,
The pop-up to be presented can be obtained from the pop-up task that these meet corresponding displaying condition according to pop-up evasion tactics
Pop-up task later the pop-up task can be performed, the pop-up to be presented is shown with realizing.For example, the bullet can be obtained
Explicit function in window task, and the explicit function is executed to realize the displaying to the pop-up.
As a kind of example of possible implementation, the pop-up evasion tactics may include that pop-up shows priority.Wherein,
In this example, as shown in figure 3, it is described according to pop-up evasion tactics, from M bullet for meeting corresponding displaying condition
The specific implementation process that the pop-up task of the pop-up to be presented is obtained in window task may include following steps:
S310 sentences when having M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task
It is disconnected currently whether to have the pop-up shown;
In an embodiment of the present invention, it can indicate currently whether there is the pop-up shown by using list is shown.
For example, the title of the pop-up, ID or type can be written in the displaying list, if some pop-up is demonstrated to indicate this
Pop-up is being demonstrated.When the pop-up for monitoring to be demonstrated disappears, the pop-up can be removed from the displaying list, if the exhibition
Show that the item number in list is 0, then can indicate showing currently without pop-up.For this purpose, in this step, it can be by reading the displaying
List, it is judged whether or not the pop-up shown.
S320 then shows priority from the M if it is determined that currently not having the pop-up shown according to the pop-up
The pop-up task that pop-up shows highest priority is obtained in pop-up task;
S330, using the pop-up task for showing highest priority as the pop-up task of the pop-up to be presented.
S340 then abandons the pop-up task for obtaining the pop-up to be presented if it is determined that currently having the pop-up shown,
And exit process.
That is, then process terminates when judgement currently has the pop-up shown, that is, abandon executing obtain it is described to
The step of showing the pop-up task of pop-up.
In order to further enhance the usage experience of user, guarantee the optimal experience and the maximum return of product of user, it is optional
Ground, in one embodiment of the invention, the pop-up evasion tactics may also include white list.Wherein, in implementation of the invention
In example, as shown in figure 4, described show priority according to pop-up, appoint from M pop-up for meeting corresponding displaying condition
The specific implementation process that the pop-up task of the pop-up to be presented is obtained in business may include following steps:
S410 sentences when having M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task
The corresponding pop-up of the M pop-up task of breaking whether there is in the white list;
It wherein, in an embodiment of the present invention, may include at least one pop-up in the white list, which is used to indicate
No matter currently having how low bullet in the white list either with or without the priority of pop-up in the pop-up shown or the white list
Window can be shown, and can be shown in the upper surface of other pop-ups.
That is, have in calculating N number of pop-up task M pop-up task meet corresponding displaying condition it
Afterwards, it can first judge that the corresponding pop-up of the M pop-up task whether there is in the white list.
S420 appoints the M pop-up if the corresponding pop-up of the M pop-up task is present in the white list
The pop-up task being engaged in as the pop-up to be presented;
That is, can will be present in white when the corresponding pop-up of the M pop-up task is present in the white list
Pop-up task of the pop-up task as the pop-up to be presented in list, the pop-up task that can be will be present in white list are straight
It connects and is shown.It can guarantee that certain important pop-ups are wanted to show at the time of displaying any by white list as a result,
The optimal experience and the maximum return of product that can guarantee user, further improve the usage experience of user.
S430, if the corresponding pop-up of the M pop-up task does not exist in the white list, judgement it is current whether
There is the pop-up shown;
That is, can determine whether to work as when the corresponding pop-up of the M pop-up task does not exist in the white list
It is preceding whether to have the pop-up shown.
S440 then shows priority from the M if it is determined that currently not having the pop-up shown according to the pop-up
The pop-up task that pop-up shows highest priority is obtained in pop-up task;
S450, using the pop-up task for showing highest priority as the pop-up task of the pop-up to be presented.
S460 then abandons the pop-up task for obtaining the pop-up to be presented if it is determined that currently having the pop-up shown,
And exit process
It should be noted that in one embodiment of the invention, after the pop-up to be presented is showed user,
The feedback information that user is directed to the displaying pop-up is collected, such as whether user clicks and check the pop-up, and anti-by what is be collected into
Feedforward information is sent to server, so that server analyzes dynamically to adjust the exhibition of pop-up the field feedback being collected into
Show priority.
The control method that pop-up according to an embodiment of the present invention is shown, can obtain preconfigured pop-up evasion tactics, and
When detecting that application program runs to target point, the N number of pop-up for being intended to show in application program in target point is obtained, and according to N
The pop window information of a pop-up is corresponding to generate N number of pop-up task, later, using asynchronous computing mode, calculates N number of pop-up and appoints
Whether business meets corresponding displaying condition, and according to pop-up evasion tactics from meeting corresponding displaying condition
The pop-up task of the pop-up to be presented is obtained in M pop-up task, and executes the pop-up task of the pop-up to be presented with right
The pop-up to be presented is shown.I.e. according to preconfigured pop-up evasion tactics, from application program at some time point
A pop-up to be presented is selected in all possible pop-ups shown, it, can using the pop-up as the time point pop-up to be shown
To solve the problems, such as the multiple pop-ups of same time point while show, the usage experience of user is improved;Also, in development process
In, it is familiar with without developer and relies on each pop-up business, reduces development cost.
Corresponding with the control method that the pop-up that above-mentioned several embodiments provide is shown, a kind of embodiment of the invention also mentions
For the control device that a kind of pop-up is shown, the control device shown due to pop-up provided in an embodiment of the present invention and above-mentioned several realities
The control method for applying the pop-up displaying of example offer is corresponding, therefore the embodiment of the control method in aforementioned pop-up displaying is also fitted
For the control device that pop-up provided in this embodiment is shown, it is not described in detail in the present embodiment.Fig. 5 is according to the present invention
The structural schematic diagram for the control device that the pop-up of one embodiment is shown.As shown in figure 5, the control device 500 that the pop-up is shown
It may include: that strategy obtains module 510, pop-up obtains module 520, pop-up task generation module 530, pop-up task choosing module
540 and pop-up display module 550.
Specifically, strategy obtains module 510 for obtaining preconfigured pop-up evasion tactics.
Pop-up obtains module 520 and is used for when detecting that application program runs to target point, obtains and is intended in application program
N number of pop-up that target point is shown, wherein N is positive integer.
Pop-up task generation module 530 is used for the corresponding N number of pop-up task of generation of pop window information according to N number of pop-up.
Pop-up task choosing module 540 is used to obtain pop-up to be presented from N number of pop-up task according to pop-up evasion tactics
Pop-up task.Optionally, as shown in fig. 6, the pop-up task choosing module 540 can include: computing unit 541 and pop-up task
Selecting unit 542.Wherein, pop-up task choosing unit 541 can be used for being calculated N number of pop-up using asynchronous computing mode and being appointed
Whether business meets corresponding displaying condition;Pop-up task choosing unit 542 can be used for according to the pop-up evasion tactics, from
Meet the pop-up task that the pop-up to be presented is obtained in M pop-up task of corresponding displaying condition, wherein M
For the positive integer less than or equal to N.
As a kind of example of possible implementation, the pop-up evasion tactics includes that pop-up shows priority;Wherein, exist
In this example, pop-up task choosing unit 542 is specifically used for: having M pop-up task to meet in calculating N number of pop-up task
When corresponding displaying condition, it is judged whether or not the pop-up shown;It is being shown if it is determined that not having currently
Pop-up then shows that priority obtains the pop-up that pop-up shows highest priority from the M pop-up task according to the pop-up
Task;Using the pop-up task for showing highest priority as the pop-up task of the pop-up to be presented.
In order to further increase availability and feasibility of the invention, optionally, in one embodiment of the invention,
Pop-up task choosing unit 542 can also be used in: if it is determined that currently having the pop-up shown, then abandon obtaining described to be presented
The pop-up task of pop-up, and exit process.
It should be noted that in one embodiment of the invention, the pop-up evasion tactics further includes white list.At this
In the embodiment of invention, pop-up task choosing unit 542 can also be used in: have M pop-up to appoint in calculating N number of pop-up task
After business meets corresponding displaying condition, it is judged whether or not judging the M bullet before the pop-up shown
The corresponding pop-up of window task whether there is in the white list;If the corresponding pop-up of the M pop-up task is present in institute
It states in white list, then using the M pop-up task as the pop-up task of the pop-up to be presented;If the M pop-up is appointed
Corresponding pop-up of being engaged in does not exist in the white list, then execute it is described it is judged whether or not the pop-up shown step
Suddenly.It can guarantee that certain important pop-ups are wanted to show at the time of displaying any by white list as a result, it is ensured that
The optimal experience of user and the maximum return of product, further improve the usage experience of user.
Pop-up display module 550 is used to execute the pop-up task of pop-up to be presented to be shown to pop-up to be presented.
It is preconfigured can to obtain module acquisition by strategy for the control device that pop-up according to an embodiment of the present invention is shown
Pop-up evasion tactics, pop-up obtain module when detecting that application program runs to target point, obtain and be intended in application program in mesh
N number of pop-up that punctuate is shown, pop-up task generation module generate N number of pop-up task according to the pop window information of N number of pop-up is corresponding,
Pop-up task choosing module obtains the pop-up task of pop-up to be presented, pop-up according to pop-up evasion tactics from N number of pop-up task
Display module executes the pop-up task of pop-up to be presented to be shown to pop-up to be presented.Advised according to preconfigured pop-up
Strategy is kept away, a pop-up to be presented is selected from the pop-ups that all possibility are shown at some time point in application program, by this
Pop-up improves the problem of can solve the multiple pop-ups of same time point while showing as the time point pop-up to be shown
The usage experience of user;Also, in the process of development, it is familiar with without developer and relies on each pop-up business, reduce out
Send out cost.
In order to realize above-described embodiment, the invention also provides a kind of terminal devices.
Fig. 7 is the structural schematic diagram of terminal device according to an embodiment of the invention.As shown in fig. 7, the terminal device
700 may include: memory 710, processor 720 and be stored in the calculating that can be run on memory 710 and on processor 720
Machine program 730 when processor 720 executes described program 730, realizes that pop-up described in any of the above-described a embodiment of the present invention is shown
Control method.
In order to realize above-described embodiment, the invention also provides a kind of non-transitorycomputer readable storage mediums, thereon
It is stored with computer program, pop-up exhibition described in any of the above-described a embodiment of the present invention is realized when described program is executed by processor
The control method shown.
In the description of the present invention, it is to be understood that, term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present invention, " multiple "
It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (10)
1. the control method that a kind of pop-up is shown characterized by comprising
Obtain preconfigured pop-up evasion tactics;
When detecting that application program runs to target point, obtains and be intended in the application program in the N number of of target point displaying
Pop-up, wherein N is positive integer;
N number of pop-up task is generated according to the pop window information of N number of pop-up is corresponding;
The pop-up task of pop-up to be presented is obtained from N number of pop-up task according to the pop-up evasion tactics, and executes institute
The pop-up task of pop-up to be presented is stated to be shown to the pop-up to be presented.
2. the method as described in claim 1, which is characterized in that it is described according to the pop-up evasion tactics from N number of pop-up
The pop-up task of pop-up to be presented is obtained in task, comprising:
Using asynchronous computing mode, calculate whether N number of pop-up task meets corresponding displaying condition;
According to the pop-up evasion tactics, from M pop-up task for meeting corresponding displaying condition described in acquisition
The pop-up task of pop-up to be presented, wherein M is the positive integer less than or equal to N.
3. method according to claim 2, which is characterized in that the pop-up evasion tactics includes that pop-up shows priority;Institute
State according to the pop-up evasion tactics, obtained from M pop-up task for meeting corresponding displaying condition it is described to
Show the pop-up task of pop-up, comprising:
When thering is M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task, judgement currently whether
There is the pop-up shown;
If it is determined that currently not having the pop-up shown, then show priority from the M pop-up task according to the pop-up
The middle pop-up task for obtaining pop-up and showing highest priority;
Using the pop-up task for showing highest priority as the pop-up task of the pop-up to be presented.
4. method as claimed in claim 3, which is characterized in that further include:
If it is determined that currently there is the pop-up shown, then the pop-up task for obtaining the pop-up to be presented is abandoned, and exit stream
Journey.
5. the method as claimed in claim 3 or 4, which is characterized in that the pop-up evasion tactics further includes white list;It is calculating
After thering is M pop-up task to meet corresponding displaying condition in N number of pop-up task, it is judged whether or not
Before the pop-up of displaying, the method also includes:
Judge that the corresponding pop-up of the M pop-up task whether there is in the white list;
If the corresponding pop-up of the M pop-up task is present in the white list, by the M pop-up task conduct
The pop-up task of the pop-up to be presented;
If the corresponding pop-up of the M pop-up task does not exist in the white list, execute the judgement it is current whether
There is the step of pop-up shown.
6. the control device that a kind of pop-up is shown characterized by comprising
Strategy obtains module, for obtaining preconfigured pop-up evasion tactics;
Pop-up obtains module, is intended to for when detecting that application program runs to target point, obtaining in the application program in institute
N number of pop-up of target point displaying is stated, wherein N is positive integer;
Pop-up task generation module, for the corresponding N number of pop-up task of generation of the pop window information according to N number of pop-up;
Pop-up task choosing module, for obtaining bullet to be presented from N number of pop-up task according to the pop-up evasion tactics
The pop-up task of window;
Pop-up display module, for executing the pop-up task of the pop-up to be presented to be shown to the pop-up to be presented.
7. device as claimed in claim 6, which is characterized in that the pop-up task choosing module includes:
Computing unit calculates whether N number of pop-up task meets corresponding displaying item for using asynchronous computing mode
Part;
Pop-up task choosing unit is used for according to the pop-up evasion tactics, from the M for meeting corresponding displaying condition
The pop-up task of the pop-up to be presented is obtained in a pop-up task, wherein M is the positive integer less than or equal to N.
8. device as claimed in claim 7, which is characterized in that the pop-up evasion tactics includes that pop-up shows priority;Institute
Pop-up task choosing unit is stated to be specifically used for:
When thering is M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task, judgement currently whether
There is the pop-up shown;
If it is determined that currently not having the pop-up shown, then show priority from the M pop-up task according to the pop-up
The middle pop-up task for obtaining pop-up and showing highest priority;
Using the pop-up task for showing highest priority as the pop-up task of the pop-up to be presented.
9. device as claimed in claim 8, which is characterized in that the pop-up task choosing unit is also used to:
If it is determined that currently there is the pop-up shown, then the pop-up task for obtaining the pop-up to be presented is abandoned, and exit stream
Journey.
10. device as claimed in claim 8 or 9, which is characterized in that the pop-up evasion tactics further includes white list;It is described
Pop-up task choosing unit is also used to:
It is current in judgement after thering is M pop-up task to meet corresponding displaying condition in calculating N number of pop-up task
Before whether having the pop-up shown, judge that the corresponding pop-up of the M pop-up task whether there is in the white list;
If the corresponding pop-up of the M pop-up task is present in the white list, using the M pop-up task as institute
State the pop-up task of pop-up to be presented;
If the corresponding pop-up of the M pop-up task does not exist in the white list, execute the judgement it is current whether
There is the step of pop-up shown.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811152229.1A CN109358935A (en) | 2018-09-29 | 2018-09-29 | Control method and device for popup window display, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811152229.1A CN109358935A (en) | 2018-09-29 | 2018-09-29 | Control method and device for popup window display, terminal equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109358935A true CN109358935A (en) | 2019-02-19 |
Family
ID=65348258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811152229.1A Pending CN109358935A (en) | 2018-09-29 | 2018-09-29 | Control method and device for popup window display, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109358935A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941468A (en) * | 2019-11-13 | 2020-03-31 | 北京奇艺世纪科技有限公司 | Popup management method and device, electronic equipment and storage medium |
CN111008059A (en) * | 2019-12-09 | 2020-04-14 | 北京奇艺世纪科技有限公司 | Control method and device for popup window display, terminal and storage medium |
CN111045796A (en) * | 2019-10-23 | 2020-04-21 | 贝壳技术有限公司 | Management method and device for popup of application program and readable storage medium |
CN111143019A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Control method and system for pop-up window of mobile terminal |
CN111722900A (en) * | 2020-05-29 | 2020-09-29 | 五八有限公司 | Display method and device for pop-up window |
CN111736936A (en) * | 2020-06-15 | 2020-10-02 | 北京奇艺世纪科技有限公司 | Popup window display method, popup window display device, terminal and readable storage medium |
CN111984260A (en) * | 2020-09-01 | 2020-11-24 | 中国银行股份有限公司 | Front-end APP popup window management method, device and system |
CN112241297A (en) * | 2019-07-18 | 2021-01-19 | 上海幻电信息科技有限公司 | Data display method, system, computer equipment and readable storage medium |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
CN116028371A (en) * | 2023-02-09 | 2023-04-28 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program detection method and device, storage medium and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105975380A (en) * | 2016-05-26 | 2016-09-28 | 北京金山安全软件有限公司 | Popup window processing method and device and electronic equipment |
CN106484509A (en) * | 2016-09-27 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of output intent of pop-up, device and terminal |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
-
2018
- 2018-09-29 CN CN201811152229.1A patent/CN109358935A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105975380A (en) * | 2016-05-26 | 2016-09-28 | 北京金山安全软件有限公司 | Popup window processing method and device and electronic equipment |
CN106484509A (en) * | 2016-09-27 | 2017-03-08 | 腾讯科技(深圳)有限公司 | A kind of output intent of pop-up, device and terminal |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112241297A (en) * | 2019-07-18 | 2021-01-19 | 上海幻电信息科技有限公司 | Data display method, system, computer equipment and readable storage medium |
CN112241297B (en) * | 2019-07-18 | 2024-05-14 | 上海幻电信息科技有限公司 | Data display method, system, computer equipment and readable storage medium |
CN111045796A (en) * | 2019-10-23 | 2020-04-21 | 贝壳技术有限公司 | Management method and device for popup of application program and readable storage medium |
CN110941468A (en) * | 2019-11-13 | 2020-03-31 | 北京奇艺世纪科技有限公司 | Popup management method and device, electronic equipment and storage medium |
CN111008059A (en) * | 2019-12-09 | 2020-04-14 | 北京奇艺世纪科技有限公司 | Control method and device for popup window display, terminal and storage medium |
CN111143019B (en) * | 2019-12-31 | 2023-05-23 | 中国银行股份有限公司 | Control method and system for popup window of mobile terminal |
CN111143019A (en) * | 2019-12-31 | 2020-05-12 | 中国银行股份有限公司 | Control method and system for pop-up window of mobile terminal |
CN111722900A (en) * | 2020-05-29 | 2020-09-29 | 五八有限公司 | Display method and device for pop-up window |
CN111736936A (en) * | 2020-06-15 | 2020-10-02 | 北京奇艺世纪科技有限公司 | Popup window display method, popup window display device, terminal and readable storage medium |
CN111736936B (en) * | 2020-06-15 | 2023-08-15 | 北京奇艺世纪科技有限公司 | Popup display method, popup display device, terminal and readable storage medium |
CN111984260A (en) * | 2020-09-01 | 2020-11-24 | 中国银行股份有限公司 | Front-end APP popup window management method, device and system |
CN112947830A (en) * | 2021-03-11 | 2021-06-11 | 北京高途云集教育科技有限公司 | Popup window display method and device, computer equipment and storage medium |
CN116028371A (en) * | 2023-02-09 | 2023-04-28 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program detection method and device, storage medium and electronic equipment |
CN116028371B (en) * | 2023-02-09 | 2023-12-08 | 湖南快乐阳光互动娱乐传媒有限公司 | Application program detection method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109358935A (en) | Control method and device for popup window display, terminal equipment and storage medium | |
US8191004B2 (en) | User feedback correlated to specific user interface or application features | |
CN108182246B (en) | Sensitive word detection and filtering method and device and computer equipment | |
CN109214842A (en) | Information popularization method, device and equipment | |
CN109743589B (en) | Article generation method and device | |
US20230252991A1 (en) | Artificial Assistant System Notifications | |
CN109947993A (en) | Plot jump method, device and computer equipment based on speech recognition | |
CN109660854A (en) | Video recommendation method, device, equipment and storage medium | |
CN107666435A (en) | A kind of method and device for shielding message | |
JP6031210B1 (en) | Sales prediction device, sales prediction method, and program | |
US20220060438A1 (en) | System and method for generating and rendering intent-based actionable content using input interface | |
CN108062412A (en) | Shortcut generation method, device and the terminal device of Web page application program | |
JP2008176782A (en) | Method and system for providing information extracted by reflecting concern | |
CN114417157B (en) | Data pushing method and device, computer equipment and computer medium | |
Desrosiers et al. | Causal claims and the study of ethnic conflict | |
EP3382618A1 (en) | Method of evaluation processing, information processing apparatus and program | |
CN111679776B (en) | Advertisement playing control method and device, electronic device and storage medium | |
JP2005196550A (en) | Electronic community management system | |
CN109240640B (en) | Advertisement voice interaction method, device and storage medium | |
CN111767765A (en) | Video processing method and device, storage medium and electronic equipment | |
CN109299983A (en) | Mobile application advertisement generation method and device, electronic equipment and storage medium | |
KR20230111986A (en) | Recommendation method for live shopping and live shopping recommendation system | |
CN114493751A (en) | Page display and commodity release method and device and electronic equipment | |
CN108958929B (en) | Method and device for applying algorithm library, storage medium and electronic equipment | |
CN112836127A (en) | Method and device for recommending social users, storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190219 |