Method, system, electronic device and storage medium for detecting harmful URLs
By constructing decision trees and random forest models based on word features, the problems of low efficiency and high resource consumption of traditional URL detection methods are solved, achieving efficient and accurate URL detection with strong adaptability and security.
CN115098806BActive Publication Date: 2026-06-12ZHUHAI GAOLING INFORMATION TECH COLTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI GAOLING INFORMATION TECH COLTD
- Filing Date
- 2022-06-17
- Publication Date
- 2026-06-12
Smart Images

Figure 1 
Figure 2
Abstract
The technical scheme of the present application provides a method, system, electronic device and storage medium for detecting harmful URLs. The method comprises: obtaining URL data, wherein the URL data includes harmful URL data and normal URL data; creating word features according to the URL data, wherein the word features are used to summarize the features possessed by the URL data; creating a training set and a test set according to the URL data, and counting the word features of the URL data in the training set; constructing a decision tree according to the word features of the URL data in the training set and generating a random forest model; and identifying harmful URL data from the test set according to the random forest model. This technical scheme can improve the efficiency and accuracy of URL detection and reduce the consumption of computer computing resources.
Need to check novelty before this filing date? Find Prior Art