[Computer Graduation Design] 139 Huaqiangbei Mall Second-Hand Mobile Phone Management System

1. Screenshots of the system (if you need a demo video, you can chat privately)

Summary

   In the 21st century, the network and computer have developed rapidly and are closely integrated with life. At present, the operating speed of the network has reached Gigabit, and the coverage has penetrated into every corner of life. This has prompted the development of second-hand trading websites. Second-hand trading websites can realize remote shopping, remotely select favorite products and track the status of orders at any time. The second-hand trading website has brought people an unprecedented experience and met the shopping needs of people in the new era, so the online second-hand trading model has been vigorously developed.

    This system is the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot. It is an online trading platform developed using computer and network technology, which can realize the display, purchase, evaluation and sales of commodities. The system uses Java language, the database is Mysql, and the operating environment is Idea. Use roles are divided into registered users, tourists, administrators, and merchants. The functions of this system include news management, product information display and management, registered user management, order management, product evaluation, and shopping cart management. Among them, tourists are responsible for browsing information, registered users can purchase products, evaluate products, and manage orders, merchants can sell products and manage orders, and administrators can manage all functions and personal information. This system realizes the online sales and purchase of commodities, facilitates the interests of both buyers and sellers, improves sales and purchase efficiency, and is more in line with modern life.

Keywords : shopping cart, user registration, commodity information management, order management, Java language

 directory

summary  

Abstract

Chapter 1 Introduction

1.1 Subject research background

1.2 Current status and realization significance of the subject

1.3 Subject content

1.4 Arrangement of paper structure

Chapter 2 System Analysis

2.1 System use related technology analysis

2.1.1 Java language introduction

2.1.2 Mysql database introduction

2.1.3 Tomcat server introduction

2.1.4 Springboot framework introduction

2.1.5 V ue framework introduction

2.1.6 Introduction of Idea running software

2.2 System Feasibility Analysis

2.2.1 System economic feasibility analysis

2.2.2 System Technical Feasibility Analysis

2.2.3 Feasibility analysis of system operation

2.3 System requirements analysis

2.3.1 Analysis of Advantages and Disadvantages of Traditional Sales System

2.3.2 Analysis of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot

2.4 System function analysis

2.5 System performance analysis

2.6 Use Case Diagram

2.7 System Business Process

Chapter 3 System Design

3.1 Analysis of system design process

3.2 System detailed design and design principles

3.3 System Architecture

3.4 System function structure

3.5 System interface design

3.5.1 Principles of interface design

3.5.2 Design Principles of Information Input Function

3.6 Database design

3.6.1 ER diagram design

3.6.2 Database table design

Chapter 4 System Implementation 

4.1 Interface implementation of user registration function

4.2 Interface implementation of login function

4.3 Design and implementation of administrator functions

4.3.1 Realization interface of user management function

4.3.2 Realization interface of user center management function

4.3.3 Realization interface of news information management function

4.3.4 Realization interface of commodity collection management function

4.3.5 Realization Interface of Order Management Function

4.3.6 Interface Realization of Commodity Information Management Function

4.4 Interface Realization of User Role Function

4.4.1 Interface realization of product browsing function

4.4.2 Realization interface of order submission function

4.4.3 Realization interface of shopping cart management center function

4.4.4 Realization Interface of Order Management Center Function

4.5 Realization Interface of Merchant Role Function

Chapter 5 System Testing 

5.1 Method of system testing

5.2 Test environment and test conditions

5.3 Example test form

5.4 Test Summary

summary 

thank you  

references

Chapter 1 Introduction

1.1 Subject research background

Since the development of computers, people's lives have been changed. The first-generation computer was designed in the United States in 1946. It was initially used for complex scientific calculations. The requirements for floor space and startup time were very high. After dozens of changes, computer technology developed to today. Now is the electronic age and the data age, and all life is inseparable from computers and networks. There are all kinds of office software and APP in work, and various game software and video software in entertainment, which bring convenience to life, especially the mobile payment function of our country is leading the world. Technology drives the development of the times. Most of people's shopping has now switched from traditional physical shopping to online shopping. Online shopping has greater advantages, such as a wide range of products, favorable prices, and guaranteed after-sales service. Due to the need for hands-on traditional physical shopping, single products, and opaque prices, it has gradually become difficult to develop under the pressure of online shopping.

Now, the network coverage is expanded, the price is cheap, and all major businesses have opened up wireless networks. Mobile phones have also been popularized, and computer technology has also penetrated into mobile phones. Ordinary life, entertainment, etc. can be solved online. Online has become a trend. Most industries can open business online, solve problems for people online, change face-to-face methods, improve work efficiency and reduce time waste.

1.2 Current status and realization significance of the subject

 Taobao, 58, Tieba, and live broadcasts that have just come out of fashion are currently the most used second-hand transactions. For sellers, there are many ways to quickly sell second-hand goods, but now the second-hand platforms are not concentrated and the flow of people is scattered, so the effect is not ideal. Platforms such as Taobao, 58, and Tieba are all general-purpose platforms, which are too broad for Li users, and the consumer groups are not precise enough. There is no second-hand trading platform for mobile phones.

