CN107463440B - Popup window display method and device - Google Patents

Popup window display method and device Download PDF

Info

Publication number
CN107463440B
CN107463440B CN201710826445.9A CN201710826445A CN107463440B CN 107463440 B CN107463440 B CN 107463440B CN 201710826445 A CN201710826445 A CN 201710826445A CN 107463440 B CN107463440 B CN 107463440B
Authority
CN
China
Prior art keywords
popup
window
pop
displayed
display priority
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.)
Active
Application number
CN201710826445.9A
Other languages
Chinese (zh)
Other versions
CN107463440A (en
Inventor
靳孝芳
黄福伟
毛祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201710826445.9A priority Critical patent/CN107463440B/en
Publication of CN107463440A publication Critical patent/CN107463440A/en
Application granted granted Critical
Publication of CN107463440B publication Critical patent/CN107463440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The application discloses a pop-up window display method and a pop-up window display device, wherein a pop-up window to be displayed is obtained; acquiring a preset pop-up window display priority list, wherein the pop-up window display priority list records a display priority sequence corresponding to a pop-up window to be displayed; acquiring a pop-up window display rule corresponding to a pop-up window to be displayed; and performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed and the pop-up window display rule corresponding to the pop-up window to be displayed. The popup window display is carried out according to the display priority sequence corresponding to the popup window to be displayed and the popup window display rule corresponding to the popup window to be displayed, which are recorded in the popup window display priority list, which are set in advance, namely the display priority sequence is considered in the popup window display process in the application, and the problem of disordered popup window display in the prior art is solved.

Description

Popup window display method and device
Technical Field
The invention relates to the technical field of computer application, in particular to a popup window display method and device.
Background
With the development of internet services, various types of pop-ups, such as a macro-screen advertisement pop-up window or a slide-screen pop-up window, are usually popped up on a terminal application program interface where a user logs in, and based on different products and operation requirements, some advertisement contents or recommended contents of websites or application programs are generally displayed in the pop-ups.
With the increase of operator services, the increase of types of pop-windows, and the iteration of different versions of various terminal applications, in addition, various types of services all want to be able to show the pop-window with increased exposure on the top page of the terminal application. However, in the prior art, the popup display is not uniformly controlled, so that some popup windows carrying main services may be forcibly pushed for display, some popup windows carrying other than the main services may be preferentially displayed, or some low-priority popup windows may not have a display opportunity, and the like, and finally the problem of popup display disorder is caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a pop-up window display method and apparatus, so as to solve the problem of the prior art that pop-up window display is out of order.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a pop-up window display method comprises the following steps:
acquiring a pop-up window to be displayed;
acquiring a preset pop-up window display priority list, wherein the pop-up window display priority list records a display priority sequence corresponding to a pop-up window to be displayed;
acquiring a pop-up window display rule corresponding to the pop-up window to be displayed;
and performing popup window display on the acquired popup window to be displayed based on the display priority sequence corresponding to the popup window to be displayed and the popup window display rule corresponding to the popup window to be displayed.
Preferably, before the pop-up window displaying the acquired pop-up window to be displayed based on the display priority order corresponding to the pop-up window to be displayed and the pop-up window display rule corresponding to the pop-up window to be displayed, the method further includes:
acquiring a priority reordering rule corresponding to the popup to be displayed;
and updating the display priority order of the popup windows to be displayed in the popup window display priority list based on the priority reordering rule to obtain an updated popup window display priority list.
Preferably, based on the display priority order corresponding to the pop-up window to be displayed and the pop-up window display rule corresponding to the pop-up window to be displayed, the process of performing pop-up window display on the acquired pop-up window to be displayed includes:
and performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
Preferably, the updating the display priority order of the pop windows to be displayed in the pop window display priority list based on the priority reordering rule, and the obtaining of the updated pop window display priority list includes:
counting the popup window acquisition duration of the popup window to be displayed contained in the popup window display priority list;
adjusting the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, prior to the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold, so as to update the display priority sequence of the popup to be displayed in the popup display priority list and obtain an updated popup display priority list.
Preferably, the updating the display priority order of the pop windows to be displayed in the pop window display priority list based on the priority reordering rule, and the obtaining of the updated pop window display priority list includes:
counting the total pop-up window pop-up times of the pop-up windows to be displayed contained in the pop-up window display priority list in a preset pop-up window display period;
adjusting the display priority sequence of the popup to be displayed in the popup display priority list, wherein the popup total number of times does not reach the popup total number threshold corresponding to the popup to be displayed, and prior to the popup total number of times reaching the popup total number threshold corresponding to the popup to be displayed, the display priority sequence of the popup to be displayed in the popup display priority list is updated so as to update the display priority sequence of the popup to be displayed in the popup display priority list and obtain the updated popup display priority list.
A pop-up window display device comprising:
the pop-up window to be displayed acquisition module is used for acquiring the pop-up window to be displayed;
the popup display priority list acquisition module is used for acquiring a preset popup display priority list, wherein the popup display priority list records a display priority sequence corresponding to a popup to be displayed;
the pop-up window display rule acquisition module is used for acquiring the pop-up window display rule corresponding to the pop-up window to be displayed;
and the pop-up window display module is used for performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed and the pop-up window display rule corresponding to the pop-up window to be displayed.
Preferably, the method further comprises the following steps:
the priority reordering rule acquisition module is used for acquiring a priority reordering rule corresponding to the popup to be displayed;
and the display priority sequence updating module is used for updating the display priority sequence of the popup in the popup display priority list to be displayed based on the priority reordering rule to obtain an updated popup display priority list.
Preferably, the pop-up window display module includes:
and the pop-up window display submodule is used for performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
Preferably, the presentation priority order updating module includes:
the popup window acquisition duration counting module is used for counting the popup window acquisition duration of the popup window to be displayed contained in the popup window display priority list;
the first display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, and updating the display priority order of the popup to be displayed in the popup display priority list to obtain the updated popup display priority list, prior to the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold.
Preferably, the presentation priority order updating module includes:
the popup window total number of times counting module is used for counting the popup window total number of times of the popup windows to be displayed contained in the popup window display priority list in a preset popup window display period;
and the second display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, wherein the popup total number of times does not reach the popup total number threshold corresponding to the popup to be displayed, and the display priority order of the popup to be displayed in the popup display priority list is updated before the popup total number of times reaches the popup total number threshold corresponding to the popup to be displayed, so that the display priority order of the popup to be displayed in the popup display priority list is updated, and the updated popup display priority list is obtained.
Based on the technical scheme, the embodiment of the invention discloses a pop-up window display method and a pop-up window display device, wherein a pop-up window to be displayed is obtained; acquiring a preset pop-up window display priority list, wherein the pop-up window display priority list records a display priority sequence corresponding to a pop-up window to be displayed; acquiring a pop-up window display rule corresponding to the pop-up window to be displayed; and performing popup window display on the acquired popup window to be displayed based on the display priority sequence corresponding to the popup window to be displayed and the popup window display rule corresponding to the popup window to be displayed. In the method and the device, the popup is displayed according to the display priority sequence corresponding to the popup to be displayed and recorded in the popup display priority list which is preset and the popup display rule corresponding to the popup to be displayed, namely the display priority sequence is considered in the popup display process in the embodiment of the invention, and the problem of disordered popup display in the prior art is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a pop-up window displaying method according to an embodiment of the present invention;
fig. 2 is a flowchart of another pop-up window displaying method according to an embodiment of the present invention;
fig. 3 is a flowchart of another pop-up window displaying method according to an embodiment of the present invention;
FIG. 4 is a flowchart of another pop-up window displaying method according to an embodiment of the present invention;
fig. 5 is a block diagram of a pop-up window display device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows a flowchart of a pop-up window display method, which may be implemented by a terminal, and the pop-up window display method is used to solve the problem of pop-up window display disorder in the prior art, and referring to fig. 1, the method may include:
s100, acquiring a pop-up window to be displayed;
step S110, acquiring a preset popup display priority list;
it should be noted that, the display priority order corresponding to the pop-up window to be displayed is recorded in the pop-up window display priority list; in the embodiment of the invention, the terminal can acquire the preset popup display priority list from the server, and related technical personnel can determine the display priority order of various types of popup windows according to business requirements, arrange the popup windows of various types into the popup display priority list according to the display priority order from high to low, and upload the popup display priority list to the server. The related technical staff can periodically update the display priority order corresponding to the popup to be displayed recorded in the popup display priority list.
Step S120, acquiring a popup window display rule corresponding to the popup window to be displayed;
it should be noted that the pop-up window display rule in the present application is a rule related to pop-up window display, and specifically refers to a rule how to display a pop-up window, for example: at least one of the effective pop-up window display time, the pop-up window display mode, the total pop-up window pop-up times within a preset time period, or the total pop-up window pop-up times within a one-time starting life cycle of the application program, which is not specifically limited in this application.
The effective time of pop-up window display refers to the effective duration of a certain pop-up window display, for example: 3 seconds, 5 seconds, 10 seconds, etc., and the present application is not particularly limited.
The pop-up window display mode may be, for example, full-screen display, half-screen display, or small-window display, and the application is not particularly limited. For half-screen display and small window display, the position of pop-up window display is also limited in the application.
The total pop-up times can be the total pop-up times within a preset time period, or the total pop-up times within a one-time starting life cycle of the application program or the webpage, wherein the one-time starting life cycle of the application program refers to a life cycle from starting to exiting of the application program, or a life cycle from starting to placing in a background for running of the application program, and the one-time starting life cycle of the webpage refers to a life cycle from opening to closing of one webpage.
The popup window display rule can be uniformly configured by related technicians and then uploaded to the server and stored in the server, and the terminal can acquire the popup window display rule from the server.
The popup of each service is from different service backgrounds in the server, and each service background has different interfaces. Such as a macro advertisement popup, data from an advertisement interface; and the sliding screen popup window refers to a popup window popped up in the process that the user triggers the sliding screen. Therefore, the terminal needs to asynchronously request each service background interface according to different services to obtain the popup window display rule.
And S130, performing popup display on the acquired popup to be displayed based on the display priority sequence corresponding to the popup to be displayed and the popup display rule corresponding to the popup to be displayed.
It should be noted that, in the embodiment of the present invention, a pop window display rule corresponding to a pop window to be displayed may be added to the pop window display priority management queue, and then the priority management queue determines, from all pop window display rules corresponding to the pop window to be displayed, a pop window display rule corresponding to a pop window that needs to be displayed currently, and performs pop window display according to the pop window display rule.
In this application, the pop-up windows are to be displayed according to the display priority order corresponding to the pop-up windows to be displayed according to the pop-up window display rule corresponding to the pop-up windows to be displayed. In the application, the popup window is displayed according to the display priority sequence corresponding to the popup window to be displayed and the popup window display rule corresponding to the popup window to be displayed, which are recorded in the preset popup window display priority list.
By applying the pop-up window display method in the embodiment of the invention, the pop-up window with high priority can be displayed firstly, and the pop-up window with low priority can be displayed later, for example, aiming at the pop-up window of a huge screen advertisement, because the pop-up window relates to the profit of an advertiser, the pop-up window has high priority; and the slide screen popup is low in priority because the slide screen popup promotes the business inside a company, and when two popup windows are simultaneously released, a user firstly displays the huge screen advertisement popup after entering a home page.
In addition, the method in the embodiment of the invention can uniformly control and display various types of popup windows, thereby solving the problem of coupling of various popup window services. Furthermore, in the embodiment of the invention, the popup display rules corresponding to all the popup windows to be displayed are uniformly configured, and the popup display is performed according to the popup display rules corresponding to all the popup windows to be displayed, so that the unified control on various service popup windows can be realized, and the problem of inconsistent control on various service popup windows in the prior art is further solved.
Optionally, fig. 2 shows a flowchart of another pop-up window displaying method, which may be implemented by a terminal, and referring to fig. 2, the method may include:
s200, acquiring a pop-up window to be displayed;
step S210, acquiring a preset popup display priority list;
and recording a display priority sequence corresponding to the popup to be displayed in the popup display priority list.
S220, acquiring a popup window display rule corresponding to the popup window to be displayed;
step S230, obtaining a priority reordering rule corresponding to the popup to be displayed;
it should be noted that, in the present application, a priority reordering rule corresponding to a pop window to be displayed may be obtained every time the application program or the webpage is logged in, where the priority reordering rule is used to reorder the display priority corresponding to the pop window to be displayed.
In practical application, in more than 20 popup windows every time the homepage is entered, the homepage is entered and displayed last time according to the priority sequence, and the display is not performed at this time; if a certain popup window can be popped up 2 times a day, the popup window can be displayed again on the day although being displayed according to the priority order last time, and then the popup window needs to enter the sorted list again at this time to continue displaying. If a certain popup needs to be displayed according to the priority sequence, but the popup cannot be requested all the time within the preset acquisition duration, the popup can enter the first page for displaying next time, and the next popup in the popup display priority list is selected for displaying this time. Therefore, in the pop-up window display process, the pop-up window can be limited by the total pop-up times or the acquisition duration of the pop-up window, so that the pop-up window display cannot be performed according to the display priority sequence corresponding to the pop-up window to be displayed in the pop-up window display priority list acquired in advance.
Optionally, the priority reordering rule may include:
and within the preset popup acquisition duration, if the popup to be displayed is successfully acquired, the rule is preferentially displayed, and if the popup to be displayed is overtime, the popup is displayed later or the popup is displayed after the popup is next time.
It should be noted that, in the embodiment of the present invention, within a preset pop-up window obtaining duration, a pop-up window to be displayed is preferentially displayed if the pop-up window is successfully obtained, and specifically, within the preset obtaining duration, the order of the pop-up window to be displayed, which is successfully obtained, in the pop-up window display priority list is advanced; and pushing the order of the popup window to be displayed in the popup window display priority list within the preset acquisition duration when the popup window is overtime.
And/or;
and in a preset popup display period, if the popup to be displayed does not reach the total popup times, preferentially displaying the popup.
It should be noted that, in the embodiment of the present invention, the order of the pop-up windows that do not reach the total pop-up window pop-up times in the pop-up window display priority list is advanced in the preset pop-up window display period; and in a preset popup display period, pushing the sequence of the popup in the popup display priority list, wherein the popup is popped up for the total number of times.
Optionally, the preset pop-up window display period may be a preset pop-up window display duration, for example: 1 minute, 1 day, etc., and the present application is not particularly limited. The preset popup display period may also be within a one-time startup life cycle of the application or the web page, for example: the method comprises the following steps that the application program is started to quit in a life cycle, or the application program is started to put into a background running in a life cycle, or a webpage is opened to be closed in a life cycle.
It should be noted that the pop-up window display rule in the embodiment of the present invention is only an example, and the embodiment of the present invention is not limited thereto.
Step S240, updating the display priority order of the popup in the popup display priority list to be displayed based on the priority reordering rule to obtain an updated popup display priority list;
and S250, performing popup display on the acquired popup to be displayed based on the display priority sequence corresponding to the popup to be displayed recorded in the updated popup display priority list and the popup display rule corresponding to the popup to be displayed.
In the embodiment of the invention, each time a home page is logged in, a priority reordering rule corresponding to a popup to be displayed is obtained, the display priority order of the popup to be displayed in the popup display priority list is updated based on the priority reordering rule to obtain an updated popup display priority list, and the popup to be displayed is displayed based on the display priority order corresponding to the popup to be displayed recorded in the updated popup display priority list and the popup display rule corresponding to the popup to be displayed. Therefore, in the popup window display process, due to the fact that the popup window pops up the total times or the popup window acquires the time limit, popup window display cannot be carried out according to the display priority sequence corresponding to the popup window to be displayed in the popup window display priority list acquired in advance, and therefore the priority reordering rule corresponding to the popup window to be displayed can be selected to be acquired and adjusted in the popup window display priority list to meet the requirement of practical application, and the popup window display process is guaranteed to be carried out smoothly.
Moreover, by applying the technical scheme in the embodiment of the invention, various types of service popup windows (such as login, upgrade or vertical service popup windows) can be expanded and accessed, so that each service popup window can be reasonably displayed, the exposure rate of the service on the application program home page is improved, and the problem of disordered popup window display in the prior art is solved.
The technical solution provided in the present application for adjusting the display priority order of the pop-up windows to be displayed in the pop-up window display priority list is described in detail below with two specific embodiments. Fig. 3 is a flowchart illustrating another pop-up window displaying method, which may be implemented by a terminal, and referring to fig. 3, the method may include:
s300, acquiring a pop-up window to be displayed;
step S310, acquiring a preset popup display priority list;
and recording a display priority sequence corresponding to the popup to be displayed in the popup display priority list.
Step S320, acquiring a popup window display rule corresponding to the popup window to be displayed;
s330, acquiring a priority reordering rule corresponding to the popup to be displayed;
step S340, counting the popup acquisition duration of the popup to be displayed contained in the popup display priority list;
step S350, adjusting the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, prior to the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold, so as to update the display priority sequence of the popup to be displayed in the popup display priority list and obtain an updated popup display priority list;
it can be understood that, in the application, the display priority order of the popup to be displayed in the popup display priority list within the preset acquisition duration threshold value of the popup acquisition duration can be adjusted, and the display priority order of the popup to be displayed in the popup display priority list within the preset acquisition duration threshold value of the popup acquisition duration is higher than the display priority of the popup to be displayed within the preset acquisition duration threshold value of the popup acquisition duration. Therefore, in the execution process, the popup to be displayed with the popup acquisition time length within the preset acquisition time length threshold is preferentially displayed.
In the present application, the fact that the popup acquisition duration is not within the preset acquisition duration threshold indicates that the popup acquisition duration exceeds the preset acquisition duration threshold, that is, the popup acquisition duration is overtime.
It should be noted that the preset acquiring duration threshold in the present application may be set according to the types of different pop-up windows, and different types of pop-up windows may correspond to different preset acquiring duration thresholds or may correspond to the same preset acquiring duration threshold, which is not specifically limited in the present application.
And S360, performing popup display on the acquired popup to be displayed based on the display priority sequence corresponding to the popup to be displayed recorded in the updated popup display priority list and the popup display rule corresponding to the popup to be displayed.
This application is in the popup display process, owing to can receive the popup and acquire long restriction, lead to can't to wait to demonstrate the show priority order that the popup corresponds and carry out the popup show according to the popup show priority list that acquires in advance, consequently, this application can be based on the popup that different pops correspond and acquire long, right wait to demonstrate the show priority order of popup and adjust in the popup show priority list, satisfy practical application's demand, ensured going on smoothly of popup display process.
Fig. 4 is a flowchart illustrating another pop-up window displaying method, which may be implemented by a terminal, and referring to fig. 4, the method may include:
s400, acquiring a pop-up window to be displayed;
s410, acquiring a preset popup display priority list;
and recording a display priority sequence corresponding to the popup to be displayed in the popup display priority list.
Step S420, acquiring a popup window display rule corresponding to the popup window to be displayed;
step S430, obtaining a priority reordering rule corresponding to the popup to be displayed;
step S440, in a preset popup display period, counting the total popup window popup times of the popup windows to be displayed contained in the popup display priority list;
in the present application, in the preset pop-up window display period, different pop-up window pop-up total times can be set for different types of pop-up windows to be displayed.
Step S450, adjusting the display priority sequence of the popup to be displayed in the popup display priority list, wherein the popup total number of times of popup is not up to the popup total number threshold corresponding to the popup to be displayed, and updating the display priority sequence of the popup to be displayed in the popup display priority list to obtain an updated popup display priority list, prior to the display priority sequence of the popup to be displayed in the popup display priority list, wherein the popup total number of times of popup reaches the popup total number threshold corresponding to the popup to be displayed;
it should be noted that, in the application, the display priority order of the popup to be displayed in the popup display priority list, whose popup total times do not reach the popup total time threshold corresponding to the popup to be displayed, may be adjusted, and the display priority of the popup to be displayed in the popup display priority list, whose popup total times do not reach the popup total time threshold corresponding to the popup to be displayed, may be higher than the display priority of the popup to be displayed, whose popup total times reach the popup total time threshold corresponding to the popup window to be displayed, so that the popup to be displayed, whose popup total times do not reach the popup total time threshold corresponding to the popup to be displayed, may be preferentially displayed in the execution process.
It should be noted that the total pop-up time threshold in the present application may be set according to the types of different pop-up windows, and different types of pop-up windows may correspond to different total pop-up time thresholds or may correspond to the same total pop-up time threshold, which is not limited in the present application.
Step S460, performing pop-up window display on the acquired pop-up window to be displayed based on the display priority order corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
This application is in the popup show process, owing to can receive the restriction that the popup popped up total number of times, lead to can't be according to the show priority order that treats show popup and correspond among the popup show priority list that acquires in advance carries out the popup show, consequently, this application can pop up total number of times according to the popup that different popup correspond, right treat the show priority order of show popup and adjust in the popup show priority list, satisfy practical application's demand, ensured going on smoothly of popup show process.
The pop-up window display process disclosed in the embodiment of the present invention is described in detail below with a specific example:
1. firstly, acquiring a pop-up window to be displayed, comprising the following steps: giant screen advertisement pop-windows 1, 2 and 3 and sliding screen pop-windows 1, 2 and 3;
2. acquiring a preset pop-up window display priority list, wherein the display priorities corresponding to the pop-up windows to be displayed recorded in the pop-up window display priority list are sequentially from high to low: the large-screen advertisement popup window 1, the large-screen advertisement popup window 2, the large-screen advertisement popup window 3, the sliding screen popup window 1, the sliding screen popup window 2 and the sliding screen popup window 3;
3. acquiring a popup window display rule corresponding to the popup window to be displayed:
huge screen advertisement popup window 1: the effective time of pop-up window display is 7 seconds, the pop-up window display mode is full-screen display, and the total pop-up times of the pop-up window in one day are 6 times;
huge screen advertisement popup 2: the effective time of pop-up window display is 7 seconds, the pop-up window display mode is full-screen display, and the total pop-up times of the pop-up window in one day are 5 times;
huge screen advertisement popup window 3: the effective time of pop-up window display is 7 seconds, the pop-up window display mode is full-screen display, and the total pop-up times of the pop-up window in one day are 4 times;
sliding screen popup window 1: the effective time of pop-up window display is 3 seconds, the pop-up window display mode is small window display, and the total pop-up window number is 1 in one day;
sliding screen popup 2: the effective time of pop-up window display is 5 seconds, the pop-up window display mode is small window display, and the total pop-up window number is 2 times in one day;
sliding screen popup 3: the effective time of pop-up window display is 7 seconds, the pop-up window display mode is small window display, and the total pop-up times of the pop-up window in one day is 3 times.
4. When the application program home page is entered for the first time, performing popup display according to the popup display rule corresponding to the popup to be displayed and the popup display priority sequence;
5. after that, every time the first page is logged in, acquiring a priority reordering rule corresponding to the popup to be displayed, for example, a rule that the popup is displayed preferentially if the popup is successfully acquired within a preset popup acquisition time of 1 second;
if according to the pop-up window show priority order, this should show huge curtain advertisement pop-up window 2, but in presetting the pop-up window and obtaining length of time 1 second, 2 data acquisition overtime of huge curtain advertisement pop-up window, then the order of adjusting huge curtain advertisement pop-up window 2, after putting it in slide screen pop-up window 3 order, acquire the data of huge curtain advertisement pop-up window 3, if the data of huge curtain advertisement pop-up window 3 is presetting the pop-up window and obtaining length of time 1 second, then show huge curtain advertisement pop-up window 3.
For example: the reordering rule of priority is in predetermineeing pop-up window display cycle, if treat that the show pop-up window does not reach pop-up window and pop-up total number of times, then the rule of preferred show, if according to pop-up window show priority order, this should show huge curtain advertisement pop-up window 2, but huge curtain advertisement pop-up window 2 pops up total number of times and has reached 5 times in the pop-up window in one day, then this show that no longer carries out huge curtain advertisement pop-up window 2, directly judge whether huge curtain advertisement pop-up window 3 has reached the pop-up total number of times of pop-up window in one day, if not reach, then show huge curtain advertisement pop-up window 3.
In the following, the pop-up window display device provided by the embodiment of the invention is introduced, and the pop-up window display device described below may be referred to in correspondence with the pop-up window display method described above. The pop-up window display device described below may be regarded as a functional module architecture that is required to be set by a terminal to implement the pop-up window display method provided in the embodiment of the present invention.
Fig. 5 is a block diagram of a pop-up window display device according to an embodiment of the present invention, and referring to fig. 5, the pop-up window display device may include:
a pop-up window to be displayed acquisition module 100, configured to acquire a pop-up window to be displayed;
a pop-up window display priority list obtaining module 110, configured to obtain a preset pop-up window display priority list, where a display priority order corresponding to a pop-up window to be displayed is recorded in the pop-up window display priority list;
the pop-up window display rule obtaining module 120 is used for obtaining the pop-up window display rule corresponding to the pop-up window to be displayed;
and the pop-up window display module 130 is configured to perform pop-up window display on the acquired pop-up window to be displayed based on the display priority order corresponding to the pop-up window to be displayed and the pop-up window display rule corresponding to the pop-up window to be displayed.
Further comprising:
the priority reordering rule acquisition module is used for acquiring a priority reordering rule corresponding to the popup to be displayed;
and the display priority sequence updating module is used for updating the display priority sequence of the popup in the popup display priority list to be displayed based on the priority reordering rule to obtain an updated popup display priority list.
The pop-up window display module comprises:
and the pop-up window display submodule is used for performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
The display priority order updating module comprises:
the popup window acquisition duration counting module is used for counting the popup window acquisition duration of the popup window to be displayed contained in the popup window display priority list;
the first display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, and updating the display priority order of the popup to be displayed in the popup display priority list to obtain the updated popup display priority list, prior to the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold.
The display priority order updating module comprises:
the popup window total number of times counting module is used for counting the popup window total number of times of the popup windows to be displayed contained in the popup window display priority list in a preset popup window display period;
and the second display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, wherein the popup total number of times does not reach the popup total number threshold corresponding to the popup to be displayed, and the display priority order of the popup to be displayed in the popup display priority list is updated before the popup total number of times reaches the popup total number threshold corresponding to the popup to be displayed, so that the display priority order of the popup to be displayed in the popup display priority list is updated, and the updated popup display priority list is obtained.
In summary, the following steps:
the embodiment of the invention discloses a pop-up window display method and a pop-up window display device, wherein a pop-up window to be displayed is obtained; acquiring a preset pop-up window display priority list, wherein the pop-up window display priority list records a display priority sequence corresponding to a pop-up window to be displayed; acquiring a pop-up window display rule corresponding to the pop-up window to be displayed; and performing popup window display on the acquired popup window to be displayed based on the display priority sequence corresponding to the popup window to be displayed and the popup window display rule corresponding to the popup window to be displayed. In the method and the device, the popup is displayed according to the display priority sequence corresponding to the popup to be displayed and recorded in the popup display priority list which is preset and the popup display rule corresponding to the popup to be displayed, namely the display priority sequence is considered in the popup display process in the embodiment of the invention, and the problem of disordered popup display in the prior art is solved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A pop-up window display method is characterized by comprising the following steps:
acquiring a pop-up window to be displayed;
acquiring a preset pop-up window display priority list, wherein the pop-up window display priority list records a display priority sequence corresponding to a pop-up window to be displayed;
acquiring a pop-up window display rule corresponding to the pop-up window to be displayed;
acquiring a priority reordering rule corresponding to the popup to be displayed according to the total popup frequency or the popup acquisition duration, wherein the priority reordering rule comprises the following steps: within the preset popup acquisition duration, if the popup to be displayed is successfully acquired, the popup is preferentially displayed, and if the popup to be displayed is overtime, the popup is displayed later, or the popup is displayed after the popup enters the first page next time; and/or; in a preset popup display period, if the popup to be displayed does not reach the total popup times, preferentially displaying;
updating the display priority order of the popup to be displayed in the popup display priority list based on the priority reordering rule to obtain an updated popup display priority list;
and performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
2. The method according to claim 1, wherein the process of updating the display priority order of the pop-up windows to be displayed in the pop-up window display priority list based on the priority reordering rule to obtain an updated pop-up window display priority list comprises:
counting the popup window acquisition duration of the popup window to be displayed contained in the popup window display priority list;
adjusting the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, prior to the display priority sequence of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold, so as to update the display priority sequence of the popup to be displayed in the popup display priority list and obtain an updated popup display priority list.
3. The method according to claim 1, wherein the process of updating the display priority order of the pop-up windows to be displayed in the pop-up window display priority list based on the priority reordering rule to obtain an updated pop-up window display priority list comprises:
counting the total pop-up window pop-up times of the pop-up windows to be displayed contained in the pop-up window display priority list in a preset pop-up window display period;
adjusting the display priority sequence of the popup to be displayed in the popup display priority list, wherein the popup total number of times does not reach the popup total number threshold corresponding to the popup to be displayed, and prior to the popup total number of times reaching the popup total number threshold corresponding to the popup to be displayed, the display priority sequence of the popup to be displayed in the popup display priority list is updated so as to update the display priority sequence of the popup to be displayed in the popup display priority list and obtain the updated popup display priority list.
4. A pop-up window display device, comprising:
the pop-up window to be displayed acquisition module is used for acquiring the pop-up window to be displayed;
the popup display priority list acquisition module is used for acquiring a preset popup display priority list, wherein the popup display priority list records a display priority sequence corresponding to a popup to be displayed;
the pop-up window display rule acquisition module is used for acquiring the pop-up window display rule corresponding to the pop-up window to be displayed;
the priority reordering rule obtaining module is configured to obtain a priority reordering rule corresponding to a pop window to be displayed according to the total pop window pop times or the pop window obtaining duration, where the priority reordering rule includes: within the preset popup acquisition duration, if the popup to be displayed is successfully acquired, the popup is preferentially displayed, and if the popup to be displayed is overtime, the popup is displayed later, or the popup is displayed after the popup enters the first page next time; and/or; in a preset popup display period, if the popup to be displayed does not reach the total popup times, preferentially displaying;
the display priority sequence updating module is used for updating the display priority sequence of the popup in the popup display priority list to be displayed based on the priority reordering rule to obtain an updated popup display priority list;
and the pop-up window display module is used for performing pop-up window display on the acquired pop-up window to be displayed based on the display priority sequence corresponding to the pop-up window to be displayed recorded in the updated pop-up window display priority list and the pop-up window display rule corresponding to the pop-up window to be displayed.
5. The apparatus of claim 4, wherein the presentation priority order update module comprises:
the popup window acquisition duration counting module is used for counting the popup window acquisition duration of the popup window to be displayed contained in the popup window display priority list;
the first display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is within the preset acquisition duration threshold, and updating the display priority order of the popup to be displayed in the popup display priority list to obtain the updated popup display priority list, prior to the display priority order of the popup to be displayed in the popup display priority list, of which the popup acquisition duration is not within the preset acquisition duration threshold.
6. The apparatus of claim 4, wherein the presentation priority order update module comprises:
the popup window total number of times counting module is used for counting the popup window total number of times of the popup windows to be displayed contained in the popup window display priority list in a preset popup window display period;
and the second display priority order adjusting module is used for adjusting the display priority order of the popup to be displayed in the popup display priority list, wherein the popup total number of times does not reach the popup total number threshold corresponding to the popup to be displayed, and the display priority order of the popup to be displayed in the popup display priority list is updated before the popup total number of times reaches the popup total number threshold corresponding to the popup to be displayed, so that the display priority order of the popup to be displayed in the popup display priority list is updated, and the updated popup display priority list is obtained.
CN201710826445.9A 2017-09-14 2017-09-14 Popup window display method and device Active CN107463440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710826445.9A CN107463440B (en) 2017-09-14 2017-09-14 Popup window display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710826445.9A CN107463440B (en) 2017-09-14 2017-09-14 Popup window display method and device

Publications (2)

Publication Number Publication Date
CN107463440A CN107463440A (en) 2017-12-12
CN107463440B true CN107463440B (en) 2021-02-09

Family

ID=60551515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710826445.9A Active CN107463440B (en) 2017-09-14 2017-09-14 Popup window display method and device

Country Status (1)

Country Link
CN (1) CN107463440B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108717371B (en) * 2018-05-17 2021-11-12 成都六零加信息技术有限公司 Pop-up window management method and device
CN109189528B (en) * 2018-08-14 2021-11-30 上海尚往网络科技有限公司 Control method for pop-up window display and pop-up window display method
CN109491736B (en) * 2018-10-16 2023-03-31 深圳壹账通智能科技有限公司 Display method and device of pop-up frame window
CN109508218B (en) * 2018-10-25 2023-12-15 平安科技(深圳)有限公司 APP message pushing display control method, device, equipment and storage medium
CN112241297B (en) * 2019-07-18 2024-05-14 上海幻电信息科技有限公司 Data display method, system, computer equipment and readable storage medium
CN110764667B (en) * 2019-09-29 2022-02-08 北京淇瑀信息科技有限公司 Popup window display method and device and electronic equipment
CN110769119B (en) * 2019-09-29 2021-07-02 北京淇瑀信息科技有限公司 Application popup window display method and device and electronic equipment
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
CN111629248B (en) * 2020-05-12 2023-06-23 深圳Tcl数字技术有限公司 Dialog box control method, terminal device and readable storage medium
CN111722900B (en) * 2020-05-29 2023-01-24 五八有限公司 Display method and device for pop-up window
CN112016026B (en) * 2020-07-24 2023-02-21 上海淇玥信息技术有限公司 Resource bit display method and device and electronic equipment
CN111984260A (en) * 2020-09-01 2020-11-24 中国银行股份有限公司 Front-end APP popup window management method, device and system
CN113703885A (en) * 2021-07-12 2021-11-26 福建野小兽健康科技有限公司 Popup display method and device
CN113626125B (en) * 2021-08-17 2024-03-15 广州博冠信息科技有限公司 Popup window processing method and device, storage medium and electronic equipment
CN113900760B (en) * 2021-10-26 2024-05-28 广州博冠信息科技有限公司 Popup window display method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518954A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Method, device and open platform for transmitting information
CN105487760A (en) * 2015-12-15 2016-04-13 北京金山安全软件有限公司 Method and device for displaying message and electronic equipment
CN106993084A (en) * 2017-02-28 2017-07-28 努比亚技术有限公司 The method, device and mobile terminal that a kind of control information is shown

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9326030B2 (en) * 2013-07-30 2016-04-26 Google Inc. Systems and methods for triggering user notifications of media content items
CN104267893B (en) * 2014-09-30 2017-10-24 珠海市君天电子科技有限公司 It is a kind of to adjust the suspended window method and device pushed
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN106484509B (en) * 2016-09-27 2020-09-25 腾讯科技(深圳)有限公司 Output method and device of popup window and terminal
CN106502804B (en) * 2016-10-31 2019-11-05 武汉斗鱼网络科技有限公司 A kind of pop-up methods of exhibiting and system based on queue structure
CN107153545A (en) * 2017-05-09 2017-09-12 北京酷我科技有限公司 A kind of method that pop-up is managed collectively in iOS system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518954A (en) * 2013-09-30 2015-04-15 腾讯科技(深圳)有限公司 Method, device and open platform for transmitting information
CN105487760A (en) * 2015-12-15 2016-04-13 北京金山安全软件有限公司 Method and device for displaying message and electronic equipment
CN106993084A (en) * 2017-02-28 2017-07-28 努比亚技术有限公司 The method, device and mobile terminal that a kind of control information is shown

Also Published As

Publication number Publication date
CN107463440A (en) 2017-12-12

Similar Documents

Publication Publication Date Title
CN107463440B (en) Popup window display method and device
CN110324662B (en) Video cover generation method and device
US20160062793A1 (en) Method and apparatus for managing background application
US20190200008A1 (en) Method and device for testing screen fluency of terminal, and terminal device
CN109508218B (en) APP message pushing display control method, device, equipment and storage medium
DE10101933A1 (en) Refrigerator and control procedures therefor
CN108721898A (en) The determination method and apparatus of frame per second, storage medium, electronic device
WO2014075599A1 (en) Method, device and system for processing client environment data
US20170318317A1 (en) Method, device, and server for producing video frame set
CN111177610A (en) Material display method and device, electronic equipment and storage medium
CN110418158B (en) Live broadcast room service configuration method and device, electronic equipment and storage medium
CN116132742A (en) Method for determining video playing speed doubling value, video playing method, device and equipment
CN109062799A (en) Regression testing method, the apparatus and system of advertising scenarios
CN109189528B (en) Control method for pop-up window display and pop-up window display method
CN112148395A (en) Page display method, device, equipment and storage medium
CN112578953B (en) Display control method and device applied to terminal interface
WO2021087746A1 (en) Push content processing method and apparatus, and electronic device and storage medium
CN116596596A (en) Advertisement putting effect data processing method, device, equipment and storage medium
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN114610190B (en) Interface editing method, device, electronic equipment and readable medium
JP5832487B2 (en) Terminal device and program
CN108073638B (en) Data diagnosis method and device
CN113805490A (en) Device control method, system, apparatus, device and storage medium
CN106998467A (en) Media playback quality method of testing and device
CN105843575A (en) Information display method, device and system

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
GR01 Patent grant
GR01 Patent grant