Method and device for constructing interception component, equipment and storage medium

By automatically determining the node association relationship and setting priority in the intercept component setting interface, the problem of low efficiency in the construction of risk control interception rules in the existing technology is solved, and efficient and accurate intercept component construction and risk control interception are achieved.

CN120263445APending Publication Date: 2025-07-04SHANGHAI 100 METERS NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510281073.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-11
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

The existing method of building risk control interception rules requires high technical background knowledge, and is inefficient, difficult to quickly understand and apply, affecting the user experience.

Method used

By determining the node association relationship in the intercept component setting interface, forming an intercept factor, automatically determining nodes using historical intercept data, building intercept components, and setting priority and mappers, avoiding manual filling of node content, and supporting multiple editing modes.

Benefits of technology

It improves the efficiency and accuracy of intercepting components construction, reduces errors caused by logical complexity, and improves the efficiency and speed of risk control interception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120263445A_ABST
    Figure CN120263445A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a method and device for constructing an interception component, equipment and a storage medium, and relates to the technical field of computers, and the method comprises the steps that based on an interception component operation triggered by a user, an interception component setting interface is displayed; based on a first node selected by a user in the interception component setting interface, determining at least one second node associated with the first node and displaying the at least one second node; any node is used for forming an interception factor in the interception component; the association relationship is determined according to historical intercepted data; based on a second node selected by the user in the interception component setting interface, determining at least one third node associated with the second node and displaying the at least one third node until the node selection operation is finished; an interception component is constructed based on the at least two selected nodes. When the interception component is constructed, high professional knowledge and skills are not needed, and the situation that the interception component is wrongly constructed due to logic complexity is also avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular, to a method, apparatus, device, and storage medium for constructing an interception component. Background Art

[0002] With the development of Internet technology, the convenience brought by the Internet to life has become increasingly obvious. However, the Internet also has many drawbacks, which damage the experience and rights of normal users and even cause certain economic losses.

[0003] Currently, the existing risk control interception rules are based on the editing mode of the browser environment. Operators directly manually edit keywords to be intercepted and the like under the browser page. This requires operators to have a high level of technical background knowledge, and many factors need to be considered when constructing risk control interception rules, resulting in a significant reduction in the efficiency of risk control interception rules. In order to strengthen the supervision of the network, improve the experience of users surfing the Internet, and at the same time prevent some illegal users from eroding the Internet platform, the traditional risk control system provides a risk control interception method. The risk control interception rules are constructed using an editing mode based on a pure browser environment. Risk control personnel directly input keywords or key sentences to be intercepted in the editing mode. Although this mode gives risk control personnel the ability to directly participate in and customize interception rules, it requires risk control personnel to have a high level of technical background in order to understand and operate complex logical structures; risk control personnel need to consider many factors when constructing interception rules, such as when there are multiple interception rules, the priority of interception rules, condition combinations, exception handling, etc.; the display and use of interception rules are not intuitive enough, and it is difficult for risk control personnel to quickly understand and apply the constructed interception rules, which affects the user experience. Summary of the Invention

[0004] Embodiments of the present application provide a method, apparatus, device, and storage medium for constructing an interception component, which are used to improve the efficiency of risk control interception.

[0005] In a first aspect, an embodiment of the present application provides a method for constructing an interception component, including:

[0006] Based on an interception component operation triggered by a user, display an interception component setting interface;

[0007] Based on a first node selected by the user in the interception component setting interface, determine at least one second node having an associated relationship with the first node and display the at least one second node; any node is used to form an interception factor in the interception component; the associated relationship is determined according to historical interception data;

[0008] Based on the second node selected by the user in the interception component setting interface, determine at least one third node that has an association relationship with the second node and display at least one third node until the node selection operation ends;

[0009] Construct an interception component based on at least two selected nodes.

[0010] In the embodiments of the present application, by first determining the first node in the setting interface of the interception component, the second node can be determined based on the first node, and so on, which enhances the coupling between each node. Moreover, when determining each node, there is no need to manually fill in the node content, and it is only necessary to select according to the existing node content, which improves the efficiency of constructing the interception component, does not require high professional knowledge and skills, and also avoids the situation where the construction of the interception component goes wrong due to complex logic.

[0011] Optionally, constructing an interception component based on at least two selected nodes includes:

