Self-adaptive shunting rule generation method and system and medium

By obtaining user basic data and compiling preset rules, user adaptive diversion is achieved, and the problems of inflexible user diversion in the existing technology are solved, flexibility and real-timeness are achieved, and learning costs are reduced.

CN119941298APending Publication Date: 2025-05-06SHANGHAI SHUHE INFORMATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510443858.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-10
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, user diversion is not flexible enough and the learning cost is high.

Method used

By obtaining the user's basic data when the user requests the page, judging the validity and number of executions of the preset rules, the compile function directional rules and customer group rules are directional expressions and customer group expressions, and the user's adaptive shunt is automatically realized.

Benefits of technology

It realizes the flexibility and real-time effect of user diversion, reduces learning costs, and adapts to different usage needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119941298A_ABST
    Figure CN119941298A_ABST
Patent Text Reader

Abstract

The invention provides a self-adaptive shunting rule generation method and system and a medium, and the method comprises the steps: obtaining basic data of a user when the user requests a page; after determining that the preset rule is within the validity period, judging whether the execution frequency of the preset rule exceeds an execution frequency threshold value or not; after it is determined that the number of execution times of the preset rule does not exceed an execution time threshold value, compiling the function orientation rule into an orientation expression, and judging whether the context parameter meets the orientation expression or not to obtain a first result; converting the customer group rule into a customer group expression, and judging whether the user features meet the customer group expression to obtain a second result; configuring the page according to the first result and the second result, and returning corresponding page configuration data to the user; according to the method and the device, the self-adaptive shunting of the user page can be realized, the effectiveness of the user shunting process is ensured, the learning cost is low, the flexibility is good, and the requirements of different scenes can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, relates to page management, and particularly to a web page management technology, specifically to an adaptive diversion rule generation method, system and medium. Background Art

[0002] Various apps, mini-programs, and H5 pages basically operate differently for different users. Simply put, different content and interactions are displayed to different users, which can also be called "one thousand faces for one thousand people". Users can usually be grouped according to some of their attributes such as gender, age, etc., as well as their status, including new users and dormant users. When a user visits a certain page (content), different content is returned to the user through certain judgment logic. The logic for identifying users can also be called diversion rules. There are usually two ways: one is to implement it by writing code through research and development, and the other is to use an open source rule engine (such as drools, etc.) or a commercial, self-developed rule engine.

[0003] For the first implementation method of R&D writing code, since rule changes require product requirements, R&D must adjust the code, and the modified code needs to be released to take effect, it is impossible to implement the changes, resulting in poor flexibility; and when code changes require the R&D process, the overall time is long, resulting in a long cycle; and the second method of configuring rules through a rule engine, due to the large scale of the rule engine, there is a certain threshold, the product and operation are slow to get started, it requires a certain learning cost, and it is easy to make mistakes. In addition, the rule engine is relatively versatile. In order to apply to various scenarios, it provides many functions that are not actually needed in this scenario, resulting in a heavy burden on actual use. Summary of the invention

[0004] The purpose of the present application is to provide a method, system and medium for generating an adaptive diversion rule, so as to solve the problems of insufficient flexibility and high learning cost of user diversion in the prior art.

[0005] In a first aspect, the present application provides a method for generating an adaptive diversion rule, the method comprising: When a user requests a page, basic data of the user is obtained, the basic data including context parameters and user characteristics; Determine whether the current preset rule is within the validity period. After determining that the preset rule is within the validity period, determine whether the number of executions of the preset rule exceeds the execution number threshold. The preset rule includes a function-oriented rule and a customer group rule. After determining that the number of executions of the preset rule does not exceed the execution number threshold, compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result; Converting the customer group rule into a customer group expression, and determining whether the user feature satisfies the customer group expression to obtain a second result; The page is configured according to the first result and the second result, and corresponding page configuration data is returned to the user's page.

[0006] In an implementation of the first aspect, compiling the function targeting rule into a targeting expression includes: Acquire the context parameter of the user, and determine the type of the context parameter; According to the type of the context parameter, select the corresponding operation function and operator, and configure the corresponding parameter value; Processing the context parameter according to the operation function to obtain a processing result; generating a plurality of different single expressions according to the processing result, the operator and the parameter value, wherein the number of the single expressions is the same as the number of types of the context parameters; The directional expression is formed after adding logical connectors between multiple single expressions.

