| The high concurrent requests and large data volumes introduced by the rapid development of the Internet have to be faced by all enterprises.This thesis proposes a complete solution for the intelligent access control system based on the development requirements of the access control system.Combined with the development of the business of the intelligent access control system in practical applications,that extended a design of a distributed enterprise architecture and tested its performance.In the context of AI era,the solution has great value in smart city,park,community and security protection.The research is based on the technical feasibility and the actual application needs to expand the architecture design,which is scientific and Forward-looking.According to the requirement of the actual project and the summary of the problems encountered in the process of project development,this paper proposes a technical scheme which can be used as a reference for the design of distributed architecture for small and medium-sized enterprises.The whole system architecture adopts a layered design approach: Load balancing is added before application layer to relieve the pressure of system load;The application layer adopts the classic application splitting strategy to reduce the business coupling to achieve high cohesion and low coupling;Service layer adopts service architecture for distributed deployment;The storage layer performs data partitioning and reading and writing separation;In addition,in order to ensure system performance and reduce database pressure and speed up system response,a multi-level caching mechanism is added.The main contents of this thesis are as follows:(1)Analyze and research the current development status of the intelligent access control system,and propose corresponding improvement plans according to the shortcomings and shortcomings of the current system.Provide research direction and theoretical basis for subsequent system design,and propose the core elements of software architecture pattern design.(2)Analyze and demonstrate the project background and main application scenarios of the intelligent face access control system,complete the requirements analysis and introduce the main business processes.Consider the performance bottlenecks in the project and make reasonable selection and design.(3)Combine with the actual application needs to design and build a layered high-concurrency and high-availability distributed system complete solution,including multi-level load balancing,data caching,page staticization,application service cluster,file database and database splitting,etc.(4)According to the design architecture program,perform corresponding configuration deployment,use the test tool to stress test the system,and analyze the results in detail to understand the performance bottleneck,divide and conquer,and gradually optimize.In terms of innovation,the device command pool component is self-developed according to the needs,and the device commands are uniformly managed by calling asynchronous methods,thereby helping to better manage system devices and improve system performance.Compared with the previous synchronous invocation method,it can better decouple the system,so that the functional modules of each part of the system focus on their own business. |