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

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

Info

Publication number
CN111736936A
CN111736936A CN202010545055.6A CN202010545055A CN111736936A CN 111736936 A CN111736936 A CN 111736936A CN 202010545055 A CN202010545055 A CN 202010545055A CN 111736936 A CN111736936 A CN 111736936A
Authority
CN
China
Prior art keywords
task
configuration parameters
timing
data
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010545055.6A
Other languages
Chinese (zh)
Other versions
CN111736936B (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

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/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 terminal and a storage medium, wherein the method comprises the following steps: acquiring floating data for a popup window to be displayed, and adjusting 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 configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and providing configuration parameters to a client so that the client can display the popup window to be displayed based on target configuration data in a set time period, so that the configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.

Description

Popup window display method, popup window display device, terminal and readable storage medium
Technical Field
The present invention relates to the field of video technologies, and in particular, to a pop-up window display method, a pop-up window display apparatus, a terminal, and a computer-readable storage medium.
Background
With the development of internet services, various types of pop-ups, such as advertisement pop-ups or slide screen pop-ups, are usually automatically popped up when a user opens a webpage, software, a mobile phone APP, and the like, and some advertisement contents or recommended contents of websites or application programs and the like are generally displayed in the pop-ups based on different products and operation requirements.
At present, when a popup is displayed, a priority list of the popup is returned by a rear-end interface, and after a client side takes the priority list, the popup meeting the conditions and having the highest priority is popped up according to the priority sequence. With the development of services, the types of popup windows are more and more, each service wants to be able to pop up the popup window of its own service preferentially at important positions such as the home page of the terminal application program, and the contradiction of high priority preemption among all service parties is also greater and greater.
In the prior art, the priority configuration of the pop-up windows needs to be manually modified by developers, and the pop-up windows of different services occupy high priorities at different moments, for example, some pop-up windows are only used during relevant operation activities, which causes frequent or periodic manual repeated labor, wastes human resources, and has low working efficiency.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a pop-up window display method, a pop-up window display device, a terminal, and a computer-readable storage medium, so as to solve the problems of manpower resource waste and low working efficiency when the pop-up window is configured.
In order to solve the above problems, the present invention discloses a pop-up window display method, which is applied to a server, and comprises:
acquiring floating data for the popup to be displayed;
adjusting the configuration parameters of the pop-up window to be displayed according to the floating data so as to enable the configuration parameters to be 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 starting time, client control information and user control information;
and 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.
Optionally, the adjusting, according to the floating data, the configuration parameter of the pop-up window to be displayed, so that the configuration parameter is target configuration data in a 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 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, 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 allocating any processing server in the distributed cluster to the first task node and the second task node together.
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, which is applied to a client, and includes:
receiving configuration parameters of a popup window to be displayed, wherein the configuration parameters are target configuration data within a set time period, the configuration parameters are adjusted on the server according to floating data of the popup window to be displayed, and the configuration parameters include at least one of the following parameters: display priority, display frequency, single display duration, display starting time, client control information and user control information;
and performing pop-up window display on the pop-up window to be displayed based on the target configuration data in the set time period.
According to a third aspect of the present invention, a popup window display method is disclosed, which is applied to a management server, and includes:
acquiring floating data for the popup to be displayed;
generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting 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 allocating 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 allocating any processing server in the distributed cluster to the first task node and the second task node together.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the generating of the timing adjustment task and the timing recovery task for the configuration parameters of the popup to be displayed according to the floating data 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 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, which is applied to a processing server, and includes:
receiving a timing adjustment task and a timing recovery task which are sent by a management server and aim at the configuration parameters of the popup to be displayed; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: display priority, display frequency, single display duration, display starting time, client control information and user control information;
executing the timing adjustment task and the timing recovery task, and adjusting configuration parameters to enable the configuration parameters to be target configuration data in a set time period;
and 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.
Optionally, the 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 within the set time period includes:
executing the timing adjustment task, and adjusting the configuration parameters from the 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 to be displayed;
the parameter adjusting 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 within a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting time, client control information and user control information;
and the parameter providing module is used for 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.
Optionally, the parameter adjusting module includes:
the task generation submodule 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;
the adjustment task execution submodule is used for 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 the recovery task execution submodule 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, and the set time period is a time period between the first set time and the second set time.
Optionally, the apparatus further comprises:
a node creating module, configured to create 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 distributing any processing server in the distributed cluster for the first task node and the second task node together.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generation submodule comprises:
the adjusting task generating unit is used for generating the timing adjusting task according to the first timing trigger rule and the 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:
a time determining module, configured to determine that the adjustment duration is less than the shortest time interval between the multiple trigger times before generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration.
According to a sixth aspect of the present invention, a pop-up window display device is disclosed, which is applied to a client, and comprises:
the system comprises a parameter receiving module, a parameter setting module and a display module, wherein the parameter receiving module is used for receiving configuration parameters of a popup window to be displayed, the configuration parameters are target configuration data within 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 starting time, client control information and user control information;
and the display module is used for performing popup window display on 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 pop-up window display device applied to a management server, comprising:
the data acquisition module is used for acquiring floating data aiming at the popup to be displayed;
the task generation module is used for generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting 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 creating submodule 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 distribution submodule is used for distributing any processing server in the distributed cluster for the first task node and the second task node together.
Optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; the task generation module comprises:
the adjustment task generation submodule is used for generating the timing adjustment task according to the first timing trigger rule and the target configuration data;
the rule generating submodule 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 submodule 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:
a time determining module, configured to determine that the adjustment duration is less than the shortest time interval between the multiple trigger times before generating a second timing trigger rule 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 the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: display priority, display frequency, single display duration, display starting 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 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.
Optionally, the task execution module includes:
the adjustment task execution submodule is used for executing the timing adjustment task and adjusting the configuration parameters from the initial configuration data of the configuration parameters to the target configuration data at a first set time;
and the recovery task execution submodule 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, and 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 display program stored on the memory and capable of running on the processor, wherein the popup display program realizes the steps of the popup display method when being executed by the processor.
According to a tenth aspect of the present invention, a computer-readable storage medium is disclosed, wherein the computer-readable storage medium stores a pop-up window presentation program, and the pop-up window presentation program, when executed by a processor, implements the steps in the pop-up window presentation method as described above.
In summary, according to the embodiment of the present invention, floating data for a popup to be displayed is obtained, and a configuration parameter of the popup to be displayed is adjusted according to the floating data, so that the configuration parameter is a target configuration data within a set time period; wherein the configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and providing configuration parameters to a client so that the client can display the popup window to be displayed based on target configuration data in a set time period, so that the configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.
Drawings
FIG. 1 is a flow chart illustrating the steps of one embodiment of a pop-up window display method of the present invention;
FIG. 2 is a flow chart illustrating the steps of another pop-up window display method embodiment of the present invention;
FIG. 3 is a flow chart illustrating steps of yet another pop-up window display method embodiment of the present invention;
FIG. 4 is a flow chart illustrating the steps of yet another pop-up window display method embodiment of the present invention;
FIG. 5 is a flow chart illustrating steps of yet another pop-up window display method embodiment of the present invention;
fig. 6 is a block diagram illustrating a configuration of an embodiment of a pop-up window display device according to the present invention.
Fig. 7 is a block diagram illustrating another embodiment of the pop-up window display device according to the present invention.
Fig. 8 is a block diagram illustrating a pop-up window display device according to another embodiment of the present invention.
Fig. 9 is a block diagram illustrating a configuration of another pop-up window display device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a pop-up window displaying method according to the present invention is shown, and applied to a server, the method specifically includes the following steps:
step 101, acquiring floating data for a popup to be displayed.
In the embodiment of the invention, in order to adjust the popup to be displayed at regular time, floating data aiming at the popup to be displayed is added, the floating data can be aiming at one or more configuration parameters, and one or more 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 a time when the configuration parameter is adjusted and a time during which the adjustment lasts, or may include a time when the configuration parameter is adjusted and a time when the recovery is performed. For the control of the adjustment data, the floating data may include configuration data after the configuration parameter is adjusted, or may include a variation amount of the configuration data of the configuration parameter. The configuration parameters can be adjusted at one time according to the floating data, and can also be adjusted periodically. Any suitable floating data may be specifically included, and embodiments of the present invention are not limited in this respect.
For example, floating data submitted by background management personnel is received for a certain pop-up window to be displayed, the floating data comprises the adjusted time of 10 to 12 am every day, and the adjusted data is that the display priority is adjusted to be 9.
And step 102, adjusting the configuration parameters of the pop-up window to be displayed according to the floating data so as to enable the configuration parameters to be 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, and include a display priority, a display frequency, a single display duration, a display start time, client control information, user control information, and the like, or any other suitable configuration parameters, which is not limited in this embodiment of the present invention.
The presentation priority is used to represent the priority when the pop-up window is presented, for example, 10 priorities from 0 to 9 are set, and the client presents the pop-up window with the highest priority when other conditions are met. The presentation frequency is used to characterize the frequency of the pop-up window being presented on a client, for example, if a presentation frequency of 1 day and 2 times is set for a certain pop-up window, the pop-up window is presented at most twice in 1 day. The single display duration is used to represent the duration of the pop-up window being displayed in one display, for example, a single display duration of 10 seconds is set for a certain pop-up window, and then the pop-up window is automatically closed after being displayed for 10 seconds. The presentation start time is used to represent the start time and the end time of the pop-up window, for example, if the presentation start time of a pop-up window is set from 12/1/2019 to 12/31/2019, the pop-up window will be presented only in this period, and will not be presented beyond this period. The client control information includes information related to the client information for controlling the display, for example, a popup is set to be displayed or not displayed 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 for controlling the display related to the user information, and for example, a pop-up window is set to be displayed when the user is a woman, or not displayed when the user is a child.
In the embodiment of the invention, the client can obtain the configuration parameters of the popup window to be displayed from the server, and the client displays the popup window to be displayed according to the configuration parameters. The relevant technicians can set or modify various configuration parameters of each popup window to be displayed according to business requirements. For example, the client obtains 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 to be displayed can be adjusted, so that the configuration parameters are target configuration data in a set time period. The specific implementation manner may include multiple types, for example, generating a timing adjustment task and a timing recovery task according to initial configuration data of the floating data and the configuration parameters, executing the timing adjustment task, 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, where the set time period is a time period between the first set time and the second set time; or setting the configuration parameter as the target configuration data within a set time period according to the floating data and the configuration parameter, and setting the configuration parameter as the initial configuration data outside the set time period, or any other suitable implementation manner, which is not limited in this embodiment of the present invention.
For example, according to the floating data, the presentation priority of the pop-up window is adjusted from 3 to 9 at 8 am every day, and then restored from 9 to 3 at 3 pm every day.
103, 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 within the set time period.
In the embodiment of the present invention, the server provides the configuration parameters to the clients, and may be that the server periodically distributes the configuration parameters to all the clients, or the clients periodically or at the time of starting request the configuration parameters from the server, so that the clients acquire the target configuration data within the set time period, and the clients acquire the initial configuration data outside the set time period.
After the client side obtains the configuration parameters, the popup window to be displayed is displayed based on the configuration parameters, and if the popup window is within a set time period, the popup window is displayed based on the target configuration data. For example, within a set time period, the display priority of the pop-up window to be displayed is the highest, and the pop-up window to be displayed is displayed on the client under the condition that other conditions are met, or the display priority of other pop-up windows to be displayed is higher than that of the pop-up window to be displayed, and other pop-up 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, floating data for a popup to be displayed is obtained, and a configuration parameter of the popup to be displayed is adjusted according to the floating data, so that the configuration parameter is a target configuration data within a set time period; wherein the configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and providing configuration parameters to a client so that the client can display the popup window to be displayed based on target configuration data in a set time period, so that the configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 2, a flowchart illustrating steps of another embodiment of a pop-up window displaying method according to the present invention is shown, and applied to a server, the method specifically includes the following steps:
step 201, floating data for the popup to be displayed is acquired.
In the embodiment of the present invention, the specific implementation manner of this step may refer to the description in the foregoing embodiment, and details are not described herein.
Step 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 present invention, in order to realize that the configuration parameter is the target configuration data within the set time period, the timing adjustment task and the timing recovery task may be generated according to the floating data and the initial configuration data. The timing adjustment task is a task which is executed on the server at regular time and adjusts one or more configuration parameters from initial configuration data to target configuration data, and the timing recovery task is a task which 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 presentation priority of popup, floating data is configured, including both adjusting operation data and restoring operation data. The operation data is adjusted from the initial priority to the temporary priority, and the operation data comprises the temporary priority and a cron expression, wherein the cron expression is a character string and is generally used for configuring the triggering time of the planning task. The recovery operation data is recovered from the temporary priority to the initial priority, including adjusting the duration. The timing adjustment task may be generated according to the temporary priority and the cron expression, and the timing recovery task may be generated according to the adjustment duration.
In the 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 according to the floating data and the initial configuration data of the configuration parameters may include:
substep S1, generating the timing adjustment task according to the first timing trigger rule and the target configuration data;
substep S2, generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration;
and a substep S3, generating the timing recovery task according to the second timing trigger rule and the initial configuration data.
The first timing trigger rule is a rule related to triggering of a timing adjustment task, and specifically refers to a rule for when to perform adjustment, for example, the first timing trigger rule is triggered at a certain time at one time, or periodically triggered at a certain time, or triggered after a certain event occurs for a set time duration, or any other applicable rule, which is not limited in this embodiment of the present invention. The method comprises the steps of firstly analyzing a first timing trigger rule and target configuration data from floating data, and then writing the first timing trigger rule and the target configuration data into a task record to serve as a timing adjustment task.
The adjustment duration refers to an 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 the triggering of the timing recovery task, and specifically refers to a rule of when to perform recovery, for example, a time after an adjustment duration has elapsed after a first set time of the first timing trigger rule is used as a second set time of the second timing trigger rule, that is, a time to trigger timing recovery. Reading initial configuration data from the configuration parameters, and writing the second timing trigger rule and the initial configuration data into a task record to serve as a timing recovery task.
In this embodiment of the present invention, optionally, the first timing trigger rule includes multiple 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 required to be performed a plurality of times, in which case the first timing trigger rule includes a plurality of trigger times, for example, when the timing adjustment task is a periodic task, the trigger times are included in a plurality.
In this case, before the second timing trigger rule is generated, it is necessary to check first, so as to avoid that after the execution of the previous timing adjustment task occurs, before the corresponding timing recovery task is executed, the next timing adjustment task is executed, one check mode comprises determining whether the adjustment duration is less than the shortest time interval among the plurality of trigger times, if the adjustment duration is not less than the shortest time interval among the plurality of trigger times, the floating data is not accepted, the relevant technician is prompted to resubmit the appropriate floating data, if the adjustment duration is less than the minimum time interval between the plurality of trigger times, a second timing trigger rule may be generated based on the first timing trigger rule and the adjustment duration, therefore, the problem that the configuration parameters cannot be recovered to the initial configuration data due to the fact that the timing adjustment task and the timing recovery task which are executed for many times are in conflict 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 the cron expression is periodic, whether a conflict exists between a shortest time interval between a plurality of trigger times of the first timing trigger rule and an adjustment duration needs to be checked, if the adjustment duration is smaller than the shortest time interval between the plurality of trigger times, the conflict does not exist, the cron expression and the adjustment duration of the first timing trigger rule are converted into the cron expression to serve as a second timing trigger rule, and the second timing trigger rule is stored. And writing a task record in the database after the verification is passed, and associating the identifier of the popup window to be displayed.
In the embodiment of the present invention, optionally, the method may further include: and determining that the target configuration data of the pop-up window to be displayed is different from the target configuration data of other pop-up windows or the set time periods are not overlapped according to the floating data of the pop-up window to be displayed and other pop-up windows.
Before adjusting the configuration parameters of the pop-up windows to be displayed, it is also necessary to check whether the floating data between the pop-up windows to be displayed conflict or not. Before the server receives the floating data of the popup to be displayed, the floating data of other popup to be displayed is already received, and in order to avoid conflict with the target configuration data of other popup to be displayed, the floating data of the popup to be displayed and other popup need to be verified.
In the embodiment of the present invention, it is specifically determined whether target configuration data of the pop-up window to be displayed is the same as target configuration data of other pop-up windows and whether set time periods overlap, if the target configuration data of the pop-up window to be displayed is the same as the target configuration data of other pop-up windows but the set time periods do not overlap, the target configuration data of the pop-up window to be displayed and the target configuration data of other pop-up windows do not conflict, if the target configuration data of the pop-up window to be displayed is different from the set time periods of other pop-up windows, the target configuration data of the pop-up window to be displayed and the target configuration data of other pop-up windows do not conflict, therefore, the server may receive floating data of the pop-up window to be displayed as long as it is determined that the target configuration data of the pop-up window to be displayed is different from the target configuration data of other pop-up windows and the set time periods overlap, the server may not receive floating, the relevant technician needs to be prompted to resubmit the appropriate floating data.
For example, the first timing trigger rule in the floating data is a cron expression, and the target configuration data of the popup to be displayed and other popup 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 writing a task record in the database after the verification is passed, and associating the identifier of the popup window to be displayed.
Step 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 set time. For example, the presentation priority of pop-up windows is adjusted from level 3 to level 9 at 8 am each day.
Step 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, where the set time period is a time period between the first set time and the second set time.
In the embodiment of the present invention, the execution of the timing recovery task specifically refers to adjusting the configuration parameters from the target configuration data to the initial configuration data at the second set time. For example, the presentation priority of the pop-up window is restored from level 9 to level 3 at 3 pm every day.
And 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 taken as a starting point and the second set time is taken as an ending point on each segment.
In this embodiment of the present invention, optionally, before 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, the method may further include:
a substep S4 of creating a first task node corresponding to the timing adjustment task and a second task node corresponding to the timing recovery task;
and a substep S5 of commonly allocating any processing server in the distributed cluster to the first task node and the second task node.
The timing adjustment task and the timing recovery task can be realized by using a distributed timing task, so that the problem of floating data loss of the popup to be displayed due to single-point failure 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 a manner of implementing distributed deployment, one task corresponds to one node, and each node can store information such as data of the task. And recording the node corresponding to the timing adjustment task as a first task node, and recording the node corresponding to the timing recovery task 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 a plurality of processing servers, so that only one processing server executes the timing adjustment task and the timing recovery task, the phenomenon that the plurality of processing servers in the cluster perform data operation at the same time due to the task executed at the timing is avoided, and the distributed cluster is prevented from repeatedly modifying the data source for many times.
For example, Quartz (an open source job scheduling framework written entirely by java) and ZooKeeper (a distributed, open source distributed application coordination service) are used to implement distributed timing tasks. The distributed timing task is realized by a coordinator and an executing machine. The coordinator uses the ZooKeeper to store the metadata, the fragment information, all the participating execution machines and IP addresses thereof, the fragment result and the like of the timing adjustment task and the timing recovery task. The execution machine locally uses Quartz as a timed task executor, and acquires metadata from the ZooKeeper to execute the fragmentation which the execution machine should execute when executing. The executive machine also monitors the adding, deleting and modifying operation of the corresponding task node in the ZooKeeper, and dynamically creates, deletes and modifies the Quartz object.
And (3) adding, deleting and modifying the first task node and the second task node, namely adding, deleting and modifying the task node of the ZooKeeper. After the first task node and the second task node are created, the configuration of the Quartz object on the execution machine is triggered, and the cron expressions of the first task node and the second task node are written into the configuration information in the ZooKeeper.
After monitoring the creation of the task node, all the execution machines read the configuration information such as the corresponding cron expression and the like, and create a Quartz object locally, wherein the Quartz object is a timing task object. And the Quartz object checks whether the corresponding task node in the ZooKeeper has the fragmentation result or not during execution, if not, the selection function is used for selecting a scheduling machine from all execution machines, and the scheduling machine executes the fragmentation result. Since the amount of write operation is small, only 1 fragment is divided, and as a result of the fragmentation, the IP address of one execution machine is randomly bound with the fragment serial number, which means that only this execution machine executes the timing task. After the timing task is executed, if the one-time task needs to be executed, the node information of the task node in the ZooKeeper needs to be cleaned.
Step 205, providing the configuration parameters to the client, so that the client performs pop window display on the pop window to be displayed based on the target configuration data within the set time period.
In the embodiment of the present invention, the specific implementation manner of this step may refer to the description in the foregoing embodiment, and details are not described herein.
To sum up, according to the embodiments of the present invention, by obtaining floating data for a popup to be displayed, generating a timing adjustment task and a timing recovery task according to the floating data and initial configuration data of configuration parameters, executing the timing adjustment task, adjusting the configuration parameters from the initial configuration data to the target configuration data at a first setting time, executing the timing recovery task, and recovering the configuration parameters from the target configuration data to the initial configuration data at a second setting time, where the setting time is a time period between the first setting time and the second setting time, the configuration parameters are provided to a client, so that the client performs popup display on the popup window to be displayed based on the target configuration data within the setting time, so that the configuration parameters can be automatically adjusted at regular time, the manual modification is not needed frequently or periodically, so that the waste of human resources is avoided, and the working efficiency is improved.
Referring to fig. 3, a flowchart illustrating steps of another embodiment of a pop-up window displaying method according to the present invention is shown, and applied to a client, the method specifically includes the following steps:
step 301, receiving configuration parameters of a popup to be displayed, which are provided by a server, wherein the configuration parameters are target configuration data within a set time period, the configuration parameters are adjusted on the server according to floating data of the popup to be displayed, and the configuration parameters include 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 to be displayed from the server periodically or during starting, and the specific adjustment manner of the configuration parameters may refer to the description in the foregoing embodiment, which is not described herein again.
And 302, performing popup display on the popup to be displayed based on the target configuration data within the set time period.
In the embodiment of the present invention, the client acquires the target configuration data within the set time period, and acquires the initial configuration data outside the set time period. And if the time period is set, the client performs popup display on the popup window to be displayed based on the target configuration data.
To sum up, according to the embodiments of the present invention, a configuration parameter of a popup to be displayed provided by a server is received, where the configuration parameter is target configuration data within a set time period, the configuration parameter is adjusted on the server according to floating data of the popup to be displayed, and the configuration parameter includes at least one of the following: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and performing popup window displaying on a popup window to be displayed in the set time period based on the target configuration data, so that configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 4, a flowchart illustrating steps of another embodiment of a pop-up window displaying method according to the present invention is shown, and applied to a management server, the method specifically includes the following steps:
step 401, floating data for the popup to be displayed is acquired.
The management server acquires floating data submitted by background management personnel aiming at the popup window to be displayed.
Step 402, generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup 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 handled by the management server, and specific implementation manners may refer to the description in the foregoing embodiment, which is not described herein again.
Step 403, allocating the timing adjustment task and the timing recovery task to a processing server, so that the processing server adjusts the configuration parameters, so that the configuration parameters are target configuration data within the set time period.
In the embodiment of the invention, a plurality of processing servers exist, 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. For a specific implementation manner, reference may be made to the description in the foregoing embodiments, which is not described herein again.
In this embodiment of the present invention, optionally, in an implementation manner that the timing adjustment task and the timing recovery task are allocated to the processing server, the method 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 allocating any processing server in the distributed cluster to the first task node and the second task node together. For a specific implementation manner, reference may be made to the description in the foregoing embodiments, which is not described herein again.
In the embodiment of the present invention, optionally, the floating data includes a first timing trigger rule, an adjustment duration, and the target configuration data; in an implementation manner of generating a timing adjustment task and a timing recovery task for the configuration parameters of the popup 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. For a specific implementation manner, reference may be made to the description in the foregoing embodiments, which is not described herein again.
In this embodiment of the present invention, optionally, the first timing trigger rule includes multiple trigger times, and before the 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. For a specific implementation manner, reference may be made to the description in the foregoing embodiments, which is not described herein again.
In summary, according to the embodiment of the present invention, the floating data for the pop-up window to be displayed is obtained, and the timing adjustment task and the timing recovery task for the configuration parameters of the pop-up 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-time displaying duration, displaying starting 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, so that the configuration parameters are target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, frequent or periodic manual modification is not needed, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 5, a flowchart illustrating steps of another embodiment of a pop-up window displaying method according to the present invention is shown, and applied to a processing server, the method specifically includes 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 the configuration parameters of the popup to be displayed; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include 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 invention, for each processing server, the timing adjustment task and the timing recovery task distributed by the management server are received.
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 within a set time period.
In the embodiment of the present invention, the execution of the timing adjustment task and the timing recovery task is handled by the processing server, and specific implementation manners may refer to the description in the foregoing embodiment, which is not described herein again.
Step 503, providing the configuration parameters to the client, so that the client performs pop window display on the pop window to be displayed based on the target configuration data within the set time period.
In this embodiment of the present invention, optionally, an implementation manner of executing the timing adjustment task and the timing recovery task and adjusting the configuration parameters so that the configuration parameters are target configuration data within a set time period may include: executing the timing adjustment task, adjusting the configuration parameters from 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. For a specific implementation manner, reference may be made to the description in the foregoing embodiments, which is not described herein again.
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 to be displayed, which are sent by the management server, are received; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, executing a timing adjustment task and a timing recovery task, adjusting configuration parameters to enable the configuration parameters to be target configuration data in a set time period, providing the configuration parameters to a client, enabling the client to be in the set time period, performing popup window displaying on a popup window to be displayed based on the target configuration data, enabling the configuration parameters to be adjusted automatically in a timing mode, and avoiding frequent or periodic manual modification, so that waste of human resources is avoided, and working efficiency is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a block diagram of a configuration of an embodiment of a pop-up window display device according to 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 used for acquiring floating data for the popup to be displayed;
a parameter adjusting module 602, configured to adjust the configuration parameter of the pop-up window to be displayed according to the floating data, so that the configuration parameter is target configuration data within a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting time, client control information and user control information;
a parameter providing module 603, configured to provide the configuration parameters to a client, so that the client performs pop-up window display on the pop-up window to be displayed based on the target configuration data within the set time period.
In the embodiment of the present invention, optionally, the parameter adjusting module includes:
the task generation submodule 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;
the adjustment task execution submodule is used for 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 the recovery task execution submodule 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, and the set time period is a time period between the first set time and the second set time.
In this embodiment of the present invention, optionally, the apparatus further includes:
a node creating module, configured to create 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 distributing any processing server in the distributed cluster for the first task node and the second task node together.
In this 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 comprises:
the adjusting task generating unit is used for generating the timing adjusting task according to the first timing trigger rule and the 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 this embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
a time determining module, configured to determine that the adjustment duration is less than the shortest time interval between the multiple trigger times before generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration.
In summary, according to the embodiment of the present invention, floating data for a popup to be displayed is obtained, and a configuration parameter of the popup to be displayed is adjusted according to the floating data, so that the configuration parameter is a target configuration data within a set time period; wherein the configuration parameters include at least one of: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and providing configuration parameters to a client so that the client can display the popup window to be displayed based on target configuration data in a set time period, so that the configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 7, a block diagram of another embodiment of the pop-up window display device of the present invention is shown, and is applied to a client, and specifically includes the following modules:
a parameter receiving module 701, configured to receive configuration parameters of a pop-up window to be displayed, where the configuration parameters are target configuration data in a set time period, and the configuration parameters are adjusted on the server according to floating data of the pop-up window to be displayed, where the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting time, client control information and user control information;
a display module 702, configured to perform pop-up window display on the pop-up window to be displayed in the set time period based on the target configuration data.
To sum up, according to the embodiments of the present invention, a configuration parameter of a popup to be displayed provided by a server is received, where the configuration parameter is target configuration data within a set time period, the configuration parameter is adjusted on the server according to floating data of the popup to be displayed, and the configuration parameter includes at least one of the following: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, and performing popup window displaying on a popup window to be displayed in the set time period based on the target configuration data, so that configuration parameters can be adjusted automatically at regular time without frequent or periodic manual modification, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 8, a block diagram of a configuration of another embodiment of the pop-up window display device of the present invention is shown, and is applied to a management server, and specifically includes the following modules:
a data obtaining module 801, configured to obtain floating data for a popup 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 to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting time, client control information and user control information;
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 target configuration data within the set time period.
In this embodiment of the present invention, optionally, the task allocation module includes:
the node creating submodule 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 distribution submodule is used for distributing any processing server in the distributed cluster for the first task node and the second task node together.
In this 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 module comprises:
the adjustment task generation submodule is used for generating the timing adjustment task according to the first timing trigger rule and the target configuration data;
the rule generating submodule 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 submodule 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 this embodiment of the present invention, optionally, the first timing trigger rule includes a plurality of trigger times, and the apparatus further includes:
a time determining module, configured to determine that the adjustment duration is less than the shortest time interval between the multiple trigger times before generating a second timing trigger rule according to the first timing trigger rule and the adjustment duration.
In summary, according to the embodiment of the present invention, the floating data for the pop-up window to be displayed is obtained, and the timing adjustment task and the timing recovery task for the configuration parameters of the pop-up 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-time displaying duration, displaying starting 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, so that the configuration parameters are target configuration data in the set time period, the configuration parameters can be automatically adjusted at regular time, frequent or periodic manual modification is not needed, waste of human resources is avoided, and working efficiency is improved.
Referring to fig. 9, a block diagram of a configuration of another embodiment of the pop-up window display device of the present invention is shown, and is applied to a processing server, and specifically includes the following modules:
a task receiving module 901, configured to receive a timing adjustment task and a timing recovery task for a configuration parameter of a popup to be displayed, which are sent by a management server; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: display priority, display frequency, single display duration, display starting 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 a configuration parameter, so that the configuration parameter is target configuration data within a set time period;
a parameter providing module 903, configured to provide the configuration parameters to a client, so that the client performs pop window display on the pop window to be displayed based on the target configuration data in the set time period.
In this embodiment of the present invention, optionally, the task execution module includes:
the adjustment task execution submodule is used for executing the timing adjustment task and adjusting the configuration parameters from the initial configuration data of the configuration parameters to the target configuration data at a first set time;
and the recovery task execution submodule 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, and 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 to be displayed, which are sent by the management server, are received; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: the method comprises the steps of displaying priority, displaying frequency, single-time displaying duration, displaying starting time, client control information and user control information, executing a timing adjustment task and a timing recovery task, adjusting configuration parameters to enable the configuration parameters to be target configuration data in a set time period, providing the configuration parameters to a client, enabling the client to be in the set time period, performing popup window displaying on a popup window to be displayed based on the target configuration data, enabling the configuration parameters to be adjusted automatically in a timing mode, and avoiding frequent or periodic manual modification, so that waste of human resources is avoided, and working efficiency is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
According to still another embodiment of the present invention, there is also provided a terminal including: the pop-up window display method comprises a memory, a processor and a pop-up window display program which is stored on the memory and can run on the processor, wherein the pop-up window display program realizes the steps of the pop-up window display method according to any one of the above embodiments when being executed by the processor.
According to still another embodiment of the present invention, the present invention further provides a computer-readable storage medium, on which a pop-up window presentation program is stored, and when being executed by a processor, the pop-up window presentation program implements the steps in the pop-up window presentation method according to any one of the above embodiments.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, 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 present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal 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 of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Also, 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 an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The pop-up window display method, the pop-up window display device, the terminal and the computer readable storage medium provided by the invention are introduced in detail, and specific examples are applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (18)

1. A popup window display method is applied to a server and comprises the following steps:
acquiring floating data for the popup to be displayed;
adjusting the configuration parameters of the pop-up window to be displayed according to the floating data so as to enable the configuration parameters to be 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 starting time, client control information and user control information;
and 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.
2. The method according to claim 1, wherein the adjusting the configuration parameters of the pop-up window to be displayed according to the floating data so that the configuration parameters are target configuration data within a set time period comprises:
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.
3. The method of claim 2, wherein before said performing the timing adjustment task to adjust the configuration parameters from the initial configuration data to the target configuration data at a first set time, the 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 allocating any processing server in the distributed cluster to the first task node and the second task node together.
4. The method of claim 2, wherein the floating data comprises 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.
5. The method of claim 4, wherein the first timing trigger rule comprises a plurality of trigger times, and wherein before the generating a second timing trigger rule based on the first timing trigger rule and an adjustment duration, the method further comprises:
determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
6. A popup window display method is applied to a client and comprises the following steps:
receiving configuration parameters of a popup window to be displayed, wherein the configuration parameters are target configuration data within a set time period, the configuration parameters are adjusted on the server according to floating data of the popup window to be displayed, and the configuration parameters include at least one of the following parameters: display priority, display frequency, single display duration, display starting time, client control information and user control information;
and performing pop-up window display on the pop-up window to be displayed based on the target configuration data in the set time period.
7. A popup window display method is applied to a management server and comprises the following steps:
acquiring floating data for the popup to be displayed;
generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting 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.
8. The method of claim 7, wherein 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 allocating any processing server in the distributed cluster to the first task node and the second task node together.
9. The method of claim 7, wherein the floating data comprises a first timing trigger rule, an adjustment duration, and the target configuration data; the generating of the timing adjustment task and the timing recovery task for the configuration parameters of the popup to be displayed according to the floating data 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 of the configuration parameters.
10. The method of claim 9, wherein the first timing trigger rule comprises a plurality of trigger times, and wherein prior to the generating a second timing trigger rule based on the first timing trigger rule and an adjustment duration, the method further comprises:
determining that the adjustment duration is less than a shortest time interval between the plurality of trigger times.
11. A popup window display method is applied to a processing server and comprises the following steps:
receiving a timing adjustment task and a timing recovery task which are sent by a management server and aim at the configuration parameters of the popup to be displayed; wherein the timing adjustment task and the timing recovery task are generated by the management server according to the floating data, and the configuration parameters include at least one of the following: display priority, display frequency, single display duration, display starting time, client control information and user control information;
executing the timing adjustment task and the timing recovery task, and adjusting configuration parameters to enable the configuration parameters to be target configuration data in a set time period;
and 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.
12. The method of claim 11, wherein the performing the timing adjustment task and the timing recovery task to adjust the configuration parameter so that the configuration parameter is the target configuration data within the set time period comprises:
executing the timing adjustment task, and adjusting the configuration parameters from the 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.
13. The pop-up window display device is characterized by being applied to a server and comprising:
the data acquisition module is used for acquiring floating data aiming at the popup to be displayed;
the parameter adjusting 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 within a set time period; wherein the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting time, client control information and user control information;
and the parameter providing module is used for 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.
14. The utility model provides a popup window display device which characterized in that is applied to the customer end, includes:
the system comprises a parameter receiving module, a parameter setting module and a display module, wherein the parameter receiving module is used for receiving configuration parameters of a popup window to be displayed, the configuration parameters are target configuration data within 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 starting time, client control information and user control information;
and the display module is used for performing popup window display on the popup window to be displayed based on the target configuration data in the set time period.
15. The pop-up window display device is applied to a management server and comprises:
the data acquisition module is used for acquiring floating data aiming at the popup to be displayed;
the task generation module is used for generating a timing adjustment task and a timing recovery task aiming at the configuration parameters of the popup to be displayed according to the floating data; the configuration parameters include at least one of: display priority, display frequency, single display duration, display starting 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.
16. A popup window display method is applied to a processing server and comprises the following steps:
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 the floating data, and the configuration parameters include at least one of the following: display priority, display frequency, single display duration, display starting 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 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.
17. A terminal, comprising: memory, a processor and a pop-up presentation program stored on the memory and executable on the processor, the pop-up presentation program when executed by the processor implementing the steps of the pop-up presentation method according to any one of claims 1 to 12.
18. A computer-readable storage medium, on which a pop-up window presentation program is stored, which when executed by a processor implements the steps in the pop-up window presentation method according to any one of claims 1 to 12.
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 true CN111736936A (en) 2020-10-02
CN111736936B 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)