This system adopts the merchant-to-user model, and users can use this platform to purchase goods, manage orders, etc. This system can help merchants manage their work and realize sales of goods without time and place. Buying users can browse and inquire about the product at any time, and can learn about the details of the product and the evaluation content of other users of the product. This system can help users select goods and track orders faster, help merchants increase sales channels, and reduce time costs. The second-hand mobile phone management system of Huaqiangbei Mall based on Springboot realizes the automation of data, reduces the work content of administrators and realizes the clarity of data.

1.3 Subject content

    The roles used in this Springboot-based second-hand mobile phone management system of Huaqiangbei Mall can be divided into tourists, registered users, administrators, and merchants. Tourists can browse product information, news, product evaluation information, etc. After registering as a registered user, tourists can purchase, collect products and manage shopping carts, orders, personal information, online evaluation products, etc. Merchants can sell products and manage sales orders, administrators Responsible for the management of this system, you can publish products, manage products, review registered user information, check product reviews, user orders, and release news.

1.4 Arrangement of paper structure

   The structure of this thesis is divided into three parts, namely:

(1) The first part,

Abstract, this part is a simple exposition, so that readers can have a general understanding of this paper;

Foreign language translation, using English to translate the abstract;

Table of Contents, this part can make readers have a detailed understanding of this paper.

(2) The second part is the text part,

Introduction, this chapter introduces the source and current situation of the project development, and summarizes the significance and content of the system development;

System analysis, this chapter includes the introduction of language, technology, etc., as well as system demand analysis, feasibility analysis, process analysis, etc.;

System design, this chapter includes the functional structure diagram of the system, database design, etc.;

System implementation, this chapter uses system running screenshots plus text to introduce the system in detail;

System testing, this chapter adopts testing methods to introduce the testing of main core functions;

(3) The third part is the summary, acknowledgments and references.

  

Chapter 2 System Analysis

2.1 System use related technology analysis

2.1.1 Java language introduction

The Java language is a distributed and simple development language with good features in terms of security and performance. It is very suitable for use in the Internet environment, and it is also the most commonly used programming language in enterprise-level applications, with great influence. It is mainly developed in an object-oriented form, so that it can better meet people's needs. In programming development and use, it is mainly realized by encapsulation and class, which has good editability and operability. This is the biggest feature of object-oriented language. It can also encapsulate classes with common characteristics in the same class. Together, an abstract class is formed. The abstract class describes not an object, but an entity, so that it can be instantiated during use to achieve better results. Classes can also be inherited. For example, a class can inherit the characteristics of another class, so that it can be reused. Therefore, this kind of inherited class is actually the same class body, so that the maximum effect can be achieved. . The code developed by Java also has good scalability, and different effects can be achieved through different classes, which can better improve the efficiency of use, and it is very convenient in later maintenance, and the developed code is more practical and concise.

2.1.2 M ysql database introduction

Mysql database is a database management software launched by Oracle Corporation. It has a good performance design and can give full play to and utilize the advantages of the Internet. It is also very convenient in database management and supports graphical management. It is very suitable for beginners and can be used directly. Data management and configuration are performed locally, and it has powerful data processing capabilities and good security. In the process of data storage, it can support multi-processor storage structure, can automatically produce and process Sql statements, has very powerful data reading and copy storage functions, and the most important thing is an open data software that can be used for open Personnel provides a good database management platform. Mysql is an open source software, which is free for users, suitable for the development and use of small projects, and stores a lot of data in the form of standard Sql statements. It supports the development of many different languages, such as Java, PHP, C++, etc., which are all well compatible, and are very suitable for the development of Web languages. And for developers with personalized requirements, it also supports customization, because the open source GPL agreement is adopted, so developers can directly modify the code to meet their own needs. Mysql is a C/S architecture database management software, which can be directly managed through the database client. It is mainly divided into a server and a client. The server is automatically started with the system when it is installed. Generally, no additional Operation, you can directly open the client when using it, and then enter the port and the password set during installation to log in, and you can disconnect the database link when not in use, so as to ensure data security.

2.1.3 Tomcat server introduction

Tomcat server is a small and lightweight server, which is very suitable for some small systems and local servers, especially for some novice developers. The Tomcat server is mainly used as the server of the JAVA program. The Tomcat server is equivalent to an extended application of Apache. The difference is that it can run independently. After the Tomcat server is configured on the client, the data access to the HTML page can be directly completed through the server. and respond. It is very popular with programmers, because it occupies a very small amount of running space, does not affect server performance, and has good scalability, supports many commonly used functions in the development process, and can be continuously improved and perfected according to the needs of developers, so It is said that the Tomcat server is currently a very widely used server.

2.1.4 S springboot framework introduction 

