Data configuration method and device, popup window control method and device, medium and electronic equipment

Through the data configuration method, pop-up rules are configured and frequency control logic is determined, which solves the problem of frequent pop-ups affecting user experience and resource waste, and achieves efficient pop-up control and improvement of development efficiency.

CN119690539APending Publication Date: 2025-03-25BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411836489.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

In the prior art, users are frequently intruded by pop-ups when browsing pages, which affects the user experience, and excessive display of pop-ups leads to waste of resources and low development efficiency.

Method used

Provide a data configuration method, by displaying the pop-up window configuration interface, configuring pop-up window rules, generating configuration data, determining the pop-up window frequency control logic, and controlling the number of pop-up windows displayed.

Benefits of technology

It realizes the configuration of complex pop-up window frequency control logic, improves the development efficiency of pop-up window rules, improves the user experience, and avoids waste of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690539A_ABST
    Figure CN119690539A_ABST
Patent Text Reader

Abstract

A data configuration method, a pop-up window control method and apparatus, a medium and an electronic device, the method comprising: displaying a pop-up window configuration interface, the pop-up window configuration interface comprising a configuration module for configuring a pop-up window rule, the configuration module comprising an event configuration item and an operation configuration item; in response to a configuration operation for a configuration item in the configuration module, generating configuration data corresponding to the popup window rule, the configuration data being used for indicating to execute a data operation corresponding to an operation configuration item in the configuration module when an event corresponding to an event configuration item in the configuration module is received; the pop-up window frequency control logic is determined according to the configuration data of the at least one pop-up window rule, different data operations can be configured for different events, so that different pop-up window rules are obtained, configuration of complex pop-up window frequency control logic is realized based on the configuration data of the configured pop-up window rules, the development efficiency of the pop-up window rules is improved, and the development cost of the pop-up window rules is reduced. The display frequency of the popup window is controlled through the popup window frequency control logic, the user experience is improved, and resource waste is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular, to a data configuration method, a pop-up window control method, a device, a medium, and an electronic device. Background Art

[0002] A pop-up notification generally refers to a window that automatically pops up on a page when a web page, application page, or advertising landing page is opened, or before a web page, application page, or advertising landing page is closed.

[0003] With the development of the Internet, information delivery has become more and more frequent, and the number of windows that automatically pop up on the page has also become more and more frequent. When users browse pages on their computers, they will be disturbed by various pop-up windows from time to time, affecting the user experience. Frequent display of pop-up windows will also cause the effective utilization rate of resources occupied by the display to decrease, resulting in resource waste. In addition, the relevant technology usually adopts the method of writing code to configure the pop-up frequency control logic, which leads to low development efficiency. Summary of the invention

[0004] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.

[0005] In a first aspect, the present disclosure provides a data configuration method, comprising: Displaying a pop-up window configuration interface, the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; In response to a configuration operation for a configuration item in the configuration module, generating configuration data corresponding to the pop-up rule, the configuration data being used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; A pop-up window frequency control logic is determined according to at least one of the configuration data of the pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

[0006] In a second aspect, the present disclosure provides a pop-up window control method, comprising: Acquire pop-up window frequency control logic, where the pop-up window frequency control logic is configured according to the data configuration method in the first aspect; According to the pop-up window frequency control logic, the number of times the pop-up window is displayed is controlled.

[0007] In a third aspect, the present disclosure provides a data configuration device, comprising: A display module, used to display a pop-up window configuration interface, wherein the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, wherein the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; A generating module, configured to generate configuration data corresponding to the pop-up rule in response to a configuration operation on a configuration item in the configuration module, wherein the configuration data is used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; The determination module is used to determine the pop-up window frequency control logic according to the configuration data of at least one pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

[0008] In a fourth aspect, the present disclosure provides a data configuration device, comprising: An acquisition module, used to acquire pop-up window frequency control logic, where the pop-up window frequency control logic is configured according to the data configuration method in the first aspect; The control module is used to control the display times of the pop-up window according to the pop-up window frequency control logic.

[0009] In a fifth aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which implements the steps of the method described in the first aspect or the second aspect when executed by a processing device.

[0010] In a sixth aspect, the present disclosure provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the method in the first aspect or the second aspect.

[0011] In a seventh aspect, the present disclosure provides a computer program product, comprising a computer program, which implements the steps of the method described in the first aspect or the second aspect when executed by a processor.