[0012] Form at least one interception entry based on at least two selected nodes;

[0013] Verify at least one interception entry, and if the verification passes, construct at least one interception entry into an interception component.

[0014] In the embodiments of the present application, by verifying the interception entries, the accuracy of constructing the interception entries can be improved, the situation of interception failure caused by incorrect interception entries can be avoided, and the interception efficiency can be improved.

[0015] Optionally, at least one interception entry is in a tree structure;

[0016] Separate priorities are set between different interception entries; the priorities are used for the interception component to call each interception entry according to the priorities during interception recognition. If a high-priority interception entry becomes effective, the interception recognition stops.

[0017] In the embodiments of the present application, by setting priorities between different interception entries, it is not necessary to traverse all the interception entries. It is only necessary to perform interception when a high-priority interception entry is triggered, which improves the interception speed.

[0018] Optionally, any node is a service node or an operator node. The types of service nodes include one or more of feature nodes, text nodes, character nodes, and numerical nodes; a type switching control is provided for the service node to set the type of the service node based on the user's trigger.

[0019] Optionally, it further includes:

[0020] Receive at least one service node selected by the user in the mapping area and display the mapping symbols corresponding to at least one service node;

[0021] Receiving mapping symbol interception entries set by the user for mapping symbols corresponding to at least one service node in the mapping area;

[0022] Based on the mapping assignment operation triggered by the user, mapping the mapping symbol interception entries to interception entries.

[0023] In the embodiments of the present application, by mapping service nodes to mapping symbols and generating interception entries according to the mapping symbols, it avoids the excessive content of service nodes from affecting the beauty of the interception interface, and can also clearly see the association relationship between each node through the mapping symbols, avoiding setting errors caused by overly long service nodes for interception entries, and improving the accuracy of setting interception entries.

[0024] Optionally, the interception component setting interface further includes an attribute area; it further includes:

[0025] Receiving attribute information of the interception component input by the user in the attribute area; the attribute information includes the editing mode of the interception component; the editing mode includes one or more of the following:

[0026] Normal mode, used to set interception entries for a single tree structure

[0027] Marking mode, used to set interception entries for at least one tree structure, and user marking information is set for the interception entries of at least one tree structure;

[0028] Adaptive mode, used to set interception entries for a single tree structure, and the handling method for the user when the interception entry is triggered is set;

[0029] Scoring mode, used to set interception entries for at least one tree structure, and a score value is set for the interception entries of at least one tree structure.

[0030] In the embodiments of the present application, by setting multiple editing modes, the interception component is flexibly constructed, improving the efficiency of constructing the interception component and saving a large amount of manpower.

[0031] In a second aspect, the embodiments of the present application provide a device for constructing an interception component, including:

[0032] A display module, configured to display an interception component setting interface based on an interception component operation triggered by the user;

[0033] A determination module, configured to determine at least one second node associated with the first node based on the first node selected by the user in the interception component setting interface and display the at least one second node; any node is used to form an interception factor in the interception component; the association relationship is determined according to historical interception data;

[0034] The determining module is further configured to determine at least one third node associated with the second node based on the second node selected by the user in the interception component setting interface, and display the at least one third node until the node selection operation ends;

[0035] The constructing module is configured to construct an interception component based on at least two selected nodes.

[0036] Optionally, the constructing module is specifically configured to:

[0037] Form at least one interception entry based on at least two selected nodes;

[0038] Verify the at least one interception entry, and if the verification passes, construct the at least one interception entry into an interception component.

[0039] Optionally, the at least one interception entry is in a tree structure;

[0040] Respective priorities are set between different interception entries; the priorities are used for the interception component to call each interception entry according to the priorities during interception recognition, and if a high-priority interception entry becomes effective, the interception recognition stops.

[0041] Optionally, any node is a service node or an operator node, and the types of the service nodes include one or more of a feature node, a text node, a character node, and a numerical node; a type switching control is provided for the service node to set the type of the service node based on the trigger of the user.

[0042] Optionally, the constructing module is further configured to:

[0043] Receive at least one service node selected by the user in the mapping area, and display the mapping symbols corresponding to the at least one service node;

[0044] Receive the mapping symbol interception entries set by the user for the mapping symbols corresponding to the at least one service node in the mapping area;

[0045] Based on the mapping assignment operation triggered by the user, map the mapping symbol interception entries to interception entries.