The Springboot framework is an SSM framework , which belongs to a simple web framework. During work, requests are sent to the controller through the page, and then the controller calls the processing logic, and finally the logic layer sends messages to the persistence layer, and finally the controller calls the view to display the data. SpringBoot can be understood as a simplified version of the Spring framework model, which can run directly and independently in various development applications to develop various product applications. SpringBoot combines many frameworks together. Once the framework model is established, all the Spring components needed can be directly and automatically generated. It is very intelligent. You don’t need to write various xml configurations yourself, and you can automatically configure all kinds of components. The required file package simplifies development. If you have additional requirements, you can manually modify the default value. SpringBoot also directly integrates the embedded Servlet container, so there is no need to package the WAR package additionally, and automatic configuration and version control can be performed directly. No redundant code generation is required, and it can be used out of the box, which can reduce garbage and improve the operating efficiency of the system. The core feature of SpringBoot is that it can generate independent microservice units, that is, write all code modules in a separate application, so that the direct adhesion of functional code is very high, and the compatibility is better, and Each functional module can also be deployed separately, and different modules can generate different small services, so that they can be upgraded individually, and then the communication between applications can be realized. The first step to build a project with SpringBoot is to configure SpringBoot dependencies first. When building, you don’t need to set the version separately. You can directly import various web modules required by the project through the scene launcher that comes with the system, and then import the required Call out the functional scene, generate a launcher, and directly import various dependent components into the project, and then import any scene that needs any function.

2.1.5 VUE Framework Introduction

At present, there are many front-end frameworks that can be used. Why choose the Vue framework? Because with the advancement of technology, the front-end also needs to deal with a lot of business work, and the webpage functions also need to become more powerful to meet the needs of the front-end. Development needs, and these are inseparable from the JavaScript framework. Now the front-end code developed is directly generated and executed in the browser, which automatically generates a lot of JavaScript code, and then these codes are combined with various page layout and style files Combined together, various integrations can be performed through vue; secondly, the code created through vue is more maintainable and has good testability. For example, if you already have a server-side code application, you can directly embed it into vue for Use, so as to have a better interactive experience and better meet user needs. You can also directly put the business code logic into the front code to implement according to your needs, to meet the various needs of users, and to perform various customized operations. Vue can also reuse the front-end web page code, directly use it where web page rendering is required, and execute commands through Vue, making development easier.

2.1.6 Introduction of Idea running software

Generally, projects running Java language development will use Eclipse software, Myeclipse software and Idea software. Compared with Myeclipse software, Idea software adds intelligent assistants, which can make system debugging faster and speed up system operation. Compared with Eclipse software, Idea software has more plug-ins, which saves time for downloading more plug-ins. Idea software is a rising star, and now most of the projects developed by the SpringBoot framework use Idea software to run. Idea software can be installed by searching the installation package on the Internet, and it can be completed according to the prompts during installation, and it can be registered for free, which is very suitable for practice. Idea software is also very simple to use. After importing the project, the project can be run through simple settings, and system development and system debugging can be integrated. The most important thing is that when using Idea software to develop system projects, Idea software will Self-correcting and prompting errors. Its intelligent assistant can intelligently correct programmers' elementary errors in programming, and can also intelligently prompt major errors, which is convenient for developers to modify at the source of errors so that more serious problems that cannot be corrected occur.

2.2 System Feasibility Analysis

   Whether the system is feasible determines the success of system development. If you want the design work of the system to not be in vain, you need to go through a detailed system feasibility analysis. According to full investigation and reference to relevant papers, the feasibility analysis of the system generally includes three types: the technical feasibility analysis of the system, the economic feasibility analysis of the system, and the operational feasibility analysis of the system.

2.2.1 System economic feasibility analysis

   This system is a Web-type website, which is developed by Java language. The development cycle is relatively short and the technology is mature, so there is no excessive investment requirement in the development process, and it has good economic feasibility.

2.2.2 System Technical Feasibility Analysis

The technologies used in this system include Vue web page technology, Mysql database, B/s mode, Java language, etc.

(1) The development of front-end pages through Vue has good stability, and can be directly upgraded and maintained online, which can realize data management more conveniently. The biggest feature of Vue is that the system has automatically completed the large and unimportant tasks in advance. Simple work, can automatically generate a lot of routine code, which reduces a lot of work. Moreover, Vue technology is very mature, and there are many cases that can be referred to.

(2) The database uses Mysql database, which is also a small database very suitable for students. It is very simple to use and has high data processing efficiency.

(3) Websites using the B/s model are already the mainstream of development at present, and they are also the future development direction.

(4) Java language is used to develop the background code, which is an object-oriented development language. You can directly view and call the used cases, you can directly call the Xml service, and the compatibility is very strong. No matter which platform, you can directly Call, and it is universal, can improve the developer's work efficiency, and has good flexibility, which is very convenient to use.

Therefore, through the analysis of the above points, as long as the developers can skillfully operate the above technologies, it is feasible to develop the technology.

2.2.3 Feasibility analysis of system operation

 Because this system is developed using the B/s architecture model, only the browser and database server installed can access and use the system. And it is very simple and easy to operate, ordinary users only need to have the simplest Internet operation experience.

2.3 System requirements analysis

