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 条
  • [41] A point to multipoint routing algorithm based on source routing
    Shin, HS
    Cho, KS
    Lee, SH
    2004 JOINT CONFERENCE OF THE 10TH ASIA-PACIFIC CONFERENCE ON COMMUNICATIONS AND THE 5TH INTERNATIONAL SYMPOSIUM ON MULTI-DIMENSIONAL MOBILE COMMUNICATIONS, VOLS 1 AND 2, PROCEEDINGS, 2004, : 223 - 227
  • [42] Dual routing algorithm for ATM routing based on ANN
    Zhang, Yu
    Zheng, Junli
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 1998, 26 (08): : 139 - 142
  • [43] A SDN/NFV Security Protection Architecture with a Function Composition Algorithm Based on Trie
    Hao, Zheng
    Lin, Zhaowen
    Li, Ran
    PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND APPLICATION ENGINEERING (CSAE2018), 2018,
  • [44] Optimized Routing Structure based Skyline Query Algorithm in Wireless Sensor Network
    Wu, Zhongbo
    Wang, Min
    Yuan, Lei
    Jiang, Hongxi
    PROCEEDINGS OF THE 2009 2ND INTERNATIONAL CONFERENCE ON BIOMEDICAL ENGINEERING AND INFORMATICS, VOLS 1-4, 2009, : 2081 - 2085
  • [45] The ant-based algorithm for the data gathering routing structure in sensor networks
    Huang, Ru
    Zhu, Jie
    Yu, Xu-Tao
    PROCEEDINGS OF 2006 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2006, : 4473 - +
  • [46] A Fast Algorithm for Attribute Reduction Based on Trie Tree and Rough Set Theory
    Hu Feng
    Wang Xiao-yan
    Luo Chuan-jiang
    FIFTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2012): ALGORITHMS, PATTERN RECOGNITION AND BASIC TECHNOLOGIES, 2013, 8784
  • [47] Study for the Double-array Trie Tree Based Algorithm in Word Segmentation
    Yang, Wenchuan
    Fang, Zeyang
    Li, Pengfei
    INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND ENVIRONMENTAL ENGINEERING (CSEE 2015), 2015, : 440 - 446
  • [48] Run-Based Trie Involving the Structure of Arbitrary Bitmask nnnRules
    Mikawa, Kenji
    Tanaka, Ken
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2015, E98D (06): : 1206 - 1212
  • [49] Hierarchical trie packet classification algorithm based on expectation-maximization clustering
    Bi, Xia-an
    Zhao, Junxia
    PLOS ONE, 2017, 12 (07):
  • [50] An efficient hybrid hierarchical trie packet classification algorithm based on No Prefix relationship
    Ding, N. (dingnian@live.cn), 1600, Binary Information Press, P.O. Box 162, Bethel, CT 06801-0162, United States (09):