[Graduation Project of Dalian Neusoft Institute of Information] Design and Implementation of Dietary Health Guidance System

Design and implementation of dietary health guidance system

Summary

With the changes in modern lifestyle, people's demand for healthy diet is getting higher and higher. The diet health guidance system is a software tool that can help users customize healthy diet plans, eliminate bad eating habits, and experience a healthy eating life. With the changes in modern lifestyles, people's life pressure is increasing day by day, and sub-health has become an increasingly common phenomenon. To change this state, in addition to psychological adjustment, physical adjustment is also essential. Therefore, the demand for healthy diet is getting higher and higher. However, as the number of users with healthy diet needs increases, problems such as chaotic user data management and poor user experience have begun to appear in the long-term practice process. The traditional healthy diet management process is no longer suitable for the current increasing number of users. users’ needs for healthy eating guidance. At this time, how to effectively improve and manage healthy diet guidance has become an urgent problem to be solved [1].

This paper develops a diet and health guidance system based on SSM, which implements user registration, login, query, download and other functions through the front-end page and server interface form. In terms of technical implementation, MySQL is used as the back-end database, Eclipse is used as the development website, and the SSM architecture is adopted to establish the necessary functions such as personal center, user management, food nutrition management, food classification management, diet recipe management, recipe classification management, and system management. function, creating an elegant, beautiful, easy-to-use, efficient and high-quality diet and health guidance system.

This dietary health guidance system can effectively provide users with customized diet plans and health assessments, help users improve bad eating habits and maintain good health, while providing users with a better participation experience. During use, users can download diet recipes conveniently and quickly, and at the same time check their download records and identity information, which increases users' enthusiasm and participation.

Keywords : Dietary health guidance system, data processing, MySQL, SSM

1. 2 Project Goals 

This system combines the analysis of the functional modules and design methods of today's mainstream management systems to achieve the establishment of a paperless diet health management process. It realizes electronic records and reliable electronic signatures of the entire process of diet guidance, ensuring that the entire process of diet health guidance can be Traceability, ensuring the legality and validity of data and signatures and other functions [16]. It mainly solves the problem that users who need healthy diet have difficulties in processing various information and data in the process of improving their diet [7].

1.3 Scope of application of the project 

The diet health guidance system is mainly suitable for all individual users who need to improve their bodies through diet and establish healthy eating habits.

1.4  Stakeholders

System designers: need to analyze requirements and plan the overall dietary health guidance system, including usability, future development trends and system maintenance methods, while ensuring stability and improving the scalability of the system.

System developers: Carry out function development according to requirement documents to avoid insufficient functions, solve problems and difficulties caused by new technologies and new functions, and improve the functions of the system as much as possible.

Administrator: Responsible for managing the site's information and permissions, including users' personal information and related permissions. At the same time, monitor the overall operation of the site and communicate with the developer if there are any problems.

User : Carry out daily work on this site, if you have any questions you need to contact the administrator.

2. 2 Functional requirements

2.2.1 Use case overview

Comprehensive network space development and design requirements for diet and health guidance systems. The purpose is to transform the traditional management method of dietary health guidance into online management through the Internet website, so that the completion of dietary health guidance is convenient, fast, safe, and has clear goals [10]. The diet and health guidance system can divide the functions into functions used by administrators and functions used by users. The system use case diagram is shown in Figure 2.3.

Figure 2.3 System use case diagram 

3.2 Software architecture design

3.2.1Functional structure _ _ _ 

According to the preliminary system demand survey, the final system mainly includes functional modules such as food nutrition management, food classification management, diet recipe management, recipe classification management, and user information management. The system functional structure diagram is shown in Figure 3.1.

Figure 3.1 System functional structure diagram 

4.1.1 Implementation of user function module

( 1 ) User homepage

After users enter the login page, they need to enter their username and password for login authentication. The system will authenticate the login information provided by the user and compare it with the background database to ensure that the system interface can be entered smoothly after successful authentication. In the system page, users can access all functional modules. The home page interface is shown in Figure 4.1.

Figure 4.1 User homepage interface

 

( 3 ) Diet recipes

The user enters the front-end system and can view all the diet recipes in the diet recipe function. Click on the food picture to view the specific content of the recipe, and click the download button to download the diet recipe. The diet recipe download page is shown in Figure 4.3.

Figure 4.3 Diet recipe interface

 

4.1.2 Implementation of administrator function module

( 1 ) Administrator login

Administrators need to enter their account number and password on the login page, and then check the login information to ensure that it is consistent with the information in the backend database before they can successfully log in to the system. The login interface is shown in Figure 4.4.

 

( 8 ) Modification of personal information

After the user logs in, click on the personal center to enter the information modification interface. After filling in the modified information, click the "Modify" button. The system will update the information and display that the information has been changed successfully. The personal information modification interface is shown in Figure 4.10.

Figure 4.10 Personal center interface

 

Table of contents

Abstract I

Chapter 1 Project Overview 1

1.1 Problem description 1

1.2 Project Goals 1

1.3 Scope of project application 1

1.4 Stakeholders 2

Chapter 2 Requirements Analysis 3

2.1 Business requirements 3

2.1.1 Business process 3

2.1.2 Business Object 3

2.2 Functional requirements 4

2.2.1 Use case overview 4

2.2.2 Use case description 5

2.3 Non-functional requirements 9

2.4 Operating environment 9

Chapter 3 System Design 11

3.1 Technical Route 11

3.2 Software architecture design 11

3.2.1 Functional structure 11

3.2.2 System architecture 12

3.3 Database design 12

3.3.1 Conceptual structural design 12

3.3.2 Detailed design of table 12

3.4 Use case implementation 14

3.4.1 User login use case implementation 14

3.4.2 Download diet recipe use case implementation 15

3.4.3 New food nutrition use case implementation 15

3.4.5 Modify the diet recipe use case implementation 16

3.5 Object Design 16

3.5.1 Module design 16

3.5.2 Business entity design 16

3.5.3 Design of business processing class 17

Chapter 4 System Implementation 20

4.1 Core function implementation 20

4.1.1 Implementation of user function module 20

4.1.2 Implementation of administrator function module 21

4.2 Key technical difficulties and solutions 20

Chapter 5 System Testing 28

5.1 Functional testing 28

5.2 Non-functional testing 29

5.3 Test summary 29

Chapter 6 Conclusion and Outlook 30

Reference 31

Thanks 33

Guess you like

Origin blog.csdn.net/yvonneking1118/article/details/132494619