[0012] Through the above technical solution, different events can be configured with different data operations, thereby obtaining different pop-up rules. On this basis, the pop-up frequency control logic used to control the number of times the pop-up window is displayed is determined based on the configuration data of at least one pop-up rule, and complex pop-up frequency control logic is configured to meet the configuration of different pop-up requirements. This improves the development efficiency of pop-up rules based on a visual configuration method. In addition, the pop-up frequency control logic is used to control the number of times the pop-up window is displayed, thereby improving user experience and avoiding waste of resources.

[0013] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale. In the drawings: Figure 1 The figure is a flow chart of a data configuration method according to an exemplary embodiment of the present disclosure.

[0015] Figure 2 An interface diagram of a pop-up window configuration interface according to an exemplary embodiment of the present disclosure is shown.

[0016] Figure 3 The figure is a flow chart of a pop-up window control method according to an exemplary embodiment of the present disclosure.

[0017] Figure 4 The present invention is a logic diagram showing a method of controlling the number of times a pop-up window is displayed according to an exemplary embodiment of the present disclosure.

[0018] Figure 5 It is a block diagram of a data configuration device according to an exemplary embodiment of the present disclosure.

[0019] Figure 6 The figure is a block diagram of a pop-up window control device according to an exemplary embodiment of the present disclosure.

[0020] Figure 7 It is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0022] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0023] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0024] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0025] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0026] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0027] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0028] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0029] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0030] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0031] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0032] In the related art, the pop-up window display is controlled by the user's operation on the pop-up window using the local cache, but the pop-up window display cannot be controlled after the user clears the local cache. And as the demand for pop-up window control becomes increasingly complex, how to cope with complex pop-up window control needs becomes particularly important.

[0033] In view of this, the embodiments of the present disclosure provide a data configuration method, device, medium, electronic device and program product. The present disclosure is explained below with reference to the accompanying drawings and taking the information promotion scenario as an example.

[0034] Figure 1 This is a flowchart of a data configuration method according to an exemplary embodiment of the present disclosure. The data configuration method can be applied to an electronic device, and the data configuration method can be executed by a data configuration device, wherein the data configuration device can be implemented by software and / or hardware, and the software and / or hardware can be configured in the electronic device. The electronic device is hereinafter referred to as the configuration end. Figure 1 , the data configuration method may include the following steps: Step 110, displaying a pop-up window configuration interface, the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; Step 120, in response to the configuration operation for the configuration item in the configuration module, generating configuration data corresponding to the pop-up rule, the configuration data being used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; Step 130: Determine a pop-up window frequency control logic according to configuration data of at least one pop-up window rule, where the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

[0035] Through the above method, different events can be configured with different data operations to obtain different pop-up rules. On this basis, the pop-up frequency control logic used to control the display times of the pop-up window is determined based on the configuration data of at least one pop-up rule, so as to realize the configuration of complex pop-up frequency control logic. In addition, the display times of the pop-up window can be controlled through the pop-up frequency control logic to avoid waste of resources.

[0036] In the present disclosure, a configuration platform may be installed in an electronic device, and functions such as display of a pop-up configuration interface, generation of configuration data corresponding to pop-up rules, and determination of pop-up frequency control logic may be implemented based on the configuration platform.

[0037] Figure 2FIG. 1 is an interface diagram of a pop-up window configuration interface according to an exemplary embodiment of the present disclosure. Figure 2 The pop-up window configuration interface includes a configuration module for configuring pop-up window rules, where: Figure 2 The area indicated by the dotted line is a configuration module. Each configuration module is used to configure a pop-up rule. In the configuration module, there are event configuration items and operation configuration items. The event configuration item is used to configure the event, and the operation configuration item is used to configure the data operation to be performed under the event. In addition, the configuration module can also include an identification item and a rule semantic description item. The identification item is used to configure the unique identification of the pop-up rule, and the rule semantic description item is used to configure the semantic description of the pop-up rule.

[0038] It is worth noting that a pop-up rule can include a pair of event configuration items and operation configuration items, which are used to configure multiple events and corresponding data operations. Therefore, the configuration module also includes controls that support the deletion and addition of event configuration items and operation configuration items. Figure 2 In the figure, there are add controls and delete controls. In addition, the configuration module also includes controls that support copying and deleting pop-up rules. Figure 2 There are copy controls and delete controls as shown in the figure.

