我正在尝试设计一个基于物联网的停车位预订管理系统。 这是要求:
1. Get all available slots for a given location and time period
2. Dynamic pricing for parking slots as per traffic like more traffic
more charges.
3. Suggestion for available booking slots at near location , in case no slots available at requested location.
4. During post analytics used data model able to give results like
a. Most used parking slots
b. Peak traffic hours
c. optimize unused traffic slots
5. In every booking slot there is difference of 30 min. no idea how to optimize this.
6. How to detect booking slot overlapping and then suggest available booking slot option.
我打算用基于树的数据模型来设计这个系统,但阻止我的是,如果并发用户的数量达到数百万,那么我们需要遍历树节点的批次以获得可用的时隙。任何更好的方法来构建这样的系统。