[0046] Optionally, the display module is further configured to:

[0047] Receive the attribute information of the interception component input by the user in the attribute area; the attribute information includes the editing mode of the interception component; the editing mode includes one or more of the following:

[0048] Normal mode, used to set a single tree-structured interception entry

[0049] The marking mode is used to set at least one interception entry of a tree structure, and at least one interception entry of the tree structure is set with user marking information;

[0050] The adaptive mode is used to set the interception entry of a single tree structure, and the handling method for the user when the interception entry is triggered is set;

[0051] The scoring mode is used to set at least one interception entry of a tree structure, and at least one interception entry of the tree structure is set with a scoring value.

[0052] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the steps of any of the above methods are implemented.

[0053] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a computer device. When the program runs on the computer device, the computer device is enabled to execute the steps of any of the above methods.

[0054] In a fifth aspect, an embodiment of the present application provides a computer program product. The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer device, the computer device is enabled to execute the steps of any of the above methods.

[0055] In the embodiment of the present application, in the setting interface of the interception component, the first node is first determined, and the second node can be determined based on the first node, and so on, which enhances the coupling between each node. And when determining each node, it is not necessary to manually fill in the node content, and only need to select according to the existing node content, which improves the efficiency of constructing the interception component, and does not require high professional knowledge and skills, and also avoids the situation of constructing errors in the interception component due to complex logic. Description of the Drawings

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for description in the embodiments. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0057] Figure 1 It is a system architecture diagram provided by an embodiment of the present application;

[0058] Figure 2A flowchart of a method for constructing an interception component provided by an embodiment of the present application;

[0059] Figure 3 A flowchart of a method for constructing an interception component with a mapping symbol provided by an embodiment of the present application;

[0060] Figure 4 A structural diagram of a device for constructing an interception component provided by an embodiment of the present application;

[0061] Figure 5 A structural diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0062] In order to make the objectives, technical solutions and beneficial effects of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] For ease of understanding, the application scenarios of the present application are introduced below.

[0065] The present application proposes a method for constructing an interception component to improve the efficiency of risk control interception. The specific implementation steps of the present application are introduced below: First, according to expert experience, keywords of abnormal behaviors are extracted from historical interception data and stored in a database. Then, under the display of the interception component setting interface, a risk control personnel selects a first node, determines a second node according to the first node, determines a third node according to the second node, and so on. The first node, the second node, the third node, and subsequent nodes are interception factors. The interception factor can be an interception keyword or an operator, and the operator characterizes the relationship between each interception factor. An interception component is constructed according to at least two selected nodes, and risk control interception is performed through the interception component. Finally, after an interception component is constructed, it is necessary to verify the interception component to check whether there are syntax errors and business logic errors. If not, the constructed interception component is stored in the risk control interception rule library. When a user surfs the Internet and triggers this interception component, it is directly processed. It is not necessary for risk control personnel to manually input keywords in the editor and requires risk control personnel to have an in-depth understanding of the background of the application scenario, which improves the efficiency of risk control interception.

[0066] See Figure 1 , a system architecture diagram of a method for constructing an interception component provided by an embodiment of the present application. The system architecture includes a terminal device 101 and a server 102.

[0067] The terminal device 101 pre-installs a business application for text matching. Among them, the business application can be a client application, a web version application, a mini-program application, etc. The terminal device 101 can be a smart phone, a POS machine, a desktop notebook, a computer, etc., but is not limited thereto.

[0068] The server 102 is the background server of the business application. The server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms.

[0069] See Figure 2 , which is a schematic flowchart of a method for constructing an interception component provided by an embodiment of the present application, including the following steps:

[0070] Step 201: Based on the interception component operation triggered by the user, display the interception component setting interface.

[0071] The mobile phone is bound to multiple mobile phone accounts, and the ratio of the refund amount within 7 days to the total order amount is too large, etc. When the user needs to set an interception component, after triggering the edit operation of the interception component, the interception component setting interface is displayed. The interception component setting interface includes multiple items, such as editing the interception component, the information of the interception component, the assignment of nodes in the interception component, etc. The user can be an operator of a certain APP or a risk control personnel, etc.

[0072] Step 202: Based on the first node selected by the user in the interception component setting interface, determine at least one second node associated with the first node and display at least one second node; any node is used to form an interception factor in the interception component; the association relationship is determined according to historical interception data.

