| With the development of the computer technology, the complexity of the software system also increases, the layers of the framework is to enhance the scalability of the software framework essentially so that the framework meets the needs of software complexity. At present, the Struts2 framework based on presentation layer, the Spring framework on the business logic layer and Hibernate framework on data persistence layer are very mature. How to use these frameworks to further achieve the layered decoupling and enhance the dynamic adaptability of the software framework? This problem needs to be explored continuously in actual development. To this end,this article carried out the relevant research. The main work outlined below:(1) A software hierarchical framework strategy based on software change point is givenAccording to the most common three-layer software architecture, the extended point of the software is divided into interface expansion point, business function expansion point and data expansion point of change. Based on the three-layer software framework, the design strategy of extended change point based on horizontal and vertical fusion of each layer is given, which lays the foundation for the design and implementation of dynamic adaptive software.(2) The method that adopts a front-end adaptive page design based on software layered framework is givenThrough the analysis of Bootstrap front-end frame, the scheme of the dynamic layout of the page and response layout are determined. Therefore, a breakpoint design strategy is given. Based on the percentage design model of grid, an adaptive page design method is given to solve the adaptive problem which displays the page in different sizes of terminal equipments.(3) A software hierarchical framework for the back-end dynamic adaptive design method is givenBased on the idea of hierarchical idea and extended change point design, a seamless fusion and flexible expansion method based on change point S2SH framework is proposed by using design pattern, inheritance, combination and structure interface, etc. While reducing the coupling of each layer of the software framework, it promotes the flexibility and dynamic adaptability of the software layering framework in development.(4) A traceability software using dynamic adaptive software layered framework for agricultural products is implemented. The software can be used both on the PC and mobile phoneOn the basis of the dynamic adaptive three layer framework presented in this paper, an agricultural products traceability platform which can be used both on the PC and mobile phones is designed and implemented. The software is applied in practice, and the validity of the proposed method is verified. |