Requirements analysis refers to determining what problems the system development is to solve before system development, and what information is input into the system, what results are desired, and what results are finally presented. Simply put, needs analysis is to ask "what do you want to do" and then find the answer through the question "what do you want to do". Requirements analysis is a very important process, but also a very difficult one. Requirements analysis has the right to decide whether the system should be developed, and also provides the cornerstone for the later development of the system. In the requirements analysis stage, it is necessary to pay attention to the fact that it is difficult to form communication between system users and developers and the needs of system users will always change, so the dynamic development perspective should be used to look at the problem during requirements analysis.

    Now the technological development of the online shopping system is very mature, and the sales of major e-commerce platforms are also very impressive, especially in some important festivals, the daily sales will reach billions. The second-hand mobile phone management system of Huaqiangbei Mall based on Springboot can facilitate users to choose products that are more suitable for them, and the after-sales service is very perfect. Now merchants selling second-hand goods will also use a combination of online and offline methods to sell goods. Users can shop independently, merchants ship online, and new ones, etc., are very suitable for modern life. Second-hand trading websites are the trend of the times, and their demand is self-evident.

2.3.1 Analysis of Advantages and Disadvantages of Traditional Sales System

  In the earliest sales systems, human workers are mainly used. This type of sales system mainly adopts the C/S mode, which can ensure the security and storage of data. The databases are also complex and high-performance databases. This type of sales system requires regular training for users before they can be used. With the rapid development of the network, the shortcomings of this type of sales system are gradually exposed. Since the C/S model must require a fixed client, this requires sufficiently strict client conditions. Once a client has a problem, the system will There will be problems with the data, the stability is poor, and the biggest problem of the C/s mode system is that it cannot be modified many times. If the system has been supplemented and modified many times, it will cause operation errors and cause inconvenience to the use of the system. Traditional sales systems usually use scripting language, which is immature and prone to errors, resulting in loss of users.

2.3.2 Analysis of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot

  Through the analysis of the traditional sales system, it is found that the main problems lie in the system's model architecture and database. If you want more stable data, you need a more stable database. A good database can ensure that the system has greater fault tolerance and portability, and can also be combined with multiple databases to ensure the security of data in the system. At the same time, we also need to pay attention to the continuity of the system. The continuous development of the times will require more perfect system services. To make the life cycle of the system longer requires a more mature development language, technology, environment, etc.

The second-hand mobile phone management system of Huaqiangbei Mall based on Springboot adopts the model architecture of B/s. The B/s framework can be separated from the fixed client, and the system can be deployed on the browser for users to use. Functions can also be divided into modules for use. The database and the operation interface are separated, so that when any problem occurs on one side, the other side will not be affected. The database uses Mysql, and the Mysql database can run independently. When the user performs the operation, the data after the operation can be automatically saved, and the problem of changing the data needs to be modified in the database. The development language adopts Java, and the Java language is a dynamic language, which has been used for a long time and has developed very maturely. Other technologies of this system include Idea running software, Vue web page technology, Html technology, etc., which have passed the test of time.

2.4 System function analysis

Referring to a large number of second-hand trading software and fully investigating the needs of staff, merchants, and buyers, I designed this Springboot-based Huaqiangbei Mall second-hand mobile phone management system. The roles are tourists, registered users, administrators, and merchants. The framework interface is divided into the front desk, the registered user interface, the administrator operation interface, and the merchant operation interface. The function of the front desk is designed as:

  1. Search function, whether tourists, registered users, administrators, or merchants can use this function to search for specific products;
  2. News function, different news are displayed in this interface, tourists, registered users, and merchants can only browse information at the foreground;
  3. Product display function, this interface displays all product details, visitors can learn more about it, and registered users can make purchases after logging in;
  4. User registration function to achieve the purpose of registration.

 The functions of the background administrator are designed to:

  1. Commodity information management function, put on, off the shelf, edit, etc., you can also check the evaluation of the product;
  2. Order management function, this function can receive the user's order and review the order;
  3. News management function to realize the release of news;
  4. Commodity category management function, this function can help users realize the classification of commodities;
  5. User management function to realize the management of registered users;
  6. Administrator management function, realize the modification management of administrator information and password;
  7. Carousel map information function, add pictures and set carousel map.

The function design for registered users is:

  1. Personal data management function to realize the modification and maintenance of data during registration;
  2. My collection function, manage the information you have collected;
  3. Shopping cart management function, manage the goods in the shopping cart;
  4. Order management function, manage your own purchased orders.

The Merchant function is designed to:

  1. Personal center function to realize the management of business information;
  2. Commodity information management function, release commodities and manage sales orders of commodities.

2.5 System performance analysis

Another important point in system analysis is the performance analysis of the system. Except for the functional analysis of the system, other issues can be divided into the performance analysis of the system. It mainly includes system data issues, system operation issues, and system security issues.

  1. The problem of system data is manifested in the design of the database, because the core of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot lies in the purchase and sale of commodities, and various data changes will be caused during the purchase and sale operations. If you want the data to change without error, you need to pay attention to the primary and foreign key relationships of different data fields, types, etc. when designing the database;
  2. The problem of system operation is manifested in the stability of multi-platform and multiple people running the system. The running speed of the system also needs to be paid attention to, the running freeze, code reading speed, etc. need to go through multiple tests;
  3. The security problem of the system is manifested in the use permissions of different roles. Tourists, as the role with the least authority, cannot exceed their authority, and administrators, as the role with the most authority, must be able to manage other roles.

