CN114935987A - Popup window putting method and device, electronic equipment and storage medium - Google Patents

Popup window putting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114935987A
CN114935987A CN202210423962.2A CN202210423962A CN114935987A CN 114935987 A CN114935987 A CN 114935987A CN 202210423962 A CN202210423962 A CN 202210423962A CN 114935987 A CN114935987 A CN 114935987A
Authority
CN
China
Prior art keywords
target
information
popup
window
release
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210423962.2A
Other languages
Chinese (zh)
Inventor
郑海林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210423962.2A priority Critical patent/CN114935987A/en
Publication of CN114935987A publication Critical patent/CN114935987A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Window Of Vehicle (AREA)
  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The disclosure relates to a popup release method, a popup release device, electronic equipment and a storage medium. The method comprises the following steps: detecting a target popup event, and acquiring target page information corresponding to the target popup event and popup release flow information in a rule engine, wherein the popup release flow information comprises release verification flow information and release matching flow information; verifying the target page information based on the delivery verification process information to obtain a verification result; determining a target popup corresponding to the target popup event based on the delivery matching process information under the condition that the verification result is passed; and releasing the target popup on the target page. According to the technical scheme provided by the disclosure, flexible configuration and release of the pop-up window can be realized.

Description

Popup window release method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of internet application technologies, and in particular, to a pop-up window launching method and apparatus, an electronic device, and a storage medium.
Background
Currently, information interaction is performed in a webpage or an application program in a pop-up mode, in the prior art, page events are intercepted, screened and sequenced, an interface secondary judgment is performed through a pop-up view tool (such as a PopLayer tool), and finally pop-up rendering is performed. The page event interception needs to pre-embed a page supported in advance, and a popup window is strongly bound with the page, so that flexible configuration cannot be realized; and all event initiating processes meeting the conditions are uniformly filtered by the service interface side, so that unnecessary resource waste is caused.
Disclosure of Invention
The disclosure provides a popup window release method and device, electronic equipment and a storage medium. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a pop-up window delivery method, including:
detecting a target popup event, and acquiring target page information corresponding to the target popup event and popup release flow information in a rule engine, wherein the popup release flow information comprises release verification flow information and release matching flow information;
verifying the target page information based on the delivery verification process information to obtain a verification result;
determining a target popup corresponding to the target popup event based on the delivery matching process information under the condition that the verification result is passed;
and releasing the target popup on the target page.
In one possible implementation, the method further includes:
acquiring a target trigger mode corresponding to the target popup event;
the verifying the target page information based on the delivery verification process information to obtain a verification result, including:
and verifying the target page information and the target trigger mode based on the delivery verification flow information to obtain the verification result.
In a possible implementation manner, the verifying the target page information and the target trigger manner based on the delivery verification process information to obtain the verification result includes:
acquiring a plurality of pieces of popup window configuration information from the rule engine based on the release verification process information, wherein each piece of popup window configuration information comprises release page information and trigger mode information corresponding to each popup window;
and verifying the target page information and the target trigger mode based on the release page information and the trigger mode information to obtain a verification result.
In one possible implementation, the method further includes:
and ending the popup window releasing process under the condition that the verification result is failed.
In a possible implementation manner, the configuration information of each pop-up window further includes launch filtering information corresponding to each pop-up window, where the launch filtering information is at least one of launch terminal information, launch version information, launch object information, and launch time information, and when the verification result is that the verification result is passed, the target pop-up window corresponding to the target pop-up window event is determined based on the launch matching flow information, including:
based on the release matching process information, release associated information corresponding to the target popup event is obtained;
determining at least one matched first popup window from the plurality of popup window configuration information according to the target page information and the target trigger mode;
determining at least one second popup window matched with the target popup window event from the at least one first popup window according to the release correlation information and the release filtering information;
determining the target pop-window based on the at least one second pop-window;
the delivery associated information is at least one of target terminal information, target version information, target object information and target time information; the target terminal information is information of a target terminal corresponding to the target popup event, and the target version information is version information of a target application to which the target page belongs; the target object information is information of a target object corresponding to the target terminal, and the target time information is time information corresponding to the target popup event.
In one possible implementation, the determining the target popup based on the at least one second popup includes:
and under the condition that the second popup is a preset popup, determining the at least one second popup as the target popup.
In one possible implementation, the determining the target pop-up window based on the at least one second pop-up window includes:
sending a prerender request to a server under the condition that the second popup is not the preset popup, wherein the prerender request carries the at least one second popup;
receiving popup rendering data obtained by the server verifying and filtering the at least one second popup;
and acquiring the target popup window based on the popup window rendering data.
In a possible implementation manner, the delivery matching process information further includes display process information; the releasing the target popup on the target page comprises:
under the condition that the target pop-up window is a plurality of target pop-up windows, acquiring the respective target display priorities of the plurality of target pop-up windows based on the display flow information;
determining the display sequence of the plurality of target pop-windows according to the target display priority;
and releasing the plurality of target pop-ups on the target page based on the display sequence.
In a possible implementation manner, the dropping the plurality of target popups on the target page based on the display order includes:
monitoring the display state of a first target pop-up window, wherein the first target pop-up window is a currently displayed pop-up window;
when the display state is the closed state, putting a second target popup window on the target page according to the display sequence; the second target pop-up window is a target pop-up window which is shown to be sequentially behind the first target pop-up window and is adjacent to the first target pop-up window.
In one possible implementation, the method further includes:
receiving popup configuration information to be updated, wherein the popup configuration information to be updated is generated by a server in response to a popup configuration issuing request;
updating the plurality of popup configuration information in the rule engine based on the popup configuration information to be updated.
According to a second aspect of the embodiments of the present disclosure, there is provided a pop-up window throwing device, including:
the system comprises a detection module, a rule engine and a display module, wherein the detection module is configured to execute detection of a target popup event and acquire target page information corresponding to the target popup event and popup release flow information in the rule engine, and the popup release flow information comprises release verification flow information and release matching flow information;
the verification module is configured to perform verification processing on the target page information based on the delivery verification process information to obtain a verification result;
the matching module is configured to determine a target popup corresponding to the target popup event based on the delivery matching process information under the condition that the verification result is passed;
and the releasing module is configured to execute releasing the target popup on the target page.
In one possible implementation, the apparatus further includes:
the target trigger mode acquisition module is configured to execute acquisition of a target trigger mode corresponding to the target popup event;
correspondingly, the verification module is further configured to perform verification processing on the target page information and the target trigger mode based on the delivery verification process information to obtain the verification result.
In one possible implementation, the verification module includes:
a popup window configuration acquisition unit configured to execute acquiring, based on the launch verification process information, a plurality of popup window configuration information from the rule engine, each popup window configuration information including launch page information and trigger mode information corresponding to each popup window;
and the verification unit is configured to perform verification processing on the target page information and the target trigger mode based on the delivery page information and the trigger mode information to obtain a verification result.
In one possible implementation, the apparatus further includes:
and the releasing flow ending module is configured to execute the condition that the verification result is failed, and end the popup releasing flow.
In a possible implementation manner, each popup configuration information further includes launch filtering information corresponding to each popup, where the launch filtering information is at least one of launch terminal information, launch version information, launch object information, and launch time information, and the matching module includes:
a release correlation information obtaining unit configured to obtain release correlation information corresponding to the target popup event based on the release matching process information;
the first popup acquisition unit is configured to determine at least one matched first popup from the plurality of popup configuration information according to the target page information and the target trigger mode;
a second popup acquisition unit configured to execute determining at least one second popup matched with the target popup event from the at least one first popup according to the delivery association information and the delivery filtering information;
a target pop determination unit configured to perform determining the target pop based on the at least one second pop;
the delivery correlation information is at least one of target terminal information, target version information, target object information and target time information; the target terminal information is information of a target terminal corresponding to the target popup event, and the target version information is version information of a target application to which the target page belongs; the target object information is information of a target object corresponding to the target terminal, and the target time information is time information corresponding to the target popup event.
In one possible implementation manner, the target popup determining unit includes:
a first determining subunit configured to perform, in a case where the second popup is a preset popup, determining the at least one second popup as the target popup.
In one possible implementation manner, the target popup determining unit includes:
a sending subunit, configured to execute sending, to a server, a prerender request when the second popup is not the preset popup, where the prerender request carries the at least one second popup;
a receiving subunit, configured to execute receiving of the popup rendering data obtained by the server performing verification filtering on the at least one second popup;
a second determining subunit configured to execute obtaining the target pop window based on the pop window rendering data.
In a possible implementation manner, the delivery matching process information further includes display process information; the delivery module comprises:
a display priority acquiring unit configured to acquire a target display priority of each of the plurality of target pop-windows based on the display flow information when the target pop-windows are a plurality of target pop-windows;
a display order determination unit configured to determine a display order of the plurality of target popups according to the target display priority;
and the releasing unit is configured to release the plurality of target pop windows on the target page based on the display sequence.
In one possible implementation, the delivery unit includes:
the monitoring subunit is configured to monitor a display state of a first target popup, wherein the first target popup is a currently displayed popup;
the releasing subunit is configured to release a second target popup on the target page according to the display sequence when the display state is the closed state; the second target pop-up window is a target pop-up window which is shown to be sequentially behind the first target pop-up window and is adjacent to the first target pop-up window.
In one possible implementation, the apparatus further includes:
the receiving module is configured to execute receiving of popup configuration information to be updated, wherein the popup configuration information to be updated is generated by a server in response to a popup configuration issuing request;
a popup configuration update module configured to perform updating of the plurality of popup configuration information in the rule engine based on the popup configuration information to be updated.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any of the first aspects above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the method of any one of the first aspects of the embodiments of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, cause a computer to perform the method of any one of the first aspects of the embodiments of the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
target page information corresponding to a target popup event is acquired and verified, and the popup does not need to be bound with a page or pre-buried in the page where the popup is put, so that separation of service and popup operation can be realized, and flexible configuration of the popup is realized; by means of the rule engine, arbitrary page arbitrary delivery is really achieved, the service and operation are decoupled, unified processing of popup delivery is achieved, the code amount can be reduced, resources are saved, and meanwhile, the investment cost of service side development is liberated; and when the verification result is that the target popup window corresponding to the target popup window event is passed, the target popup window corresponding to the target popup window event is determined based on the delivery matching process information, so that unnecessary matching processing can be avoided, and resources can be further saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating an application environment in accordance with an exemplary embodiment.
Fig. 2 is a first flowchart illustrating a pop-up delivery method according to an example embodiment.
FIG. 3 is an architectural diagram illustrating a rules engine in accordance with an exemplary embodiment.
Fig. 4 is a flowchart illustrating a pop-up window delivery method according to an exemplary embodiment.
Fig. 5 is a flowchart illustrating a method for determining a target popup corresponding to a target popup event based on delivery matching flow information when a verification result is passed according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a pop-up delivery device in accordance with an exemplary embodiment.
Fig. 7 is a block diagram illustrating an electronic device for pop-up delivery in accordance with an exemplary embodiment.
Fig. 8 is a block diagram illustrating another electronic device for pop-up launch, in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating an application environment according to an exemplary embodiment, which may include a server 01 and a terminal 02, as shown in fig. 1.
In an alternative embodiment, server 01 may be configured to perform a secondary verification of the pop window in response to the prerender request. Specifically, the server 01 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and artificial intelligence platform, and the like.
In an alternative embodiment, terminal 02 may be used for the processing of pop-up shots. Specifically, the terminal 02 may include, but is not limited to, a smart phone, a desktop computer, a tablet computer, a notebook computer, a smart speaker, a digital assistant, an Augmented Reality (AR)/Virtual Reality (VR) device, a smart wearable device, and other types of electronic devices. Optionally, the operating system running on the electronic device may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
In addition, it should be noted that fig. 1 shows only one application environment of the pop-up window delivery method provided by the present disclosure. For example, the server 01 may perform popup release processing. The present disclosure is not limited thereto.
In the embodiment of the present specification, the server 01 and the terminal 02 may be directly or indirectly connected by a wired or wireless communication method, and the present application is not limited herein.
It should be noted that the following figures show a possible sequence of steps, and in fact do not limit the order that must be followed. Some steps may be performed in parallel without dependency on each other. User information (including but not limited to user device information, user personal information, user behavior information, etc.) and data (including but not limited to data for presentation, training, etc.) to which the present disclosure relates are both information and data that are authorized by the user or sufficiently authorized by various parties.
Fig. 2 is a first flowchart illustrating a pop-up delivery method according to an example embodiment. As shown in fig. 2, the following steps may be included.
In step S201, a target pop-up event is detected, and target page information corresponding to the target pop-up event and pop-up delivery process information in the rule engine are acquired.
In this embodiment of the present description, the popup release flow information may be information corresponding to a unified popup release flow implemented based on a rule engine, and may be applicable to any page and any popup release processing. The popup release flow information may include release verification flow information corresponding to a release verification flow and release matching flow information corresponding to a release matching flow. The delivery verification process information may be information for verifying whether the target popup event needs popup delivery, and the delivery matching process information may be used to determine a target popup corresponding to the target popup event, that is, a popup to be delivered finally. As an example, the function of putting the flow information through the popup window may be implemented by the trigger module and the matcher module. The trigger module may include a manager and a monitoring module, such as a page monitor, a signaling monitoring module, and other monitoring modules, where the trigger module may implement the functions of the detection module and the verification module shown in fig. 6, the matcher module may implement the function of the matching module shown in fig. 6, and the manager may implement updating and extending of a protocol in the rule engine. Wherein the trigger module and matcher module may be based on the KLink framework, as shown in fig. 3. The KLink framework may initialize the manager and may provide the manager with functions such as configuration parsing.
The target popup event may be one of a plurality of preset popup events, and the plurality of preset popup events may correspond to a preset trigger manner, for example, the preset trigger manner may include a page entry trigger (for example, an immediate page entry trigger, a delayed page entry trigger, such as a 5-second delay trigger, and the like), a click event trigger manner, and a signaling trigger manner. The entering of the page triggering mode can be judged by monitoring a page switching event; the click event triggering mode can be a mode that a certain button in a page is clicked to trigger; the signaling triggering mode may be triggered by an instruction mode, mainly to support timeliness of interaction. Accordingly, the plurality of preset popup events may include a page entry event, a click event, and a signaling event. The present disclosure is not limited to these.
In practical application, a preset popup event can be monitored, and under the condition that the target popup event is detected, target page information corresponding to the target popup event and popup release flow information in a rule engine can be acquired so as to perform popup release processing, and realize unification processing of any popup of any page. As an example, the rule engine may refer to a terminal-side rule engine (which may be referred to as an end rule engine for short), that is, the terminal-side popup release process may be implemented based on the end rule engine.
In step S203, the target page information is verified based on the delivery verification process information, and a verification result is obtained.
In this embodiment of the present specification, the delivery verification process information may include process indication information (such as page verification process indication information) of the delivery verification process and information that needs to be verified, where the information that needs to be verified may include page information. Therefore, a plurality of pieces of page information which are currently configured to be launched by the popup can be obtained according to the flow indication information, and if the plurality of pieces of page information include the target page information, which indicates that the target page corresponding to the target page information has the configured popup, the verification result can be determined to be passed through verification. The information of the plurality of pages configured for popup release may be obtained from the popup configuration record, which is not limited in this disclosure.
Optionally, if the plurality of pieces of page information do not include the target page information, it is indicated that the popup release is not configured under the target page, and further processing of the popup release is not required, so that the popup release process can be ended, and processing resources are saved.
In step S205, if the verification result is pass, a target popup corresponding to the target popup event is determined based on the delivery matching flow information.
In the embodiment of the present description, in order to save processing resources and avoid unnecessary delivery matching processing, a target popup corresponding to a target popup event may be determined based on delivery matching flow information when a verification result is passed. The delivery matching process information may include process indication information of the delivery matching process and information that needs to be matched. For example, according to the flow indication information, at least one corresponding popup window under the target page may be obtained first, and then information that needs to be matched, such as version information of a target application in the target terminal, may be obtained, so that release version information corresponding to each of the at least one popup window may be obtained. Further, a popup window corresponding to the release version information matched with the version information of the target application can be used as a target popup window, and matching and screening of at least one popup window are achieved. The target application may refer to an application to which the target page belongs, that is, the target page is a page in the target application.
Optionally, when the verification result is that the target page fails, it is described that the popup release is not configured under the target page, and further processing of the popup release is not required, so that the popup release process can be ended, and processing resources are saved.
In step S207, a target popup is launched on the target page.
In practical application, the target popup corresponding to the target popup event is determined, and the target popup event comes from the target page, so that the target popup can be released to the target page. For example, rendering data of the target pop-up window may be obtained, so that the target pop-up window may be launched on the target page based on the rendering data, and the purpose of displaying the target pop-up window on the target page is achieved. The display style and the display area of the target pop-up window are not limited in the disclosure.
In a possible implementation manner, the release matching process information may further include display process information, so as to implement unified control on popup display. Based on this, the step S207 may include: under the condition that the target pop-up window is a plurality of target pop-up windows, acquiring the respective target display priority of the plurality of target pop-up windows based on the display flow information; the display sequence of the target pop-up windows can be determined according to the target display priority; and putting a plurality of target pop-ups on the target page based on the display sequence. The display priority of each pop-up window can be preset, the preset mode is not limited by the disclosure, and the display priority can be set according to actual needs. Therefore, the popup windows of the targets can be displayed one by one according to the priority order, and the popup windows are prevented from appearing simultaneously.
Optionally, a change of a life cycle of the target popup may also be monitored, such as successful display, failed display, closed popup, and the like, so as to assist in processing of a delivery matching process in popup delivery. For example, the display state of a first target pop-up window can be monitored, wherein the first target pop-up window is a currently displayed pop-up window; when the display state is the closed state, a second target popup can be released on the target page according to the display sequence; the second target pop-up window is a target pop-up window which is displayed after the first target pop-up window in sequence and is adjacent to the first target pop-up window.
Target page information corresponding to a target popup event is acquired and verified, and the popup does not need to be bound with a page or pre-buried in the page where the popup is put, so that separation of service and popup operation can be realized, and flexible configuration of the popup is realized; by means of the rule engine, arbitrary page launching is really achieved, service and operation are decoupled, unified processing of popup launching is achieved, code amount can be reduced, resources are saved, and meanwhile investment cost of service side development is liberated; and when the verification result is that the target popup window corresponding to the target popup window event is passed, the target popup window corresponding to the target popup window event is determined based on the delivery matching process information, so that unnecessary matching processing can be avoided, and resources can be further saved.
In the above, only the page is verified in the release verification process, so as to save processing resources and improve efficiency, and better ensure the necessity of release matching process. In the release verification process, the trigger mode can be verified, that is, the target trigger mode corresponding to the target popup event is verified. Fig. 4 is a flowchart illustrating a pop-up window delivery method according to an exemplary embodiment. As shown in fig. 4, in a possible implementation manner, before step S203, the method may further include:
in step S401, a target trigger mode corresponding to the target pop-up event is obtained; the target trigger mode may be one of preset trigger modes. For example, a mode of triggering a target popup event in a target page may be obtained as a target trigger mode.
Accordingly, the step S203 may include:
in step S403, the target page information and the target trigger mode are verified based on the delivery verification process information, and a verification result is obtained.
In the embodiment of the present specification, a target trigger manner for triggering a target popup event in a target page may be obtained, and verification processing may be performed on target page information and the target trigger manner based on delivery verification flow information to obtain a verification result. For example, a plurality of popup window configuration information may be acquired from the rule engine based on the delivery verification process information, and each popup window configuration information may include delivery page information and trigger mode information corresponding to each popup window; therefore, the target page information and the target trigger mode can be verified based on the release page information and the trigger mode information, and a verification result is obtained. If the information of the release page is matched with the information of the target page and the information of the trigger mode is matched with the target trigger mode, the verification result can be determined to be passed; if the information of the release page is not matched with the information of the target page or the information of the trigger mode is not matched with the information of the target trigger mode, the verification result can be determined to be verification failure. The present disclosure is not limited thereto.
By verifying both the page and the trigger mode, the necessity of subsequent delivery matching can be further ensured, and processing resources are saved. And the target page information and the target triggering mode are verified based on the plurality of popup window configuration information acquired from the rule engine, so that the unified popup window release processing based on the rule engine is realized.
Fig. 5 is a flowchart illustrating a method for determining a target popup corresponding to a target popup event based on delivery matching flow information when a verification result is passed according to an exemplary embodiment. In a possible implementation manner, each popup configuration information may further include launch filtering information corresponding to each popup, and the launch filtering information may be at least one of launch terminal information, launch version information, launch object information, and launch time information. The terminal information may refer to device information of a terminal designated for delivery, such as designated model information, system information, image resolution information, and the like; the release version information may refer to version information of the application program applicable to the popup release; the delivery object information may refer to information of a corresponding delivery object (e.g., a user or an account in an application), and may include, for example, activity information of the delivery object in the application, attribute information of the delivery object, and the like; the release time information may refer to the effective time of the pop-up window release, i.e. the pop-up window is released within the release time information.
As an example, for example, the configured pop windows include pop window 1 and pop window 2, and the corresponding pop window configuration information may be as follows:
a pop-up window 1; page h1, entering a page triggering mode; v10.0.0, active object, holiday, pixel 800 ten thousand;
a pop-up window 2; page h1, click event trigger mode; v9.0.0, the object is female, the throwing time is not limited, and the terminal is not limited.
Wherein, the pop-up window 1 and the pop-up window 2 can be the identification information of the pop-up window; "Page h 1" may be drop page information; the "entering page triggering mode" and the "click event triggering mode" may be triggering mode information; "V10.0.0" and "V9.0.0" may be release version information; "active object" and "object is female" may be delivery object information; "holidays" and "delivery time unlimited" may be delivery time information; "800 million pixels" and "terminal unlimited" may refer to drop terminal information.
It should be noted that the rule engine may execute the delivery process for each popup window based on the popup window configuration information, so as to implement that each popup window of the operation configuration is delivered within a specified terminal, object, version, and time. The putting of each popup window needs to pass through an putting verification flow and an putting matching flow, and accordingly unified and accurate putting is achieved.
The configuration information of each popup window can be stored in the rule engine, and new popup window configuration information can be continuously added or the existing popup window configuration information can be modified. Based on this, the popup configuration information to be updated can be received, and the popup configuration information to be updated can be generated by the server in response to the popup configuration issuing request; and updating a plurality of popup window configuration information in the rule engine based on the popup window configuration information to be updated. The update type corresponding to the popup window configuration information to be updated may be an addition type by default. Or the update type may include an add type, a delete type, a modify type, and the like. Based on this, the update type and the popup configuration information may be carried in the popup configuration information to be updated. Taking the addition type as an example, an operator may set a popup to be launched, such as the popup 3, so that launch page information, trigger mode information, and launch filtering information of the popup 3 may be set, and after the setting is finished, a popup configuration issuing request of the popup 3 may be initiated to the server, and the server may generate popup configuration information of the popup 3 based on the launch page information, trigger mode information, and launch filtering information of the popup 3, and may add the popup configuration information of the popup 3 to the rule engine. The pop-up configuration information of the pop-up 3 may be as follows:
a pop-up window 3; page h2, click event trigger mode; v9.0.0, the object is female, the throwing time is not limited, and the terminal is not limited.
Optionally, in a case that the rule engine is an end rule engine, the pop-up window configuration information to be updated issued by the server, such as the pop-up window configuration information of the pop-up window 3, may be received. Therefore, the popup configuration information of the popup 3 can be added to the end rule engine, the purpose of updating a plurality of popup configuration information in the rule engine is achieved, and synchronization of the popup configuration information in each terminal side rule engine can be achieved.
Through updating the popup configuration information, operators can conveniently release operation activities, and the popup release requirements are based on the operators, are not limited by other products and operation, and are not interfered with each other; and the unified management of the popup window configuration information is realized through the rule engine.
Accordingly, the step S205 may include:
in step S501, based on the delivery matching process information, delivery related information corresponding to the target pop-up event is obtained;
the delivery correlation information can be at least one of target terminal information, target application version information, target object information and target time information; the target terminal information may be information of a target terminal corresponding to the target pop-up event, that is, a terminal that triggers the target pop-up event. The target version information is version information of a target application in the target terminal, and the target application is an application to which the target page belongs. The target object information may be information of a target object corresponding to the target terminal, for example, a user at the target terminal side. The target time information is time information corresponding to the target popup event. Here, the delivery related information (actually corresponding to the target pop-window event) may correspond to the delivery filtering information (specified by each pop-window), which may be specifically referred to in the description of the delivery filtering information section, and is not described herein again.
In step S503, determining at least one first popup window from the plurality of popup window configuration information according to the target page information and the target trigger mode;
in step S505, at least one second pop-up window matched with the target pop-up window event is determined from the at least one first pop-up window according to the placement correlation information and the placement filtering information.
In this embodiment of the present description, target popup configuration information that matches target page information and a target trigger mode may be determined from multiple popup configuration information, where delivered page information in the target popup configuration information is the same as the target page information, and trigger mode information is the same as the target trigger mode. Therefore, the popup window corresponding to the target popup window configuration information can be used as at least one first popup window. Further, the delivery filtering information of each of the at least one first popup may be matched with the delivery correlation information to obtain matched target delivery filtering information, so that the first popup corresponding to the target delivery filtering information may be used as the at least one second popup.
In step S507, a target pop-window is determined based on the at least one second pop-window.
In this embodiment, all or part of the at least one second popup may be determined as a target popup. The present disclosure is not limited thereto. The putting filtering information corresponding to each popup is set in the popup configuration information to be used for determining the target popup, so that unified determination of the target popup for putting can be guaranteed, and unified processing and putting accuracy of popup putting are achieved.
In practical application, under the condition that the second pop-up window is a preset pop-up window, at least one second pop-up window is determined as a target pop-up window. The preset popup can be a periodic popup, for example, a popup corresponding to activities on a fixed date every year is generally concentrated on the fixed date, and is relatively stable, popup rendering and releasing can be directly performed locally, and a service interface is not required to be requested to perform secondary verification and filtering through a server. Frequent calling of the service interface in centralized time can be avoided, server pressure is reduced, transmission resources can be saved, and the timeliness requirement of the preset popup window is met.
Under the condition that the second popup is not a preset popup, a prerender request can be sent to the server, and the prerender request can carry at least one second popup; the popup rendering data obtained by verifying and filtering at least one second popup by the server can be received; thus, the target pop-window can be obtained based on the pop-window rendering data. By sending the prerender request to the server under the condition that the second popup is not the preset popup, further verification can be performed, the target popup can be more accurately released, popup rendering data can be acquired, and releasing and displaying time can be saved.
Fig. 6 is a block diagram illustrating a pop-up delivery device in accordance with an exemplary embodiment. Referring to fig. 6, the apparatus may include:
a detection module 601, configured to execute detection of a target popup event, and acquire target page information corresponding to the target popup event and popup release flow information in a rule engine, where the popup release flow information includes release verification flow information and release matching flow information;
a verification module 603 configured to perform verification processing on the target page information based on the delivery verification process information to obtain a verification result;
a matching module 605 configured to determine a target popup corresponding to the target popup event based on the delivery matching flow information when the verification result is passed;
a dropping module 607 configured to perform dropping the target popup on the target page.
In one possible implementation, the apparatus further includes:
the target trigger mode acquisition module is configured to execute acquisition of a target trigger mode corresponding to the target popup event;
correspondingly, the verification module is further configured to perform verification processing on the target page information and the target trigger mode based on the delivery verification process information to obtain the verification result.
In one possible implementation, the verification module 603 includes:
a popup window configuration acquisition unit configured to execute acquiring, based on the launch verification process information, a plurality of popup window configuration information from the rule engine, each popup window configuration information including launch page information and trigger mode information corresponding to each popup window;
and the verification unit is configured to perform verification processing on the target page information and the target trigger mode based on the release page information and the trigger mode information to obtain a verification result.
In one possible implementation, the apparatus further includes:
and the releasing flow ending module is configured to execute the condition that the verification result is failed, and end the popup releasing flow.
In a possible implementation manner, each popup configuration information further includes launch filtering information corresponding to each popup, where the launch filtering information is at least one of launch terminal information, launch version information, launch object information, and launch time information, and the matching module 605 includes:
a release associated information obtaining unit configured to obtain release associated information corresponding to the target popup event based on the release matching flow information;
the first popup window acquiring unit is configured to execute determining at least one matched first popup window from the plurality of popup window configuration information according to the target page information and the target triggering mode;
a second popup acquisition unit configured to execute determining at least one second popup matched with the target popup event from the at least one first popup according to the delivery association information and the delivery filtering information;
a target pop determination unit configured to perform determining the target pop based on the at least one second pop;
the delivery associated information is at least one of target terminal information, target version information, target object information and target time information; the target terminal information is information of a target terminal corresponding to the target popup event, and the target version information is version information of a target application to which the target page belongs; the target object information is information of a target object corresponding to the target terminal, and the target time information is time information corresponding to the target popup event.
In one possible implementation manner, the target popup determining unit includes:
a first determining subunit configured to perform, in a case where the second popup is a preset popup, determining the at least one second popup as the target popup.
In one possible implementation manner, the target popup determining unit includes:
a sending subunit, configured to execute sending, to a server, a prerender request when the second popup is not the preset popup, where the prerender request carries the at least one second popup;
a receiving subunit, configured to execute receiving of the popup rendering data obtained by the server performing verification filtering on the at least one second popup;
a second determining subunit configured to execute obtaining the target pop window based on the pop window rendering data.
In a possible implementation manner, the delivery matching process information further includes display process information; the delivery module comprises:
a display priority acquiring unit configured to acquire a target display priority of each of the plurality of target pop-windows based on the display flow information when the target pop-windows are a plurality of target pop-windows;
a display order determination unit configured to perform determination of a display order of the plurality of target popups according to the target display priority;
and the releasing unit is configured to release the plurality of target pop windows on the target page based on the display sequence.
In one possible implementation, the delivery unit includes:
the monitoring subunit is configured to monitor a display state of a first target popup, wherein the first target popup is a currently displayed popup;
the releasing subunit is configured to release a second target popup on the target page according to the display sequence when the display state is the closed state; the second target pop-up window is a target pop-up window which is shown to be sequentially behind the first target pop-up window and is adjacent to the first target pop-up window.
In one possible implementation, the apparatus further includes:
the receiving module is configured to execute receiving of popup configuration information to be updated, wherein the popup configuration information to be updated is generated by a server in response to a popup configuration issuing request;
a popup configuration update module configured to perform updating of the plurality of popup configuration information in the rule engine based on the popup configuration information to be updated.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating an electronic device for pop-up delivery, which may be a terminal, according to an exemplary embodiment, and an internal structure thereof may be as shown in fig. 7. The electronic device comprises a processor, a memory, a network interface, a display screen and an input device which are connected through a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of pop-up delivery. The display screen of the electronic equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the electronic equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 7 is a block diagram of only a portion of the structure associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as particular electronic devices may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
Fig. 8 is a block diagram illustrating another electronic device for pop-up window delivery, which may be a server, according to an exemplary embodiment, and the internal structure thereof may be as shown in fig. 8. The electronic device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the electronic device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a method of pop-up delivery.
Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and does not constitute a limitation on the electronic devices to which the disclosed aspects apply, as a particular electronic device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In an exemplary embodiment, there is also provided an electronic device including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement a popup launch method as in an embodiment of the present disclosure.
In an exemplary embodiment, a computer-readable storage medium is also provided, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform a popup launch method in an embodiment of the present disclosure. The computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, a computer program product containing instructions is also provided, which when run on a computer, causes the computer to perform the method of pop-up launching in embodiments of the present disclosure.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A pop-up window delivery method is characterized by comprising the following steps:
detecting a target popup event, and acquiring target page information corresponding to the target popup event and popup release flow information in a rule engine, wherein the popup release flow information comprises release verification flow information and release matching flow information;
verifying the target page information based on the delivery verification process information to obtain a verification result;
determining a target popup corresponding to the target popup event based on the delivery matching process information under the condition that the verification result is passed;
and releasing the target popup on the target page.
2. The method of claim 1, further comprising:
acquiring a target trigger mode corresponding to the target popup event;
the verifying the target page information based on the delivery verification process information to obtain a verification result, including:
and verifying the target page information and the target trigger mode based on the delivery verification flow information to obtain the verification result.
3. The method according to claim 2, wherein the verifying the target page information and the target trigger mode based on the delivery verification process information to obtain the verification result comprises:
acquiring a plurality of popup window configuration information from the rule engine based on the release verification process information, wherein each popup window configuration information comprises release page information and trigger mode information corresponding to each popup window;
and verifying the target page information and the target trigger mode based on the release page information and the trigger mode information to obtain a verification result.
4. The method according to any one of claims 1-3, further comprising:
and under the condition that the verification result is failed, ending the popup window putting process.
5. The method according to claim 3, wherein each popup configuration information further includes launch filtering information corresponding to each popup, the launch filtering information is at least one of launch terminal information, launch version information, launch object information, and launch time information, and when the verification result is passed, determining a target popup corresponding to the target popup event based on the launch matching flow information includes:
based on the release matching process information, release associated information corresponding to the target popup event is obtained;
determining at least one matched first popup window from the plurality of popup window configuration information according to the target page information and the target triggering mode;
determining at least one second popup window matched with the target popup window event from the at least one first popup window according to the release correlation information and the release filtering information;
determining the target pop-up window based on the at least one second pop-up window;
the delivery associated information is at least one of target terminal information, target version information, target object information and target time information; the target terminal information is information of a target terminal corresponding to the target popup event, and the target version information is version information of a target application to which the target page belongs; the target object information is information of a target object corresponding to the target terminal, and the target time information is time information corresponding to the target popup event.
6. The method of claim 5, wherein the determining the target pop based on the at least one second pop comprises:
and under the condition that the second popup window is a preset popup window, determining the at least one second popup window as the target popup window.
7. A pop-up window throwing device is characterized by comprising:
the system comprises a detection module, a rule engine and a display module, wherein the detection module is configured to execute detection of a target popup event and acquire target page information corresponding to the target popup event and popup release flow information in the rule engine, and the popup release flow information comprises release verification flow information and release matching flow information;
the verification module is configured to execute verification processing on the target page information based on the delivery verification flow information to obtain a verification result;
the matching module is configured to determine a target popup corresponding to the target popup event based on the delivery matching process information under the condition that the verification result is passed;
and the releasing module is configured to execute releasing the target popup on the target page.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the popup delivery method of any of claims 1 to 6.
9. A computer-readable storage medium having instructions thereon which, when executed by a processor of an electronic device, enable the electronic device to perform the popup delivery method of any of claims 1 to 6.
10. A computer program product comprising computer instructions, wherein the computer instructions, when executed by a processor, implement the pop-up method of any of claims 1 to 6.
CN202210423962.2A 2022-04-21 2022-04-21 Popup window putting method and device, electronic equipment and storage medium Pending CN114935987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210423962.2A CN114935987A (en) 2022-04-21 2022-04-21 Popup window putting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210423962.2A CN114935987A (en) 2022-04-21 2022-04-21 Popup window putting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114935987A true CN114935987A (en) 2022-08-23

