In recent years,the recyclable logistics containers become more and more popular in Chinese e-commerce industry due to the increasing environmental regulations and cost pressure.Logistics container suppliers usually provide rental services of the containers to both upstream and downstream firms.Logistics container rental systems are required to provide functions such as leasing,purchasing,warehousing,and recycling for this type of business.To design such a system,it requires to consider fulfilling not only current business needs,but also stability,scalability for the business requirements in future.Micro-service is the common solution for high availability and scalability system.This thesis presents a Spring Cloud micro-service framework for the logistics container rental system which utilizes micro-services to design and implement each module of the system.In order to realize the system,this thesis has carried out detailed requirements analysis,system architecture design,database design,detailed design and specific coding implementation.We also design a XGBoost based model to predict the need of logistics containers in both long/short term future.The system was successfully launched,and it was proved that the reliability and scalability of the system met expectations after a period of stable running.The prediction and analysis of the logistics container usage also provides a certain reference value for business operations. |