Javaweb-based skin care product recommendation system/ssm-based skin care product sales system

Summary

With the rapid development of information technology and network technology, mankind has entered a new information age, and traditional management technologies are no longer able to manage information efficiently and conveniently. In order to cater to the needs of the times and optimize management efficiency, various management systems have emerged. All walks of life have entered the era of information management. The skin care product recommendation system is one of the products of the changes in the information age.

Any system must follow the basic process of system design, and this system is no exception. It also requires market research, demand analysis, outline design, detailed design, coding, and testing. A skin care product recommendation system is designed and implemented based on JSP technology . The system is based on B/S, the so-called browser/server model, applies the SSM framework , and selects MySQL as the backend database. The system mainly includes functional modules such as user management, product management , and system management .

This article first introduces the technical development background and development status of the skin care product recommendation system, and then follows the regular software development process. First, it selects an appropriate language and development platform for the system, develops modules and designs database structures based on demand analysis, and then based on the overall functional modules of the system . Design and draw the functional module diagram, flow chart and ER diagram of the system. Then, design the framework and write code based on the designed framework to implement each functional module of the system. Finally, the initially completed system is tested, mainly functional testing, unit testing and performance testing. The test results show that the system can achieve the required functions and operates reasonably well without obvious shortcomings .

Keywords: skin care product recommendation system ; JSP technology ; MySQL database ; SSM framework


                       Abstract

With the rapid development of information technology and network technology, mankind has entered a new information age. Traditional management technology has been unable to manage information efficiently and conveniently. In order to meet the needs of the times and optimize management efficiency, a variety of management systems came into being. All walks of life have entered the era of information management. Skin care product recommendation system is one of the products of the transformation of the information age.

The system is designed in detail based on the JSP requirements, and the basic design steps of the system are not required to be followed. Similarly, the system needs to be designed and implemented based on the JSP technology. The system is based on B / s, the so-called browser / server mode, applies SSM framework, and selects MySQL as the background database. The system mainly includes user management, commodity management, system management and other functional modules.

This paper first introduces the technical development background and development status of skin care product recommendation system, and then follows the conventional software development process. Firstly, select the applicable language and development platform for the system, formulate the module and design the database structure according to the demand analysis, and then draw the function module diagram, flow chart and E-R diagram of the system according to the design of the overall function module of the system. Then, design the framework and write code according to the designed framework to realize each functional module of the system. Finally, test the preliminarily completed system, mainly including function test, unit test and performance test. The test results show that the system has no obvious shortcomings.

Key words: skin care product recommendation system; JSP technology; Mysql database; SSM framework

Table of contents

Abstract I 

Abstract II

1Introduction _

1.1 Topic background 2

1.2 Current status of research on the topic 3

1.3 Preliminary design method and implementation plan 4

1.4 Research content of this article 5

2 System Development Environment 6

2.1 Introduction to JSP technology 7

2.2 B/S mode 8

2.3 MySQL environment configuration 9

2. 4 ssm framework 9

3 System Analysis 10

3.1 System Feasibility Analysis 11

3.1.1 Economic feasibility 12

3.1.2 Technical feasibility 13

3.1.3 Operational feasibility 14

3.2 Analysis of website status 15

3.3 Functional requirements analysis 16

3.4 System design rules and operating environment 17

3.5 System process analysis 1

3.5.1 Operation process 19

3.5.2 Add information process 20

3.5.3 Deletion of information process 21

4System Design 22

4.1 Main functions of system design 23

4.2 Database Design 24

4.2.1 Database design specifications 25

4.2.2 ER diagram 26

4.2.3 Data Sheet 27

5 system implementation 28

5.1   System front desk function module 29

5.2   Administrator function module 30

5.3   User function module 31

6 System Test 32

6.1 Functional Test 33

6.2 Usability Testing 34

6.3 Maintenance Test 35

6.4 Performance Test 36

6.5 Test result analysis 37

Conclusion 3  8

References 39

Acknowledgments 4  0

1 Introduction

1.1 Background of the topic

