Rule engine system for ride-hailing services based on bitmap algorithm
Ding Li · 2023
Online car-hailing is now an essential mode of transportation for people to travel. The rule engine system plays an important role in the matching mechanism of online car-hailing orders and drivers. The existing network car-hailing rule engine system is mostly implemented in the form of manually written configuration files. However, manual handwritten configuration files are prone to errors, and the efficiency of manually writing rule configuration files is low. This method needs to be faster to calculate rule matching in high-concurrency scenarios. This paper proposes a rule engine system based on the bitmap algorithm and inverted index mechanism. Different rules are divided into corresponding rule templates at the rule configuration level according to the practical dimension, which users can automatically generate rule expressions according to the templates. The system reduces the difficulty of user configuration rules, increases the efficiency of operation rules, reduces the time-consuming of rule matching, and completely releases the productivity of engineers.