[0007] In an implementation manner of the first aspect, the function targeting rule includes a targeting function verification, the targeting function verification includes a fingerprint login function verification, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, includes: Obtaining the device type and the APP version in the context parameter, and compiling the function targeting rule into a first expression according to the device type and the APP version; Input the device type and the APP version into the first expression; After determining that the device type and the APP version satisfy the first expression, a fingerprint login pop-up window result is generated.

[0008] In an implementation manner of the first aspect, the function targeting rule further includes grayscale verification of a targeting function, the context parameter further includes a user ID, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, further includes: When the grayscale verification is an internal trial, a second expression is generated according to the user ID, and the first expression and the second expression are combined to form a target expression; The context parameter is verified according to the target expression to obtain the first result.

[0009] In an implementation of the first aspect, compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, further includes: After determining that the context parameters of the user all satisfy the target expression, selecting a corresponding intercept function according to the open plan of the grayscale verification; intercepting the user ID according to the interception function to obtain an interception result corresponding to the open plan; Performing configuration according to the interception result to generate a third expression, and combining the third expression with the first expression to obtain an updated expression; The context parameter of the user is verified according to the update expression to obtain a corresponding verification result.

[0010] In an implementation of the first aspect, converting the customer group rule into a customer group expression, and determining whether the user feature satisfies the customer group expression to obtain a second result includes: Acquire the target attribute and the target attribute value corresponding to the user according to the content of the user feature; Comparing the target attribute value with a system standard value corresponding to the target attribute to obtain a comparison result, and determining a target function corresponding to the user according to the comparison result; converting the customer group rule into a customer group expression according to the target function; The user characteristics are filtered according to the customer group expression to obtain a second result.

[0011] In an implementation of the first aspect, configuring the page according to the first result and the second result, and returning corresponding page configuration data to the user's page, includes: Acquire first configuration data of a function corresponding to the function targeting rule according to the first result, and acquire second configuration data of the target function according to the second result; The first configuration data and the second configuration data are returned to the page requested by the user.

[0012] In an implementation of the first aspect, the method further includes: In the page returned to the user, selecting a plurality of users whose page components are completely identical as a user group; Configuring different page contents for user pages in the user group, recording feedback from each user on the page content, and calculating the sensitivity of the user based on the feedback; The target content with the highest user satisfaction is selected from the page content according to the sensitivity.

[0013] The present invention also provides an adaptive diversion rule generation system, the system comprising: A data acquisition module, used to acquire basic data of a user when the user requests a page, wherein the basic data includes context parameters and user characteristics; A judgment module, used to judge whether the current preset rule is within the validity period, and after determining that the preset rule is within the validity period, judge whether the execution times of the preset rule exceeds the execution times threshold, wherein the preset rule includes a function orientation rule and a customer group rule; A first conversion module is used to compile the function targeting rule into a targeting expression after determining that the number of executions of the preset rule does not exceed the execution number threshold, and determine whether the context parameter satisfies the targeting expression to obtain a first result; A second conversion module, configured to convert the customer group rule into a customer group expression, and determine whether the user feature satisfies the customer group expression to obtain a second result; A configuration module is used to configure the page according to the first result and the second result, and return corresponding page configuration data to the user's page.

[0014] The present invention also discloses a computer-readable storage medium on which a computer program is stored, characterized in that the program implements the above-mentioned method for generating adaptive diversion rules when executed.

[0015] As described above, the method, system and medium for generating adaptive diversion rules described in the present application have the following beneficial effects: The present invention verifies the preset rules by setting the validity period and the number of executions to ensure the effectiveness of the user diversion process. When the user requests a page, the present invention automatically realizes adaptive diversion of users through the function orientation rules and customer group rules in the preset rules. It does not require the development process and interface configuration, takes effect in real time, has good flexibility, and has a low learning cost, and can meet different usage requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 Shown is a flow chart of the method for generating adaptive diversion rules according to an embodiment of the present application.