2.6 Use Case Diagram

   According to the functional analysis, the main roles of this system are administrators, registered users, and merchants. Registered users can view news, browse products, purchase products and manage shopping carts, orders, etc. Administrators can manage system information, registered users, product information and news, order information, product evaluation, classification information, etc. Merchants can manage product information and product orders. The system use case diagram is shown in Figure 2-1 below:

   Figure 2-1 Use case diagram of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot

2.7 System Business Process

The business process can be designed according to the steps of the user using the system. The process of registered users in this system is to view news, browse products, purchase products, add to shopping cart, manage orders, and evaluate products, etc. The administrator's process is to manage news, user's order, user's registration information, manage products, etc. Merchants can manage products and product orders, etc. The business process of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot is shown in Figure 2-2 below:

    Figure 2-2 The business flow chart of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot

(1) User registration is the only way for tourists to become registered users, and information needs to be entered and judged during registration. The flow chart of user registration is shown in Figure 2-3 below:

Figure 2-3 Flow chart of user registration

(2) When users evaluate, it is necessary to judge whether they are logged in, and then judge whether the content of the evaluation is legal. The user evaluation function can realize the communication between users and merchants. The user evaluation flow chart is shown in Figure 2-4 below:

Figure 2-4 User Evaluation Flowchart

(3) The process of purchasing goods requires the cooperation of various data, and the process of purchasing goods belongs to the core of this system. Confirm login on the home page, then browse products, add shopping cart, purchase, checkout, etc. The product purchase process is shown in Figure 2-5 below:

Figure 2-5 Product purchase flow chart

Chapter 3 System Design

3.1 Analysis of system design process

A good system needs to adopt a certain process in the system design to be able to develop smoothly. First of all, it is necessary to investigate the needs of users. The users here are not only ordinary users but also system managers and staff. Only by fully understanding their needs can we design a system that meets the requirements. Secondly, choose the development language and Technology, environment, development language and the choice of technology and environment are very important. Only open source, long life cycle, and strong compatibility technology, environment, and language can guarantee the life cycle of the system, and then study the existing related similar systems. Problems and finding feasible solutions. Finally, and most importantly, it is necessary to ensure the advanced nature of the system as much as possible, so that it will not be eliminated prematurely.

3.2 System detailed design and design principles

The detailed design is to first determine how to implement the system. That is to say, through this process, the description and planning of the specific functions of the system must be completed, so that you can directly follow the planned functional modules when coding the program. for development. The detailed design stage has not yet reached the program development stage, but the program must be designed first, which is equivalent to a draft. First plan each step of the design, and then code directly when implementing the code. system design. Therefore, the detailed design of the system is also a very important step. The quality of the design also determines the final quality of your program. Therefore, you must first carry out the rationalized detailed design of the system, and then have a thorough understanding of the design plan of the program. Write the code like this It is necessary to check whether the logic is correct, whether the performance meets the needs of users, whether it is easy to understand, and whether it is easy to operate. All the issues that need to be considered must be well designed. This makes it easier to write code.

To develop a successful system, you must first have a clear positioning, which is the purpose of developing the system, and then determine the specific implementation functions of the system, the specific costs that need to be invested, and then conduct market feasibility analysis to finally determine whether the system is feasible before launching next step. Only after detailed preliminary research can we avoid many other problems in system development and ensure the smooth development of the system. Therefore, a successful system must first have the correct idea of ​​the plan, and then design the corresponding data structure, development environment, and network architecture according to the requirements, and then form a complete system. Only in this way can the system be more useful. Therefore, through this idea, the development of this system adopts the following specific principles:
    (1) Effectiveness: The effectiveness here is mainly through two levels, the first is usefulness, and the second is usability. Usefulness mainly means that the developed system has market demand, and it is implemented from the perspective of users. Usability mainly means that users can meet user needs after using it. Therefore, both aspects must be taken into consideration at the same time, so that the system developed in this way is a good system, a successful system, and can satisfy users.
    (2) Compatibility: A successful system must be compatible with different environments. It must fully consider that users can achieve the same effect under different hardware, and must ensure very good compatibility.
    (3) Security: User security is also the most important link, because with the development of network information, user data security, information security, and privacy security are all very important. Since the hardware and software are reasonably and fully utilized to ensure the sharing of user resources, the security of system data must also be guaranteed, and there must be backup and recovery functions. Users with each permission have their own different operation permissions to ensure data security.
    (4) Advancement: The development of this system adopts the currently popular springboot framework, which can meet all the functions of the development of this system. The database uses mysql, and the data is also well stored safely. It is developed on the Microsoft platform, which is a good guarantee The compatibility and ease of maintenance of the system are improved.
    (5) Adoption of standard technology: The various technical standards used in the development of this system are all current international standards, so that the system has a good openness.

3.3 System Architecture

    The architecture of the system is very important and often determines the quality and life cycle of the system. Different system architectures can be adopted for different systems. This system is a second-hand mobile phone management system of Huaqiangbei Mall based on Springboot, which belongs to an open platform, so B/s is adopted in the system structure. The B/s structure abandons the fixed client requirements and adopts the server and client mode. The user operation interface is displayed in the foreground, and the administrator operation interface is displayed in the background. The B/S structure is based on the Internet and requires the support of the network. The user issues commands on the browser, the server is responsible for transmitting the command to the database, and finally the server sends the feedback result back to the browser for presentation to the user.                                                            

