Uniform resource locator matching processing method and device

A resource locator and processing method technology, which is applied in the field of uniform resource locator matching processing methods and devices, can solve problems such as difficulty in matching top-level domain names according to domain name levels, and obtaining attribute information of all levels of domain names, and achieves the effect of improving security.

Active Publication Date: 2016-01-27
浙江杭海新城控股集团有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a uniform resource locator matching processing method and device, which are used to solve the difficulty of matching domain names at all levels under the second-level domain name according to the domain name level, and to obtain domain name attribute information at all levels

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Uniform resource locator matching processing method and device
  • Uniform resource locator matching processing method and device
  • Uniform resource locator matching processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0056] figure 1 A schematic flow chart of an embodiment of the uniform resource locator matching processing method provided by the present invention, such as figure 1 As shown, the method includes:

[0057] S101. Divide the received URL by level, and acquire the second-level domain name in the URL, or the second-level domain name and information...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention provides a uniform resource locator matching processing method and a uniform resource locator matching processing device. The method comprises the following steps: dividing received uniform resource locators (URL) by levels, and acquiring a second-level domain in each URL, or the second-level domain and information under the second-level domain; hashing the second-level domain to acquire a character string corresponding to the second-level domain, and acquiring a key value according to the character string corresponding to the second-level domain; and when a node corresponding to the second-level domain is matched in a binary search tree (BST) corresponding to the key value, sequentially matching the information under the second-level domain with the corresponding character string in a radix tree under the node corresponding to the second-level domain from high level to low level to acquire a second matching result. According to the method, the second-level domain, a sub-domain, a category, a page and the like under the URL are acquired and sequentially matched, so that domains of all levels under the second-level domain can be matched linearly at one time.

Description

technical field [0001] The invention relates to communication technology, in particular to a uniform resource locator matching processing method and device. Background technique [0002] In network technology, Uniform Resource Locator (UniformResourceLocator, URL for short) matching can be used in various scenarios, such as domain name resolution in Domain Name System (DNS for short), URL classification acquisition in network security technology, web search technology quick search etc. [0003] Some operators in the prior art adopt a URL matching structure of "hash (hash) + binary tree (BinarySearchTree, BST for short) + page array (page array)", and the URL includes the domain name (host ) parts and pages, etc., where the hash and BST are used to process the fast matching of the domain name part, and the page array is used to save the list of pages. Specifically, the URL matching process is: for a given URL, first calculate the hash of the domain name part Column value, a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/30H04L29/12
Inventor 张大为
Owner 浙江杭海新城控股集团有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products