Font Size: a A A

Design And Implementation Of Driver Recruitment System Based On Rule Engine

Posted on:2022-01-29Degree:MasterType:Thesis
Country:ChinaCandidate:Y T XieFull Text:PDF
GTID:2518306563465294Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In 2020,the COVID-19 coronavirus pandemic has hit the national economy.Tourism and travel industries bear the brunt,and online car-hailing has not been spared.In the new state where the coronavirus pandemic tends to stabilize,online car-hailing users will gradually return.While continuing to activate passengers,in order to promote the increase in transaction volume and meet the existing travel supply and demand relationship,insufficient transport capacity is still a problem that needs to be solved for travel products.The rule engine-based driver recruitment system was born under this background.In order to continuously activate and expand the market transport capacity,and maintain the supply of transport capacity under the new state,the driver recruitment system is needed to provide technical support for driver recruitment and operation.The rule engine-based driver recruitment system dissertated in this article provides operators,cooperative merchants and all users with configuration management of operating campaigns,tracking of the entire process of merchant cooperative recruitment,and reward services for the task of "Being a recommended character and earning rebates".The driver recruitment system uses Spring Boot and My Batis as the integrated development framework,uses the Drools rule engine as the core of the "Event driven rewards",and is supplemented by Rocket MQ to achieve distributed message transmission and transaction execution between services.The driver recruitment system consists of three core functional modules,the recruitment campaign configuration module,the cooperative business management module,and the recruiting campaign main module.Among them,the design and implementation of the recruiting campaign configuration module laid the foundation for the system.The system cleverly organizes the relationship among the Event,Condition,Action,and Act Param.A reward rule includes an Event instance,a group of Condition instances and a group of Action instances,each Action The instance also contains a set of Act Param instances.The main body of the recruitment campaign is displayed in the front-end style of the H5 landing page and We Chat applet,which contains the core engine of "Event driven rewards”.Taking the delivery of messages of event topic to Rocket MQ as the starting point of"Event driven rewards",the observer pattern separates the combination of events,Handlers,and reward rules.The system subscribes and obtains the relationship between events,campaigns and the corresponding reward Handler through the Subscriber.The Handler calls the service of the rule engine to consume the messages in the MQ,generates and executes the corresponding Action.In addition,the cooperative merchant management module provides services for the entire process of cooperative recruitment of merchants,and its account settlement function involves complex reward settlement logic that includes different time dimensions,different state circulation stages,and different drivers' basic attributes.The author is mainly responsible for the implementation,testing and operation and maintenance of the back-end code of the driver recruitment system based on the rule engine.The recruitment system has been piloted and opened across the country.Since its launch,the core page of the campaign has averaged more than 100,000 page views per day,successfully converting a large number of new users to join as drivers.
Keywords/Search Tags:User Growth, Operational Tools, Rule Engine
PDF Full Text Request
Related items