3.4 System function structure

The functional structure of the system is the framework for system realization, and the main structure of the system is administrators, users, and merchants. The functions of the administrator are personal center management, news management, commodity management, order management, carousel map management, etc. The user's functions are online registration and login, news browsing, product information browsing, my shopping cart management, my order management, collection management and product evaluation, etc. Merchants can manage product information and orders for products, as well as personal data. The functional structure diagram of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot is shown in Figure 3-1 below:

     Figure 3-1 Functional structure diagram of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot

3.5 System interface design

3.5.1 Principles of interface design

If the system follows certain principles in the interface design, the design can be smoother, the occurrence of errors can be reduced and the number of revision errors can be reduced. The interface design of the system is also very important. Only a good interface can attract users and ensure that users are retained. The principles of interface design are generally:

  1. For the same function, such as the modification of personal data management of different roles, the design is designed in the same style, so that users can develop their operating habits and know the function of this function at a glance, without further study;
  2. The operation interface of different roles can be designed separately, so that the roles can be distinguished. Reminder information also needs to be set on the operation interface of the role, so that the user can see the currently logged-in role at a glance;
  3. Try to design the interface as much as possible to reduce manual typing. Manual typing takes time and effort, and the error rate will increase. If you change the method to select and automatic, you can reduce the typing pressure of users. For example, in the gender input during user registration, the category of information input, etc.;
  4. During the operation, you can set as many prompt words and prompt boxes as possible to prevent the user from wrongly operating and provide guidance for the user's operation. For example, if the user fails to log in, it can prompt why the login failure is due to a wrong password or an incorrect account number.

3.5.2 Design principles of information input function

In order to improve the correct rate of information input and reduce the user's information input pressure, the principle of reducing manual input as much as possible can be adopted in the design of information input function. The design principles of the information input function are:

  1. You can use multiple selection boxes, list boxes, etc. to reduce manual input. When you need to input a large amount of text, you can design it that can be copied and pasted, or you can use specific abbreviations instead;
  2. Use a fixed format design to reduce the user's wrong input. For example, when entering contact information, only numbers can be entered. When entering other information, it will prompt "incorrect format". When entering quantity, it can also be stipulated that only numbers can be entered.

3.6 Database design

The database is mainly used as database storage, which is also an important step in the system. The process of database design is also divided into three stages. The first is the analysis of database requirements, the second is the establishment of a conceptual model of the database, and the last is the database logic design. Database requirements analysis is to find out the clear needs of users for developing this system, that is, what information needs to be realized from this database, and then what type of tables are created, what data storage each table corresponds to, and the design of each field must be considered It is understood that for the safety and reliability of the database, it is necessary to think from the perspective of system engineering when designing. In the requirements analysis stage, it is also necessary to consider from the user's standpoint, conduct data security analysis, and at the same time conduct data statistics and analyze user needs. In the database establishment stage, the first thing to consider is each data field, whether the daily data can meet the basic needs, whether the system is safe and reliable, whether the performance is good, whether the operation is convenient, and post-maintenance, etc. The last is the implementation stage of the database function, which is mainly to add, delete, modify and check the data, whether it can be operated correctly, and whether it meets the system requirements.

Database design is divided into two parts, database concept design and database logic design. The conceptual design of the database is mainly to design the ER diagram of the data, and the logical design of the database is mainly to design the database table of the data.

3. 6 .1 ER Diagram Design

The database ER diagram is designed in a bottom-up manner. First, view design is performed from the role of the user, and then these designed views are integrated. Finally, the results are obtained through analysis based on the integration. The ER diagram is designed in the form of entities and connections, and the content in the ER diagram includes entities, attributes, and relationships. Entity refers to the data used in the work of the system, attribute is the description of the content included in the entity, and relationship refers to the connection between entities. According to the characteristics of this system, the main entities designed by this system include administrator information, user information, commodity information, order information, news and evaluation information, etc.

  1. The attributes included in the administrator ER diagram are the administrator's number, user name and password. The administrator ER diagram is shown in Figure 3-2 below:

Figure 3-2 ER Diagram of Administrator Entity

  1. The attributes included in the product information are the detailed description of the product, including product number, product name, and so on. The product information ER diagram is shown in Figure 3-3 below:

Figure 3-3 ER Diagram of Commodity Information Entity

(3) The attributes of registered user information include the user's personal data, including name, gender, phone number, etc. The ER diagram of the registered user information entity is shown in Figure 3-4 below:

Figure 3-4 Registered User Entity ER Diagram

(4) The attributes of the order entity include order time, order number, orderer, etc. The ER diagram of the order entity is shown in Figure 3-5 below:

Figure 3-5 ER diagram of order information entity

(5) The attributes of the evaluation information entity include evaluator, evaluation content, evaluation time, etc. The ER diagram of the evaluation information entity is shown in Figure 3-6 below:

Figure 3-6 Evaluation Information Entity ER Diagram

(6) The attributes of the news entity include title, content, and release time. The news entity ER diagram is shown in Figure 3-7 below:

