journal article·2020-07-30Open access

An Efficient Two-Level-Partitioning-Based Double Array and Its Parallelization

Lianyin Jia, Chongde Zhang, Mengjuan Li, Yinong Chen, Yong Liu, Jiaman Ding

Applied Sciences· Volume 10· Issue 15

Abstract

Trie is one of the most common data structures for string storage and retrieval. As a fast and efficient implementation of trie, double array (DA) can effectively compress strings to reduce storage spaces. However, this method suffers from the problem of low index construction efficiency. To address this problem, we design a two-level partition (TLP) framework in this paper. We first divide the dataset is into smaller lower-level partitions, and then we merge these partitions into bigger upper-level partitions using a min-heap based greedy merging algorithm (MH-GMerge). TLP has an excellent characteristic of load balancing and can be easily parallelized. We implemented two efficient parallel partitioned DAs based on TLP. Extensive experiments were carried out, and the results showed that the proposed methods can significantly improve the construction efficiency of DA and can achieve a better trade-off between construction and retrieval performance than the existing state-of-the-art methods.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Algorithms and Data Compression · Network Packet Processing and Optimization · Advanced Image and Video Retrieval Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Information Engineering and Automation, Kunming University of Science and Technology, Kunming 650500, China

Yunnan Key Laboratory of Artificial Intelligence, Kunming University of Science and Technology, Kunming 650500, China

Library, Yunnan Normal University, Kunming 650500, China

School of Computing, Informatics, and Decision Systems, Arizona State University, Tempe, AZ 85287, USA

School of Information Science and Engineering, Guangxi University for Nationalities, Nanning 530006, China

Funding

the National Natural Science Foundation of China · China Scholarship Council · Talents Introduction Project of Guangxi University for Nationalities

References (33)

Show source-provided references
1. Yinong, C. (2017). Service-Oriented Computing and System Integration: Software, IoT, Big Data, and AI as Services, Kendall/Hunt Publishing Co.
2. Bharti, H., Saxena, R.K., and Sukhija, S. (2019). Using Trie Structures to Efficiently Identify Similarities among Topical Subjects, Google Patents.
3. Artificial Intelligence–Making an Intelligent personal assistant
4. An enhanced dynamic hash TRIE algorithm for lexicon search10.1080/17517575.2012.665483 ↗
5. Mining precise-positioning episode rules from event sequences10.1109/TKDE.2017.2773493 ↗
6. TCAM-based IP address lookup using longest suffix split10.1109/TNET.2018.2815999 ↗
7. Multi-Stride Decision Trie for IP Address Lookup10.5573/IEIESPC.2016.5.5.331 ↗
8. Li, G., He, J., Deng, D., and Li, J. (June, January 31). Efficient Similarity Join and Search on Multi-Attribute Data. Proceedings of the ACM SIGMOD International Conference on Management of Data, Victoria, Australia.
9. A Survey on Set Similarity Search and Join
10. Crochemore, M., Hancart, C., and Lecroq, T. (2007). Algorithms on Strings, Cambridge University Press.10.1017/CBO9780511546853 ↗
11. Aho, A.V., and Hopcroft, J.E. (1974). The Design and Analysis of Computer Algorithms, Pearson Education India.
12. Compression of double array structures for fixed length keywords10.1016/j.ipm.2014.04.004 ↗
13. Binna, R., Zangerle, E., Pichl, M., Specht, G., and Leis, V. (2018, January 11–15). HOT: A Height Optimized Trie Index for Main-Memory Database Systems. Proceedings of the International Conference on Management of Data, Houston, TX, USA.10.1145/3183713.3196896 ↗
14. Fully functional static and dynamic succinct trees10.1145/2601073 ↗
15. Arroyuelo, D., Cánovas, R., Navarro, G., and Sadakane, K. (2010, January 16). Succinct trees in practice. Proceedings of the Twelfth Workshop on Algorithm Engineering and Experiments (ALENEX), Austin, TX, USA.10.1137/1.9781611972900.9 ↗
16. Fast compressed tries through path decompositions
17. Kanda, S., Morita, K., and Fuketa, M. (2017, January 21–23). Practical string dictionary compression using string dictionary encoding. Proceedings of the 2017 International Conference on Big Data Innovations and Applications (Innovate-Data), Prague, Czech Republic.10.1109/Innovate-Data.2017.9 ↗
18. Jacobson, G. (November, January 30). Space-efficient static trees and graphs. Proceedings of the 30th Annual Symposium on Foundations of Computer Science, Research Triangle Park, NC, USA.
19. Rahman, N., and Raman, R. (2006, January 24–27). Engineering the LOUDS succinct tree representation. Proceedings of the International Workshop on Experimental and Efficient Algorithms, Menorca, Spain.
20. An Efficient Digital Search Algorithm by Using a Double-Array Structure10.1109/32.31365 ↗
21. Zhang, H., Lim, H., Leis, V., Andersen, D.G., Kaminsky, M., Keeton, K., and Pavlo, A. (2018, January 10–15). SuRF: Practical Range Query Filtering with Fast Succinct Tries. Proceedings of the International Conference on Management of Data, Houston, TX, USA.10.1145/3183713.3196931 ↗
22. A compact static double-array keeping character codes10.1016/j.ipm.2006.04.004 ↗
23. A compression method of double-array structures using linear functions10.1007/s10115-015-0873-0 ↗
24. Practical rearrangement methods for dynamic double-array dictionaries10.1002/spe.2516 ↗
25. Fast insertion methods of a double-array structure10.1002/1097-024X(200101)31:1<43::AID-SPE356>3.0.CO;2-R ↗
26. Speeding Up Double-Array Trie Construction for String Matching
27. Collision Analysis and an Efficient Double Array Construction Method
28. An efficient implementation of trie structures10.1002/spe.4380220902 ↗
29. Korf, R.E. (2009, January 11–17). Multi-way number partitioning. Proceedings of the IJCAI, Pasadena, CA, USA.
30. Korf, R.E. (2011, January 16–22). A hybrid recursive multi-way number partitioning algorithm. Proceedings of the Twenty-Second International Joint Conference on Artificial Intelligence, Catalonia, Spain.
31. DBLP (2019, July 28). Available online: https://dblp.uni-trier.de/xml/.
32. English Wikipedia (2019, September 01). Available online: https://dumps.wikimedia.org/enwiki/.
33. Ganti, R., Srivatsa, M., Agrawal, D., Zerfos, P., and Ortiz, J. (2016, January 12–16). MP-trie: Fast Spatial Queries on Moving Objects. Proceedings of the Industrial Track of the International MIDDLEWARE Conference, Trento, Italy.10.1145/3007646.3007653 ↗