[0017] Figure 2 Shown is a structural block diagram of the adaptive diversion rule generation system described in an embodiment of the present application. DETAILED DESCRIPTION

[0018] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0019] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application, and thus the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed at will, and the component layout may also be more complicated.

[0020] See also Figure 1 and Figure 2 . The following embodiments of the present application provide the adaptive diversion rule generation method, system and medium described in the present application, which verify the preset rules by setting the validity period and the number of executions to ensure the effectiveness of the user diversion process, and when the user requests a page, the adaptive diversion of the user is automatically realized through the function orientation rules and customer group rules in the preset rules, without the need for R&D process and interface configuration, and takes effect in real time, has good flexibility, and has a low learning cost, and can meet different usage needs.

[0021] The technical solutions in the embodiments of the present application will be described in detail below in conjunction with the drawings in the embodiments of the present application.

[0022] like Figure 1 As shown, this embodiment provides a method for generating an adaptive diversion rule, the method comprising the following steps: S100: When a user requests a page, basic data of the user is obtained, where the basic data includes context parameters and user characteristics.

[0023] In this embodiment, since different users correspond to different data and types, in order to realize adaptive diversion of user pages, when a user requests a page, the basic data of the user is first obtained, so that the user can be diverted according to the basic data of the user. The basic data of the user includes context parameters and user characteristics, so that adaptive diversion of the user can be realized according to the context parameters and user characteristics.

[0024] S200, determining whether the current preset rule is within the validity period. After determining that the preset rule is within the validity period, determining whether the number of executions of the preset rule exceeds an execution number threshold. The preset rule includes a function-oriented rule and a customer group rule.

[0025] In this embodiment, before adaptively diverting users, the validity of the current preset rules is first judged, including the validity period and the number of executions, to determine whether the current preset rules need to be executed, so as to ensure the accuracy of the subsequent user diversion results.

[0026] Specifically, first determine whether the current preset rule is within the validity period. Since the preset rules usually have corresponding validity periods and execution count thresholds, preset rules that are not within the validity period do not need to be executed, and preset rules that exceed the execution count threshold do not need to be executed, thereby ensuring the effectiveness of the preset rules and facilitating accurate diversion of users.

[0027] S300: After determining that the number of executions of the preset rule does not exceed the execution number threshold, compile the function targeting rule into a targeting expression, and determine whether the context parameter satisfies the targeting expression to obtain a first result.

[0028] In some embodiments, compiling the function targeting rule into a targeting expression comprises: Acquire the context parameter of the user, and determine the type of the context parameter; According to the type of the context parameter, select the corresponding operation function and operator, and configure the corresponding parameter value; Processing the context parameter according to the operation function to obtain a processing result; generating a plurality of different single expressions according to the processing result, the operator and the parameter value, wherein the number of the single expressions is the same as the number of types of the context parameters; The directional expression is formed after adding logical connectors between multiple single expressions.

[0029] In this embodiment, after obtaining the basic data of the user, since the basic data includes context parameters and user characteristics, after obtaining the context parameters, the type of context parameters is determined. The context parameters generally include user ID, device ID, APP type, device type, APP version, application market and geographic location. For information such as user ID, device ID, APP version containing numbers, the corresponding configured operation function is an interception function, and the operators include equal, not equal, greater than, less than, greater than or equal to, and less than or equal to; and for information such as APP type, device type, application market and geographic location containing text information, the corresponding configured operation function is an interception function, and the operators include "contains", "belongs to", and "does not belong to". Then, the context parameters are processed according to the operation function to obtain the processing result. For example, the processing result obtained after the user ID is processed is the number corresponding to the user ID.

[0030] After selecting the corresponding operation function and operator according to the type of context parameters, and configuring the corresponding parameter values, multiple different single expressions can be generated, wherein the number of the single expressions is the same as the number of types of the context parameters. For example, in the basic data of the user, the context parameters include four types of parameters: user ID, device ID, device type and APP version, then four single expressions are generated accordingly. Then, according to the content of the function targeting rule, the corresponding logical connector is selected to combine the generated single expressions together, thereby obtaining a complete targeting expression, so as to facilitate the subsequent adaptive diversion of users by the function targeting rule according to the generated targeting expression.