[0039] In the present disclosure, when there are multiple pop-up rules, the corresponding pop-up frequency control logic can be generated by combining the configuration data of multiple pop-up rules, that is, the configuration of complex pop-up frequency control logic can be achieved through the configuration and combination of pop-up rules.

[0040] In one embodiment, pop-up rules can be divided into display rules, reporting rules, matching rules and reset rules. The following uses the pop-up rules as an example to explain and illustrate the embodiment of the present disclosure.

[0041] In a possible manner, the pop-up rule includes a display rule. Accordingly, the step of generating configuration data corresponding to the pop-up rule in response to the configuration operation on the configuration item in the configuration module may include: generating first configuration data of the display rule in response to the configuration operation on the event configuration item in the configuration module; generating second configuration data of the display rule in response to the configuration operation on the operation configuration item in the configuration module; generating configuration data of the display rule based on the first configuration data and the second configuration data, the configuration data of the display rule being used to perform a data operation based on the second configuration data when a display event represented by the first configuration data is received, the data operation being to query the corresponding key-value pair through the query key represented by the second configuration data, and determine whether to display the pop-up operation based on the value in the key-value pair.

[0042] The first configuration data is used to configure event information, which is used to match the event triggered by the front end, and then the corresponding data operation can be performed. It is worth noting that the front end is a device for displaying pop-up windows.

[0043] Among them, the second configuration data may include object dimension data, preset values ​​and execution types. Further, the object dimension data may include frequency control unit data and frequency control label data. The frequency control unit data may be the identifier of the user of the configuration end, and the frequency control label data may be the activity identifier of different promotional activities configured by the user of the configuration end. The preset value is a value pre-set by the user of the configuration end, which is used to support the update of key-value pairs later. For specific instructions, please refer to the following embodiments. The execution type is related to the type of event of the defined pop-up rule. In addition, a unique query key can be generated according to the object dimension data, preset value and execution type mapping.

[0044] The key-value pairs may be stored in a key-value pair database, such as a Redis database.

[0045] Among them, the display rules may include a first sub-rule and / or a second sub-rule, the configuration data of the first sub-rule is used to prohibit the pop-up window within a first preset time period after the user performs a first preset behavior on the displayed pop-up window for a first preset number of times, and the configuration data of the second sub-rule is used to prohibit the pop-up window within a second preset time period after the user performs a second preset behavior on the displayed pop-up window for a second preset number of times.

[0046] It is worth mentioning that the users here are users who interact with pop-up windows through the front end.

[0047] Among them, the first preset duration and the second preset duration may be different or the same, the first preset behavior and the second preset behavior are different, and the first preset number and the second preset number may be the same or different. Hereinafter, the first preset behavior and the second preset behavior are referred to as preset behaviors, and the first preset number and the second preset number are referred to as preset numbers. As an example, the preset behavior may be the behavior of directly closing the pop-up window and the behavior of clicking the pop-up window. It is understandable that different preset behaviors may set different preset numbers, that is, the number of times the pop-up window is displayed may be controlled according to different behaviors, thereby realizing complex pop-up window frequency control logic.

[0048] It is understandable that under multiple display rules, if there is a situation where a pop-up window is determined not to be displayed based on one display rule, the pop-up window display is prohibited; if it is determined that a pop-up window can be displayed based on all display rules, the pop-up window is displayed.

[0049] The query key may include a first query key, and the value corresponding to the first query key may be a number, which is used to represent the number of times the user performs a preset action on the displayed pop-up window. Whether the pop-up window is displayed is controlled based on the relationship between the number of times queried by the first query key and the corresponding preset number of times. The query key may include a second query key, and the value corresponding to the second query key may be a string. Specifically, the string may be a first value or a second value. One of the first value and the second value is used to indicate that the pop-up window is allowed to be displayed, and the other of the first value and the second value is used to indicate that the pop-up window is prohibited from being displayed. Whether the pop-up window is displayed is controlled according to the value corresponding to the second query key. As an example, the first value may be false, and the second value may be true, false indicating that the pop-up window is allowed to be displayed, and true indicating that the pop-up window is prohibited from being displayed.