With the development of the Internet , computers have become an indispensable office tool in people's lives. Against this background, network technology has been applied to various aspects. In order to improve the efficiency of office life, network information technology has developed rapidly. Against this background, human society has entered a new information age. Recommendation of skin care products has always been a major problem for shopping malls . The scale of shopping malls continues to grow and the number of users continues to increase . Therefore, many affairs in the shopping malls require more people to maintain. At this time, finding effective and convenient network management methods is a top priority. The increasingly mature computer information management technology has become the only choice to solve this problem. Nowadays, computer information management technology has been used to handle skin care product recommendations with ease. In fact, information management technology has penetrated into the information control management of various industries and plays a decisive role. With the continuous progress of modern socialism, the living standards of ordinary people have been greatly improved, and many aspects are realized on the Internet, so the Internet has become the most direct, convenient and fast access point. 

Using the skin care product recommendation system has many advantages over the traditional skin care product recommendation method: first, it can greatly improve the retrieval of skin care product information, and the desired results can be fed back within seconds by simply entering skin care product related information; second, it can store a large number of skin care product recommendations. information, and at the same time , the security of skin care product recommendation information is guaranteed to be higher; compared with paper files to manage skin care product recommendation information, the skin care product recommendation system saves space and human resources. These advantages greatly improve operational efficiency and save operating costs. Therefore, it is necessary to develop a skin care product recommendation system to effectively manage skin care product recommendation information. It not only improves the efficiency of skin care product recommendation , but also increases the security of user information, facilitates users to feedback information to administrators in a timely manner, and increases the number of users and management . Interactive communication among employees can further enhance the experience of skin care product recommendations .

This system plans to use MySQL to design the database for the flexibility of the database structure, while the SSM framework and B/S architecture ensure high platform adaptability. This article mainly introduces the development background of this system, the functions to be completed and the development process, and mainly explains the key points and design ideas of the system design.

1.2 Current status of research on the topic

Nowadays, more and more people are willing to choose a suitable management solution , but they are often limited by management experience. The Internet has emerged as a new network , and the network has entered people's lives. The skin care product recommendation system undoubtedly provides users with a better platform . In the context of such a successful management model, it is not only convenient for administrators to manage , but also convenient for users to view popular products for purchase , and thirdly for administrators to view order information for delivery . Efficiently and conveniently managing skin care product recommendations has become a top priority to transform the management model and be compatible with the times.

The skin care product recommendation system provides users with a convenient way to view product information anytime and anywhere . More importantly, it greatly simplifies the way administrators manage skin care product recommendation information. Compared with traditional skin care product recommendation methods, such electronic information The management is more concise and convenient, and it also has unique advantages in feedback of skin care product recommendation and maintenance information and processing of skin care product recommendation information .

The skin care product recommendation system can not only greatly simplify the information management work of administrators , but also reduce expenses while increasing the operating income of the mall . It can also show the best aspects of skin care product recommendations to users on a digital flat network. , and users at the front desk of this system can view product information, latest products, popular products, and best-selling products for purchase . The process is always more important than the result. Graduation project is the most colorful part of my college life . In this process, I not only learned more comprehensive book and practical knowledge, but also made me feel the deep love between classmates and teachers and students. This system has become the most indispensable content for skin care product recommenders . Although most shopping malls have put skin care product recommendation systems into use, people's requirements for the system are becoming higher and higher. Most systems can already handle all kinds of information perfectly. However, in order to better suit skin care product recommendations , different users There are different requirements, and personalization is also a very important point in the management system, so every shopping mall hopes to have a customized skin care product recommendation system., but this also involves cost control issues. Currently, it is expensive to customize a system. However, if there is such a skin care product recommendation system that can customize pages and content according to needs, expenses can be greatly reduced. However, it may be difficult to achieve with the current technology . , but it is possible to make the system re-designable. As the scale of shopping malls continues to expand, information management has also become a trend. The development of skin care product recommendations also proves that system management is constantly developing and progressing, various concepts are becoming more and more advanced, and the requirements for all aspects are becoming higher and higher. Users can view all kinds of information and operate when entering the page. .

1.3 Preliminary design method and implementation plan