Cited By (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
CN116051328A (en) * 2023-02-10 2023-05-02 深圳市纬亚森科技有限公司 Remote management system and method for multimedia teaching based on Internet of things

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246659A1 (en) * 2004-04-30 2005-11-03 Matthew Mengerink Method and system to display a pop-up window when a user leaves a website
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
US20070192734A1 (en) * 2006-02-16 2007-08-16 Viktors Berstis Methods and arrangements to control pop-up windows
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
US20190254522A1 (en) * 2018-02-17 2019-08-22 Richard Brancaccio Apparatus and Method for a Personalized Reminder with Intelligent Self-Monitoring
CN110399190A (en) * 2019-06-21 2019-11-01 北京奇艺世纪科技有限公司 Page display method, device, terminal device and computer-readable medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050246659A1 (en) * 2004-04-30 2005-11-03 Matthew Mengerink Method and system to display a pop-up window when a user leaves a website
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
US20070192734A1 (en) * 2006-02-16 2007-08-16 Viktors Berstis Methods and arrangements to control pop-up windows
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
US20190254522A1 (en) * 2018-02-17 2019-08-22 Richard Brancaccio Apparatus and Method for a Personalized Reminder with Intelligent Self-Monitoring
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

Cited By (5)

* 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
CN116051328A (en) * 2023-02-10 2023-05-02 深圳市纬亚森科技有限公司 Remote management system and method for multimedia teaching based on Internet of things
CN116051328B (en) * 2023-02-10 2024-01-12 杨金峰 Remote management system and method for multimedia teaching based on Internet of things

Also Published As

Publication number Publication date
CN111736936B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN111736936B (en) Popup display method, popup display device, terminal and readable storage medium
US10757036B2 (en) Method and system for provisioning computing resources
US10778548B2 (en) Method and system for determining workload availability in a multi-tenant environment
US10379910B2 (en) System and method for evaluation of migration of applications to the cloud
CN110888721A (en) Task scheduling method and related device
WO2013055554A1 (en) Method and system for allocation of resources in an agile environment
CN110471754B (en) Data display method, device, equipment and storage medium in job scheduling
CN113742044A (en) Timed task management method, device, equipment and storage medium
US20180341521A1 (en) Managing job schedules
JP6131725B2 (en) Information processing apparatus and information processing program
CN114327770A (en) Container cluster management system and method
Zia et al. Optimizing change request scheduling in IT service management
AU2015261587B2 (en) Method and system for monitoring usage of computing resources
Sungur et al. Identifying relevant resources and relevant capabilities of collaborations-a case study
AU2014201374B2 (en) Method and system for provisioning computing resources
Hazlewood et al. XSEDE Technology Investigation Service (TIS)
AU2014256382B2 (en) Method and system for providing access to computing resources
CN116501345A (en) Method and device for generating software update plan and electronic equipment
CN111752701A (en) System cluster and resource scheduling method thereof
CN117492962A (en) Task scheduling processing method, device, equipment and storage medium
Lima et al. TREXCLOUD: Java EE IaaS Cloud Deployment Made Easy
CN111178650A (en) Task interaction method, device and terminal
Vanyek et al. 2014-2015 EBD# 12.4. 1-ITTS Strategic Technology Directions Report

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