Figure 3-7 News Entity ER Diagram

(7) The overall entity relationship diagram of the second-hand mobile phone management system of Huaqiangbei Mall based on Springboot is shown in Figure 3-8 below:

Figure 3-8 System relationship ER diagram

3.6.2 Database table design

   According to the design of the data ER diagram, the database tables of this system include administrator information table, user information table, product information table, evaluation information table and so on. The database tables of this system are shown in Figures 3-1 to 3-12 below:

Chapter 4 System Implementation

4.1 Interface implementation of user registration function

   The purpose of the user registration function design is to realize the user's operation. If you want to operate in the system, you need to become a registered user first, and visitors can only browse information. The user's information field is set in the user registration function interface, and the data in this interface is connected with the user information table. When the visitor successfully registers in this interface, the filled information will be saved in the user information table. The operation interface of the user registration function is shown in Figure 4-1 below:

Figure 4-1 The running interface of the user registration function

4.2 Interface implementation of login function

After successful registration, the user needs to log in. The purpose of the login interface design is to ensure the current role level used. Administrators and merchants also need to log in before they can operate. There are two interfaces for user login and administrator and business login. You only need to fill in the user account and password when logging in. The running interface for user login is shown in Figure 4-2 below:

Figure 4-2 The running interface of user login

The elements included in the administrator and merchant login interface include system title, input box, and login button. At the same time, merchant registration and user registration functions are designed. The conditions for the administrator to log in are account number, password and identity. The operation interface of administrator and business login is shown in Figure 4-3 below:  

Figure 4-3 Administrator and business login operation interface

4.3 Design and implementation of administrator functions

4.3.1 Realization interface of user management function

The profile administrator after user registration can be seen in the registered user management function. The purpose of this function design is to review the profile of registered users, and users can delete their accounts when improper use is found. When the registered user information is deleted, the information in the corresponding user information table will also be deleted. The operation interface of the registered user management function is shown in Figure 4-4 below:

Figure 4-4 The running interface of the user management function

4.3.2 Realization interface of user center management function

   The content managed by the user center includes managing the administrator account and changing the password. There can be multiple administrators in this system. The operation interface of the user center management function is shown in Figure 4-5 below:

Figure 4-5 The operation interface of the user center management function

4.3.3 Realization interface of news information management function

    The news that the user browses is maintained and added by the administrator in this function. Similarly, when the administrator adds and edits the news, the section table in the database table will also change. The running interface of the function of adding news information is shown in Figure 4-6 below:

Figure 4-6 The running interface of adding news information function

The news information management function also queries news. The running interface for querying news is shown in Figure 4-7 below:

Figure 4-7 The operation interface of querying news

4.3.4  Realization interface of commodity collection management function

    Administrators can query favorite information and manage favorite information. The operation interface of the query product collection function is shown in Figure 4-8 below:

Figure 4.8 Query commodity collection operation interface

4.3.5 Realization Interface of Order Management Function

After the user places an order, the administrator can receive it in this function. After the review order is correct, you can proceed to the next step. The operation interface of the order management function is shown in Figure 4-9 below:

Figure 4-9 The operation interface of the order management function

4.3.6 Interface Realization of Commodity Information Management Function

   The product information is reviewed by the administrator, and the evaluation of the product can be queried. The operation interface for querying product information is shown in Figure 4-10 below:

Figure 4-10 The operation interface of the query product information function

4.4 Interface Realization of User Role Function

4.4.1 Interface realization of product browsing function

   At the front desk, you can browse all classified products. The product details mainly display the picture, price and title of the product. The operation interface of the product information browsing function is shown in Figure 4-11 below:

Figure 4-11 Browse product operation interface

4.4.2 Realization interface of order submission function

    Select the product and click Buy to jump to the order submission interface. In this interface, you need to fill in the purchase quantity and delivery address. The operation interface of the submit order function is shown in Figure 4-12 below:

Figure 4-12 The operation interface of the user submitting the order

4.4.3 Realization interface of shopping cart management center function

Users can also add items to the shopping cart. The running interface of the shopping cart management function is shown in Figure 4-13 below:

Figure 4-13 The running interface of the shopping cart management function

4.4.4 Realization Interface of Order Management Center Function

   Users can manage orders and return goods in their personal center. The implementation interface of the order management function is shown in Figure 4-14 below:

Figure 4-14 Operation effect of order management function

4.5 Realization Interface of Merchant Role Function

The main function of the merchant is to publish products and manage product orders. The interface for realizing the merchant role function is shown in Figure 4-15 below:

Figure 4-15 Function realization interface of merchant role

Chapter 5 System Testing

5.1 Method of system testing

Generally, the methods of system testing are divided into two categories. One is to test mainly for system function logic called white box test, and the other is to test mainly for whether system function is wrong or not is called black box test. Black-box testing is less difficult, mainly using continuous experiments with different data to test the system. For this system, the method of black box testing is mainly used for testing.

5.2 Test environment and test conditions

The test environment of this system is Idea software and Mysql software. I used to install different versions of the software on different computers for testing. The test conditions of this system are computer room computer, personal computer and classmates' computers.