[0031] In some further embodiments, the function targeting rule includes a targeting function verification, the targeting function verification includes a fingerprint login function verification, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, includes: Obtaining the device type and the APP version in the context parameter, and compiling the function targeting rule into a first expression according to the device type and the APP version; Input the device type and the APP version into the first expression; After determining that the device type and the APP version satisfy the first expression, a fingerprint login pop-up window result is generated.

[0032] In this embodiment, the function targeting rule includes targeted function verification, and the targeted function verification includes fingerprint login function verification. During the specific verification, the device type and APP version of the context parameters in the basic data are obtained according to the basic data of the user, and the corresponding operation function and operator are selected according to the device type and APP version, and the corresponding parameter values ​​are configured, so as to compile the function targeting rule into a first expression, and then the specific values ​​of the device type and APP version are intercepted through the operation function, and the specific values ​​of the device type and APP version are input into the first expression to determine whether the specific values ​​of the device type and APP version satisfy the first expression. When the user's device type and APP version satisfy the first expression, a corresponding fingerprint login pop-up window is generated on the page requested by the user, otherwise it is not generated.

[0033] For example, if a new version of Android App (version number greater than or equal to 10533) adds a fingerprint login function, it is necessary to guide users to perform fingerprint login on the homepage, and iOS version App and Android versions lower than this version do not support it. Then the function targeting rule in the preset rule is compiled as "Device type = Android and App version >= 10533", and only users who meet the above expression will be shown the fingerprint login pop-up window, and other users will not be shown, thereby achieving adaptive diversion in the fingerprint login pop-up window interface.

[0034] In some other embodiments, the function targeting rule further includes grayscale verification of the targeting function, the context parameter further includes a user ID, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain the first result, further includes: When the grayscale verification is an internal trial, a second expression is generated according to the user ID, and the first expression and the second expression are combined to form a target expression; The context parameter is verified according to the target expression to obtain the first result.

[0035] Since some directional functions of the page need to be grayscale verified before they can be opened, in this embodiment, the context parameters include the user ID. When the function directional rules include the grayscale verification of the directional function, such as the grayscale verification of fingerprint login verification, first generate a second expression based on the user ID in the context parameters, and combine the first expression and the second expression to form a target expression, and verify the user's context parameters through the target expression to obtain a first result, thereby realizing the diversion of the grayscale verification of the user's directional function.

[0036] It should be noted that in the process of generating the second expression according to the user ID, the process is basically the same as the aforementioned process of compiling the function targeting rule into a targeting expression. Specifically, after determining the user ID, select the interception function as the operation function, configure the required operator, and configure the corresponding parameter value to obtain a complete second expression, and then select the logical connector to combine the second expression and the first expression to form a target expression, so as to verify the user's context parameters through the target expression to obtain the first result, and realize the diversion processing of the grayscale verification of the user targeting function, such as the diversion processing of the grayscale verification of the fingerprint login of the page APP.

[0037] Specifically, since the user ID is generally composed of sixteen digits of 0-9 and AF, that is, hexadecimal, taking grayscale verification as an example to open 1 / 16 first, for example, it is opened to users whose user ID has the first digit A. Taking the grayscale verification of the fingerprint login function as an example, the first expression generated is "device type = Android and App version >= 10533", and the second expression is "the first digit of the user ID = A", then the final combined target expression is "device type = Android and App version >= 10533, and the first digit of the user ID = A", and the corresponding fingerprint login function will be opened only if the conditions in the target expression are met at the same time.

[0038] In a further embodiment, compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, further includes: After determining that the context parameters of the user all satisfy the target expression, selecting a corresponding intercept function according to the open plan of the grayscale verification; intercepting the user ID according to the interception function to obtain an interception result corresponding to the open plan; Performing configuration according to the interception result to generate a third expression, and combining the third expression with the first expression to obtain an updated expression; The context parameter of the user is verified according to the update expression to obtain a corresponding verification result.