[0050] Among them, the query key may include a first query key and a second query key. The value of the second query key may be queried first. When the value of the second query key indicates that the pop-up window is allowed to be displayed, the value of the first query key may be further queried, and whether to display the pop-up window is determined based on the value of the first query key; when the value of the second query key indicates that the pop-up window is prohibited, it is determined that the pop-up window is prohibited, and there is no need to query the first query key again. By setting two query keys, the fault tolerance rate of the entire pop-up window control can be improved. In addition, in order to reduce the storage pressure and query pressure of the database, a query key may also be set. Preferably, when setting a query key, the first query key may be set.

[0051] As an embodiment, when the preset behavior is to click on a pop-up window, the query key may include a first query key, and the corresponding display rule is a first sub-rule. When the preset behavior is to close the pop-up window, the query key may include a first query key and a second query key, and the corresponding display rule is a second sub-rule.

[0052] Through the above-mentioned manner, when a display event for a pop-up window is triggered, an operation of determining whether to display the pop-up window is implemented based on a query of a key-value pair, thereby realizing control of the display times of the pop-up window.

[0053] In a possible manner, the pop-up rule includes a reporting rule. Accordingly, the step of generating configuration data corresponding to the pop-up rule in response to the configuration operation on the configuration item in the configuration module may also include: generating third configuration data of the reporting rule in response to the configuration operation on the event configuration item in the configuration module; generating fourth configuration data of the reporting rule in response to the configuration operation on the operation configuration item in the configuration module; generating configuration data of the reporting rule based on the third configuration data and the fourth configuration data, the configuration data of the reporting rule is used to perform data operations based on the fourth configuration data when receiving a reporting event represented by the third configuration data, and the data operations include operations of updating values ​​in key-value pairs and / or operations of setting expiration dates of key-value pairs.

[0054] The reporting event is triggered by the front end that displays the pop-up window. For example, after the user performs a preset action based on the displayed pop-up window, the front end can trigger a reporting event. The reporting event is used to report that the user has performed the preset action.

[0055] The operation of updating the value in the key-value pair may be a self-increment operation of the value. In combination with the above content, the preset value may be a value set to be self-incremented.

[0056] Taking the first sub-rule and the query key as the first query key as an example, the operation of updating the value in the key-value pair and the operation of the expiration date of the key-value pair are described. After each operation of updating the value in the key-value pair, the relationship between the updated value and the first preset number of times is determined, and when the updated value is greater than or equal to the first preset number of times, the operation of setting the expiration date of the key-value pair is performed. As an example, the expiration date can be one day.

[0057] For another example, taking the second sub-rule, and the query keys being the first query key and the second query key as an example, the operation of updating the value in the key-value pair and the operation of the expiration date of the key-value pair are explained. After each operation of updating the value in the key-value pair corresponding to the first query key, the relationship between the updated value and the second preset number of times is determined. When the updated value is greater than or equal to the second preset number of times, the value in the key-value pair corresponding to the second query key is updated from false to true, and the operation of setting the expiration date of the key-value pair corresponding to the second query key is performed. As an example, the expiration date can be 10 days. In addition, in this embodiment, in order to rationalize the management of the database, when the first query key and the second query key are generated in the database, their expiration dates can be set. Generally, the expiration date can be set based on the duration of the promotion activity corresponding to the pop-up window.

[0058] It is understandable that after the above key-value pair expires, the key-value pair can be deleted from the database, so as to control the number of times the next round of pop-up windows are displayed during the duration of the promotion activity and realize the rational management of the key-value pairs in the database.

[0059] Through the above method, corresponding data operations are performed on the key-value pairs based on the reported events to rationally control the number of times the pop-up window is displayed.

[0060] In a possible manner, the pop-up rule includes a matching rule. Accordingly, the step of generating configuration data corresponding to the pop-up rule in response to the configuration operation on the configuration item in the configuration module may also include: generating fifth configuration data of the matching rule in response to the configuration operation on the event configuration item in the configuration module; generating sixth configuration data of the matching rule in response to the configuration operation on the operation configuration item in the configuration module; generating configuration data of the matching rule based on the fifth configuration data and the sixth configuration data, the configuration data of the matching rule is used to perform data operation based on the sixth configuration data when receiving a matching event represented by the fifth configuration data, and the data operation is an operation to trigger a display event corresponding to the sixth configuration data.

[0061] It should be understood that the display rules applicable to the front-end user may be different and may be multiple. Therefore, the above matching rules can be set to obtain all the display rules adapted to the user, and then perform corresponding pop-up window control.