Software architecture plan: Since this system needs to be able to run on different devices, and the computer configuration requirements should be as low as possible, in order to achieve this requirement, the B/S structure has become the best choice . A system using the B /S structure can run on almost any computer. As long as the browser can work normally, the system can run normally. Moreover, later maintenance and secondary modifications are relatively easy and meet the requirements.

Operating system solution: Windows 10 operating system, which is the latest system launched by Microsoft. Most computers on the market currently use this system, and the system has complete functions and good compatibility. Development tools: Choose Eclipse . JSP development technology.

1.4 Research content of this article

This article is mainly divided into seven chapters. The first part is the introduction , which mainly introduces the current development status of computer technology, the development stage of skin care product recommendation , analyzes the shortcomings of the current skin care product recommendation system , and the benefits of using information technology to manage skin care product recommendation information .

The second part is an introduction to related technologies, which mainly introduces the development history of each technology, the current status of technological development, technical advantages and reasons for selecting this technology .

The third part is system analysis, which mainly analyzes the functions required for software design .

The fourth part is system design, which mainly carries out system architecture design, database design, etc.

The fifth part is the detailed design of the system.

The sixth part is system debugging and testing, using test methods to conduct feasibility testing, performance testing, system testing, etc.

The seventh part is summary and acknowledgment , which mainly summarizes the completion process and completion status of the program design, and expresses the center's thanks and wishes to the students and teachers who helped complete the design process .

2 System development environment

2. 1  Introduction to JSP technology

JSP technology is released by sun company , which uses jsp technology to develop dynamic web applications. It is characterized by being easy to learn and cross-platform operation. It is the most suitable among many dynamic Web application design languages. In just a few years, it has formed a complete set of specifications and is widely used in e-commerce and other fields. in the field. In China, JSP has attracted everyone's attention and has developed very well. More and more dynamic websites have begun to adopt JSP technology. The following is a brief introduction to JSP and its related technologies. JSP technology can generate Web pages in a simple, convenient and fast way. Web pages using JSP technology can easily display dynamic content. JSP technology is designed to make it easier and faster to construct Web-based applications that can work with a variety of Web servers, application servers, browsers, and development tools.

2.2 B/S mode

The B/S structure is currently the most commonly used structural model. It can make system development simpler, easier to operate, and can also be maintained. When using this structure, you only need to install a database in your computer and some commonly used browsers. The browser will connect the information with the database, which can realize many functions. The B/S structure can be used directly, and the B/S structure greatly reduces the maintenance work during use. Based on B/S software, all databases are independent of each other, so they are very safe. Because based on the B/S structure, you can clearly see the business being processed by the system, and allow managers to make decisions in a timely manner , thus avoiding developers ' losses. The basic feature of the B/S structure is the centralized management model. After users use the system to generate data, the data can be stored in the system's database for future use, thus meeting all people's needs.

Figure 2-1 Three-layer structure diagram of B/S mode

2. 3  MySQL environment configuration

(1) The data of this system uses MySQL, so MySQL must be installed in the specified directory. If you download a non-installed MySQL compressed package, just decompress it directly to the specified directory. Then click on the file C:\Program Files\MySQL\bin\winMySQLadmin.exe where C:\Program Files\MySQL is the MySQL installation directory. Enter the initial user and password of winMySQLadmin (note: this is not the user and password in MySQL). Don’t worry. After confirmation, a traffic light icon will appear in the task launch bar in the lower right corner. The red light means that the service is stopped, and the green light means that the service is stopped. Normally, left-click this icon->winnt->install the service to install the service, then left-click this icon->winnt->start the service to start the MySQL service.

(2) Modify the root password of the MySQL database. Use cmd to enter the command line mode and enter the following command:

cd C:\Program Files\MySQL\bin

MySQLadmin -u root -p password 123

Enter password: appears when you press Enter. This is to enter the original password. The password was empty when it was first installed, so just press Enter. At this time, the password of the account root in MySQL is changed to 123 and the installation is completed.


2.4  SSM framework

The mainstream framework for developing information management systems is SSM (Spring + Spring MVC + MyBatis) . The SSM framework web layer uses the Spring MVC framework to make it simple to transmit front-end and back-end data; for the business layer, the Spring framework is used as a lightweight control inversion ( IoC) and aspect-oriented (AOP) container framework; for related SQL operations, Mybatis is used as the persistence layer framework to encapsulate JDBC, making the underlying operations of the database transparent to developers .

