Data issuing method, program product, electronic equipment and storage medium
By generating the conditional modules and condition items to be allocated, combined with the condition levels and relationships, the problem of low data distribution efficiency in the existing technology is solved, and the combination and combination of multiple conditions is realized, which improves the efficiency and accuracy of data distribution.
Patent Information
- Application Number
- CN202410962452.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-08
AI Technical Summary
In the existing data distribution system, the data distribution conditions are fixed, resulting in inefficient efficiency under the combination of multiple conditions. It is necessary to set a single configuration condition in batches and repeatedly filter the target users, which is less efficient.
By receiving conditional items to add requests, the conditional to-provision module is generated, including conditional indicators, operators and operation values to-provision, and the conditional items are generated based on condition levels and relationships, realizing the combination and combination of multiple conditions, improving the efficiency and convenience of conditional configuration sex.
The combination of multiple conditions is realized, the condition item configuration process is simplified, the efficiency and accuracy of data distribution is improved, duplicate filtering is avoided, and the efficiency and convenience of data distribution is improved.
Smart Images

Figure CN118916533A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a data distribution method, a program product, an electronic device and a storage medium. Background Art
[0002] In some scenarios, it is necessary to distribute corresponding data to different users. For example, many enterprises screen out qualified users and distribute customized data during refined operation activities. However, the distribution conditions of many data are a combination of multiple conditions. The conditions or rules in the current data distribution system are fixed. Therefore, when distributing data, it is necessary to set a single configuration condition in batches and obtain matching target users after repeated screening, which leads to low efficiency and inconvenience in data distribution. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a data distribution method, program product, electronic device and storage medium, which obtains condition configuration results by setting hierarchical relationships and condition relationships for condition indicator data, realizes the combination of multiple conditions, and distributes data based on the condition configuration results, thereby improving the efficiency and convenience of condition configuration and distributing data more efficiently.
[0004] In a first aspect, an embodiment of the present application provides a data release method, comprising: receiving a request for adding a conditional item; the request for adding a conditional item includes a conditional hierarchy and a conditional relationship corresponding to the conditional hierarchy; the conditional relationship is used to characterize a logical operation relationship; generating a conditional module to be matched based on the conditional hierarchy, the conditional module to be matched including a conditional indicator to be matched, an operator to be matched and an operation value to be matched; receiving conditional indicator data, an operator and an operation value, and filling the conditional indicator data into the conditional indicator to be matched, filling the operator into the operator to be matched, and filling the operation value into the operation value to be matched to generate a conditional item; generating a conditional configuration result based on the conditional item and the conditional relationship corresponding to the conditional item, and based on the conditional configuration result, releasing the data to be released.
[0005] In the above implementation process, by receiving a condition item addition request, generating a condition to-be-matched module, and then generating a condition item, since the condition item addition request includes the condition hierarchy and condition relationship, the configuration of condition items at multiple levels can be realized, simplifying the configuration process of the condition item. By setting the hierarchical relationship and condition relationship for the condition indicator data, obtaining the condition configuration result, realizing the combination of multiple conditions, and issuing the data based on the condition configuration result, the efficiency and convenience of the condition configuration are improved, thereby issuing data more efficiently.
[0006] Optionally, in an embodiment of the present application, a conditional configuration result is generated based on conditional items and conditional relationships corresponding to the conditional items, including: generating a conditional configuration result based on conditional items, conditional relationships corresponding to the conditional items, configured conditional items, and conditional relationships corresponding to the configured conditions.
[0007] In the implementation process of the above embodiment: by setting hierarchical relationships and conditional relationships for conditional indicator data, conditional configuration results are obtained, and a combination of multiple conditions is achieved. In addition, conditional items of different hierarchical relationships and conditional relationships can be combined to generate conditional configuration results. There is no need for repeated filtering when filtering data, thereby improving the efficiency of the data method.
[0008] Optionally, in an embodiment of the present application, filling the condition indicator data into the condition indicator to be matched includes: obtaining the data type of the condition indicator data, and a pre-set ignored data type; the ignored data type is a data type that is not involved in the issuance process of the data to be issued; determining whether the data type of the condition indicator data is in the ignored data type, and if so, filtering the condition indicator data; if not, filling the condition indicator data into the condition indicator to be matched.
[0009] In the implementation process of the above embodiment: according to the data type of the condition indicator data, the condition indicator data of the data type not involved in the distribution process of the data to be distributed is filtered, and invalid condition indicator data is filtered out, so that the finally generated condition configuration result is more accurate, and the interference of invalid condition indicator data in data distribution is avoided.
[0010] Optionally, in an embodiment of the present application, after generating the conditional item, the method also includes: determining whether the conditional indicator data, operators and operation values in the conditional item are complete; if so, executing the step of "generating conditional configuration results based on the conditional item and the conditional relationship corresponding to the conditional item"; if not, giving a configuration error prompt.
[0011] In the implementation process of the above embodiment: by judging whether the condition indicator data, operator and operation value in the condition item are complete, the next step is executed when the condition indicator data, operator and operation value are complete, thereby improving the accuracy of the condition configuration result.
[0012] Optionally, in an embodiment of the present application, receiving condition indicator data, an operator and an operation value includes: receiving input condition indicator data or condition indicator data selected from pre-provided candidate condition indicators; the condition indicator data is used to filter the user's attribute information; determining a target operator type and a target operation value type according to a data type corresponding to the condition indicator data; receiving an operator determined according to the target operator type, and an operation value determined according to the target operation value type.
[0013] In the implementation process of the above embodiment: the condition indicator data can be received in two ways, and the target operator type and the target operation value type are first determined according to the condition indicator data, and then the matching operator and operation value are received, so as to improve the flexibility of the condition item configuration and meet the business needs.
[0014] Optionally, in an embodiment of the present application, based on the condition configuration result, the data to be issued is issued, including: filtering the users to be screened by the condition configuration result, obtaining the target users, and issuing the data to be issued to the target users.
[0015] In the implementation process of the above embodiment: the target users are screened by the condition configuration results, and customized data is issued to the target users, so as to achieve the goals of accurate issuance, user service optimization, etc. And there is no need to screen users multiple times, which improves the efficiency of issuance.
[0016] Optionally, in an embodiment of the present application, after generating a conditional configuration result based on the conditional items and the conditional relationships corresponding to the conditional items, the method also includes: if the conditional indicator data in the conditional configuration result changes, generating a change reminder for the conditional configuration result, the change reminder including the changed conditional items and the changed content.
[0017] In the implementation process of the above embodiment: after the condition indicator data in the condition configuration result changes, a change reminder is generated for the condition configuration result in time to make the condition configuration result more accurate.
[0018] In the second aspect, the embodiment of the present application also provides a data distribution device, including: a request receiving module, used to receive a conditional item adding request; the conditional item adding request includes a conditional hierarchy and a conditional relationship corresponding to the conditional hierarchy; the conditional relationship is used to characterize a logical operation relationship; a module to be matched is generated, used to generate a conditional module to be matched based on the conditional hierarchy, the conditional module to be matched includes a conditional indicator to be matched, an operator to be matched and an operation value to be matched; a data filling module, used to receive conditional indicator data, an operator and an operation value, and fill the conditional indicator data into the conditional indicator to be matched, fill the operator into the operator to be matched, fill the operation value into the operation value to be matched, and generate a conditional item; a result module, used to generate a conditional configuration result based on the conditional item and the conditional relationship corresponding to the conditional item, and based on the conditional configuration result, distribute the data to be distributed.
[0019] In a third aspect, an embodiment of the present application further provides a computer program product, including computer program instructions, which, when executed by a processor, execute the method provided by the first aspect or any one of the implementations of the first aspect.
[0020] In a fourth aspect, an embodiment of the present application further provides an electronic device, comprising: a processor and a memory, the memory storing computer program instructions, and the computer program instructions, when executed by the processor, execute the method provided by the first aspect or any one of the implementations of the first aspect.
[0021] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method provided by the first aspect or any one of the implementations of the first aspect is executed.
[0022] The present application provides a data distribution method, a program product, an electronic device, and a storage medium. By receiving a conditional item addition request, a conditional module to be configured is generated, and then a conditional item is generated. Since the conditional item addition request includes the conditional hierarchy and conditional relationship, the configuration of conditional items at multiple levels can be realized, simplifying the configuration process of the conditional items. By setting the hierarchical relationship and conditional relationship for the conditional indicator data, the conditional configuration result is obtained, and a combination of multiple conditions is realized. The data is distributed based on the conditional configuration result, which improves the efficiency and convenience of the conditional configuration, thereby distributing data more efficiently. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0024] Figure 1 A flowchart of a data distribution method provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a configuration page provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of the structure of a data distribution device provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following embodiments of the technical solution of the present application will be described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application.
[0030] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0031] The “system” mentioned in the embodiments of the present application mainly refers to a back-end configuration system, such as a financial product project configuration platform, which provides a one-stop configuration data carrier for back-end operators.
[0032] Conditional indicator data refers to the configuration factors used for conditional rule decision-making, which comes from the premise of the data to be released; for example, user due diligence information, user age and identity portraits, account manager business qualifications, account manager business areas, etc.
[0033] A conditional item refers to a complete indicator element composed of an indicator data through a combination of different operators and indicator values, including the indicator name, indicator identifier, indicator data type, indicator operator and indicator value.
[0034] Data to be released refers to the result data released by the system to users; for example, red envelopes, coupons, event gift packages, due diligence business parameters, project certification materials, etc.
[0035] See also Figure 1 A flow chart of a data distribution method provided by an embodiment of the present application is shown. The data distribution method provided by an embodiment of the present application can be applied to an electronic device, which may include a physical device such as a server, a PC, a tablet computer, or a smart phone, or a virtual device such as a virtual machine or a container. The electronic device may be a single device, or a combination of multiple devices or a cluster of a large number of devices. The data distribution method may include:
[0036] Step S110: receiving a condition item adding request; the condition item adding request includes a condition level and a condition relationship corresponding to the condition level; the condition relationship is used to represent a logical operation relationship.
[0037] Step S120: Generate a conditional module to be matched based on the conditional hierarchy, wherein the conditional module to be matched includes a conditional indicator to be matched, an operator to be matched and an operation value to be matched.
[0038] Step S130: receiving condition indicator data, operators and operation values, and filling the condition indicator data into the condition indicator to be matched, filling the operator into the operator to be matched, and filling the operation value into the operation value to be matched, to generate a condition item.
[0039] Step S140: generating condition configuration results based on the condition items and the conditional relationships corresponding to the condition items, and issuing the data to be issued based on the condition configuration results.
[0040] In step S110, the condition item addition request is used to add a new condition item, which can be regarded as a condition for filtering users; the condition item includes but is not limited to three items, condition indicator data, operator and operation value, for example, in addition to the above three items, it can also include type information, so when generating the module to be matched, the type module to be matched can be generated synchronously. The condition indicator data is the attribute information used to filter the user, such as work information, real estate information, insurance policy information, etc. For example, the condition indicator data is the number of real estate in the real estate information, the operator is greater than or equal to, and the operation value is 1, then the combined condition item is: the number of real estate is greater than or equal to 1.
[0041] Before receiving a request to add a conditional item, there may be no configured conditional item in the configuration page, that is, the user starts configuration from the first conditional item; the configuration page may also include configured conditional items.
[0042] For the first case mentioned above, there may be no configured conditional items in the configuration page. Then, after initiating a conditional item adding request, the user can set the conditional level of the conditional item adding request and the conditional relationship corresponding to the conditional level by himself, or the conditional level of the first conditional item adding request is defaulted to the first level, and the user only needs to set the conditional relationship.
[0043] Each conditional level has a unique corresponding conditional relationship, which is used to characterize the logical operation relationship. The conditional relationship may include AND, OR, and NOT, and may also include compound logical operations such as XOR, NAND, and NOR. For example, if the conditional relationship of the first conditional level is set to "AND", then the conditional relationships between the condition items added under this conditional level are all "AND".
[0044] For the second case above, the configuration page has configured condition items, and the configured condition items include condition levels and condition levels. The user can initiate a condition item addition request based on the configuration page. Continuing with the above embodiment, in the configuration page, the configured condition item is the first condition level, and the condition relationship is "and". The user can click the "Add" button at the corresponding position under the first condition level to initiate a condition item addition request, then the condition level of the condition item addition request is the first condition level; the condition relationship of the condition item addition request is "and".
[0045] Each condition level can be set with a button for initiating a request. Clicking the button initiates the adding of condition items for that condition level.
[0046] Corresponding to the second case, if the condition item to be added is not the first condition level, that is, the condition item we want to add is not in an "and" condition relationship, we can use the first case to initiate a condition item addition request, and set the condition level and corresponding condition relationship of the condition item addition request by yourself, such as setting the condition level to the second level and the condition relationship to "or", so that you can configure condition items with different logical operation relationships. In the subsequent condition item addition process, you can initiate a condition item addition request based on the existing first condition level, you can also initiate a condition item addition request based on the existing second condition level, or you can initiate a condition item addition request and set the condition level to the third level.
[0047] After the user initiates the addition of a conditional item, the electronic device receives the conditional item addition request and confirms the conditional relationship between the conditional item addition request conditional level and the conditional level.
[0048] In step S120, in response to the condition item adding request, a condition to-be-matched module is generated based on the condition level of the condition item adding request, and the condition to-be-matched module includes a condition indicator to be matched, an operator to be matched, and an operation value to be matched. For example, if the condition level is the first condition level, a condition to-be-matched module under the first condition level is generated. The condition indicator to be matched is used to fill in the condition indicator data, the operator to be matched is used to fill in the operator, and the operation value to be matched is used to fill in the operator.
[0049] In step S130, conditional indicator data, an operator and an operation value are received, and the conditional indicator data is filled into the conditional indicator to be matched, the operator is filled into the operator to be matched, and the operation value is filled into the operation value to be matched, and a conditional item is generated. For example, the conditional indicator data "number of properties" is filled into the conditional indicator to be matched, the operator "greater than or equal to" is filled into the operator to be matched, and the operation value "1" is filled into the operation value to be matched, and the generated conditional item is "the number of properties is greater than or equal to 1".
[0050] In step S140, a conditional configuration result is generated based on the conditional items and the conditional relationships corresponding to the conditional items, and based on the conditional configuration result. If there are multiple conditional items, such as configured conditional items, the conditional relationships corresponding to the conditional items, the configured conditional items and the conditional relationships corresponding to the configured conditions can be used to generate the conditional configuration result, so that multiple conditional items form a composite conditional configuration result.
[0051] In the above implementation process, by receiving a condition item addition request, generating a condition to-be-matched module, and then generating a condition item, since the condition item addition request includes the condition hierarchy and condition relationship, the configuration of condition items at multiple levels can be realized, simplifying the configuration process of the condition item. By setting the hierarchical relationship and condition relationship for the condition indicator data, obtaining the condition configuration result, realizing the combination of multiple conditions, and issuing the data based on the condition configuration result, the efficiency and convenience of the condition configuration are improved, thereby issuing data more efficiently.
[0052] See also Figure 2 A schematic diagram of a configuration page provided in an embodiment of the present application is shown.
[0053] Optionally, in an embodiment of the present application, a conditional configuration result is generated based on conditional items and conditional relationships corresponding to the conditional items, including: generating a conditional configuration result based on conditional items, conditional relationships corresponding to the conditional items, configured conditional items, and conditional relationships corresponding to the configured conditions.
[0054] For example, if the configured condition item is "Policy term equals 5 years" and the condition relationship is "or", by clicking the "Add A" button, you can add the condition item "Number of properties is greater than or equal to 1". Then the condition configuration result generated based on the condition item and the configured condition item is "Policy term equals 5 years or number of properties is greater than or equal to 1".
[0055] like Figure 2 As shown in the figure, the conditional relationship of the conditional item "Number of properties is greater than or equal to 1" is set to "AND". If we add a new conditional item at the level with the conditional relationship of "AND" (for example, we can click the "Add B" button to add a conditional item with the conditional relationship of "AND"), since the conditional relationships of the conditional items at the same conditional level are consistent, the conditional relationship of the added conditional item is also "AND". For example, the newly added conditional item is "House type is equal to residential", then Figure 2 The condition configuration result composed of the newly added condition item and the above two condition items is "policy term equals 5 years or (number of properties is greater than or equal to 1 and house type is equal to residential)".
[0056] In the implementation process of the above embodiment: by setting hierarchical relationships and conditional relationships for conditional indicator data, conditional configuration results are obtained, and a combination of multiple conditions is achieved. In addition, conditional items of different hierarchical relationships and conditional relationships can be combined to generate conditional configuration results. There is no need for repeated filtering when filtering data, thereby improving the efficiency of the data method.
[0057] Optionally, in an embodiment of the present application, condition indicator data is filled into the condition indicator to be matched, including: obtaining the data type of the condition indicator data, and a pre-set ignored data type; the ignored data type is a data type that is not involved in the issuance process of the data to be issued, for example, the data type may include enumeration, Boolean, string, number, regular expression, or file, etc. If some data to be issued does not involve the file data type in the issuance process, then the "file type" can be set to the ignored data type.
[0058] It is determined whether the data type of the condition indicator data is in the ignored data type. If so, the condition indicator data is filtered; if not, the condition indicator data is filled into the condition indicator to be matched. Exemplarily, the data type of the condition indicator data can be obtained first, and then it is determined whether the data type of the condition indicator data is in the ignored data type, that is, whether the data type of the condition indicator data is "file type". If so, the condition indicator data is filtered; if not, the condition indicator data is filled into the condition indicator to be matched.
[0059] In the implementation process of the above embodiment: according to the data type of the condition indicator data, the condition indicator data of the data type not involved in the distribution process of the data to be distributed is filtered, and invalid condition indicator data is filtered out, so that the finally generated condition configuration result is more accurate, and the interference of invalid condition indicator data in data distribution is avoided.
[0060] Optionally, in an embodiment of the present application, after generating the conditional item, the method also includes: determining whether the conditional indicator data, operator and operation value in the conditional item are complete; if so, executing the step of "generating a conditional configuration result based on the conditional item and the conditional relationship corresponding to the conditional item"; if not, giving a configuration error prompt.
[0061] The condition indicator data, operator and operation value in the condition item need to be complete, otherwise the condition item is invalid and a configuration error prompt can be given. For example, if a condition item is detected as "House Type Equals", and the operation value is missing in this condition item, a configuration error prompt can be given. The configuration error prompt can be that the operation value is missing in the condition item.
[0062] In the implementation process of the above embodiment: by judging whether the condition indicator data, operator and operation value in the condition item are complete, the next step is executed when the condition indicator data, operator and operation value are complete, thereby improving the accuracy of the condition configuration result.
[0063] Optionally, in the embodiment of the present application, receiving the condition indicator data, the operator and the operation value includes: receiving the condition indicator data in the following two ways:
[0064] The first is receiving input condition indicator data, such as the condition indicator data manually entered by the user in the configuration interface, which may include the indicator name, indicator identifier, indicator data type, etc. If the indicator data type is an enumeration, an optional enumeration option group needs to be entered.
[0065] The second type is conditional indicator data selected from pre-provided candidate conditional indicators. For example, the indicator usage scenario, database and database field are pre-selected; the indicator name, indicator identifier, data type and other information are stored in the system for users to select.
[0066] Determine the target operator type and target operation value type according to the data type corresponding to the condition indicator data. Determine the target operator type. For example, if the data type of the condition indicator data is enumeration, the target operator type can be equal to, not equal to, contain or not contain;
[0067] If the data type of the condition indicator data is Boolean, the target operator type can be equal to or not equal to;
[0068] If the data type of the condition indicator data is string, the target operator type can be equal to or not equal to;
[0069] If the data type of the condition indicator data is numeric, the target operator type can be equal to, not equal to, greater than or equal to, greater than, less than or equal to, less than, contains, does not contain, between, or not between;
[0070] If the data type of the condition indicator data is regular, the target operator type can be equal to or not equal to;
[0071] If the data type of the condition indicator data is file, the target operator type can be equal to, not equal to, contains, or does not contain.
[0072] Target operation value type For example, if the data type of the indicator data is enumeration, the target operation value type can be the enumeration option value pre-entered by the user, or the enumeration option value preset by the system;
[0073] If the data type of the condition indicator data is Boolean, the target operation value type can be a single-choice value of yes or no;
[0074] If the data type of the condition indicator data is a string, the target operation value type can be a string value entered by the user;
[0075] If the data type of the condition indicator data is numeric, the target operation value type can be the numeric type entered by the user;
[0076] If the data type of the conditional indicator data is regular, the target operation value type can be a regular string value entered by the user;
[0077] If the data type of the condition indicator data is file, the target operation value type can be the result value after parsing the uploaded file.
[0078] Then, an operator determined according to the target operator type and an operation value determined according to the target operation value type are received.
[0079] In the implementation process of the above embodiment: the condition indicator data can be received in two ways, and the target operator type and the target operation value type are first determined according to the condition indicator data, and then the matching operator and operation value are received, so as to improve the flexibility of the condition item configuration and meet the business needs.
[0080] Optionally, in an embodiment of the present application, based on the condition configuration result, the data to be issued is issued, including: filtering the users to be screened by the condition configuration result, obtaining the target users, and issuing the data to be issued to the target users.
[0081] Get the user database, which should contain detailed information of all users to be screened, such as basic information, transaction records, behavior logs, etc. Write or execute the screening logic according to the conditional configuration results. This usually involves SQL queries, NoSQL queries, or specialized data processing logic to filter out target users who meet the conditions from the user database. Prepare the data to be distributed. This data may be coupons, notification information, personalized recommendation content, etc. Then distribute the data to be distributed to the target users, for example, through emails, SMS, APP push, website notifications, etc., to distribute the prepared data to the screened target users.
[0082] In an optional embodiment, user feedback and behavior changes after data distribution can be monitored to evaluate the distribution effect and optimize subsequent strategies. Then, based on user feedback, data analysis results, etc., the screening conditions, data distribution strategies, etc. are optimized and adjusted to improve the overall effect.
[0083] In the implementation process of the above embodiment: the target users are screened by the condition configuration results, and customized data is issued to the target users, so as to achieve the goals of accurate issuance, user service optimization, etc. And there is no need to screen users multiple times, which improves the efficiency of issuance.
[0084] Optionally, in an embodiment of the present application, after generating a conditional configuration result based on the conditional items and the conditional relationships corresponding to the conditional items, the method also includes: if the conditional indicator data in the conditional configuration result changes, generating a change reminder for the conditional configuration result, the change reminder including the changed conditional items and the changed content.
[0085] Due to changes in business parameter configuration and other reasons, the condition indicator data in the condition configuration result may change. After the condition indicator data changes, a change reminder can be generated for the condition configuration result containing the changed condition indicator data. The change reminder includes the changed condition item and the changed content. The changed condition item refers to the condition item containing the condition indicator data, and the changed content includes the content of the changed condition indicator data or the reason for the change.
[0086] In the implementation process of the above embodiment: after the condition indicator data in the condition configuration result changes, a change reminder is generated for the condition configuration result in time to make the condition configuration result more accurate.
[0087] In an optional embodiment, after generating the conditional configuration result based on the conditional items and the conditional relationship corresponding to the conditional items, the conditional configuration result can also be displayed. For example, the display form can be designed as needed, such as a pop-up window, a drawer, a result notification page, etc., which is not limited in this embodiment of the present application. After the configuration page is successfully displayed, it can be reported to the user behavior audit platform to record a successful display for background analysis of the success or failure of the configuration.
[0088] See also Figure 3 The structure diagram of the data distribution device provided in the embodiment of the present application is shown; the embodiment of the present application provides a data distribution device 200, including:
[0089] The request receiving module 210 is used to receive a condition item adding request; the condition item adding request includes a condition level and a condition relationship corresponding to the condition level; the condition relationship is used to represent a logical operation relationship;
[0090] Generate a module to be matched 220, which is used to generate a conditional module to be matched based on the conditional hierarchy, and the conditional module to be matched includes a conditional indicator to be matched, an operator to be matched, and an operation value to be matched;
[0091] The data filling module 230 is used to receive condition index data, operators and operation values, and fill the condition index data into the condition index to be matched, fill the operator into the operator to be matched, and fill the operation value into the operation value to be matched, so as to generate a condition item;
[0092] The result module 240 is used to generate condition configuration results based on the condition items and the condition relationships corresponding to the condition items, and to release the data to be released based on the condition configuration results.
[0093] Optionally, in an embodiment of the present application, the data distribution device, the result module 240, is specifically used to generate a condition configuration result based on the condition items, the condition relationships corresponding to the condition items, the configured condition items and the condition relationships corresponding to the configured conditions.
[0094] Optionally, in an embodiment of the present application, the data distribution device, the data filling module 230, is specifically used to obtain the data type of the condition indicator data, and the pre-set ignored data type; the ignored data type is the data type that is not involved in the distribution process of the data to be distributed; it is determined whether the data type of the condition indicator data is in the ignored data type, and if so, the condition indicator data is filtered; if not, the condition indicator data is filled in the condition indicator to be matched.
[0095] Optionally, in an embodiment of the present application, the data distribution device also includes a verification module for determining whether the condition indicator data, operators and operation values in the condition items are complete. If so, the step of "generating condition configuration results based on the condition items and the conditional relationships corresponding to the condition items" is executed; if not, a configuration error prompt is given.
[0096] Optionally, in an embodiment of the present application, the data issuing device, the data filling module 230, is also used to receive input condition indicator data or condition indicator data selected from pre-provided candidate condition indicators; the condition indicator data is used to filter the user's attribute information; according to the data type corresponding to the condition indicator data, the target operator type and the target operation value type are determined; and the operator determined according to the target operator type and the operation value determined according to the target operation value type are received.
[0097] Optionally, in the embodiment of the present application, the data distribution device, the result module 240, is further used to filter the users to be filtered according to the condition configuration results, obtain the target users, and distribute the data to be distributed to the target users.
[0098] Optionally, in an embodiment of the present application, the data distribution device also includes a change reminder module, which is used to generate a change reminder for the condition configuration result if the condition indicator data in the condition configuration result changes, and the change reminder includes the changed condition item and the changed content.
[0099] It should be understood that the device corresponds to the above-mentioned data distribution method embodiment and can execute the various steps involved in the above-mentioned method embodiment. The specific functions of the device can be found in the above description. To avoid repetition, the detailed description is appropriately omitted here. The device includes at least one software function module that can be stored in a memory in the form of software or firmware or solidified in the operating system (OS) of the device.
[0100] See also Figure 4 The electronic device 300 provided in the embodiment of the present application includes: a processor 310 and a memory 320, wherein the memory 320 stores machine-readable instructions executable by the processor 310, and when the machine-readable instructions are executed by the processor 310, the above method is executed.
[0101] The electronic device may also include one or more applications, wherein the one or more applications are stored in the memory 320 and configured so that the processor 310 executes the steps of the conditional rule decision configuration method described in any of the above-mentioned conditional rule configuration decision method embodiments.
[0102] Specifically, the electronic device may be a conditional rule decision configuration device, which may include a processor 310 of one or more processing cores, a memory 320 of one or more computer-readable storage media, a power supply, an input unit, and other components. Those skilled in the art will appreciate that the above structure does not constitute a limitation on the conditional rule decision configuration device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently. Among them:
[0103] The processor 310 is the control center of the conditional rule decision configuration device. It uses various interfaces and lines to connect the various parts of the entire conditional rule macro configuration device. By running or executing software programs and / or modules in the memory and calling data in the memory, it executes various functions of the conditional rule decision configuration device and processes data, thereby monitoring the conditional rule decision configuration device as a whole.
[0104] Optionally, the processor 310 may include one or more processing cores; preferably, the processor may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor.
[0105] The memory 320 can be used to store software programs and modules. The processor 310 executes various functional applications and data processing by running the software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created by configuring the use of the device according to conditional rule decisions, etc. In addition, the memory 320 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 320 may also include a memory controller to provide the processor 310 with access to the memory 320.
[0106] The conditional rule decision configuration device also includes a power supply for supplying power to each component. Preferably, the power supply can be logically connected to the processor 310 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. The power supply can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, etc. The conditional rule decision configuration device can also include an input unit, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Although not shown, the conditional rule decision configuration device can also include a display unit, etc., which will not be repeated here.
[0107] An embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above method is executed.
[0108] Among them, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable red-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, disk or optical disk.
[0109] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than the order marked in the accompanying drawings. For example, two consecutive boxes 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 box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] In addition, the functional modules in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.
[0111] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.
Claims
1. A data distribution method, characterized in that: include: receiving a request to add a conditional item; The condition item adding request includes a condition level and a condition relationship corresponding to the condition level; The conditional relationship is used to characterize the logical operation relationship; Generate a conditional module to be matched based on the conditional hierarchy, wherein the conditional module to be matched includes a conditional indicator to be matched, an operator to be matched and an operation value to be matched; receiving condition indicator data, an operator and an operation value, and filling the condition indicator data into the condition indicator to be matched, filling the operator into the operator to be matched, and filling the operation value into the operation value to be matched, so as to generate a condition item; A condition configuration result is generated based on the condition item and the condition relationship corresponding to the condition item, and the data to be issued is issued based on the condition configuration result.
2. The method according to claim 1, characterized in that Generating a condition configuration result based on the condition item and the condition relationship corresponding to the condition item includes: A condition configuration result is generated based on the condition item, the condition relationship corresponding to the condition item, the configured condition item, and the condition relationship corresponding to the configured condition.
3. The method according to claim 1, characterized in that: Filling the condition indicator data into the condition indicator to be matched includes: Acquire the data type of the condition indicator data and the preset ignored data type; the ignored data type is the data type not involved in the issuance process of the data to be issued; It is determined whether the data type of the condition indicator data is in the ignored data type. If so, the condition indicator data is filtered; if not, the condition indicator data is filled into the condition indicator to be matched.
4. The method according to claim 1, characterized in that: After generating the conditional item, the method further includes: Determine whether the condition indicator data, operator and operation value in the condition item are complete. If so, execute the step of "generating a condition configuration result based on the condition item and the condition relationship corresponding to the condition item"; if not, give a configuration error prompt.
5. The method according to claim 1, characterized in that The receiving condition indicator data, operator and operation value include: Receiving input condition index data or condition index data selected from pre-provided candidate condition indexes; the condition index data is used to filter attribute information of a user; Determine the target operator type and the target operation value type according to the data type corresponding to the condition indicator data; An operator determined according to the target operator type and an operation value determined according to the target operation value type are received.
6. The method according to claim 1, characterized in that The releasing the data to be released based on the condition configuration result includes: The users to be screened are screened according to the condition configuration result, the target users are obtained, and the data to be distributed is distributed to the target users.
7. The method according to claim 1, characterized in that After generating a condition configuration result based on the condition item and the condition relationship corresponding to the condition item, the method further includes: If the condition indicator data in the condition configuration result changes, a change reminder is generated for the condition configuration result, and the change reminder includes the changed condition item and the changed content.
8. A computer program product, characterized in that The method comprises computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is executed.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the method according to any one of claims 1 to 7 is executed.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is executed.
Citation Information
Patent Citations
Screening rule configuration method, display method and client
CN106933889A
An electronic coupon management method and device
CN109741087A
Data distribution method based on OGNL expression language, electronic device and storage medium
CN110674366A
Data processing method and device and readable storage medium
CN112818007A
Conditional expression dynamic configuration method and accounting condition calculation method and device
CN116167882A