[0062] As an example, the front-end user may carry an identifier of an adapted display rule in a pop-up request initiated by the front-end, and the pop-up request may trigger the execution of a corresponding matching event, and then respond to the matching event, based on the carried identifier of the adapted display rule, trigger the execution of a display event corresponding to the display rule.

[0063] In the above manner, all adapted display rules are obtained by setting matching rules, thereby realizing personalized pop-up window control.

[0064] In a possible manner, the pop-up rule also includes a reset rule. Accordingly, the step of generating configuration data corresponding to the pop-up rule in response to the configuration operation on the configuration item in the configuration module may also include: generating seventh configuration data of the reset rule in response to the configuration operation on the event configuration item in the configuration module; generating eighth configuration data of the reset rule in response to the configuration operation on the operation configuration item in the configuration module; generating configuration data of the reset rule based on the seventh configuration data and the eighth configuration data, the configuration data of the reset rule is used to perform data operations based on the eighth configuration data when a reset event represented by the seventh configuration data is received, and the data operation is an operation to reset the value in the key-value pair.

[0065] The reset event can be set according to actual conditions. For example, for a promotion activity, if a front-end user performs a conversion action on an object in the promotion activity, the conversion action can be regarded as a reset event.

[0066] Continuing with the above embodiment, for the first query key, its value can be reset to 0, and for the second query key, it can be reset to false. The reset value (such as 0, false, etc.) can be configured in the eighth configuration data.

[0067] In addition, the data operation may also include a data operation of setting an expiration date of the key-value pair. As an example, the set expiration date may be determined based on the duration of the promotion activity.

[0068] The configuration of the pop-up window frequency control logic completed based on the above data configuration method can realize the control of the number of times the pop-up window is displayed. Figure 3 is a flowchart of a pop-up window control method according to an exemplary embodiment of the present disclosure. The pop-up window control method can be applied to the above front end, referring to Figure 3 , the pop-up window control method may include: Step 310, obtaining pop-up window frequency control logic; Step 320, controlling the number of times the pop-up window is displayed according to the pop-up window frequency control logic.

[0069] By the above method, the display frequency of the pop-up window can be controlled. The configuration of the pop-up window frequency control logic can refer to the above related embodiments.

[0070] In implementation, obtaining the pop-up window frequency control logic may be to obtain the pop-up window rules corresponding to the event specifically triggered by the front end. Figure 4 An exemplary description is given.

[0071] Figure 4 is a logic diagram showing a method of controlling the number of times a pop-up window is displayed according to an exemplary embodiment of the present disclosure. Figure 4 When a user of the front end opens a page through the front end, the front end may generate a pop-up window request, which may carry the execution type, frequency control unit data, and frequency control label data. The front end responds to the pop-up window request, calls the frequency control interface to request the frequency control service so that the frequency control service triggers a matching event, and then performs a data operation based on the sixth configuration data, that is, triggers a display event of the corresponding display rule.

[0072] The front end responds to each display event and performs data operations based on the second configuration data in the corresponding display rule, that is, queries the corresponding key-value pair through the query key represented by the second configuration data, and determines whether to display the pop-up window data operation based on the value in the key-value pair.

[0073] In the case where it is determined to display a pop-up window based on all display rules, the pop-up window display is triggered. If the user of the front end executes a preset behavior on the pop-up window through the front end, the front end executes a report request, which may carry the execution type, the identifier of the display rule, the frequency control unit data, and the frequency control label data. It can be understood that the preset behavior here can be the first preset behavior mentioned above, or the second preset behavior mentioned above.

[0074] The front end responds to the reporting request, calls the frequency control interface to request the frequency control service so that the frequency control service triggers the reporting event, and performs data operations based on the fourth configuration data. Specifically, if the query key only includes the first query key, the value corresponding to the corresponding first query key is incremented by 1. If the first query key does not exist, it is necessary to generate and set the expiration date of the first query key. The expiration date can be set with reference to the duration of the promotion activity, and is generally set to the end of the promotion activity. In addition, the updated value can be compared with the first preset number of times. If the updated value is greater than or equal to the first preset number of times, the expiration date of the first query key is set to the first preset duration. If the query key includes the first query key and the second query key, the value corresponding to the corresponding first query key is incremented by 1. If the first query key does not exist, it is necessary to generate and set the expiration date of the first query key. The expiration date can be set with reference to the duration of the promotion activity, and is generally set to the end of the promotion activity. In addition, the updated value is compared with the second preset number of times. If the updated value is greater than or equal to the second preset number of times, the value of the second query key is set to true, and the expiration date of the first query key and the second query setting is set. The expiration date can be the second preset duration.

