CN111736936B - Popup display method, popup display device, terminal and readable storage medium - Google Patents

Popup display method, popup display device, terminal and readable storage medium Download PDF

Info

Publication number
CN111736936B
CN111736936B CN202010545055.6A CN202010545055A CN111736936B CN 111736936 B CN111736936 B CN 111736936B CN 202010545055 A CN202010545055 A CN 202010545055A CN 111736936 B CN111736936 B CN 111736936B
Authority
CN
China
Prior art keywords
task
timing
set time
configuration parameters
data
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
CN202010545055.6A
Other languages
Chinese (zh)
Other versions
CN111736936A (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 CN202010545055.6A priority Critical patent/CN111736936B/en
Publication of CN111736936A publication Critical patent/CN111736936A/en
Application granted granted Critical
Publication of CN111736936B publication Critical patent/CN111736936B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a popup window display method, a popup window display device, a popup window display terminal and a popup window storage medium, wherein the popup window display method comprises the following steps: acquiring floating data aiming at a popup to be displayed, and adjusting configuration parameters of the popup to be displayed according to the floating data so that the configuration parameters are target configuration data in a set time period; wherein the configuration parameters include at least one of: the configuration parameters are provided for the client, so that the client can display the popup window to be displayed based on the target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, regular or periodic manual modification is not needed, waste of human resources is avoided, and the working efficiency is improved.

Description

Popup display method, popup display device, terminal and readable storage medium
Technical Field
The present invention relates to the field of video technologies, and in particular, to a popup display method, a popup display device, a terminal, and a computer readable storage medium.
Background
With the development of internet services, various popups, such as advertisement popup or sliding popup, are usually popped up when a user opens a web page, software, mobile phone APP, etc., and based on different products and running requirements, advertisement contents or recommended contents of websites or application programs are generally displayed in the popup.
At present, when the popup window is displayed, the rear end interface returns to the priority list of the popup window, and after the client side takes the priority list, the popup window with the highest priority meeting the conditions is popped up according to the priority sequence. Along with the development of services, the types of popup windows are more and more, each service wants to pop up the popup window of the service in the important positions such as the first page of the terminal application program, and the contradiction of preempting high priority among the service parties is also more and more.
Because in the prior art, the configuration of the priority of the popup window needs to be manually modified by a developer, the popup windows of different services occupy high priority at different times, for example, some popup windows can be used only in related operation activities, so that frequent or periodic manual repeated labor is caused, manpower resources are wasted, and the working efficiency is low.
Disclosure of Invention
The technical problem to be solved by the embodiment of the invention is to provide a popup display method, a popup display device, a terminal and a computer readable storage medium, so that the problems that human resources are wasted and working efficiency is low when popup display is configured are solved.
In order to solve the above problems, the present invention discloses a popup window display method, which is applied to a server and comprises:
acquiring floating data aiming at a popup window to be displayed;
according to the floating data, adjusting the configuration parameters of the popup window to be displayed so that the configuration parameters are target configuration data in a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
Optionally, the adjusting the configuration parameter of the popup window to be displayed according to the floating data, so that the configuration parameter is the target configuration data in the set time period includes:
Generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
executing the timing adjustment task, and adjusting the configuration parameters from the initial configuration data to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
Optionally, before the performing the timing adjustment task and before adjusting the configuration parameter from the initial configuration data to the target configuration data at a first set time, the method further includes:
creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and commonly distributing any processing server in the distributed cluster for the first task node and the second task node.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters comprises:
Generating the timing adjustment task according to the first timing trigger rule and target configuration data;
generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
Optionally, the first timing trigger rule includes a plurality of trigger times, and before the generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration, the method further includes:
determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
According to a second aspect of the present invention, a popup window display method is disclosed, applied to a client, including:
receiving configuration parameters of a popup window to be displayed, wherein the configuration parameters are target configuration data in a set time period, the configuration parameters are adjusted on the server according to floating data aiming at the popup window to be displayed, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information;
And carrying out popup display on the popup to be displayed in the set time period based on the target configuration data.
According to a third aspect of the present invention, a popup window display method is disclosed, applied to a management server, including:
acquiring floating data aiming at a popup window to be displayed;
generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and distributing the timing adjustment task and the timing recovery task to a processing server so that the processing server can adjust the configuration parameters to enable the configuration parameters to be target configuration data in the set time period.
Optionally, the assigning the timing adjustment task and the timing recovery task to the processing server includes:
creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and commonly distributing any processing server in the distributed cluster for the first task node and the second task node.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the generating the timing adjustment task and the timing recovery task for the configuration parameters of the popup window to be displayed according to the floating data comprises the following steps:
generating the timing adjustment task according to the first timing trigger rule and target configuration data;
generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and generating the timing recovery task according to the second timing trigger rule and the initial configuration data of the configuration parameters.
Optionally, the first timing trigger rule includes a plurality of trigger times, and before the generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration, the method further includes:
determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
According to a fourth aspect of the present invention, a popup window display method is disclosed, applied to a processing server, including:
receiving a timing adjustment task and a timing recovery task which are sent by a management server and aim at configuration parameters of a popup window to be displayed; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
Executing the timing adjustment task and the timing recovery task, and adjusting the configuration parameters so that the configuration parameters are target configuration data in a set time period;
and providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
Optionally, the executing the timing adjustment task and the timing recovery task, and adjusting the configuration parameters so that the configuration parameters are the target configuration data in the set time period includes:
executing the timing adjustment task, and adjusting the configuration parameters from initial configuration data of the configuration parameters to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
According to a fifth aspect of the present invention, there is disclosed a pop-up window display device, applied to a server, comprising:
the data acquisition module is used for acquiring floating data aiming at the popup window to be displayed;
The parameter adjustment module is used for adjusting the configuration parameters of the popup window to be displayed according to the floating data so that the configuration parameters are target configuration data in a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and the parameter providing module is used for providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
Optionally, the parameter adjustment module includes:
the task generation sub-module is used for generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
an adjustment task execution sub-module, configured to execute the timing adjustment task, and adjust the configuration parameter from the initial configuration data to the target configuration data at a first set time;
and the recovery task execution sub-module is used for executing the timing recovery task and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
Optionally, the apparatus further comprises:
the node creation module is used for creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task before the timing adjustment task is executed and the configuration parameters are adjusted from the initial configuration data to the target configuration data at a first set time;
and the node distribution module is used for jointly distributing any processing server in the distributed cluster for the first task node and the second task node.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generation submodule includes:
an adjustment task generating unit, configured to generate the timing adjustment task according to the first timing trigger rule and target configuration data;
the rule generating unit is used for generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and the recovery task generating unit is used for generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
Optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
And the time determining module is used for determining that the adjustment duration is smaller than the shortest time interval among the plurality of trigger times before the second timing trigger rule is generated according to the first timing trigger rule and the adjustment duration.
According to a sixth aspect of the present invention, a popup window display device is disclosed, applied to a client, including:
the parameter receiving module is used for receiving configuration parameters of the popup window to be displayed, wherein the configuration parameters are target configuration data in a set time period, the configuration parameters are adjusted on the server according to floating data aiming at the popup window to be displayed, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information;
and the display module is used for displaying the popup window to be displayed based on the target configuration data in the set time period.
According to a seventh aspect of the present invention, there is disclosed a popup window display device applied to a management server, comprising:
the data acquisition module is used for acquiring floating data aiming at the popup window to be displayed;
The task generating module is used for generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and the task allocation module is used for allocating the timing adjustment task and the timing recovery task to a processing server so that the processing server can adjust the configuration parameters to enable the configuration parameters to be target configuration data in the set time period.
Optionally, the task allocation module includes:
the node creation sub-module is used for creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and the node allocation submodule is used for jointly allocating any processing server in the distributed cluster for the first task node and the second task node.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generating module includes:
The adjustment task generation sub-module is used for generating the timing adjustment task according to the first timing trigger rule and the target configuration data;
the rule generation sub-module is used for generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and the recovery task generation sub-module is used for generating the timing recovery task according to the second timing trigger rule and the initial configuration data of the configuration parameters.
Optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
and the time determining module is used for determining that the adjustment duration is smaller than the shortest time interval among the plurality of trigger times before the second timing trigger rule is generated according to the first timing trigger rule and the adjustment duration.
According to an eighth aspect of the present invention, there is disclosed a pop-up window display device, applied to a processing server, comprising:
the task receiving module is used for receiving a timing adjustment task and a timing recovery task which are sent by the management server and aim at the configuration parameters of the popup window to be displayed; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
The task execution module is used for executing the timing adjustment task and the timing recovery task and adjusting the configuration parameters so that the configuration parameters are target configuration data in a set time period;
and the parameter providing module is used for providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
Optionally, the task execution module includes:
an adjustment task execution sub-module, configured to execute the timing adjustment task, and adjust the configuration parameter from initial configuration data of the configuration parameter to the target configuration data at a first set time;
and the recovery task execution sub-module is used for executing the timing recovery task and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
According to a ninth aspect of the present invention, there is disclosed a terminal comprising: the system comprises a memory, a processor and a popup program stored on the memory and capable of running on the processor, wherein the popup program realizes the steps of the popup method when being executed by the processor.
According to a tenth aspect of the present invention, a computer readable storage medium is disclosed, characterized in that a popup program is stored on the computer readable storage medium, which when executed by a processor implements the steps in the popup method as described above.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, according to the floating data, a configuration parameter of the popup window to be displayed is adjusted, so that the configuration parameter is target configuration data within a set time period; wherein the configuration parameters include at least one of: the configuration parameters are provided for the client, so that the client can display the popup window to be displayed based on the target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, regular or periodic manual modification is not needed, waste of human resources is avoided, and the working efficiency is improved.
Drawings
FIG. 1 shows a flow chart of steps of an embodiment of a pop-up display method of the present invention;
FIG. 2 is a flow chart illustrating steps of another embodiment of a pop-up window display method of the present invention;
FIG. 3 shows a flow chart of steps of yet another embodiment of a pop-up window display method of the present invention;
FIG. 4 is a flow chart illustrating the steps of yet another embodiment of a pop-up window display method of the present invention;
FIG. 5 is a flow chart illustrating the steps of yet another embodiment of a pop-up window display method of the present invention;
fig. 6 shows a block diagram of an embodiment of a pop-up window display of the present invention.
Fig. 7 shows a block diagram of another embodiment of a pop-up window display of the present invention.
Fig. 8 shows a block diagram of yet another embodiment of a pop-up window display of the present invention.
Fig. 9 shows a block diagram of yet another embodiment of a pop-up window display of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a pop-up window display method of the present invention is shown, and the pop-up window display method is applied to a server, and may specifically include the following steps:
step 101, obtaining floating data aiming at a popup window to be displayed.
In the embodiment of the invention, in order to adjust the popup window to be displayed at fixed time, floating data aiming at the popup window to be displayed is added, the floating data can be aimed at one or more configuration parameters, and certain or a plurality of configuration parameters can be adjusted within a set time period according to the floating data.
In the embodiment of the present invention, for the control of the adjustment time, the floating data may include the time when the configuration parameter is adjusted and the time when the adjustment is continued, or may include the time when the configuration parameter is adjusted and the time when the restoration is performed. For control of the adjustment data, the floating data may include configuration data after the configuration parameter is adjusted, or may include a variation of the configuration data of the configuration parameter. The configuration parameters can be adjusted at one time according to the floating data, and the configuration parameters can also be adjusted periodically. And in particular may include any suitable floating data, as embodiments of the present invention are not limited in this regard.
For example, for a popup window to be displayed, floating data submitted by a background manager is received, the floating data comprises adjustment time of 10 to 12 am per day, and the adjustment data is that the display priority is adjusted to be 9.
And 102, adjusting the configuration parameters of the popup window to be displayed according to the floating data, so that the configuration parameters are target configuration data in a set time period.
In the embodiment of the present invention, the configuration parameters are used to control the display of the pop-up window, including display priority, display frequency, single display duration, display start time, client control information, user control information, etc., or any other applicable configuration parameters, which is not limited in the embodiment of the present invention.
The display priority is used for representing the priority when the popup window is displayed, for example, 10 priorities from 0 level to 9 levels are set, and the client displays the popup window with the highest priority under the condition that other conditions are met. The display frequency is used to characterize the frequency at which a popup is displayed on one client, for example, a display frequency of 2 times for 1 day is set for a popup, and then the popup is displayed at most twice within 1 day. The single display duration is used for representing the duration that the popup window is displayed in one display, for example, the single display duration of 10 seconds is set for a popup window, and then the popup window is automatically closed after being displayed for 10 seconds. The display start time is used to represent the start time and the end time that a popup window can be displayed, for example, if the display start time of a popup window is set to be from 1 day of 12 months in 2019 to 31 days of 12 months in 2019, the popup window will be displayed only during this period, and beyond this period, the popup window will not be displayed. The client control information includes information related to the client information and used for controlling the display, for example, a certain popup window is set to display or not display when the version of the client application program and the version of the operating system where the client is located meet the set requirements. The user control information includes information related to the user information for controlling the presentation, for example, setting the pop-up window to be presented only when the user is female, or not to be presented when the user is child, or the like.
In the embodiment of the invention, the client can acquire the configuration parameters of the popup to be displayed from the server, and the client displays the popup to be displayed according to the configuration parameters. The related technicians can set or modify various configuration parameters of each popup window to be displayed according to service requirements. For example, the client acquires the display priority in the configuration parameters, and preferentially displays the popup with the highest priority according to the display priority from high to low.
In the embodiment of the invention, according to the floating data, the configuration parameters of the popup window to be displayed can be adjusted so that the configuration parameters are target configuration data within a set time period. Specific implementations may include various, for example, generating a timing adjustment task and a timing recovery task according to initial configuration data of floating data and configuration parameters, executing the timing adjustment task first, adjusting the configuration parameters from the initial configuration data to target configuration data at a first set time, then executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein a set time period is a time period between the first set time and the second set time; or according to the floating data and the configuration parameters, setting the configuration parameters as target configuration data in a set time period, and setting the configuration parameters as initial configuration data outside the set time period, or any other suitable implementation manner, the embodiment of the invention is not limited thereto.
For example, according to the floating data, the display priority of the popup window is adjusted from 3 to 9 at 8 am every day, and then restored from 9 to 3 at 3 pm every day.
Step 103, providing the configuration parameters to the client, so that the client can display the popup to be displayed based on the target configuration data in the set time period.
In the embodiment of the invention, the server provides the configuration parameters to the clients, and the server can distribute the configuration parameters to all the clients periodically, or the clients can request the configuration parameters to the server periodically or when starting, so that the clients acquire target configuration data in a set time period, and the clients acquire initial configuration data outside the set time period.
After the client acquires the configuration parameters, carrying out popup display on popup to be displayed based on the configuration parameters, and if the popup display is carried out within a set time period, carrying out popup display based on the target configuration data. For example, in the set period, the display priority of the popup window to be displayed is highest, the popup window to be displayed is displayed on the client under the condition that other conditions are met, or the display priority of other popup windows to be displayed is higher than the display priority of the popup window to be displayed, and other popup windows to be displayed are displayed on the client under the condition that other conditions are met.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, according to the floating data, a configuration parameter of the popup window to be displayed is adjusted, so that the configuration parameter is target configuration data within a set time period; wherein the configuration parameters include at least one of: the configuration parameters are provided for the client, so that the client can display the popup window to be displayed based on the target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, regular or periodic manual modification is not needed, waste of human resources is avoided, and the working efficiency is improved.
Referring to fig. 2, a flowchart illustrating steps of another embodiment of a pop-up window display method of the present invention, applied to a server, may specifically include the following steps:
step 201, obtaining floating data for a popup to be displayed.
In the embodiments of the present invention, the specific implementation manner of this step may be referred to the description in the foregoing embodiments, which is not repeated herein.
And 202, generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters.
In the embodiment of the invention, in order to realize that the configuration parameters are the target configuration data in the set time period, a timing adjustment task and a timing recovery task can be generated according to the floating data and the initial configuration data. The timing adjustment task is a task that is executed on the server at regular time, adjusts one or more configuration parameters from the initial configuration data to the target configuration data, and the timing recovery task is a task that is executed on the server at regular time, and recovers one or more configuration parameters from the target configuration data to the initial configuration data.
For example, for the display priority of the popup window, the floating data is configured, including two parts of adjustment operation data and restoration operation data. The adjustment operation data is adjusted from the initial priority to the temporary priority, and comprises the temporary priority and a cron expression, wherein the cron expression is a character string and is commonly used for configuring the triggering time of the planning task. Recovering the operational data is to recover from the temporary priority to the initial priority, including adjusting the duration. Based on the temporary priority and the cron expression, a timing adjustment task may be generated, and based on the adjustment duration, a timing recovery task may be generated.
In an embodiment of the present invention, optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; one implementation of generating the timing adjustment task and the timing recovery task from the floating data and the initial configuration data of the configuration parameters may include:
step S1, generating the timing adjustment task according to the first timing trigger rule and target configuration data;
step S2, generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and step S3, generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
The first timing triggering rule is a rule related to triggering of a timing adjustment task, specifically, a rule when adjustment is performed, for example, a one-time triggering at a certain moment, a periodic triggering at a certain moment, a triggering after a set time period after a certain event occurs, or any other applicable rule, which is not limited in this embodiment of the present invention. First, a first timing trigger rule and target configuration data are analyzed from floating data, and then the first timing trigger rule and the target configuration data are written into a task record to serve as a timing adjustment task.
The adjustment duration refers to a time of adjustment duration, and the second timing trigger rule may be generated according to the first timing trigger rule and the adjustment duration. The second timing trigger rule is a rule related to triggering of the timing recovery task, specifically, a rule when recovery is performed, for example, a time after an adjustment duration elapses after a first set time of the first timing trigger rule, as a second set time of the second timing trigger rule, that is, a time at which timing recovery is triggered. Firstly, reading initial configuration data from the configuration parameters, and writing a second timing trigger rule and the initial configuration data into a task record to serve as a timing recovery task.
In an embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and before generating the second timing trigger rule according to the first timing trigger rule and the adjustment duration, the method may further include: determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
The timing adjustment task and the timing recovery task may be performed multiple times, where the first timing trigger rule includes multiple trigger times, e.g., where the timing adjustment task is a periodic task, the trigger times include multiple.
In this case, before the second timing trigger rule is generated, verification is required first to avoid that after the previous timing adjustment task is executed, the next timing adjustment task is executed before the corresponding timing recovery task is executed, and one verification method includes determining whether the adjustment duration is smaller than the shortest time interval between the plurality of trigger times, if the adjustment duration is not smaller than the shortest time interval between the plurality of trigger times, the floating data cannot be accepted, prompting the relevant technician to resubmit the appropriate floating data, and if the adjustment duration is smaller than the shortest time interval between the plurality of trigger times, the second timing trigger rule can be generated according to the first timing trigger rule and the adjustment duration, so that the problem that the configuration parameters cannot be recovered to the initial configuration data due to the conflict between the timing adjustment task executed for multiple times and the timing recovery task is avoided.
For example, the first timing trigger rule in the floating data is a cron expression, whether the cron expression is periodic or disposable is analyzed, if so, whether a conflict exists between the shortest time intervals and the adjustment durations of the plurality of trigger times of the first timing trigger rule needs to be checked, if the adjustment durations are smaller than the shortest time intervals between the plurality of trigger times, no conflict exists, the cron expression and the adjustment durations of the first timing trigger rule are converted into the cron expression as a second timing trigger rule, and the second timing trigger rule is stored. And after the verification is passed, writing a task record in the database, and associating the identification of the popup window to be displayed.
In an embodiment of the present invention, optionally, the method may further include: and determining that the target configuration data of the popup window to be displayed and other popups are different or the set time period is not overlapped according to the floating data of the popup window to be displayed and other popups.
Before the configuration parameters of the popup windows to be displayed are adjusted, whether the floating data between the popup windows to be displayed have conflict or not needs to be checked. Before the server receives the floating data of the popup to be displayed, the floating data of other popup to be displayed are received, and in order to avoid conflict with the target configuration data of other popup to be displayed in advance, the floating data of the popup to be displayed and other popups need to be checked.
In the embodiment of the invention, it is specifically determined whether the target configuration data of the popup window to be displayed is the same as the target configuration data of other popup windows, and whether the set time periods are overlapped, if the target configuration data of the popup window to be displayed is the same as the target configuration data of other popup windows, but the set time periods are not overlapped, the target configuration data of the popup window to be displayed is not conflicting with the target configuration data of other popup windows, if the target configuration data of the popup window to be displayed is not overlapped, the target configuration data of the popup window to be displayed is not conflicting with the target configuration data of other popup windows, therefore, as long as the target configuration data of the popup window to be displayed is not the same as the target configuration data of other popup windows or the set time periods are not overlapped, the server can not receive the floating data of the popup window to be displayed, and the relevant technical personnel needs to be prompted to re-fit the floating data.
For example, the first timing triggering rule in the floating data is a cron expression, and the target configuration data of the to-be-displayed popup window and other popup windows are compared with the cron expression, so that it is determined that the target configuration data are different or the set time periods are not overlapped. And after the verification is passed, writing a task record in the database, and associating the identification of the popup window to be displayed.
And 203, executing the timing adjustment task, and adjusting the configuration parameters from the initial configuration data to the target configuration data at a first set time.
In the embodiment of the present invention, the execution of the timing adjustment task specifically refers to adjusting the configuration parameters from the initial configuration data to the target configuration data at the first setting time. For example, the display priority of the popup window is adjusted from level 3 to level 9 at 8 am every day.
And 204, executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
In the embodiment of the invention, the timing recovery task is executed, specifically, the configuration parameters are adjusted from the target configuration data to the initial configuration data at the second setting time. For example, the display priority of the popup window is restored from level 9 to level 3 at 3 pm every day.
The time period between the first set time and the second set time is a set time period. When the set time period is periodic, the first set time is used as a starting point and the second set time is used as an ending point on each segment.
In an embodiment of the present invention, optionally, before the timing adjustment task is executed and the configuration parameter is adjusted from the initial configuration data to the target configuration data at a first set time, the method may further include:
step S4, a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task are created;
and S5, commonly distributing any processing server in the distributed cluster for the first task node and the second task node.
The timing adjustment task and the timing recovery task can be realized by using distributed timing tasks, so that the problem of floating data loss of the popup window to be displayed due to single-point faults is solved. After the timing adjustment task and the timing recovery task are generated, the timing adjustment task and the timing recovery task need to be handed over to the distributed cluster for execution.
In one way of implementing distributed deployment, a task corresponds to a node, and each node can store information such as data of the task. The node corresponding to the timing adjustment task is marked as a first task node, and the node corresponding to the timing recovery task is marked as a second task node.
When the processing servers in the distributed cluster are allocated to the first task node and the second task node, the processing servers are allocated to any one processing server instead of being allocated to a plurality of processing servers, so that only one processing server executes a timing adjustment task and a timing recovery task, the phenomenon that the plurality of processing servers in the cluster simultaneously perform data operation due to the timing execution task is avoided, and the distributed cluster is prevented from repeatedly modifying a data source for a plurality of times.
For example, distributed timing tasks are implemented using Quartz (an open source job scheduling framework written entirely by java) and ZooKeeper (a distributed, open source distributed application coordination service). The implementation of the distributed timing task is divided into a coordinator and an executing machine. The coordinator uses a ZooKeeper to store metadata of the timing adjustment task and the timing recovery task, the slicing information, all the participating executors and IP addresses thereof, slicing results and the like. The executor locally uses the Quartz as a timing task executor, and obtains metadata from the ZooKeeper when executing to execute the fragments which the executor should execute. The execution machine also monitors the adding and deleting operations of the corresponding task nodes in the ZooKeeper, and dynamically creates, deletes and modifies the Quartz object.
Adding and deleting the first task node and the second task node, namely adding and deleting the task node of the ZooKeeper. After the first task node and the second task node are created, triggering the configuration of the Quartz object on the execution machine, and writing the cron expressions of the first task node and the second task node into configuration information in the ZooKeeper.
After the task node is monitored to be created, all executors read the corresponding configuration information such as the cron expression and the like, and a Quartz object is created locally, wherein the Quartz object is a timing task object. When the Quartz object is executed, whether the corresponding task node in the ZooKeeper has a slicing result is checked, if not, a scheduler is selected from all execution machines by using an election function, and the scheduler executes the slicing result. Because the amount of writing operation is small, only 1 slice is divided, and the result of the slicing is that the IP address of one execution machine is randomly bound with the serial number of the slice, which means that only the execution machine executes the timing task. After the timing task is executed, if the task is a disposable task, node information of task nodes in the ZooKeeper needs to be cleaned.
Step 205, providing the configuration parameters to the client, so that the client performs popup display on the popup to be displayed based on the target configuration data in the set time period.
In the embodiments of the present invention, the specific implementation manner of this step may be referred to the description in the foregoing embodiments, which is not repeated herein.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, generating a timing adjustment task and a timing recovery task according to the floating data and initial configuration data of a configuration parameter, executing the timing adjustment task, adjusting the configuration parameter from the initial configuration data to the target configuration data at a first set time, executing the timing recovery task, and recovering the configuration parameter from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time, and providing the configuration parameter to a client for the client to display the popup window to be displayed based on the target configuration data in the set time period, so that the configuration parameter can be automatically adjusted at a fixed time, and no more frequent or periodic manual modification is necessary, thereby avoiding waste of human resources and improving working efficiency.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of a pop-up window display method of the present invention, applied to a client, may specifically include the following steps:
Step 301, receiving configuration parameters of a popup window to be displayed, which are provided by a server, wherein the configuration parameters are target configuration data in a set time period, the configuration parameters are adjusted on the server according to floating data aiming at the popup window to be displayed, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information.
In the embodiment of the present invention, the server provides the configuration parameters to the client, and the client receives the configuration parameters of the popup window to be displayed from the server periodically or during starting, and the specific adjustment manner of the configuration parameters can be referred to the description in the foregoing embodiment, which is not repeated herein.
And 302, performing popup display on the popup to be displayed in the set time period based on the target configuration data.
In the embodiment of the invention, the client acquires the target configuration data in a set time period, and the client acquires the initial configuration data outside the set time period. If the client side is in the set time period, the client side performs popup display on the popup to be displayed based on the target configuration data.
In summary, according to the embodiment of the present invention, the configuration parameters of the popup window to be displayed provided by the server are received, where the configuration parameters are target configuration data in a set period of time, the configuration parameters are adjusted on the server according to floating data for the popup window to be displayed, and the configuration parameters include at least one of the following: the popup window to be displayed is displayed based on the target configuration data in the set time period, so that configuration parameters can be automatically adjusted at regular time without frequent or periodical manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 4, a flowchart illustrating steps of still another embodiment of a pop-up window display method of the present invention, applied to a management server, may specifically include the following steps:
step 401, obtaining floating data for a popup to be displayed.
The management server acquires floating data submitted by a background manager for the popup to be displayed.
Step 402, generating a timing adjustment task and a timing recovery task for configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information.
In the embodiment of the present invention, the generation of the timing adjustment task and the timing recovery task is responsible for the management server, and the specific implementation manner may be referred to the description in the foregoing embodiment, which is not repeated herein.
And step 403, distributing the timing adjustment task and the timing recovery task to a processing server, so that the processing server can adjust the configuration parameters to enable the configuration parameters to be target configuration data in the set time period.
In the embodiment of the invention, a plurality of processing servers exist, and after the management server generates the timing adjustment task and the timing recovery task, the timing adjustment task and the timing recovery task are distributed to the processing servers, and the processing servers adjust the configuration parameters. Specific implementation may be referred to the description in the foregoing embodiments, and will not be repeated here.
In an embodiment of the present invention, optionally, one implementation manner of allocating the timing adjustment task and the timing recovery task to the processing server may include: creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task; and commonly distributing any processing server in the distributed cluster for the first task node and the second task node. Specific implementation may be referred to the description in the foregoing embodiments, and will not be repeated here.
In an embodiment of the present invention, optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; in one implementation of generating the timing adjustment task and the timing recovery task for the configuration parameters of the popup window to be displayed according to the floating data, the method may include: generating the timing adjustment task according to the first timing trigger rule and target configuration data; generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration; and generating the timing recovery task according to the second timing trigger rule and the initial configuration data of the configuration parameters. Specific implementation may be referred to the description in the foregoing embodiments, and will not be repeated here.
In the embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and before the second timing trigger rule is generated according to the first timing trigger rule and the adjustment duration, the method may further include: determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times. Specific implementation may be referred to the description in the foregoing embodiments, and will not be repeated here.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, a timing adjustment task and a timing recovery task for configuration parameters of the popup window to be displayed are generated according to the floating data; the configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single displaying duration, displaying starting time, client control information and user control information, distributing the timing adjustment task and the timing recovery task to a processing server, and enabling the processing server to adjust the configuration parameters so that the configuration parameters are target configuration data in the set time period, enabling the configuration parameters to be automatically adjusted at regular time without modifying the configuration parameters frequently or periodically manually, avoiding waste of human resources, and improving working efficiency.
Referring to fig. 5, a flowchart illustrating steps of still another embodiment of a pop-up window display method of the present invention, applied to a processing server, may specifically include the following steps:
step 501, receiving a timing adjustment task and a timing recovery task which are sent by a management server and aim at configuration parameters of a popup window to be displayed; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information.
In the embodiment of the invention, for each processing server, a timing adjustment task and a timing recovery task distributed by a management server are received.
And step 502, executing the timing adjustment task and the timing recovery task, and adjusting the configuration parameters so that the configuration parameters are target configuration data in a set time period.
In the embodiment of the present invention, the execution of the timing adjustment task and the timing recovery task is responsible for the processing server, and the specific implementation manner may be referred to the description in the foregoing embodiment, which is not repeated herein.
And step 503, providing the configuration parameters to a client, so that the client performs popup display on the popup to be displayed based on the target configuration data in the set time period.
In an embodiment of the present invention, optionally, executing the timing adjustment task and the timing recovery task, and adjusting the configuration parameter so that the configuration parameter is the target configuration data in the set period of time may include: and executing the timing adjustment task, adjusting the configuration parameters from the initial configuration data of the configuration parameters to the target configuration data at a first set time, executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time. Specific implementation may be referred to the description in the foregoing embodiments, and will not be repeated here.
In summary, according to the embodiment of the present invention, the timing adjustment task and the timing recovery task for the configuration parameters of the popup window to be displayed are received, which are sent by the management server; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: the method comprises the steps of displaying priority, displaying frequency, single displaying duration, displaying starting time, client control information and user control information, executing the timing adjustment task and the timing recovery task, adjusting configuration parameters so that the configuration parameters are target configuration data in a set time period, providing the configuration parameters to a client, enabling the client to display popup windows to be displayed in the set time period based on the target configuration data, enabling the configuration parameters to be automatically adjusted at regular time without frequent or periodic manual modification, avoiding waste of human resources, and improving working efficiency.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 6, a block diagram of an embodiment of a pop-up window display device of the present invention is shown, and the pop-up window display device is applied to a server, and may specifically include the following modules:
the data acquisition module 601 is configured to acquire floating data for a popup window to be displayed;
the parameter adjustment module 602 is configured to adjust the configuration parameter of the popup window to be displayed according to the floating data, so that the configuration parameter is the target configuration data in a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and the parameter providing module 603 is configured to provide the configuration parameter to a client, so that the client performs popup display on the popup to be displayed based on the target configuration data in the set time period.
In an embodiment of the present invention, optionally, the parameter adjustment module includes:
the task generation sub-module is used for generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
an adjustment task execution sub-module, configured to execute the timing adjustment task, and adjust the configuration parameter from the initial configuration data to the target configuration data at a first set time;
And the recovery task execution sub-module is used for executing the timing recovery task and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
In an embodiment of the present invention, optionally, the apparatus further includes:
the node creation module is used for creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task before the timing adjustment task is executed and the configuration parameters are adjusted from the initial configuration data to the target configuration data at a first set time;
and the node distribution module is used for jointly distributing any processing server in the distributed cluster for the first task node and the second task node.
In an embodiment of the present invention, optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generation submodule includes:
an adjustment task generating unit, configured to generate the timing adjustment task according to the first timing trigger rule and target configuration data;
The rule generating unit is used for generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and the recovery task generating unit is used for generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
In an embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
and the time determining module is used for determining that the adjustment duration is smaller than the shortest time interval among the plurality of trigger times before the second timing trigger rule is generated according to the first timing trigger rule and the adjustment duration.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, according to the floating data, a configuration parameter of the popup window to be displayed is adjusted, so that the configuration parameter is target configuration data within a set time period; wherein the configuration parameters include at least one of: the configuration parameters are provided for the client, so that the client can display the popup window to be displayed based on the target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, regular or periodic manual modification is not needed, waste of human resources is avoided, and the working efficiency is improved.
Referring to fig. 7, a block diagram of another embodiment of a pop-up window display device of the present invention is shown, and the pop-up window display device is applied to a client, and may specifically include the following modules:
the parameter receiving module 701 is configured to receive a configuration parameter of a popup window to be displayed, where the configuration parameter is target configuration data in a set period of time, the configuration parameter is adjusted on the server according to floating data for the popup window to be displayed, and the configuration parameter includes at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information;
and the display module 702 is configured to display the popup window to be displayed based on the target configuration data in the set time period.
In summary, according to the embodiment of the present invention, the configuration parameters of the popup window to be displayed provided by the server are received, where the configuration parameters are target configuration data in a set period of time, the configuration parameters are adjusted on the server according to floating data for the popup window to be displayed, and the configuration parameters include at least one of the following: the popup window to be displayed is displayed based on the target configuration data in the set time period, so that configuration parameters can be automatically adjusted at regular time without frequent or periodical manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 8, a block diagram of still another embodiment of a pop-up window display device of the present invention is shown, and the pop-up window display device is applied to a management server, and may specifically include the following modules:
the data acquisition module 801 is configured to acquire floating data for a popup window to be displayed;
a task generating module 802, configured to generate a timing adjustment task and a timing recovery task for the configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
and a task allocation module 803, configured to allocate the timing adjustment task and the timing recovery task to a processing server, so that the processing server adjusts the configuration parameter, so that the configuration parameter is the target configuration data in the set period of time.
In an embodiment of the present invention, optionally, the task allocation module includes:
the node creation sub-module is used for creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and the node allocation submodule is used for jointly allocating any processing server in the distributed cluster for the first task node and the second task node.
In an embodiment of the present invention, optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generating module includes:
the adjustment task generation sub-module is used for generating the timing adjustment task according to the first timing trigger rule and the target configuration data;
the rule generation sub-module is used for generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and the recovery task generation sub-module is used for generating the timing recovery task according to the second timing trigger rule and the initial configuration data of the configuration parameters.
In an embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
and the time determining module is used for determining that the adjustment duration is smaller than the shortest time interval among the plurality of trigger times before the second timing trigger rule is generated according to the first timing trigger rule and the adjustment duration.
In summary, according to the embodiment of the present invention, by acquiring floating data for a popup window to be displayed, a timing adjustment task and a timing recovery task for configuration parameters of the popup window to be displayed are generated according to the floating data; the configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single displaying duration, displaying starting time, client control information and user control information, distributing the timing adjustment task and the timing recovery task to a processing server, and enabling the processing server to adjust the configuration parameters so that the configuration parameters are target configuration data in the set time period, enabling the configuration parameters to be automatically adjusted at regular time without modifying the configuration parameters frequently or periodically manually, avoiding waste of human resources, and improving working efficiency.
Referring to fig. 9, a block diagram of still another embodiment of a pop-up window display device of the present invention is shown, and the pop-up window display device is applied to a processing server, and may specifically include the following modules:
the task receiving module 901 is configured to receive a timing adjustment task and a timing recovery task for configuration parameters of a popup window to be displayed, which are sent by a management server; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
a task execution module 902, configured to execute the timing adjustment task and the timing recovery task, and adjust the configuration parameters so that the configuration parameters are target configuration data in a set period of time;
the parameter providing module 903 is configured to provide the configuration parameter to a client, so that the client performs popup display on the popup to be displayed based on the target configuration data in the set period of time.
In an embodiment of the present invention, optionally, the task execution module includes:
an adjustment task execution sub-module, configured to execute the timing adjustment task, and adjust the configuration parameter from initial configuration data of the configuration parameter to the target configuration data at a first set time;
And the recovery task execution sub-module is used for executing the timing recovery task and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
In summary, according to the embodiment of the present invention, the timing adjustment task and the timing recovery task for the configuration parameters of the popup window to be displayed are received, which are sent by the management server; wherein the timing adjustment task and timing recovery task are generated by the management server from the floating data, the configuration parameters including at least one of: the method comprises the steps of displaying priority, displaying frequency, single displaying duration, displaying starting time, client control information and user control information, executing the timing adjustment task and the timing recovery task, adjusting configuration parameters so that the configuration parameters are target configuration data in a set time period, providing the configuration parameters to a client, enabling the client to display popup windows to be displayed in the set time period based on the target configuration data, enabling the configuration parameters to be automatically adjusted at regular time without frequent or periodic manual modification, avoiding waste of human resources, and improving working efficiency.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
According to still another embodiment of the present invention, there is provided a terminal including: the system comprises a memory, a processor and a popup presentation program stored in the memory and capable of running on the processor, wherein the popup presentation program realizes the steps of the popup presentation method according to any one of the embodiments when executed by the processor.
According to still another embodiment of the present invention, there is further provided a computer readable storage medium having stored thereon a popup program that, when executed by a processor, implements the steps of the popup method according to any one of the embodiments above.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or terminal device comprising the element.
The foregoing has described in detail a popup display method, a popup display device, a terminal, and a computer readable storage medium, to which specific examples are applied to illustrate the principles and embodiments of the present invention, the above examples are provided to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (17)

1. The popup window display method is characterized by being applied to a server and comprising the following steps of:
acquiring floating data aiming at a popup window to be displayed; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data;
according to the floating data, adjusting the configuration parameters of the popup window to be displayed so that the configuration parameters are target configuration data in a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
Providing the configuration parameters for a client, so that the client performs popup display on the popup to be displayed based on the target configuration data in the set time period;
and adjusting the configuration parameters of the popup window to be displayed according to the floating data, so that the configuration parameters are target configuration data within a set time period, wherein the method comprises the following steps:
generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
executing the timing adjustment task, and adjusting the configuration parameters from the initial configuration data to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
2. The method of claim 1, wherein prior to said performing said timing adjustment task, adjusting said configuration parameters from said initial configuration data to said target configuration data at a first set time, said method further comprises:
Creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and commonly distributing any processing server in the distributed cluster for the first task node and the second task node.
3. The method of claim 1, wherein generating a timing adjustment task and a timing recovery task from the floating data and initial configuration data for the configuration parameters comprises:
generating the timing adjustment task according to the first timing trigger rule and target configuration data;
generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
4. The method of claim 3, wherein the first timing trigger rule comprises a plurality of trigger times, the method further comprising, prior to said generating a second timing trigger rule based on the first timing trigger rule and an adjustment duration:
determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
5. The popup window display method is characterized by being applied to a client and comprising the following steps of:
receiving configuration parameters of a popup window to be displayed, wherein the configuration parameters are target configuration data in a set time period, the configuration parameters are adjusted on the server according to floating data aiming at the popup window to be displayed, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information; the floating data comprises a first timing trigger rule, an adjustment duration, and the target configuration data;
performing popup window display on the popup window to be displayed based on the target configuration data in the set time period;
the adjusting according to the floating data aiming at the popup window to be displayed comprises the following steps:
generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
executing the timing adjustment task, and adjusting the configuration parameters from the initial configuration data to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
6. The popup window display method is characterized by being applied to a management server and comprising the following steps of:
acquiring floating data aiming at a popup window to be displayed; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data;
generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information; the timing adjustment task is used for adjusting the configuration parameters from initial configuration data to target configuration data at a first set time, and the timing recovery task is used for recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time;
distributing the timing adjustment task and the timing recovery task to a processing server so that the processing server can adjust the configuration parameters to enable the configuration parameters to be target configuration data in a set time period; the set time period is a time period between the first set time and a second set time.
7. The method of claim 6, wherein the assigning the timing adjustment task and timing recovery task to a processing server comprises:
creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and commonly distributing any processing server in the distributed cluster for the first task node and the second task node.
8. The method of claim 6, wherein the floating data comprises a first timing trigger rule, an adjustment duration, and the target configuration data; the generating the timing adjustment task and the timing recovery task for the configuration parameters of the popup window to be displayed according to the floating data comprises the following steps:
generating the timing adjustment task according to the first timing trigger rule and target configuration data;
generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and generating the timing recovery task according to the second timing trigger rule and the initial configuration data of the configuration parameters.
9. The method of claim 8, wherein the first timing trigger rule comprises a plurality of trigger times, the method further comprising, prior to the generating a second timing trigger rule based on the first timing trigger rule and an adjustment duration:
Determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
10. The popup window display method is characterized by being applied to a processing server and comprising the following steps of:
receiving a timing adjustment task and a timing recovery task which are sent by a management server and aim at configuration parameters of a popup window to be displayed; wherein the timing adjustment task and the timing recovery task are generated by the management server according to floating data, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data; the timing adjustment task is used for adjusting the configuration parameters from initial configuration data to target configuration data at a first set time, and the timing recovery task is used for recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time;
executing the timing adjustment task and the timing recovery task, and adjusting the configuration parameters so that the configuration parameters are target configuration data in a set time period; the set time period is a time period between the first set time and a second set time;
And providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
11. The method of claim 10, wherein performing the timing adjustment task and timing recovery task, adjusting configuration parameters such that the configuration parameters are targeted configuration data for a set period of time comprises:
executing the timing adjustment task, and adjusting the configuration parameters from initial configuration data of the configuration parameters to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
12. A pop-up window display device, characterized in that it is applied to a server, comprising:
the data acquisition module is used for acquiring floating data aiming at the popup window to be displayed; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data;
the parameter adjustment module is used for adjusting the configuration parameters of the popup window to be displayed according to the floating data so that the configuration parameters are target configuration data in a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information;
The parameter providing module is used for providing the configuration parameters for the client so that the client can display the popup window to be displayed based on the target configuration data in the set time period;
the parameter adjustment module comprises:
the task generation sub-module is used for generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
an adjustment task execution sub-module, configured to execute the timing adjustment task, and adjust the configuration parameter from the initial configuration data to the target configuration data at a first set time;
and the recovery task execution sub-module is used for executing the timing recovery task and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
13. A pop-up display device, for application to a client, comprising:
the parameter receiving module is used for receiving configuration parameters of the popup window to be displayed, wherein the configuration parameters are target configuration data in a set time period, the configuration parameters are adjusted on the server according to floating data aiming at the popup window to be displayed, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information; the floating data comprises a first timing trigger rule, an adjustment duration, and the target configuration data;
The display module is used for displaying the popup window to be displayed based on the target configuration data in the set time period;
the adjusting according to the floating data aiming at the popup window to be displayed comprises the following steps:
generating a timing adjustment task and a timing recovery task according to the floating data and the initial configuration data of the configuration parameters;
executing the timing adjustment task, and adjusting the configuration parameters from the initial configuration data to the target configuration data at a first set time;
and executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time, wherein the set time period is a time period between the first set time and the second set time.
14. A pop-up display device, for use with a management server, comprising:
the data acquisition module is used for acquiring floating data aiming at the popup window to be displayed; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data;
the task generating module is used for generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup window to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display start time, client control information and user control information; the timing adjustment task is used for adjusting the configuration parameters from initial configuration data to target configuration data at a first set time, and the timing recovery task is used for recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time;
The task allocation module is used for allocating the timing adjustment task and the timing recovery task to a processing server so that the processing server can adjust the configuration parameters to enable the configuration parameters to be target configuration data in a set time period; the set time period is a time period between the first set time and a second set time.
15. The popup window display method is characterized by being applied to a processing server and comprising the following steps of:
the task receiving module is used for receiving a timing adjustment task and a timing recovery task which are sent by the management server and aim at the configuration parameters of the popup window to be displayed; wherein the timing adjustment task and the timing recovery task are generated by the management server according to floating data, and the configuration parameters comprise at least one of the following: display priority, display frequency, single display duration, display start time, client control information and user control information; the floating data comprises a first timing trigger rule, an adjustment duration and target configuration data; the timing adjustment task is used for adjusting the configuration parameters from initial configuration data to target configuration data at a first set time, and the timing recovery task is used for recovering the configuration parameters from the target configuration data to the initial configuration data at a second set time;
The task execution module is used for executing the timing adjustment task and the timing recovery task and adjusting the configuration parameters so that the configuration parameters are target configuration data in a set time period; the set time period is a time period between the first set time and a second set time;
and the parameter providing module is used for providing the configuration parameters for the client so that the client can display the popup to be displayed based on the target configuration data in the set time period.
16. A terminal, comprising: memory, a processor and a popup presentation program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the popup presentation method of any of claims 1 to 11.
17. A computer readable storage medium, wherein a popup presentation program is stored on the computer readable storage medium, which when executed by a processor implements the steps of the popup presentation method according to any one of claims 1 to 11.
CN202010545055.6A 2020-06-15 2020-06-15 Popup display method, popup display device, terminal and readable storage medium Active CN111736936B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010545055.6A CN111736936B (en) 2020-06-15 2020-06-15 Popup display method, popup display device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010545055.6A CN111736936B (en) 2020-06-15 2020-06-15 Popup display method, popup display device, terminal and readable storage medium

Publications (2)

Publication Number Publication Date
CN111736936A CN111736936A (en) 2020-10-02
CN111736936B true CN111736936B (en) 2023-08-15

Family

ID=72649244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010545055.6A Active CN111736936B (en) 2020-06-15 2020-06-15 Popup display method, popup display device, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN111736936B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256377A (en) * 2020-10-26 2021-01-22 北京达佳互联信息技术有限公司 Popup window data processing method and device
CN112559934A (en) * 2020-12-14 2021-03-26 北京三快在线科技有限公司 Page popup display method and device
TWI765706B (en) * 2021-05-11 2022-05-21 凌華科技股份有限公司 Non-intrusive shared processing method and system for pop-up window
CN116051328B (en) * 2023-02-10 2024-01-12 杨金峰 Remote management system and method for multimedia teaching based on Internet of things

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252179A (en) * 2005-03-10 2006-09-21 Nippon Telegr & Teleph Corp <Ntt> Advertisement presentation in internet advertising service, management method, advertisement management server, program and storage medium for storing the same program
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN105847896A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Live broadcast information display method and device
CN106648612A (en) * 2016-10-26 2017-05-10 乐视控股(北京)有限公司 Popup window configuration method and device
CN107835231A (en) * 2017-10-19 2018-03-23 平安科技(深圳)有限公司 The processing method and terminal device of feedback information
CN109358935A (en) * 2018-09-29 2019-02-19 北京金山安全软件有限公司 Control method and device for popup window display, terminal equipment and storage medium
CN110399190A (en) * 2019-06-21 2019-11-01 北京奇艺世纪科技有限公司 Page display method, device, terminal device and computer-readable medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8418078B2 (en) * 2004-04-30 2013-04-09 Ebay Inc. Method and system to display a pop-up window when a user leaves a website
US20070192734A1 (en) * 2006-02-16 2007-08-16 Viktors Berstis Methods and arrangements to control pop-up windows
US11191433B2 (en) * 2018-02-17 2021-12-07 Revibe Technologies, Inc. Apparatus and method for a personalized reminder with intelligent self-monitoring

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252179A (en) * 2005-03-10 2006-09-21 Nippon Telegr & Teleph Corp <Ntt> Advertisement presentation in internet advertising service, management method, advertisement management server, program and storage medium for storing the same program
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN105847896A (en) * 2016-03-30 2016-08-10 乐视控股(北京)有限公司 Live broadcast information display method and device
CN106648612A (en) * 2016-10-26 2017-05-10 乐视控股(北京)有限公司 Popup window configuration method and device
CN107835231A (en) * 2017-10-19 2018-03-23 平安科技(深圳)有限公司 The processing method and terminal device of feedback information
CN109358935A (en) * 2018-09-29 2019-02-19 北京金山安全软件有限公司 Control method and device for popup window display, terminal equipment and storage medium
CN110399190A (en) * 2019-06-21 2019-11-01 北京奇艺世纪科技有限公司 Page display method, device, terminal device and computer-readable medium

Also Published As

Publication number Publication date
CN111736936A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN111736936B (en) Popup display method, popup display device, terminal and readable storage medium
US10778548B2 (en) Method and system for determining workload availability in a multi-tenant environment
CN107959640B (en) Network service scheduling method and device
US10725965B1 (en) Systems and methods for managing copy creation and deletion
US9294371B2 (en) Enterprise-level management, control and information aspects of cloud console
US10083412B2 (en) Systems and methods for scheduling work items
US8959509B1 (en) Techniques for virtual machine backup scheduling
CN110888721A (en) Task scheduling method and related device
US8909603B2 (en) Backing up objects to a storage device
US20130006701A1 (en) Assessing and managing risks of service related changes based on dynamic context information
US20150212808A1 (en) Automated software maintenance based on forecast usage
US10275241B2 (en) Hybrid development systems and methods
WO2013055554A1 (en) Method and system for allocation of resources in an agile environment
US10853746B2 (en) Systems and methods for scheduling work items
US11025713B2 (en) Dynamic allocation of execution resources
US20180349179A1 (en) Centralized flexible deployment system
US20180322471A1 (en) Techniques for crowdsourcing and dynamically updating computer-aided schedules
US8037140B2 (en) System, method and program product for managing communications pursuant to an information technology (IT) migration
US9934307B2 (en) Apparatus and method for managing job flows in an information processing system
US20100010855A1 (en) Scheduling a Meeting of Users of Networked Computers
US20210216945A1 (en) System for processing enterprise data to improve task planning
US9935817B2 (en) Managed execution and expiration of agent commands
US8726352B2 (en) Administration of access control keys in a virtual world
JP6131725B2 (en) Information processing apparatus and information processing program
US20180341521A1 (en) Managing job schedules

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