[0073] Specifically, the interception component contains multiple nodes. The first node is the initial node of the interception component. Only after determining the first node can the second node be determined, and only after determining the second node can the third node be determined, and so on; the second node is associated with the first node, the third node is associated with the second node, and so on; the nodes are used to form the interception factors in the interception component. The nodes include business nodes and operator nodes, and only one interception factor is included in one node. The association relationship between nodes is determined according to historical interception data.

[0074] For example, in historical interception data, when the number of mobile phone numbers bound to the same mobile phone is greater than or equal to 2 for interception, when setting up the interception component in the interception component settings interface, the interception factor in the first node is "the number of mobile phone numbers bound to the same mobile phone", the interception factor in the second node is "≥", and the interception factor in the third node is "2". After determining the interception factor in the first node, the interception factor in the second node can be determined, and then the interception factor in the third node can be determined. When the first node needs to be changed, the second node also needs to be changed, and the third node also changes with the change of the second node. The reason for associating "the number of mobile phone numbers bound to the same mobile phone", "≥", and "2" is that according to historical interception data, there are more cases of transaction anomalies when the number of mobile phone numbers bound to the same mobile phone is greater than or equal to 2.

[0075] Step 203: Based on the second node selected by the user in the interception component settings interface, determine at least one third node associated with the second node and display at least one third node until the node selection operation ends.

[0076] Specifically, after determining the second node from the first node, determine the third node from the second node, determine the fourth node from the third node, and so on, until an interception component is set up, that is, the node selection operation ends.

[0077] Step 204: Build an interception component based on at least two selected nodes.

[0078] Specifically, there are generally 3 nodes in the interception component, a service node + an operator node + a service node, but the third node, that is, the service node, can be an empty node. Therefore, build an interception component according to at least two nodes.

[0079] In the embodiments of the present application, in the settings interface of the interception component, first determine the first node, and then determine the second node according to the first node, and so on, which enhances the coupling between each node. And when determining each node, there is no need to manually fill in the node content, just select according to the existing node content, which improves the efficiency of building the interception component, and does not require high professional knowledge and skills, and also avoids the situation of building errors in the interception component due to complex logic.

[0080] In some embodiments, building an interception component based on at least two selected nodes includes:

[0081] Based on at least two selected nodes, form at least one interception entry; verify at least one interception entry, and if the verification passes, build at least one interception entry into an interception component.

[0082] Specifically, any interception component includes at least one interception entry, and the specific interception rules are specified in the interception entry. Whenever an interception entry is formed, the interception entry needs to be verified. If the verification passes, the interception entry is constructed into an interception component; if the verification fails, the interception entry is modified until the interception entry passes the verification.

[0083] In the embodiments of the present application, by verifying the interception entry, the accuracy of constructing the interception entry can be improved, the situation of interception failure caused by incorrect interception entries can be avoided, and the interception efficiency is improved.

[0084] In some embodiments, at least one interception entry is in a tree structure; different priorities are set between different interception entries; the priority is used for the interception component to call each interception entry according to the priority during interception recognition. If the interception entry with a high priority takes effect, the interception recognition stops.

[0085] Specifically, the interception entry is in a tree structure, that is, starting from a node, multiple parallel nodes can exist simultaneously according to the construction requirements of the interception entry, and each node continues to generate subsequent nodes, thus forming a tree structure. From the tree structure, the priorities between different interception entries can be clearly seen. After the interception entry with a higher priority is intercepted, the interception ends.

[0086] For example, among "the number of mobile phone numbers bound to the same mobile phone" and "the ratio of the amount of order cancellations within 7 days to the total amount of orders placed", the priority of the interception entry of "the number of mobile phone numbers bound to the same mobile phone" - "≥" - "2" is higher than that of "the ratio of the amount of order cancellations within 7 days to the total amount of orders placed". Then, when the interception component performs interception, if there is a mobile phone with the number of bound mobile phone numbers greater than or equal to 2, the interception component stops interception and does not need to further determine whether the ratio of the amount of order cancellations within 7 days to the total amount of orders placed meets the requirements, which improves the interception efficiency of the interception component.

[0087] In the embodiments of the present application, by setting priorities between different interception entries, it is not necessary to traverse all interception entries. Only when a high-priority interception entry is triggered, interception is performed, which improves the interception speed.

