An Algorithm for URL Routing Based on Trie Structure

被引:1
|
作者
Zhang, Yijun [1 ]
Xu, Lizhen [1 ]
机构
[1] Southeast Univ, Nanjing, Jiangsu, Peoples R China
关键词
URL routing system; trie structure; service bus;
D O I
10.1109/WISA.2015.62
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, a new algorithm based on trie structure is applied to URL routing systems like web MVC system and enterprise service bus, where the routing rules not stored as a table containing regular expressions but a trie. As a result, the table traversing in routing process is replaced by a depth-first searching for trie. Because the static pattern segments are stored as a hash table, the time complexity of matching static pattern are O(1), so that the whole time taken in routing process is reduced. The experiment shows that, compared to ASP.NET routing module which use the route table, the routing module with this algorithm have excellent performance when there are plenty of routing rules in system. It just cost about 10% time of the ASP.NET routing module.
引用
收藏
页码:157 / 160
页数:4
相关论文
共 50 条
  • [21] Research on User Identification Algorithm based on Rewriting URL
    Zhou Jiadi
    Geng Hai
    INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2016, 10 (03): : 215 - 221
  • [22] A dynamic construction algorithm for the Compact Patricia trie using the hierarchical structure
    Jung, M
    Shishibori, M
    Tanaka, Y
    Aoe, J
    INFORMATION PROCESSING & MANAGEMENT, 2002, 38 (02) : 221 - 236
  • [23] Optimized Multicast Routing Algorithm Based on Tree Structure in MANETs
    Li Xu
    Liu Tianjiao
    Liu Ying
    Tang Yan
    CHINA COMMUNICATIONS, 2014, 11 (02) : 90 - 99
  • [24] A simultaneous placement and global routing algorithm based on BSG structure
    Zhou, S
    Huang, G
    Hong, XL
    Cai, YC
    PROCEEDINGS OF THE 6TH INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN & COMPUTER GRAPHICS, 1999, : 552 - 556
  • [25] Design of Improved Directional Routing Algorithm Based on Clustering Structure
    Li, Minkai
    Yang, Yiqun
    Yao, Yiming
    2017 29TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2017, : 2058 - 2062
  • [26] Study of an Improved Text Filter Algorithm Based on Trie Tree
    Yang, Wenchuan
    Fang, Zeyang
    Hui, Lei
    2016 INTERNATIONAL SYMPOSIUM ON COMPUTER, CONSUMER AND CONTROL (IS3C), 2016, : 594 - 597
  • [27] The Adaptive Spelling Error Checking Algorithm based on Trie Tree
    Xu, Yongbing
    Wang, Junyi
    PROCEEDINGS OF THE 2016 2ND INTERNATIONAL CONFERENCE ON ADVANCES IN ENERGY, ENVIRONMENT AND CHEMICAL ENGINEERING (AEECE 2016), 2016, 89 : 299 - 302
  • [28] ABC Algorithm for URL Extraction
    Sanagavarapu, Lalit Mohan
    Sarangi, Sourav
    Reddy, Y. Raghu
    CURRENT TRENDS IN WEB ENGINEERING, ICWE 2017, 2018, 10544 : 143 - 148
  • [29] A URL-based Analysis of WWW Structure and Dynamics
    Kline, Jeffery
    Oakes, Edward
    Barford, Paul
    PROCEEDINGS OF THE 3RD NETWORK TRAFFIC MEASUREMENT AND ANALYSIS CONFERENCE (TMA 2019), 2019, : 81 - 88
  • [30] URL assignment algorithm of crawler in distributed system based on hash
    Wan, Yuan
    Tong, Hengqing
    PROCEEDINGS OF 2008 IEEE INTERNATIONAL CONFERENCE ON NETWORKING, SENSING AND CONTROL, VOLS 1 AND 2, 2008, : 1632 - 1635