5.3 Example test form

   First of all, determine the functions to be tested, organize each function into a table, and record the test process and test results to facilitate future comparison and problem discovery. The test form of this system is shown in Table 5-1 below:

Table 5-1 System instance test form

5.4 Test Summary

   Through the test, it is found that the functions in this system can run correctly. According to the analysis of the test table, the functional logic of the system is also correct. This system can realize online commodity management and transactions, which is in line with market development. This system has realized the purpose of expanding the sales scope of merchants, and also facilitated the shopping of users, and completed the established goals.

Summarize

Through this design and development, I have become familiar with every process that needs to be experienced in the process of system development, and have mastered my own knowledge. During the development process, I discovered that I still have many deficiencies and deficiencies in learning, so I inevitably encountered many different problems. For example, the relationship between the database tables established at the beginning was not clear, and there were too many tables built, many of which did not make the necessary connections, and then referred to some successful development cases of others, and then adjusted the structure of the database to be more realistic , the database is realized, the relationship is close, simple and direct. In addition, the code is too cumbersome, many logic codes and classes are repeated, and then through the study of this aspect and consulting the teacher, the rectification is carried out, the same logic code and class can be directly called in different modules , which greatly improves the utilization rate of the code and is more efficient. Due to my limited technical level, there are still many deficiencies, such as the interface design is not simple and beautiful enough and so on.

   Although there are many deficiencies in the design process, it basically meets the original development needs. My biggest receipt is the accumulation of valuable practical experience, which has laid a good foundation for future study and work. In the days to come, I will study harder to make up for my various deficiencies, and focus on learning the difficulties found in the development process, so as to make the system developed in the future more perfect.

thanks

After three months of hard work, my graduation project was finally completed. I experienced a lot of difficulties and setbacks, and there were many mistakes that caused the system to fail to run. Thanks to my instructor, I found the problem in time. Taught me how to solve problems and pointed me in the right direction, so that my graduation project can be successfully completed. So on the occasion of graduation, I would like to express my sincere gratitude to my instructor. The teacher not only taught me a lot of learning knowledge, but also taught me a lot of principles of life, so I would like to thank my teacher again, Thank you teacher, you have worked hard.

   Secondly, I also want to thank my classmates. The graduation design process is also inseparable from your enthusiastic help and valuable opinions. In the end, the design was successfully completed and continuously improved. The time in college is coming to an end, and we have to take up different jobs. I wish everyone all the best, and let us repay our motherland and our alma mater together. Let us work hard together.

references

[1] Our reporter, Zheng Fei, and our correspondent, Dang Lihang. Shanhuo Youwang "goes" to the world [N]. Shaanxi Daily, 2021-08-18(010).

[2] Wang Xiaojuan, Xu Huigang, our reporter Zhu Xiwei. "Internet +" helps rural revitalization [N]. Jiujiang Daily, 2021-08-18(002).

[3] Liang Chao, Chen Yu. E-commerce enters the countryside to create a new engine for development [N]. International Business Daily, 2021-08-18(008).

[4] Chang Jianing, Pan Lin. Design of an online shopping system based on B/S [J]. China Science and Technology Information, 2021(15): 71-72.

[5] Hu Xiaochun, Hu Kai, Chen Yan. Research and development of second-hand trading website based on JAVA [J]. Information Technology and Informatization, 2021 (01): 18-21.

[6] Mo Juncheng, Tian Xiuyun. System design of online shopping platform based on JAVA [J]. Electromechanical Engineering Technology, 2021, 50(01): 103-105.

[7] Wang Chunming. Design and Implementation of JAVA-based Second-Hand Trading Website [J]. Electronic Technology and Software Engineering, 2020(20):48-50.

[8] Wang Wei. Design and Implementation of Pattern-Based Web Application Interface Development Tools [D]. Northwest University, 2020.

[9] Ma Yaqi, Liu Dongxu. On the Design of Campus Online Shopping System [J]. Computer Knowledge and Technology, 2020, 16(14): 274-275.

[10] Liang Zheng, Zhou Weihang, Liang Jun. Design and Implementation of E-Commerce Shopping System [J]. Shopping Mall Modernization, 2019(11):20-21.

[11] Zhu Cheng. Design and development of second-hand trading platform [D]. Nanchang Hangkong University, 2019.

[12] Wang Shengyu, Ye Chuanqi, Liu Di, Li Chuang, Jiang Wenjie, Chen Xin. Design and Implementation of B2C Online Shopping Mall System Based on JAVA Technology [J]. Computer Knowledge and Technology, 2019, 15(07): 282- 284.

[13]Hussain Safdar,Song Xi,Niu Ben. Consumers' Motivational Involvement in eWOM for Information Adoption: The Mediating Role of Organizational Motives.[J]. Frontiers in psychology,2019,10.

[14]Dr. E. Murali Dharshan , Japa Asritha Reddy. A Study of Customer Behaviour towards Online Shopping in Hyderabad[J]. Journal of Trend in Scientific Research and Development,2019,3(2).

[15]Jarotwan Koiwanit. Analysis of environmental impacts of drone delivery on an online shopping system[J]. Advances in Climate Change Research,2018.

Guess you like

Origin blog.csdn.net/licongzhuo/article/details/131355511