[0088] In some embodiments, any node is a service node or an operator node. The types of service nodes include one or more of feature nodes, text nodes, character nodes, and numerical nodes; the service node is provided with a type switching control for setting the type of the service node based on user triggering.

[0089] Specifically, nodes are divided into service nodes and operator nodes. The service node types include: feature nodes, text nodes, character nodes, and numeric nodes. For example, a feature node is "the ratio of the refund amount within 7 days to the total order amount"; a numeric node is a specific value "2"; a text node is business information that needs to be filled in, such as a mobile phone number, user ID, device ID, etc.; a string node is of string type, such as the deviceid string when obtaining a SMS verification code.

[0090] In some embodiments, the interception component setting interface further includes a mapping area; before constructing the interception component based on at least two selected nodes, as Figure 3 shown, the following steps are further included:

[0091] Step 301: Receive at least one service node selected by the user in the mapping area, and display the mapping symbols corresponding to the at least one service node.

[0092] Step 302: Receive the mapping symbol interception entries set by the user for the mapping symbols corresponding to the at least one service node in the mapping area.

[0093] Step 303: Based on the mapping assignment operation triggered by the user, map the mapping symbol interception entries to interception entries.

[0094] Specifically, when the user has special requirements for setting interception entries, such as when multiple nodes need to be prioritized in parentheses, the service nodes need to be first mapped to the corresponding mapping symbols. For example, map "the ratio of the refund amount within 7 days to the total order amount" to the mapping symbol "a", and map "the number of mobile phone numbers bound to the same mobile phone" to the mapping symbol "b".

[0095] After mapping the service nodes to the corresponding mapping symbols, an interception entry with mapping symbols is formed, and the mapping symbol interception entry is mapped to the final interception entry.

[0096] In the embodiments of the present application, by mapping service nodes to mapping symbols and generating interception entries according to the mapping symbols, it avoids the excessive content of service nodes from affecting the beauty of the interception interface, and can also clearly see the association relationship between each node through the mapping symbols, avoiding setting errors caused by overly long service nodes in the interception entries, and improving the accuracy of setting interception entries.

[0097] In some embodiments, the interception component setting interface further includes an attribute area; the method for constructing the interception component further includes:

[0098] Receive the attribute information for the interception component input by the user in the attribute area; the attribute information includes the editing mode of the interception component; the editing mode includes one or more of the following:

[0099] Normal mode, used to set a single tree-structured interception entry;

[0100] The marking mode is used to set at least one interception entry of a tree structure, and at least one interception entry of the tree structure is set with user marking information;

[0101] The adaptive mode is used to set the interception entry of a single tree structure, and the handling method for the user when the interception entry is triggered is set;

[0102] The scoring mode is used to set at least one interception entry of a tree structure, and at least one interception entry of the tree structure is set with a scoring value.

[0103] Specifically, in the interception component setting interface, there is also an attribute area. Enter the attribute information of the interception component in the attribute area. The attribute information of the interception component includes the editing mode, and the attributes of the interception component corresponding to different editing modes are different. The editing modes include:

[0104] The normal mode is used to set the interception entry of a single tree structure. In this mode, only one interception entry of a tree structure can be generated. And in the normal mode, the syntax rules and business rules of the interception entry need to be tested. The syntax rule is to judge whether there is a syntax error in the current interception entry, such as using "0" as the denominator, etc. The business rule is to judge whether the current interception entry conforms to the business logic, such as "the number of mobile phone numbers bound to the same mobile phone" - "≤" - "2", then this interception entry obviously does not conform to the business logic. The handling method in the normal mode is manual handling, that is, if it is judged to conform to the interception entry, it is determined by the manual whether to intercept, the interception period, and the interception time, etc.

[0105] The marking mode can set multiple tree structures. The interception entries of each tree structure can be marked and edited, corresponding to a label. If this interception entry is triggered, marking will be performed. And in the marking mode, the syntax rules of the interception entry need to be tested. For example, the interception entry is: "the number of mobile phone numbers bound to the same mobile phone" - "≤" - "2", and the label is "abnormal list", that is, when a netizen triggers this rule, this netizen will be marked as "abnormal list". The handling method in the marking mode is automatic handling, that is, if it is judged to conform to the interception entry, it will be automatically intercepted.