[0075] If the front end detects that the user has performed a conversion behavior, the front end can generate a reset request. The reset request can carry the execution type, the identifier of the display rule, the frequency control unit data, and the frequency control label data. The front end responds to the reset request and calls the frequency control interface to request the frequency control service so that the frequency control service triggers a reset event. A data operation is performed based on the eighth configuration data, and the data operation is a data operation to reset the value in the key-value pair. Specifically, if it is the first query key, its value is reset to 0, and if it is the second query key, it is reset to false.

[0076] Figure 5 is a block diagram of a data configuration device according to an exemplary embodiment of the present disclosure. Figure 5 , the data configuration device 500 comprises: Display module 501, used to display a pop-up window configuration interface, the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; A generating module 502, configured to generate configuration data corresponding to the pop-up rule in response to a configuration operation on a configuration item in the configuration module, wherein the configuration data is used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; The determination module 503 is used to determine a pop-up window frequency control logic according to the configuration data of at least one pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

[0077] Optionally, the pop-up window rule includes a display rule, and the generating module 502 includes: A first response submodule, configured to generate first configuration data of the display rule in response to a configuration operation on the event configuration item in the configuration module; A second response submodule, configured to generate second configuration data of the display rule in response to a configuration operation on the operation configuration item in the configuration module; The first generating submodule is used to generate the configuration data of the display rule according to the first configuration data and the second configuration data, and the configuration data of the display rule is used to perform a data operation based on the second configuration data when a display event represented by the first configuration data is received, and the data operation is to query the corresponding key-value pair through the query key represented by the second configuration data, and determine whether to display the pop-up window based on the value in the key-value pair.

[0078] Optionally, the pop-up window rule includes a reporting rule, and the generating module 502 further includes: A third response submodule, configured to generate third configuration data of the reporting rule in response to a configuration operation on the event configuration item in the configuration module; a fourth response submodule, configured to generate a fourth configuration of the reporting rule in response to a configuration operation for the operation configuration item in the configuration module; a first response submodule, configured for data; The second generating submodule is used to generate the configuration data of the reporting rule according to the third configuration data and the fourth configuration data, and the configuration data of the reporting rule is used to perform data operations based on the fourth configuration data when a reporting event represented by the third configuration data is received, and the data operations include updating the value in the key-value pair and / or setting the expiration date of the key-value pair.

[0079] Optionally, the pop-up window rule includes a matching rule, and the generating module 502 further includes: a fifth response submodule, configured to generate fifth configuration data of the matching rule in response to a configuration operation on the event configuration item in the configuration module; a sixth response submodule, configured to generate sixth configuration data of the matching rule in response to a configuration operation on the operation configuration item in the configuration module; The third generating submodule is used to generate the configuration data of the matching rule according to the fifth configuration data and the sixth configuration data, and the configuration data of the matching rule is used to perform a data operation based on the sixth configuration data when a matching event represented by the fifth configuration data is received, and the data operation is an operation for triggering a display event corresponding to the sixth configuration data.

[0080] Optionally, the pop-up window rule further includes a reset rule, and the generating module 502 further includes: a seventh response submodule, configured to generate seventh configuration data of the reset rule in response to a configuration operation on the event configuration item in the configuration module; an eighth response submodule, configured to generate eighth configuration data of the reset rule in response to a configuration operation on the operation configuration item in the configuration module; The fourth generation submodule is used to generate the configuration data of the reset rule according to the seventh configuration data and the eighth configuration data, and the configuration data of the reset rule is used to perform a data operation based on the eighth configuration data when a reset event represented by the seventh configuration data is received, and the data operation is an operation of resetting the value in the key-value pair.

[0081] Optionally, the display rule includes a first sub-rule and a second sub-rule, the configuration data of the first sub-rule is used to prohibit the pop-up window within a first preset time period after the user performs a first preset behavior on the displayed pop-up window for a first preset number of times, and the configuration data of the second sub-rule is used to prohibit the pop-up window within a second preset time period after the user performs a second preset behavior on the displayed pop-up window for a second preset number of times.

