Strategy processing method and device, computer storage medium and electronic equipment
By identifying basic policy information and operational goals, filtering policy node information, and adjusting and testing strategies, the problems of low policy detection efficiency and low accuracy in the existing technology are solved, and more efficient policy monitoring and optimization are achieved.
Patent Information
- Application Number
- CN202410763349.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-08-30
AI Technical Summary
The existing technology has low strategy detection efficiency and low accuracy, and cannot fully understand the effects of operational strategies, making it difficult for financial institutions to adjust and optimize strategies in a timely manner.
By identifying the basic information and operational goals of the strategy, determine the conversion indicator threshold, obtain the strategy conversion data, filter the strategy node information from the data lake, determine whether the node conversion data is less than the threshold, adjust the strategy according to the conversion situation, and allocate data through test traffic rules. Strategy testing and tweaking.
It improves the efficiency and accuracy of strategy detection, enables more comprehensive monitoring of strategy effects, timely adjustments to optimization strategies, and improves operational efficiency.
Smart Images

Figure CN118569678A
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology or other related fields, and specifically, to a strategy processing method, device, computer storage medium and electronic device. Background Art
[0002] With the development of financial institutions, financial institutions need to formulate and optimize business models before operating their businesses. Therefore, financial institutions need to formulate effective operation strategies and evaluate their effects by monitoring the conversion of strategies, thereby improving operational efficiency and capabilities. However, in the related technologies, there are multiple problems when testing operation strategies.
[0003] First, there are limitations in monitoring indicators. The relevant detection methods mainly focus on the overall monthly active users (MAU) and asset management scale (AUM) of the activities, or detect the number of people participating in the activities. However, these indicators may be too macro and cannot accurately reflect the effect of the operation strategy at each node. Secondly, impact assessment is difficult: Since the impact of operation activities on MAU and AUM is often long-term, it is difficult to see obvious results through strategy adjustments in a short period of time. Therefore, relying solely on these indicators to evaluate the effectiveness of the strategy may lead to overly narrow judgments. Finally, when monitoring operation strategies, relevant technologies often only focus on individual indicators, such as the number of people participating in activities, and ignore the monitoring of each node of the operation strategy and the overall operation goals. This may prevent financial institutions from fully understanding the effect of strategy execution, thereby affecting the adjustment and optimization of the strategy.
[0004] There are problems of low detection efficiency and low detection accuracy when detecting strategies in related technologies, and no effective solution has been proposed yet. Summary of the invention
[0005] The main purpose of the present application is to provide a strategy processing method, device, computer storage medium and electronic device to solve the problems of low detection efficiency and low detection accuracy when detecting strategies in related technologies.
[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for processing a strategy is provided. The method includes: after the strategy is run, identifying the strategy, obtaining the strategy basic information and operation target, wherein the operation target refers to the expected target of the operation strategy; determining the conversion index threshold according to the operation target, and obtaining the strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy; judging whether the strategy conversion data is less than the conversion index threshold, and if the strategy conversion data is less than the conversion index threshold, determining the strategy adjustment plan according to the conversion status of the M strategy nodes of the strategy, adjusting the strategy using the strategy adjustment plan, and running the adjusted strategy, wherein M is a positive integer.
[0007] Furthermore, determining a policy adjustment plan based on the conversion status of M policy nodes of the policy includes: identifying node information associated with the M policy nodes to obtain M node information; filtering node conversion data of the M policy nodes from the data lake based on the M node information to obtain M node conversion data; obtaining a node indicator threshold of each policy node, determining whether there is node conversion data in the M node conversion data that is less than the node indicator threshold, obtaining a determination result, and determining a policy adjustment plan based on the determination result.
[0008] Furthermore, determining a policy adjustment scheme based on the judgment result includes: when there is node conversion data less than the node index threshold in the M node conversion data, obtaining a policy node whose node conversion data is less than the node index threshold, and obtaining N target policy nodes, wherein N is less than or equal to M and N is a positive integer; obtaining N reference policy nodes from the data lake based on the node information associated with the N target policy nodes, wherein the N reference policy nodes refer to policy nodes whose similarity with the node information associated with the target policy nodes is greater than a preset threshold; obtaining node configuration information of the N reference policy nodes, and determining the policy adjustment scheme as a first adjustment sub-scheme and a second adjustment sub-scheme, wherein the first adjustment sub-scheme is a scheme for adjusting node parameters of the N target policy nodes based on the node configuration information, and the second adjustment sub-scheme is a scheme for not adjusting the node parameters of the MN policy nodes.
[0009] Furthermore, before identifying the strategy, the method also includes: for each policy node in the strategy, obtaining K candidate policy nodes of the policy node, where K is a positive integer; obtaining a test traffic rule, and allocating traffic data to the K candidate policy nodes according to the test traffic rule; testing the K candidate policy nodes based on the allocated traffic data, and determining the target policy node from the K candidate policy nodes according to the test results.
[0010] Furthermore, the test traffic rules include parallel traffic rules and split traffic rules, and allocating traffic data to K candidate strategy nodes according to the test traffic rules includes: when the test traffic rule is a parallel traffic rule, obtaining the allocated traffic data, and evenly distributing the allocated traffic data to the K candidate strategy nodes; when the test traffic rule is a split traffic rule, determining Y traffic ratios according to the split traffic rule, and executing the step of allocating traffic data to the K candidate strategy nodes according to the test traffic rule according to each traffic ratio, wherein Y is a positive integer.
[0011] Furthermore, K kinds of candidate policy nodes are tested based on the allocated traffic data, and the target policy node is determined from the K kinds of candidate policy nodes according to the test results, including: obtaining the operation results of the K kinds of candidate policy nodes to obtain K operation results, sorting the K operation results in descending order to obtain an arrangement result; filtering out the operation results in a preset sequence from the arrangement results, and determining the candidate policy node associated with the operation results in the preset sequence as the target policy node.
[0012] Furthermore, after determining whether the policy conversion data is less than the conversion index threshold, the method also includes: when the policy conversion data is greater than or equal to the conversion index threshold, determining the policy as a reusable policy, and storing the reusable policy in the data lake; when receiving a policy filtering request sent by the user, extracting the reusable policy from the data lake, and sending the reusable policy to the user, wherein the policy filtering request is used to request to obtain a policy consistent with the policy type of the reusable policy.
[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a strategy processing device is provided. The device includes: an identification unit, which is used to identify the strategy after the strategy is run, and obtain the strategy basic information and operation target, wherein the operation target refers to the expected target of the operation strategy; a first determination unit, which is used to determine the conversion index threshold according to the operation target, and obtain the strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy; a judgment unit, which is used to judge whether the strategy conversion data is less than the conversion index threshold, and when the strategy conversion data is less than the conversion index threshold, determine the strategy adjustment plan according to the conversion status of M strategy nodes of the strategy, use the strategy adjustment plan to adjust the strategy, and run the adjusted strategy, wherein M is a positive integer.
[0014] According to another aspect of an embodiment of the present invention, a computer storage medium is provided. The computer storage medium is used to store a program. When the program is executed, the device where the computer storage medium is located is controlled to execute a policy processing method.
[0015] According to another aspect of an embodiment of the present invention, an electronic device is provided, comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein the computer-readable instructions execute a policy processing method when running.
[0016] According to another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, a policy processing method is executed.
[0017] Through this application, the following steps are adopted: after the strategy is run, the strategy is identified to obtain the strategy basic information and operation target, wherein the operation target refers to the expected target of the operation strategy; the conversion index threshold is determined according to the operation target, and the strategy conversion data within a preset time period is obtained from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy; it is judged whether the strategy conversion data is less than the conversion index threshold, and when the strategy conversion data is less than the conversion index threshold, the strategy adjustment plan is determined according to the conversion status of M strategy nodes of the strategy, the strategy is adjusted by using the strategy adjustment plan, and the adjusted strategy is run, wherein M is a positive integer, which solves the problem of low detection efficiency and low detection accuracy when detecting the strategy in the related technology, by obtaining the strategy basic information and operation target in the strategy, determining the conversion index threshold according to the operation target, obtaining the strategy conversion data from the data lake according to the strategy basic information, comparing the strategy conversion data with the conversion index threshold, and then determining the strategy adjustment plan according to the comparison result, adjusting the strategy by using the strategy adjustment plan, and running the adjusted strategy, thereby achieving the effect of improving the efficiency and accuracy of the detection strategy. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0019] Figure 1 is a flowchart of a method for processing a policy provided in an embodiment of the present application;
[0020] Figure 2 is a schematic diagram of a method for determining a strategy adjustment solution provided in an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a processing device according to a strategy provided in an embodiment of the present application;
[0022] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.
[0027] It should be noted that the collected information used in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse to use it.
[0028] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for processing a policy according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0029] Step S101, after the strategy is run, the strategy is identified, and basic strategy information and operation objectives are obtained, wherein the operation objectives refer to the expected objectives of running the strategy.
[0030] Specifically, in order to conduct comprehensive testing of the operational strategies of operational activities in a timely manner, the overall conversion of the operational strategies can be monitored after the operational strategies are submitted and run, and the processing methods of different nodes under the operational strategies can be determined according to the degree of achievement of the operational goals. Among them, strategies refer to multiple operational strategies to be tested set by financial institutions, and the basic information of strategies includes information such as the strategy names of the above strategies. For example, if the operational strategy is to increase the number of registered people, the operational goal can be the number of people who have applied for registration.
[0031] Step S102, determining a conversion indicator threshold according to the operation goal, and obtaining strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy.
[0032] Specifically, after obtaining the basic information of the strategy and the operational objectives from the strategy, the threshold can be determined according to the operational objectives, that is, the conversion indicator threshold can be obtained, and then the data for running the above strategy can be retrieved from the data lake according to the basic information of the strategy, that is, the strategy conversion data within the preset time period can be obtained, so as to comprehensively detect the strategy based on the conversion indicator threshold and the strategy conversion data. Among them, the data lake is a platform for centralized storage and management of large amounts of data, which can support data of different types and sources. Storing strategies in the data lake can realize centralized management and rapid retrieval of strategies, thereby improving the efficiency of strategy application.
[0033] Step S103, determine whether the strategy conversion data is less than the conversion index threshold. If the strategy conversion data is less than the conversion index threshold, determine the strategy adjustment plan according to the conversion status of the M strategy nodes of the strategy, adjust the strategy using the strategy adjustment plan, and run the adjusted strategy, where M is a positive integer.
[0034] Specifically, when comparing the conversion indicator threshold and the strategy conversion data, if the strategy conversion data is less than the conversion indicator threshold, it indicates that the strategy is not running well and needs to be optimized and adjusted. At this time, the strategy node associated with the strategy can be obtained, and then the specific strategy adjustment plan can be determined based on the conversion status of the strategy node, and then the adjusted strategy can be run. For example, if the strategy node in the strategy is a customer group node, the conversion status of the customer group node can be obtained, that is, how many people in a certain customer group have achieved the operation goal, and then the conversion rate is calculated based on the number of people, so as to determine the strategy adjustment plan based on the conversion rate.
[0035] The strategy processing method provided in the embodiment of the present application, after the strategy is run, identifies the strategy to obtain strategy basic information and operation objectives, wherein the operation objective refers to the expected objective of the operation strategy; determines a conversion index threshold according to the operation objective, and obtains strategy conversion data within a preset time period from a data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy; determines whether the strategy conversion data is less than the conversion index threshold, and when the strategy conversion data is less than the conversion index threshold, determines a strategy adjustment plan according to the conversion status of M strategy nodes of the strategy, adjusts the strategy using the strategy adjustment plan, and runs the adjusted strategy, wherein M is a positive integer, solves the problem of low detection efficiency and low detection accuracy when detecting strategies in the related technology, obtains the strategy basic information and operation objectives in the strategy, determines the conversion index threshold according to the operation objective, obtains the strategy conversion data from the data lake according to the strategy basic information, compares the strategy conversion data with the conversion index threshold, and then determines the strategy adjustment plan according to the comparison result, adjusts the strategy using the strategy adjustment plan, and runs the adjusted strategy, thereby achieving the effect of improving the efficiency and accuracy of the detection strategy.
[0036] Figure 2 is a schematic diagram of a method for determining a strategy adjustment solution according to an embodiment of the present application, such as Figure 2 As shown, optionally, in the policy processing method provided in the embodiment of the present application, determining the policy adjustment scheme according to the conversion conditions of the M policy nodes of the policy includes:
[0037] Step S201, identifying node information associated with M policy nodes, and obtaining M node information;
[0038] Step S202, filtering node conversion data of M strategy nodes from the data lake according to the M node information to obtain M node conversion data;
[0039] Step S203, obtaining the node index threshold of each strategy node, determining whether there is node conversion data less than the node index threshold among the M node conversion data, obtaining a determination result, and determining a strategy adjustment plan according to the determination result.
[0040] Specifically, when determining a strategy adjustment plan, you can first identify the strategy nodes associated with the strategy, obtain multiple node information representing the node names, and then filter out the conversion data related to these strategy nodes from the data lake based on the node information. For example, strategy nodes may include customer group nodes, activity nodes, customer contact nodes, etc. The node conversion data obtained may be customer group conversion data, activity conversion data, and customer contact conversion data, etc. Among them, the customer group conversion data represents how many people in this customer group have achieved the operation goal, the activity conversion data represents how many people have achieved the operation goal by participating in the activity, and the customer contact conversion data represents how many people have been reached and achieved the operation goal.
[0041] Furthermore, the node index threshold corresponding to each policy node is obtained, and then the node index threshold is compared with the above-mentioned conversion data to determine whether there is a situation below the node index threshold, so as to determine the policy adjustment plan according to the judgment result. This embodiment compares the node conversion data with the node index threshold, and can determine the policy adjustment plan according to the result, thereby improving the effectiveness of the policy.
[0042] In order to screen out poorly performing policy nodes, optionally, in the policy processing method provided in the embodiment of the present application, determining a policy adjustment scheme based on the judgment result includes: when there is node conversion data less than the node index threshold among the M node conversion data, obtaining the policy nodes whose node conversion data is less than the node index threshold, and obtaining N target policy nodes, wherein N is less than or equal to M and N is a positive integer; obtaining N reference policy nodes from the data lake based on the node information associated with the N target policy nodes, wherein the N reference policy nodes refer to policy nodes whose similarity with the node information associated with the target policy nodes is greater than a preset threshold; obtaining the node configuration information of the N reference policy nodes, and determining the policy adjustment scheme as a first adjustment sub-scheme and a second adjustment sub-scheme, wherein the first adjustment sub-scheme is a scheme for adjusting node parameters of the N target policy nodes based on the node configuration information, and the second adjustment sub-scheme is a scheme for not adjusting the node parameters of the MN policy nodes.
[0043] Specifically, in order to determine the policy adjustment plan based on the node conversion data of the policy node, it is first necessary to identify the poorly performing policy nodes from the policy nodes, that is, to filter out the policy nodes whose conversion data is less than the node indicator threshold from the node conversion data, thereby obtaining multiple target policy nodes.
[0044] Furthermore, it is necessary to obtain multiple reference policy nodes related to the target policy node from the data lake based on the node information associated with the target policy node, wherein the similarity between these reference policy nodes and the target policy node is greater than a preset threshold, which means that the reference policy node and the target policy node have similar performance and attributes.
[0045] After obtaining the reference policy nodes, their node configuration information can be obtained, and a policy adjustment plan can be formulated based on the obtained node configuration information: a first adjustment sub-plan and a second adjustment sub-plan, wherein the first adjustment sub-plan is for the above-mentioned target policy node, that is, adjusting the node parameters of the target policy node based on the node configuration information; the second adjustment sub-plan is not to adjust the node parameters of the remaining policy nodes. This embodiment improves the overall conversion efficiency and performance by adjusting the policy nodes of the policy using the reference policy nodes, thereby helping to improve business performance.
[0046] Before identifying a strategy, the strategy needs to be tested and preliminarily adjusted. Optionally, in the strategy processing method provided in the embodiment of the present application, before identifying the strategy, the method further includes: for each policy node in the strategy, obtaining K candidate strategy nodes of the strategy node, where K is a positive integer; obtaining a test traffic rule, and allocating traffic data to the K candidate strategy nodes according to the test traffic rule; testing the K candidate strategy nodes based on the allocated traffic data, and determining a target strategy node from the K candidate strategy nodes according to the test results.
[0047] Specifically, in order to screen out the policy node with the best effect, we can first obtain multiple candidate policy nodes associated with the policy node. In order to test the configuration effect of these candidate policy nodes, we can simulate the traffic distribution in the real environment, that is, allocate traffic data to each candidate policy node according to the formulated test traffic rules, and then evaluate the performance of each candidate policy node when running in different scenarios. These rules can be formulated based on historical data, market trends and other information.
[0048] Furthermore, after the candidate policy nodes are run based on the traffic data, multiple candidate policy nodes with the best performance are screened out by collecting their running results, and then these candidate policy nodes are determined as the policy nodes constituting the policy, that is, the target policy nodes are determined. This embodiment screens the candidate policy nodes to obtain a policy that can be put into use, providing support for further optimization of the policy.
[0049] There are multiple test traffic rules. Optionally, in the policy processing method provided in the embodiment of the present application, the test traffic rules include parallel traffic rules and split traffic rules. Allocating traffic data to K candidate policy nodes according to the test traffic rules includes: when the test traffic rule is a parallel traffic rule, obtaining the allocated traffic data, and evenly dividing the allocated traffic data to the K candidate policy nodes; when the test traffic rule is a split traffic rule, determining Y traffic ratios according to the split traffic rule, and executing the step of allocating traffic data to the K candidate policy nodes according to the test traffic rule according to each traffic ratio, wherein Y is a positive integer.
[0050] Specifically, when allocating traffic data to candidate policy nodes, it is necessary to allocate them based on test traffic rules, and test traffic rules can include multiple types, such as parallel traffic rules and split traffic rules: when the test traffic rules adopt parallel traffic rules, the traffic data to be allocated can be equally allocated to each candidate policy node, which means that each candidate policy node can obtain the same amount of traffic. The advantages of this allocation method lie in fairness and simplicity.
[0051] When the test flow rule adopts the split flow rule, that is, the AB test method can be used for allocation. At this time, the candidate strategy nodes can be divided into multiple groups, and then different proportions of flow data are allocated to each group of candidate strategy nodes, that is, different numbers of customer groups correspond to the above multiple groups of candidate strategy nodes. For example, the candidate strategy nodes are divided into an execution group, a control group and a retention group, and then 40% of the flow is allocated to the execution group, 40% of the flow is allocated to the control group, and 20% of the flow is allocated to the retention group, wherein the execution group is the node group implemented, the control group is used to maintain the status quo to provide a comparison benchmark, and the retention group is used to observe the implementation of the strategy. Then, the flow ratio is determined according to the split flow rule, and the flow data is allocated to the candidate strategy nodes according to these flow ratios. It should be noted that after the flow data is allocated, the allocated flow data can be adjusted according to the progress of the test and the collected data. This embodiment can make the flow distribution more fair and targeted by using multiple test flow rules to allocate flow data, thereby improving the effectiveness and accuracy of the test.
[0052] Optionally, in the policy processing method provided in the embodiment of the present application, K candidate policy nodes are tested based on the allocated traffic data, and the target policy node is determined from the K candidate policy nodes according to the test results, including: obtaining the running results of the K candidate policy nodes to obtain K running results, sorting the K running results in descending order to obtain an arrangement result; filtering out the running results in a preset sequence from the arrangement results, and determining the candidate policy node associated with the running results in the preset sequence as the target policy node.
[0053] Specifically, after different traffic data are assigned to candidate policy nodes according to different test traffic rules, policy nodes can be screened according to the running results of candidate policy nodes. When the test traffic rule is a parallel traffic rule, the running results of all candidate policy nodes corresponding to the policy node are obtained, and then these running results are sorted in descending order from high to low according to the numerical value to obtain a ranking result. Then, the first running result is screened from the ranking result, and the candidate policy node associated with the first running result is determined as the target policy node.
[0054] When the test traffic rule is a split traffic rule, the target strategy node can also be determined according to the running results of the candidate strategy nodes. For example, if the strategy node is a touch node, the candidate strategy nodes associated with the touch node can be APP touch nodes, SMS touch nodes, manual outbound call touch nodes, and intelligent outbound call touch nodes, and the traffic data can be customer groups, that is, different numbers of customer groups are divided into different touch nodes. For example, if the touch node is an APP touch node, 40% of the customer group traffic is allocated; if the touch node is an SMS touch node, 40% of the customer group traffic is allocated; if the touch node is an artificial outbound call touch node, 20% of the customer group traffic is allocated, and then the operating capacity of a touch node is determined according to the running results, and then the target strategy node is selected. This embodiment constructs a strategy by identifying the best performing strategy node according to the running results, which helps to improve the overall performance and ensure that good operating results can be achieved under different conditions.
[0055] In order to improve the efficiency of adjusting strategies, optionally, in the strategy processing method provided in the embodiment of the present application, after determining whether the strategy conversion data is less than the conversion index threshold, the method further includes: when the strategy conversion data is greater than or equal to the conversion index threshold, determining the strategy as a reusable strategy, and storing the reusable strategy in the data lake; upon receiving a strategy filtering request sent by a user, extracting the reusable strategy from the data lake, and sending the reusable strategy to the user, wherein the strategy filtering request is used to request to obtain a strategy consistent with the policy type of the reusable strategy.
[0056] Specifically, if the policy conversion data of the policy is judged, and the policy conversion data is greater than or equal to the conversion index threshold, it indicates that the operation of the policy is good, and it can be determined as a reusable policy and stored in the data lake. When a user needs to adjust a certain policy, a policy screening request sent by the user can be received. If the policy to be adjusted belongs to the same policy type as the above-mentioned reusable policy, the reusable policy can be used to provide a reference for the policy to be adjusted, and the above-mentioned reusable policy can be sent to the user. After receiving the policy, the user can obtain the policy node in the reusable policy, and then compare the node conversion data of the policy node with the node conversion data of the policy to be adjusted, so as to optimize the policy to be adjusted according to the comparison result. This embodiment can improve business efficiency while improving user experience by providing a reference for subsequent policies based on the reusable policy.
[0057] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0058] The embodiment of the present application also provides a policy processing device. It should be noted that the policy processing device of the embodiment of the present application can be used to execute the policy processing method provided in the embodiment of the present application. The policy processing device provided in the embodiment of the present application is introduced below.
[0059] Figure 3 is a schematic diagram of a processing device according to a strategy provided in an embodiment of the present application, such as Figure 3 As shown, the device includes: an identification unit 30, a first determination unit 31, and a judgment unit 32.
[0060] The identification unit 30 is used to identify the strategy after the strategy is run, and obtain the strategy basic information and operation target, wherein the operation target refers to the expected target of running the strategy;
[0061] The first determination unit 31 is used to determine the conversion indicator threshold according to the operation target, and obtain the strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy;
[0062] The judgment unit 32 is used to judge whether the strategy conversion data is less than the conversion index threshold. When the strategy conversion data is less than the conversion index threshold, a strategy adjustment plan is determined according to the conversion status of the M strategy nodes of the strategy, the strategy is adjusted using the strategy adjustment plan, and the adjusted strategy is run, where M is a positive integer.
[0063] The strategy processing device provided in the embodiment of the present application, after the strategy is run, identifies the strategy through the identification unit 30, obtains the strategy basic information and the operation target, wherein the operation target refers to the expected target of the operation strategy; the first determination unit 31 determines the conversion index threshold according to the operation target, and obtains the strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of the operation strategy; the judgment unit 32 judges whether the strategy conversion data is less than the conversion index threshold, and when the strategy conversion data is less than the conversion index threshold, determines the strategy adjustment plan according to the conversion status of M strategy nodes of the strategy, adjusts the strategy by using the strategy adjustment plan, and runs the adjusted strategy, wherein M is a positive integer, solves the problem of low detection efficiency and low detection accuracy when detecting the strategy in the related technology, obtains the strategy basic information and the operation target in the strategy, determines the conversion index threshold according to the operation target, obtains the strategy conversion data from the data lake according to the strategy basic information, compares the strategy conversion data with the conversion index threshold, and then determines the strategy adjustment plan according to the comparison result, adjusts the strategy by using the strategy adjustment plan, and runs the adjusted strategy, thereby achieving the effect of improving the efficiency and accuracy of the detection strategy.
[0064] Optionally, in the policy processing device provided in the embodiment of the present application, the judgment unit 32 includes: an identification module, used to identify node information associated with M policy nodes, and obtain M node information; a first screening module, used to screen the node conversion data of M policy nodes from the data lake according to the M node information, and obtain M node conversion data; a first acquisition module, used to obtain the node indicator threshold of each policy node, determine whether there is node conversion data less than the node indicator threshold in the M node conversion data, obtain a judgment result, and determine the policy adjustment plan based on the judgment result.
[0065] Optionally, in the policy processing device provided in the embodiment of the present application, the judgment unit 32 includes: a second acquisition module, which is used to obtain the policy nodes whose node conversion data is less than the node index threshold when there is node conversion data less than the node index threshold in the M node conversion data, and obtain N target policy nodes, wherein N is less than or equal to M and N is a positive integer; a third acquisition module, which is used to obtain N reference policy nodes from the data lake according to the node information associated with the N target policy nodes, wherein the N reference policy nodes refer to policy nodes whose similarity with the node information associated with the target policy node is greater than a preset threshold; a fourth acquisition module, which is used to obtain the node configuration information of the N reference policy nodes, and determine the policy adjustment scheme as a first adjustment sub-scheme and a second adjustment sub-scheme, wherein the first adjustment sub-scheme is a scheme for adjusting the node parameters of the N target policy nodes based on the node configuration information, and the second adjustment sub-scheme is a scheme for not adjusting the node parameters of the MN policy nodes.
[0066] Optionally, in the policy processing device provided in the embodiment of the present application, the device also includes: a first acquisition unit, used to obtain K candidate policy nodes of the policy node for each policy node in the policy before identifying the policy, where K is a positive integer; a second acquisition unit, used to obtain a test traffic rule and allocate traffic data to the K candidate policy nodes according to the test traffic rule; the testing unit tests the K candidate policy nodes based on the allocated traffic data, and determines the target policy node from the K candidate policy nodes according to the test results.
[0067] Optionally, in the policy processing device provided in the embodiment of the present application, the identification unit 30 includes: a fifth acquisition module, used to acquire the allocated traffic data when the test traffic rule is a parallel traffic rule, and evenly divide the allocated traffic data into K candidate policy nodes; a determination module, used to determine Y traffic ratios according to the split traffic rule when the test traffic rule is a split traffic rule, and execute the step of allocating traffic data to K candidate policy nodes according to the test traffic rule according to each traffic ratio, wherein Y is a positive integer.
[0068] Optionally, in the policy processing device provided in the embodiment of the present application, the identification unit 30 includes: a sixth acquisition module, used to obtain the operation results of K candidate policy nodes, obtain K operation results, sort the K operation results in descending order, and obtain an arrangement result; a second screening module, used to screen out the operation results in a preset sequence from the arrangement results, and determine the candidate policy node associated with the operation results in the preset sequence as the target policy node.
[0069] Optionally, in the policy processing device provided in the embodiment of the present application, the device also includes: a second determination unit, for, after determining whether the policy conversion data is less than the conversion index threshold, if the policy conversion data is greater than or equal to the conversion index threshold, determining the policy as a reusable policy, and storing the reusable policy in the data lake; an extraction unit, for, upon receiving a policy filtering request sent by a user, extracting the reusable policy from the data lake, and sending the reusable policy to the user, wherein the policy filtering request is used to request to obtain a policy consistent with the policy type of the reusable policy.
[0070] The processing device of the above strategy includes a processor and a memory. The above identification unit 30, the first determination unit 31, the judgment unit 32, etc. are all stored in the memory as program units, and the processor executes the above program units stored in the memory to implement corresponding functions.
[0071] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problems of low detection efficiency and low detection accuracy in the detection of policies in related technologies can be solved by adjusting kernel parameters.
[0072] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0073] An embodiment of the present invention provides a computer storage medium, which is used to store a program. When the program is running, a device where the computer storage medium is located is controlled to execute a policy processing method.
[0074] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 4 As shown, an embodiment of the present invention provides an electronic device, the electronic device 40 includes a processor, a memory, and a program stored in the memory and executable on the processor, the processor is used to execute computer-readable instructions, wherein the computer-readable instructions execute a method for processing a policy when executed. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.
[0075] The present application also provides a computer program product, including a computer program, which implements the steps of a strategy processing method in each embodiment of the present application when the computer program is executed by a processor.
[0076] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0077] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0078] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0079] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0080] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0081] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0082] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0083] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0084] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A strategy processing method, characterized in that: include: After the strategy is run, the strategy is identified, and basic strategy information and operation objectives are obtained, wherein the operation objectives refer to the expected objectives of running the strategy; Determine a conversion indicator threshold according to the operation goal, and obtain strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of running the strategy; Determine whether the strategy conversion data is less than the conversion index threshold. If the strategy conversion data is less than the conversion index threshold, determine a strategy adjustment plan based on the conversion status of the M strategy nodes of the strategy, adjust the strategy using the strategy adjustment plan, and run the adjusted strategy, where M is a positive integer.
2. The method according to claim 1, characterized in that Determining a strategy adjustment scheme according to the conversion conditions of the M strategy nodes of the strategy includes: Identify the node information associated with the M policy nodes to obtain M node information; Filtering node conversion data of the M strategy nodes from the data lake according to the M node information to obtain M node conversion data; Obtain a node index threshold value of each strategy node, determine whether there is node conversion data less than the node index threshold value among the M node conversion data, obtain a determination result, and determine the strategy adjustment plan according to the determination result.
3. The method according to claim 2, characterized in that Determining the strategy adjustment scheme according to the judgment result includes: When there is node conversion data less than the node index threshold value among the M node conversion data, obtain the strategy node whose node conversion data is less than the node index threshold value, and obtain N target strategy nodes, where N is less than or equal to M and N is a positive integer; Obtaining N reference policy nodes from the data lake according to the node information associated with the N target policy nodes, wherein the N reference policy nodes refer to policy nodes whose similarity with the node information associated with the target policy node is greater than a preset threshold; Obtain node configuration information of the N reference policy nodes, and determine the policy adjustment scheme as a first adjustment sub-scheme and a second adjustment sub-scheme, wherein the first adjustment sub-scheme is a scheme for adjusting node parameters of the N target policy nodes based on the node configuration information, and the second adjustment sub-scheme is a scheme for not adjusting the node parameters of MN policy nodes.
4. The method according to claim 1, characterized in that: Prior to identifying the strategy, the method further includes: For each policy node in the policy, obtain K candidate policy nodes of the policy node, where K is a positive integer; Acquire a test traffic rule, and allocate traffic data to the K candidate strategy nodes according to the test traffic rule; The K candidate policy nodes are tested based on the allocated traffic data, and a target policy node is determined from the K candidate policy nodes according to the test result.
5. The method according to claim 4, characterized in that The test traffic rules include parallel traffic rules and split traffic rules, and allocating traffic data to the K candidate strategy nodes according to the test traffic rules includes: In a case where the test traffic rule is the parallel traffic rule, obtaining the allocated traffic data, and evenly dividing the allocated traffic data into the K candidate strategy nodes; In the case where the test traffic rule is the split traffic rule, Y traffic ratios are determined according to the split traffic rule, and the step of allocating traffic data to the K candidate strategy nodes according to the test traffic rule is performed according to each traffic ratio, wherein Y is a positive integer.
6. The method according to claim 4, characterized in that Testing the K candidate policy nodes based on the allocated traffic data, and determining a target policy node from the K candidate policy nodes according to the test result includes: Obtaining the operation results of the K candidate strategy nodes to obtain K operation results, and sorting the K operation results in descending order to obtain an arrangement result; The operation results in a preset sequence are screened out from the arrangement results, and the candidate policy nodes associated with the operation results in the preset sequence are determined as the target policy nodes.
7. The method according to claim 1, characterized in that After determining whether the strategy conversion data is less than the conversion index threshold, the method further includes: When the policy conversion data is greater than or equal to the conversion index threshold, determining the policy as a reusable policy, and storing the reusable policy in the data lake; When a policy screening request is received from a user, the reusable policy is extracted from the data lake, and the reusable policy is sent to the user, wherein the policy screening request is used to request a policy that is consistent with the policy type of the reusable policy.
8. A strategy processing device, characterized in that: include: An identification unit, used for identifying the strategy after the strategy is run, and obtaining basic strategy information and operation objectives, wherein the operation objectives refer to expected objectives of running the strategy; A first determination unit is used to determine a conversion indicator threshold according to the operation target, and obtain strategy conversion data within a preset time period from the data lake according to the strategy basic information, wherein the strategy conversion data is used to characterize the operation result of running the strategy; A judgment unit is used to judge whether the strategy conversion data is less than the conversion index threshold. When the strategy conversion data is less than the conversion index threshold, a strategy adjustment plan is determined according to the conversion status of the M strategy nodes of the strategy, the strategy is adjusted using the strategy adjustment plan, and the adjusted strategy is run, wherein M is a positive integer.
9. A computer storage medium, characterized in that: The computer storage medium is used to store a program, wherein when the program is run, the device where the computer storage medium is located is controlled to execute the policy processing method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the processing method of the strategy described in any one of claims 1 to 7.
