URL (Uniform Resource Location) analyzing method and equipment

An analysis method and equipment technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of low analysis efficiency and large resource consumption, and achieve the effect of improving analysis efficiency and resource utilization

Inactive Publication Date: 2010-08-04
HUAWEI DIGITAL TECH (CHENGDU) CO LTD
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Due to the need to repeatedly scan and analyze the path domain, the existing technology has low parsing efficiency and large resource consumption

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
  • URL (Uniform Resource Location) analyzing method and equipment
  • URL (Uniform Resource Location) analyzing method and equipment
  • URL (Uniform Resource Location) analyzing method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] The process of URL parsing is to gradually decompose the domains of the URL according to the delimiters between the domains specified in the URL syntax during the process of scanning the URL. Therefore, it is necessary to know the domains of the URL, the character sets allowed by each domain, the separators of each domain and the reserved characters that are allowed to exist in the form of non-separators. The URL consists of a series of characters in th...

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 URL (Uniform Resource Location) analyzing method and equipment. The method comprises the steps of: scanning characters in a URL character string sequentially; updating the current state of an FSM (FDM-channel Selector Module) according to the scanned current character, a constructed FSM state conversion table of the URL and the current state of the FSM; updating the state of a sub FSM according to the scanned current character, a sub FSM state conversion table of constructing a path field and the current state of the sub FSM when scanning the characters of the path field of the URL, wherein the sub FSM state conversion table comprises the states of the updated sub FSMs corresponding to different types of characters when different types of characters are scanned in the current states of different sub FSMs; when the final states of the FSM and the sub FSMs are accepting states, judging that the URL conforms to URL syntax; otherwise, judging that the URL does not conform to the URL syntax.

Description

technical field [0001] The invention relates to the technical fields of computer and communication, in particular to a method and device for analyzing URLs. Background technique [0002] A uniform resource locator (Uniform Resource Locator, URL for short) is a standard resource address on the Internet, which is used to completely describe web pages and other resources on the Internet, and can also identify local resources. A URL can uniquely identify every web page or resource on the Internet. The URL consists of a series of characters in the format: protocol: / / [username:password]@host[:port][ / path][? query][#fragment]. Among them, the protocol field specifies the transmission protocol, such as: HTTP protocol, FTP protocol, etc.; the host field specifies the host name or IP address of the server storing resources; the username and password fields specify the user name and password required to connect to the server; the port field specifies the above The port number of the...

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 Applications(China)
IPC IPC(8): G06F17/30
Inventor 郑重刘艳敏
Owner HUAWEI DIGITAL TECH (CHENGDU) CO LTD
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