3 System analysis

3.1 System feasibility analysis

3.1.1 Economic feasibility

Since this system is a graduation project system , and the system itself has some technical flaws, it cannot be directly used for commercial purposes. I just want to improve my academic level through the development of this system, without the need for additional expenses such as special servers. All creation and work processes can be realized only on a personal computer. Most of the software used is open source software, so the economic cost is not high and it can be easily implemented.

3.1.2 Technical feasibility

The development of this system uses JSP as the development technology for system development .  Eclipse is selected as the development tool . The B /S structure determines the compatibility and multi-user operability of this system. In addition, choosing MySql as the database not only improves data security but also ensures improve the operability of data.

3.1.3 Operational feasibility

This system uses JSP as the development technology , and the choice of B /S structure determines that operating this system only requires very small resources and does not require too many hardware configurations. Currently, as long as the browser can run normally on the market All personal computers can run normally using this system.

In summary, the economic, technical, and operational conditions for the design and development of this system are all met. Therefore, system development has feasibility conditions.

3. 2 Analysis of website status

The number of users using the system directly determines the workload of user information managers. There is no doubt that the workload of website managers is larger and more cumbersome . Through preliminary research, the current user management status of the website is summarized as follows:

Lack of overall planning . If a website lacks comprehensiveness, systematicness, and integrity in information management, it will inevitably require a lot of manpower and material resources to plan and organize information. The introduction of information management methods can undoubtedly achieve the purpose of saving information management costs. It can not only reduce the waste of resources, but also make skin care product recommendation information more organized, which has become a major advantage in market competition.

You must proceed step by step. You cannot eat hot tofu in a hurry. Nothing can be accomplished overnight. Even the information management system is the same. To maximize the efficiency of the system, you should do more research, listen to the opinions of instructors and classmates , and carry out necessary overall planning. The organization designs system functions purposefully and unites various departments to exert their subjective initiative.

( 1 ) Information security measures are not in place

The right to privacy is sacred and inviolable. This is the right granted to us by the Constitution of the People's Republic of China. No one can infringe upon our legitimate rights and interests. However, there are great security risks in the management of network user information, and there are many cases of information leakage. Strengthening information security Measures are an inevitable part of the process of improving network information management.

 ( 2 ) Resources cannot be fully shared

Resource sharing is a major feature of the Internet. Without sharing, there would be no social interaction, and the Internet would lose its charm. If skin care product recommendation information can be shared, it will undoubtedly be indispensable for the development of shopping malls .

( 3 ) The existing system has low scalability.

Nowadays, science and technology are developing rapidly, and what follows is technological updates, which will inevitably bring challenges to software updates. Therefore, the system must have good openness and scalability. In order not to lag behind the times, this is a must-have feature one .

Based on the above analysis, the skin care product recommendation system should be realistic and effective. The collective performance is as follows: first, the system can organize and aggregate user information to prevent user information from being chaotic and difficult to sort; second, the system must be safe and stable and cannot be leaked. User information will cause privacy leakage, which will not only harm the interests of the mall but also damage the reputation of developers ; thirdly, the system must have good openness, not only to facilitate regular maintenance and repair, but also to facilitate the timely addition of new functions to ensure the advanced era Fit. After detailed discussion and demonstration, the overall requirements of the system are determined .

3.3 Functional requirements analysis

System functional requirements analysis is based on detailed and careful thinking by software developers after participating in market research, communicating with tutors and classmates , and then discussing and researching the functions required for preliminary system development . This is the first and crucial step in development. If you do not formulate the required modules for the system at this stage, it will cause unnecessary trouble in the future. Therefore, you must be serious and devote yourself to this step.

This system is developed using a top-down approach and basically positions the following functions:

This topic requires the implementation of a skin care product recommendation system . The system mainly includes the administrator module and the user module function module.

(1) The administrator use case diagram is as follows:

Guess you like

Origin blog.csdn.net/weixin_47958760/article/details/133501175