[0082] Optionally, the query key includes a first query key and / or a second query key, the value corresponding to the first query key is used to represent the number of times the user performs a preset action on the displayed pop-up window, and whether the pop-up window is displayed is controlled based on the relationship between the number of times queried by the first query key and the corresponding preset number of times, and the value corresponding to the second query key includes a first value and a second value, one of the first value and the second value is used to represent that the pop-up window is allowed to be displayed, and the other of the first value and the second value is used to represent that the pop-up window is prohibited from being displayed, and whether the pop-up window is displayed is controlled according to the value corresponding to the second query key.

[0083] The implementation of each module in the above-mentioned data configuration device 500 can refer to the above-mentioned related embodiments, and this embodiment will not be described in detail here.

[0084] Figure 6 is a block diagram of a pop-up window control device according to an exemplary embodiment of the present disclosure. Figure 5 , the pop-up window control device 600 includes: An acquisition module 601 is used to acquire a pop-up window frequency control logic, where the pop-up window frequency control logic is configured according to the data configuration method in the first aspect; The control module 602 is used to control the display times of the pop-up window according to the pop-up window frequency control logic.

[0085] Among them, the implementation of each module in the above-mentioned pop-up window control device 600 can refer to the above-mentioned related embodiments, and this embodiment will not be described in detail here.

[0086] Based on the same inventive concept, an embodiment of the present disclosure further provides a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processing device, the steps of the above-mentioned data configuration method or pop-up window control method are implemented.

[0087] Based on the same inventive concept, an embodiment of the present disclosure also provides a computer program product, including a computer program, which implements the steps of the above-mentioned data configuration method or pop-up window control method when executed by a processor.

[0088] Based on the same inventive concept, the present disclosure also provides an electronic device, including: a storage device having a computer program stored thereon; A processing device is used to execute the computer program in the storage device to implement the steps of the above-mentioned data configuration method or pop-up window control method.

[0089] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device (configuration end or front end) 700 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0090] like Figure 7 As shown, the electronic device 700 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. In the RAM 703, various programs and data required for the operation of the electronic device 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0091] Typically, the following devices may be connected to the I / O interface 705: an input device 706 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 707 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 708 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 709. The communication device 709 may allow the electronic device 700 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 7 The electronic device 700 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0092] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 709, or installed from a storage device 708, or installed from a ROM 702. When the computer program is executed by the processing device 701, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0093] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0094] In some embodiments, the configuration end and the front end can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication (e.g., communication network) of any form or medium. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), internets (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.

[0095] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0096] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: displays a pop-up window configuration interface, the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, and the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; generates configuration data corresponding to the pop-up window rules in response to configuration operations on configuration items in the configuration module, and the configuration data is used to indicate that when an event corresponding to the event configuration item in the configuration module is received, the data operation corresponding to the operation configuration item in the configuration module is executed; and determines the pop-up window frequency control logic according to at least one configuration data of the pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

[0097] Or enable the electronic device to: obtain pop-up window frequency control logic, and control the number of times the pop-up window is displayed according to the pop-up window frequency control logic.

[0098] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0099] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0100] The modules involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a module does not, in some cases, limit the module itself.

[0101] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0102] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0103] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0104] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0105] Although the subject matter has been described in language specific to structural features and / or method logic actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims. Regarding the device in the above 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.

Claims

1. A data configuration method, characterized in that: include: Displaying a pop-up window configuration interface, the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; In response to a configuration operation for a configuration item in the configuration module, generating configuration data corresponding to the pop-up rule, the configuration data being used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; A pop-up window frequency control logic is determined according to at least one of the configuration data of the pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

2. The method according to claim 1, characterized in that The pop-up window rule includes a display rule, and the configuration data corresponding to the pop-up window rule is generated in response to the configuration operation on the configuration item in the configuration module, including: In response to a configuration operation on the event configuration item in the configuration module, generating first configuration data of the display rule; generating second configuration data of the display rule in response to a configuration operation on the operation configuration item in the configuration module; The configuration data of the display rule is generated according to the first configuration data and the second configuration data. The configuration data of the display rule is used to perform a data operation based on the second configuration data when a display event represented by the first configuration data is received. The data operation is to query the corresponding key-value pair through the query key represented by the second configuration data, and determine whether to display the pop-up window based on the value in the key-value pair.