[0039] In this embodiment, after the aforementioned grayscale verification is completed, it can be opened gradually or in full according to the opening plan. When opening gradually, for example, 1 / 16 is opened originally, and 3 / 16 is opened later, the corresponding interception function is configured to intercept the first three digits of the user ID, and the corresponding third expression is "any one of the first three digits of the user ID = A", and the corresponding update expression is "device type = Android and App version >= 10533, and any one of the first three digits of the user ID = A", and after judging the user's context parameters through the above update expression, the final verification result can be obtained, realizing adaptive diversion of users.

[0040] If, for example, 1 / 16 is originally open and then fully open, then the corresponding interception function and the third expression are configured to be empty, and the user's context parameters can be diverted according to the original first expression, which will not be repeated here.

[0041] S400: Convert the customer group rule into a customer group expression, and determine whether the user feature satisfies the customer group expression to obtain a second result.

[0042] In some embodiments, converting the customer group rule into a customer group expression, and determining whether the user feature satisfies the customer group expression to obtain a second result includes: Acquire the target attribute and the target attribute value corresponding to the user according to the content of the user feature; Comparing the target attribute value with a system standard value corresponding to the target attribute to obtain a comparison result, and determining a target function corresponding to the user according to the comparison result; converting the customer group rule into a customer group expression according to the target function; The user characteristics are filtered according to the customer group expression to obtain a second result.

[0043] In this embodiment, when a user requests a page, after obtaining the user's basic data, since the basic data includes user characteristics, which are used to record various attributes of the user, the attribute values ​​of the user characteristics are correspondingly stored on the feature platform. First, the target attribute corresponding to the user is obtained according to the user characteristics, such as user feature X corresponding to the user's available credit limit, and each target attribute will have a corresponding system standard value. Then, the target attribute value of the target attribute on the feature platform is compared with the system standard value corresponding to the target attribute to obtain a comparison result. According to the comparison result, it can be determined whether the current target attribute value meets the size requirement of the system standard value, so as to determine the target function corresponding to the user according to the comparison result. For example, if the target attribute is the available credit limit, and the user's current available credit limit is 400 yuan, and the user's available credit limit is lower than the system standard value of 500 yuan, the user cannot borrow money. Since the user's available credit limit is less than the corresponding system standard value of 500 yuan, it is determined that the current function corresponding to the user is "increase credit limit", and the customer group rule corresponding to "increase credit limit" is converted into a customer group expression, that is, "the available credit limit position is empty, and the available credit limit is less than 500", and then the users are screened according to the customer group expression. Only users who meet the customer group expression will generate the component of the target function on the page, that is, the "increase credit limit" component, and on the page finally returned to the user, an "increase credit limit" button will be generated on the page of the user who meets the customer group expression.

[0044] S500: Configure the page according to the first result and the second result, and return corresponding page configuration data to the user's page.

[0045] In some further embodiments, configuring the page according to the first result and the second result, and returning corresponding page configuration data to the user's page, includes: Acquire first configuration data of a function corresponding to the function targeting rule according to the first result, and acquire second configuration data of the target function according to the second result; The first configuration data and the second configuration data are returned to the page requested by the user.

[0046] After completing the verification process of the user's basic data, the first configuration data corresponding to the function-oriented rule is determined according to the first result, such as generating a fingerprint login function component for the user's "device type = Android and App version >= 10533, and the first digit of the user ID = A" page, and the second configuration data of the target function is determined according to the second result, such as generating an "increase limit" component button on the page for the user whose "available credit limit is empty and the available credit limit is less than 500". After that, the first configuration data and the second configuration data are returned to the page requested by the user, so that the corresponding required components are displayed on the user page, and users who do not meet the conditions are not displayed, thereby completing the adaptive diversion of users with good flexibility.

[0047] In some embodiments, the method further comprises: In the page returned to the user, selecting a plurality of users whose page components are completely identical as a user group; Configuring different page contents for user pages in the user group, recording feedback from each user on the page content, and calculating the sensitivity of the user based on the feedback; The target content with the highest user satisfaction is selected from the page content according to the sensitivity.