Family

ID=82861754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210423962.2A Pending CN114935987A (en) 2022-04-21 2022-04-21 Popup window putting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114935987A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703789A (en) * 2013-06-28 2014-04-02 华为技术有限公司 Method, terminal and system of data presentation
CN109766502A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 Page improved method, device, computer equipment and storage medium
CN110708427A (en) * 2019-10-22 2020-01-17 北京小米移动软件有限公司 Information processing method, device and storage medium
CN111258914A (en) * 2020-02-26 2020-06-09 广州虎牙科技有限公司 Popup window processing method, device and equipment for automatic case test and storage medium
CN112947830A (en) * 2021-03-11 2021-06-11 北京高途云集教育科技有限公司 Popup window display method and device, computer equipment and storage medium
CN113949697A (en) * 2021-09-24 2022-01-18 北京达佳互联信息技术有限公司 Data distribution method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103703789A (en) * 2013-06-28 2014-04-02 华为技术有限公司 Method, terminal and system of data presentation
CN109766502A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 Page improved method, device, computer equipment and storage medium
CN110708427A (en) * 2019-10-22 2020-01-17 北京小米移动软件有限公司 Information processing method, device and storage medium
CN111258914A (en) * 2020-02-26 2020-06-09 广州虎牙科技有限公司 Popup window processing method, device and equipment for automatic case test and storage medium
CN112947830A (en) * 2021-03-11 2021-06-11 北京高途云集教育科技有限公司 Popup window display method and device, computer equipment and storage medium
CN113949697A (en) * 2021-09-24 2022-01-18 北京达佳互联信息技术有限公司 Data distribution method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109672741B (en) Micro-service monitoring method and device, computer equipment and storage medium
CN108920354B (en) Embedded point management method and device, computer equipment and storage medium
CN107783795B (en) Application program starting method and device, computer equipment and storage medium
CN108848142B (en) Message pushing method and device, computer equipment and storage medium
CN112910945A (en) Request link tracking method and service request processing method
CN108829485A (en) Update method, device, storage medium and the computer equipment of application interface layout
CN111580926A (en) Model publishing method, model deploying method, model publishing device, model deploying device, model publishing equipment and storage medium
CN107357731A (en) Process produces monitoring, analysis and the processing method of core dump problems
CN112434043B (en) Data synchronization method, device, electronic equipment and medium
CN112637008B (en) Link simulation test method, device, system, computer equipment and storage medium
CN113469736A (en) Resource distribution control method, device, system, electronic device and storage medium
CN112650688A (en) Automated regression testing method, associated device and computer program product
US10915510B2 (en) Method and apparatus of collecting and reporting database application incompatibilities
WO2023115807A1 (en) Information processing method and apparatus
CN113778442A (en) System menu generating method, device, equipment and storage medium
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN113343312A (en) Page tamper-proofing method and system based on front-end point burying technology
CN110347565B (en) Application program abnormity analysis method and device and electronic equipment
CN115562744A (en) Application program loading method and electronic equipment
CN114401187A (en) Gray scale distribution method and device, computer equipment and storage medium
CN114935987A (en) Popup window putting method and device, electronic equipment and storage medium
CN113031984B (en) Remote online upgrade method and device for application program of management unit of dual-core intelligent electric meter
CN113610558A (en) Resource distribution method and device, electronic equipment and storage medium
CN113901114A (en) Data display method and device, electronic equipment and storage medium
CN114547523A (en) Method, device, equipment and storage medium for performing activity navigation in live broadcast room

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