Content filtering method and device
A content filtering and content technology, applied in the field of data processing, can solve problems such as filtering technical defects, low matching performance, and memory consumption, and achieve high matching accuracy, optimized matching performance, and accurate matching results
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] figure 1 It is a flow chart of the content filtering method provided by Embodiment 1 of the present invention. The content filtering method of this embodiment can be applied to various scenarios where text content needs to be filtered, and can be implemented in the form of software and / or hardware, typically For example, web page content filtering based on the text application layer protocol can be implemented by software integrated in the gateway.
[0044] The content filtering method mainly includes a precompilation process for rule conditions and a filtering process for content to be filtered, specifically including the following steps:
[0045] Step 110, respectively extract keywords from one or more input rule conditions;
[0046] Step 120: Divide the one or more rule conditions into one or more groups according to the extracted keywords, so that the rule conditions in the same group have the same keyword, and precompile group matching for the extracted keywords ...
Embodiment 2
[0066] The content filtering method provided by Embodiment 2 of the present invention may further improve the pre-compilation and filtering process of filtering rules based on the above-mentioned embodiments. In the above embodiments, the precompilation and filtering of filtering rules can be performed based on various technologies, for example, record the corresponding identification after matching the rule conditions, and then match which filtering rules are applicable to each filtering rule based on the identification, Then implement the corresponding filtering strategy. Or use a tree structure to construct each filter rule, and match the matched rule conditions in the tree structure.
[0067] This embodiment provides another preferred filtering rule matching solution. At any point in the pre-compilation process, the following steps are performed:
[0068] Assigning unique condition identifiers to the one or more rule conditions respectively, and precompiling the filter ma...
Embodiment 3
[0093] figure 2 It is a flow chart of the content filtering method provided by Embodiment 3 of the present invention. In the above embodiment, the precompilation of the rule conditions and filter rules input by the user is introduced in the initial stage. In practical applications, the user can add, delete and change the rule conditions and filter rules at any time. The change operation is equivalent to deleting Added operations. This embodiment mainly optimizes the operation of adding rule conditions, then the above content filtering method can further perform the following operations:
[0094] Step 210, when the newly added rule condition is obtained, extract keywords from the newly added rule condition;
[0095] Step 220, searching or creating a corresponding group for the newly added rule condition according to the keywords extracted from the newly added rule condition, and recompiling the group matching data set;
[0096] In this step, you can first search whether the...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com