[0048] In this embodiment, after completing adaptive diversion for different users, users with completely identical page components and functions are selected as user groups, and different page contents are subsequently configured on each user page of the user group, and the feedback of each user on different page contents is recorded, so as to calculate the user sensitivity according to the feedback. For example, three page contents are configured in the user group, namely "10% interest discount for loan amount exceeding 10,000", "15% interest discount for loan amount exceeding 20,000", and "22% interest discount for loan amount exceeding 30,000", and finally the click rate of different pages and the final loan success rate are counted, and the product of the click rate and loan success rate of different page contents is used as the user sensitivity under different page contents, and then the page content with the highest sensitivity is selected as the target content with the highest user satisfaction, and is displayed preferentially on subsequent user pages, thereby realizing rapid diversion and screening of user page content, and selecting satisfactory page content for different users.

[0049] The protection scope of the adaptive diversion rule generation method described in the embodiment of the present application is not limited to the execution order of the steps listed in the present embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.

[0050] The present invention also discloses an adaptive diversion rule generation system, referring to Figure 2 , the system comprising: The data acquisition module 201 is used to acquire basic data of the user when the user requests a page, wherein the basic data includes context parameters and user characteristics; The judgment module 202 is used to judge whether the current preset rule is within the validity period. After determining that the preset rule is within the validity period, it is judged whether the execution times of the preset rule exceeds the execution times threshold. The preset rule includes a function orientation rule and a customer group rule. A first conversion module 203 is used to compile the function targeting rule into a targeting expression after determining that the number of executions of the preset rule does not exceed the execution number threshold, and determine whether the context parameter satisfies the targeting expression to obtain a first result; A second conversion module 204, configured to convert the customer group rule into a customer group expression, and determine whether the user feature satisfies the customer group expression to obtain a second result; The configuration module 205 is used to configure the page according to the first result and the second result, and return corresponding page configuration data to the user's page.

[0051] It should be noted that the structure and principle of each module in the above system corresponds one by one to the steps in the above adaptive diversion rule generation method. Its specific working principle can also be referred to the introduction of the adaptive diversion rule generation method in the above embodiment, so it will not be repeated here.

[0052] The adaptive diversion rule generation system can implement the adaptive diversion rule generation method described in the present application, but the implementation device of the adaptive diversion rule generation method described in the present application includes but is not limited to the structure of the adaptive diversion rule generation system listed in this embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.

[0053] The modules / units described as separate components may or may not be physically separated, and the components displayed as modules / units may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules / units may be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, the functional modules / units in the various embodiments of the present application may be integrated into one processing module, or each module / unit may exist physically separately, or two or more modules / units may be integrated into one module / unit.

[0054] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by an electronic device, the above-mentioned method for generating adaptive diversion rules is implemented.

[0055] A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing a processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state disk (SSD)), etc.

[0056] In the several embodiments provided in the present application, it should be understood that the disclosed system, device or method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules / units is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules or units, which can be electrical, mechanical or other forms.

[0057] Those of ordinary skill in the art should further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0058] The descriptions of the processes or structures corresponding to the above-mentioned figures have different emphases. For parts that are not described in detail in a certain process or structure, please refer to the relevant descriptions of other processes or structures.

[0059] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A method for generating adaptive diversion rules, characterized in that: The method comprises: When a user requests a page, basic data of the user is obtained, the basic data including context parameters and user characteristics; Determine whether the current preset rule is within the validity period. After determining that the preset rule is within the validity period, determine whether the number of executions of the preset rule exceeds the execution number threshold. The preset rule includes a function-oriented rule and a customer group rule. After determining that the number of executions of the preset rule does not exceed the execution number threshold, compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result; Converting the customer group rule into a customer group expression, and determining whether the user feature satisfies the customer group expression to obtain a second result; The page is configured according to the first result and the second result, and corresponding page configuration data is returned to the user's page.

2. The method for generating adaptive diversion rules according to claim 1, characterized in that: The step of compiling the function targeting rule into a targeting expression comprises: Acquire the context parameter of the user, and determine the type of the context parameter; According to the type of the context parameter, select the corresponding operation function and operator, and configure the corresponding parameter value; Processing the context parameter according to the operation function to obtain a processing result; generating a plurality of different single expressions according to the processing result, the operator and the parameter value, wherein the number of the single expressions is the same as the number of types of the context parameters; The directional expression is formed after adding logical connectors between multiple single expressions.