[0106] The adaptive mode is used to set the interception entry of a single tree structure, and the handling method for the user when the interception entry is triggered is set. In the adaptive mode, the syntax rules and business rules of the interception entry need to be tested. The handling method of the adaptive mode is the same as that of the normal mode, which is also manual handling, but the priority is lower than that of the normal mode. It can be understood that the manual handling method of the normal mode is to handle at any time within 24 hours, but the manual handling method of the adaptive mode is to handle during working hours.

[0107] The scoring mode is used to set at least one interception entry in a tree structure, and at least one interception entry in the tree structure is set with a scoring value. The scoring mode is that when a netizen triggers the interception entry and the score value of the interception entry is greater than or equal to a preset threshold, interception is performed. In the scoring mode, the syntax rules of the interception entry need to be tested. The handling method of the scoring mode is the same as that of the marking mode, which is also automatic handling.

[0108] In the embodiments of the present application, by setting multiple editing modes, the interception component is flexibly constructed, improving the efficiency of constructing the interception component and saving a large amount of manpower.

[0109] Based on the same technical concept, the embodiments of the present application provide a device for constructing an interception component, as Figure 4 shown. The device 400 includes:

[0110] A display module 401, configured to display an interception component setting interface based on an interception component operation triggered by a user;

[0111] A determination module 402, configured to determine at least one second node associated with the first node and display at least one second node based on the first node selected by the user in the interception component setting interface; any node is used to form an interception factor in the interception component; the association relationship is determined according to historical interception data;

[0112] The determination module 402 is further configured to determine at least one third node associated with the second node and display at least one third node based on the second node selected by the user in the interception component setting interface until the node selection operation ends;

[0113] A construction module 403, configured to construct an interception component based on at least two selected nodes.

[0114] Optionally, the construction module 403 is specifically configured to:

[0115] Form at least one interception entry based on at least two selected nodes;

[0116] Verify the at least one interception entry, and if the verification passes, construct the at least one interception entry into an interception component.

[0117] Optionally, the at least one interception entry is in a tree structure;

[0118] Respective priorities are set between different interception entries; the priorities are used for the interception component to call each interception entry according to the priority during interception recognition, and if a high-priority interception entry takes effect, the interception recognition stops.

[0119] Optionally, any node is a service node or an operator node, and the types of the service nodes include one or more of a feature node, a text node, a character node, and a numerical value node; a type switching control is provided on the service node for setting the type of the service node based on a user trigger.

[0120] Optionally, the building module 403 is further configured to:

[0121] Receive at least one service node selected by the user in the mapping area, and display a mapping symbol corresponding to the at least one service node;

[0122] Receive a mapping symbol interception entry set by the user for the mapping symbol corresponding to the at least one service node in the mapping area;

[0123] Based on a mapping assignment operation triggered by the user, map the mapping symbol interception entry to an interception entry.

[0124] Optionally, the display module 401 is further configured to:

[0125] Receive attribute information of the interception component input by the user in the attribute area; the attribute information includes an editing mode of the interception component; the editing mode includes one or more of the following:

[0126] Normal mode, used to set the interception entry of a single tree structure

[0127] Marking mode, used to set the interception entries of at least one tree structure, and user marking information is set for the interception entries of at least one tree structure;

[0128] Adaptive mode, used to set the interception entry of a single tree structure, and a handling method for the user when the interception entry is triggered is set;

[0129] Scoring mode, used to set the interception entries of at least one tree structure, and a score value is set for the interception entries of at least one tree structure.

[0130] Based on the same technical concept, an embodiment of the present application provides a computer device, which can be a terminal or a server. As Figure 5 shown, it includes at least one processor 501 and a memory 502 connected to the at least one processor. In the embodiment of the present application, the specific connection medium between the processor 501 and the memory 502 is not limited. Figure 5 Taking the connection between the processor 501 and the memory 502 through a bus as an example. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0131] In an embodiment of the present application, the memory 502 stores instructions executable by at least one processor 501. By executing the instructions stored in the memory 502, the at least one processor 501 can execute the steps included in the above method for constructing an interception component.

[0132] Among them, the processor 501 is the control center of the computer device and can connect various parts of the computer device through various interfaces and lines. By running or executing the instructions stored in the memory 502 and invoking the data stored in the memory 502. Optionally, the processor 501 may include one or more processing units. The processor 501 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip. In some embodiments, they may also be separately implemented on independent chips.