3. The method according to claim 2, characterized in that The pop-up window rule includes a reporting rule, and the configuration data corresponding to the pop-up window rule is generated in response to the configuration operation on the configuration item in the configuration module, and further includes: In response to a configuration operation on the event configuration item in the configuration module, generating third configuration data of the reporting rule; generating fourth configuration data of the reporting rule in response to a configuration operation on the operation configuration item in the configuration module; According to the third configuration data and the fourth configuration data, the configuration data of the reporting rule is generated, and the configuration data of the reporting rule is used to perform data operations based on the fourth configuration data when a reporting event represented by the third configuration data is received, and the data operations include updating the value in the key-value pair and / or setting the expiration date of the key-value pair.

4. The method according to claim 2, characterized in that: The pop-up window rule includes a matching rule, and the configuration data corresponding to the pop-up window rule is generated in response to the configuration operation on the configuration item in the configuration module, and further includes: In response to a configuration operation on the event configuration item in the configuration module, generating fifth configuration data of the matching rule; generating sixth configuration data of the matching rule in response to a configuration operation on the operation configuration item in the configuration module; The configuration data of the matching rule is generated according to the fifth configuration data and the sixth configuration data. The configuration data of the matching rule is used to perform a data operation based on the sixth configuration data when a matching event represented by the fifth configuration data is received. The data operation is an operation that triggers a display event corresponding to the sixth configuration data.

5. The method according to claim 2, characterized in that: The pop-up window rule also includes a reset rule, and the configuration data corresponding to the pop-up window rule is generated in response to the configuration operation on the configuration item in the configuration module, and further includes: In response to a configuration operation on the event configuration item in the configuration module, generating seventh configuration data of the reset rule; generating eighth configuration data of the reset rule in response to a configuration operation on the operation configuration item in the configuration module; The configuration data of the reset rule is generated according to the seventh configuration data and the eighth configuration data. The configuration data of the reset rule is used to perform a data operation based on the eighth configuration data when a reset event represented by the seventh configuration data is received. The data operation is an operation of resetting the value in the key-value pair.

6. The method according to claim 2, characterized in that The display rule includes a first sub-rule and a second sub-rule. The configuration data of the first sub-rule is used to prohibit the pop-up window within a first preset time period after the user performs a first preset behavior on the displayed pop-up window for a first preset number of times. The configuration data of the second sub-rule is used to prohibit the pop-up window within a second preset time period after the user performs a second preset behavior on the displayed pop-up window for a second preset number of times.

7. The method according to claim 2, characterized in that The query key includes a first query key and / or a second query key, the value corresponding to the first query key is used to represent the number of times the user performs a preset action on the displayed pop-up window, and whether the pop-up window is displayed is controlled based on the relationship between the number of times queried by the first query key and the corresponding preset number of times, the value corresponding to the second query key includes a first value and a second value, one of the first value and the second value is used to represent that the pop-up window is allowed to be displayed, and the other of the first value and the second value is used to represent that the pop-up window is prohibited from being displayed, and whether the pop-up window is displayed is controlled according to the value corresponding to the second query key.

8. A pop-up window control method, characterized in that: include: Obtain pop-up window frequency control logic, where the pop-up window frequency control logic is configured according to any one of the data configuration methods in claims 1-7; According to the pop-up window frequency control logic, the number of times the pop-up window is displayed is controlled.

9. A data configuration device, characterized in that: include: A display module, used to display a pop-up window configuration interface, wherein the pop-up window configuration interface includes a configuration module for configuring pop-up window rules, wherein the configuration module includes event configuration items and operation configuration items corresponding to the event configuration items; A generating module, configured to generate configuration data corresponding to the pop-up rule in response to a configuration operation on a configuration item in the configuration module, wherein the configuration data is used to indicate that when an event corresponding to the event configuration item in the configuration module is received, a data operation corresponding to the operation configuration item in the configuration module is executed; The determination module is used to determine the pop-up window frequency control logic according to the configuration data of at least one pop-up window rule, and the pop-up window frequency control logic is used to control the number of times the pop-up window is displayed.

10. A pop-up window control device, characterized in that: include: An acquisition module, used to acquire pop-up window frequency control logic, wherein the pop-up window frequency control logic is configured according to any one of the data configuration methods in claims 1-7; The control module is used to control the display times of the pop-up window according to the pop-up window frequency control logic.

11. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processing device, the steps of the method described in any one of claims 1 to 7 or the method described in claim 8 are implemented.

12. An electronic device, characterized in that: include: a storage device having a computer program stored thereon; A processing device, used to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 7, or the method according to claim 8.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 or the method according to claim 8 are implemented.