| With the rapid development of e-commerce system,the demand of data query is constantly put forward and changed.As a result,the enterprise must iterate and maintain the query function,which increases the labor cost.Users and enterprises expect that the query function can realize low-cost and high-speed iteration to meet the needs of change.In view of the above problems,this subject constructs a flexible query component hierarchical model for e-commerce,and gives the implementation method and technology.Firstly,combined with e-commerce system,analyzes the development status of flexibility theory and data retrieval technology at home and abroad,summarizes the existing problems and disadvantages,puts forward the research content and key problems to be solved,summarizes the flexibility level and measurement technology in the development process of flexible software,and summarizes its advantages in software development.Secondly,a hierarchical model of flexible query component is constructed,developer oriented flexibility and user oriented flexibility are designed,the constituent elements and processing logic in data layer,mapping layer,model layer and application layer are given,and the data domain,information domain and mapping rule framework of e-commerce system are defined,The idea and method of building business query model for advanced users and instantiating query by ordinary users are proposed.The binding and configuration process of query components,the steps and processes of component business query model and query instance parsing and execution are given.Thirdly,based on the model,this paper gives the implementation methods and technologies of the main functions of each layer,uses the database pooling technology to realize the dynamic connection between the database and components of the target e-commerce system,uses XML documents to collect and transform metadata,designs the key data structures defined by data domain,information domain and mapping rules,and describes the business model,information query examples Data query examples and query instruction generation methods and technical key points.Finally,through an application example,the binding between the query component and the target e-commerce system is implemented,the business query model is defined,the user-defined query example is constructed,the query adaptation is realized,the application results of the whole process are displayed,and the flexibility of the flexible query component is quantitatively calculated and analyzed to illustrate the feasibility and practicability of the component. |