[0133] The processor 501 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

[0134] The memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory 502 can include at least one type of storage medium. For example, it can include flash memory, hard disks, multimedia cards, card-type memories, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic memories, magnetic disks, optical disks, and so on. The memory 502 is any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 502 in the embodiments of the present application can also be a circuit or any other device capable of implementing a storage function, for storing program instructions and / or data.

[0135] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium storing a computer program executable by a computer device. When the program runs on the computer device, it causes the computer device to execute the steps of the method for constructing an interception component described above.

[0136] Based on the same inventive concept, an embodiment of the present application provides a computer program product, characterized in that the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, they cause the computer device to execute the steps of the method for constructing an interception component described above.

[0137] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0138] This application is described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to the application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as the combination of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device produce means for implementing the functions specified in a process Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0139] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including instruction means that implement the functions specified in a process Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0140] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in a process Figure 1 one process or multiple processes and / or blocks Figure 1 one block or multiple blocks.

[0141] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalent technologies, this application is also intended to include these modifications and variations.

Claims

1. A method for constructing an interception component, characterized in that, Including: Based on the interception component operation triggered by the user, display the interception component setting interface; Based on the first node selected by the user in the interception component setting interface, determine at least one second node having an association relationship with the first node and display the at least one second node; any node is used to form an interception factor in the interception component; The association relationship is determined according to historical interception data; Based on the second node selected by the user in the interception component setting interface, determine at least one third node having an association relationship with the second node and display the at least one third node until the node selection operation ends; Based on at least two selected nodes, construct an interception component.

2. The method according to claim 1, characterized in that The constructing an interception component based on at least two selected nodes includes: Based on at least two selected nodes, form at least one interception entry; Verify the at least one interception entry, and if the verification passes, construct the at least one interception entry into an interception component.

3. The method according to claim 2, characterized in that, The at least one interception entry is in a tree structure; Respective priorities are set between different interception entries; the priorities are used for the interception component to call each interception entry according to the priority during interception recognition, and if a high-priority interception entry takes effect, the interception recognition stops.

4. The method according to any one of claims 1 to 3, characterized in that Any node is a service node or an operator node, and the types of the service nodes include one or more of a feature node, a text node, a character node, and a numerical node; a type switching control is provided for the service node to set the type of the service node based on user triggering.

5. The method according to any one of claims 1 to 3, characterized in that, The interception component setting interface further includes a mapping area; before constructing an interception component based on at least two selected nodes, it further includes: Receive at least one service node selected by the user in the mapping area and display the mapping symbol corresponding to the at least one service node; Receive the mapping symbol interception entry set by the user for the mapping symbol corresponding to the at least one service node; Based on the mapping assignment operation triggered by the user, map the mapping symbol interception entry to an interception entry.

6. The method according to any one of claims 1 to 3, characterized in that, The interception component setting interface further includes an attribute area; the method further includes: Receive the attribute information for the interception component input by the user in the attribute area; the attribute information includes the editing mode of the interception component; the editing mode includes one or more of the following: Normal mode, used to set a single tree-structured interception entry Marking mode, used to set at least one tree-structured interception entry, and at least one tree-structured interception entry is set with user marking information; Adaptive mode, used to set a single tree-structured interception entry, and set the handling method for the user when the interception entry is triggered; Scoring mode, used to set at least one tree-structured interception entry, and at least one tree-structured interception entry is set with a scoring value.

7. A device for constructing an interception component, characterized in that, Including: A display module, used to display the interception component setting interface based on the interception component operation triggered by the user; The determining module is configured to determine at least one second node associated with the first node based on the first node selected by the user in the interception component setting interface and display the at least one second node; any node is used as an interception factor in the interception component; The association relationship is determined according to historical interception data; The determining module is further configured to determine at least one third node associated with the second node based on the second node selected by the user in the interception component setting interface and display the at least one third node until the node selection operation ends; The constructing module is configured to construct an interception component based on at least two selected nodes.

8. A computer device, characterized in that, It includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores a computer program executable by a computer device. When the program runs on the computer device, the computer device is caused to execute the steps of the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that, The computer program product includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer device, the computer device is caused to execute the steps of the method according to any one of claims 1 to 6.