3. The method for generating adaptive diversion rules according to claim 2, characterized in that: The function targeting rule includes a targeting function verification, the targeting function verification includes a fingerprint login function verification, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, includes: Obtaining the device type and the APP version in the context parameter, and compiling the function targeting rule into a first expression according to the device type and the APP version; Input the device type and the APP version into the first expression; After determining that the device type and the APP version satisfy the first expression, a fingerprint login pop-up window result is generated.

4. The method for generating adaptive diversion rules according to claim 3, characterized in that: The function targeting rule further includes grayscale verification of the targeting function, the context parameter further includes a user ID, and compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, further includes: When the grayscale verification is an internal trial, a second expression is generated according to the user ID, and the first expression and the second expression are combined to form a target expression; The context parameter is verified according to the target expression to obtain the first result.

5. The method for generating adaptive diversion rules according to claim 4, characterized in that: The compiling the function targeting rule into a targeting expression, and determining whether the context parameter satisfies the targeting expression to obtain a first result, further includes: After determining that the context parameters of the user all satisfy the target expression, selecting a corresponding intercept function according to the open plan of the grayscale verification; intercepting the user ID according to the interception function to obtain an interception result corresponding to the open plan; Performing configuration according to the interception result to generate a third expression, and combining the third expression with the first expression to obtain an updated expression; The context parameter of the user is verified according to the update expression to obtain a corresponding verification result.

6. The method for generating adaptive diversion rules according to claim 1, characterized in that: The converting the customer group rule into a customer group expression, and determining whether the user feature satisfies the customer group expression to obtain a second result, includes: Acquire the target attribute and the target attribute value corresponding to the user according to the content of the user feature; Comparing the target attribute value with a system standard value corresponding to the target attribute to obtain a comparison result, and determining a target function corresponding to the user according to the comparison result; converting the customer group rule into a customer group expression according to the target function; The user characteristics are filtered according to the customer group expression to obtain a second result.

7. The method for generating adaptive diversion rules according to claim 6, characterized in that: The configuring the page according to the first result and the second result, and returning corresponding page configuration data to the user's page, includes: Acquire first configuration data of a function corresponding to the function targeting rule according to the first result, and acquire second configuration data of the target function according to the second result; The first configuration data and the second configuration data are returned to the page requested by the user.

8. The method for generating adaptive diversion rules according to any one of claims 1 to 7, characterized in that: The method further comprises: In the page returned to the user, selecting a plurality of users whose page components are completely identical as a user group; Configuring different page contents for user pages in the user group, recording feedback from each user on the page content, and calculating the sensitivity of the user based on the feedback; The target content with the highest user satisfaction is selected from the page content according to the sensitivity.

9. An adaptive diversion rule generation system, characterized in that: The system comprises: A data acquisition module, used to acquire basic data of a user when the user requests a page, wherein the basic data includes context parameters and user characteristics; A judgment module, used to judge whether the current preset rule is within the validity period, and after determining that the preset rule is within the validity period, judge whether the execution times of the preset rule exceeds the execution times threshold, wherein the preset rule includes a function orientation rule and a customer group rule; A first conversion module is used to compile the function targeting rule into a targeting expression after determining that the number of executions of the preset rule does not exceed the execution number threshold, and determine whether the context parameter satisfies the targeting expression to obtain a first result; A second conversion module, configured to convert the customer group rule into a customer group expression, and determine whether the user feature satisfies the customer group expression to obtain a second result; A configuration module is used to configure the page according to the first result and the second result, and return corresponding page configuration data to the user's page.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed, the adaptive diversion rule generation method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Webpage generation method and terminal device

    CN107870989A

  • Rule management method and apparatus, and electronic device

    CN108446148A

  • Page version testing method and device

    CN108536608A

  • Grayscale release method and device, storage medium and electronic equipment

    CN111290779A

  • Page display method and device based on user tag and electronic equipment

    CN115061686A