Campus second-hand item trading platform/second-hand trading system/java-based campus flea market system

Abstract This article discusses the design and implementation of the campus second-hand items trading platform. From the perspective of practical application, the website is implemented using computer website design, database and other related knowledge, network and Mysql database design. The website mainly includes user registration, user Log in, browse products, search for products, view products and make purchases, confirm receipt of purchased products, refund and return products, view personal information, change passwords, add products, and ship products. Administrators can monitor users, Management of product types, product information, order information and other functions. The website interface has a humanized design, is simple to operate and has certain use value. This article mainly discusses the design ideas, functional architecture, technology used, database design, and specific implementation of the website. In the detailed design part, the system function design and database design are mainly discussed. At the end of this article, the test results of the website are explained and summarized. Keywords: springboot framework, java language, campus second-hand goods trading platform, Abstract This paper discusses the design and implementation of the campus second-hand goods trading platform. From the perspective of practical application, the website uses the relevant knowledge of computer website design and database, and the design of network and MySQL database. The website mainly includes user registration, user registration, Browsing Goods, searching goods, viewing goods and purchasing, confirming the receipt of purchased goods, refunding and returning goods,Abstract I Abstract I I 1 Introduction 1 1.1 Development background  1.2 Introduction to e-commerce  1.3 The purpose and significance of this research 5 1.4 The main work of  this paper 1.5 The research content of this paper  1.6 The organizational structure of this paper  2 Introduction to development technology 7 2.1 Java language Introduction 7 2.2 Introduction to mysql database 7 2.3 MySQL environment configuration 7 2.4 B/S architecture 8 2.5 Springboot framework 8 3 System analysis 9 3.1 Feasibility analysis 9 3.1.1 Technical feasibility 9 3.1.2 Economic feasibility 9 3.1.3 Operational feasibility 1 0 3.2 Website performance requirements analysis 1 0 3.3 Website function analysis 1 0 3.4 System process analysis 1 1 3.4.1 User management process 1 2 3.4.2 Personal center management process 1 3 3.4.3 Login process 1 3 4 System Design 1 4 4.1 Software function module design 1 44.2 Database design 1 4 4.2.1 Concept model design 1 4 4.2.2 Physical model design 1 5 5 System detailed design  17 5.1 Front-end function module  17 5.2 Administrator function module 2 1 5.3 User back-end function module 2 5 6 System test 2 7 7 Summary and experience 2 8 7.1 Summary 2 8 7.2 Experience 2 8 References  29 Acknowledgments 3 0

introduction

1.1 Development background

In recent years, cities and social economy have developed rapidly, people's living standards have continued to improve, and consumption concepts have undergone great changes. With the development of Internet technology, the Internet has penetrated into all aspects of people's daily lives, quietly changing people's lifestyles. In China, using websites to trade "second-hand items" has gradually become a common transaction method. For example, our common used car, second-hand house trading markets, salted fish and other similar websites have been developing very well in recent years. The biggest advantage of the development of this type of second-hand trading website is the rapid dissemination of information and high timeliness. With the development of computer and Internet technology, the campus second-hand goods trading platform has provided vitality to the traditional campus second-hand goods trading. However, factors such as consumer attitudes, investment costs, technical talent, payment, and damage to second-hand items have hindered its development. Therefore, solving these problems is the primary task to promote the development of second-hand goods trading on campus. There is still huge potential in the campus second-hand goods trading platform. Most users are still willing to go online to buy some second-hand goods, which are of high quality and low price. With the continuous development of social economy, the consumption level of users is also constantly improving. Most people will buy a lot of goods on Taobao or physical stores, such as clothes, shoes, toys, books, etc., but after buying many goods, Some have been used once or twice, or some have not been used and have been placed at home, becoming second-hand items. Not only do they take up space in the home, but the products are not properly utilized, which is a waste of space and money. So if we can build a campus second-hand item trading platform, these second-hand items can be sold to the users who need them at a cheaper price, so that both users who don’t need these second-hand items and users who need these items can benefit from it. Very beneficial. This is the significance of the establishment of the campus second-hand goods trading platform.

1.2 Introduction to e-commerce

E-commerce is a variety of transactions completed electronically. E-commerce is an advanced application of information technology that is used to enhance business relationships between trading partners. "E-commerce is the realization of an information-based business concept, used to improve the efficiency of the trade process. E-commerce is a new model of business, which connects enterprises in various industries through the Internet, making virtual and real Cooperation is possible." All companies in a supply chain can become a coordinated cooperative whole, and employees in the company can also participate in supplier business processes. Retailers' sales terminals can also be automatically connected to suppliers, so that the purchasing department is no longer needed. Purchase orders will be automatically confirmed and shipped, and companies can provide better services to customers in new ways. The Internet provides a new development opportunity for small and medium-sized enterprises. Any enterprise can establish business relationships with suppliers or customers around the world. In this way, the effective use of information has become an important means for enterprises to enhance their competitiveness in the new economic model. E-commerce will surely become a basic means of trade and communication.

1.3 The purpose and significance of this research

Today is xx, xx. Just like November 11th, many people bought a lot of goods. Like myself, when I sorted out my goods, I realized that I had bought so many things, but Rarely used or never used, these things are as tasteless as tasteless things and it is a pity to throw them away. The emergence of the campus second-hand goods trading platform has given these trivial commodities a new destination, and its market potential can be seen from this. Therefore, it is practical to establish a campus second-hand goods trading platform. While he allows users to sell these things that are of little use to themselves, he can also enable other users to buy things that are useful to them at low prices. In summary, the campus second-hand goods trading platform has the following significance:

  1. Provide a mutually beneficial trading platform between users.

  2. The operation is simple, users can find what they want at home, and it is timely.

(3) It can promote the fine virtues of the Chinese nation of hardship, simplicity, thrift and frugality.

The biggest feature of the campus second-hand goods trading platform is free trading - from sending sales and purchase information to viewing products and negotiating prices, buyers and sellers can choose freely. To sum up, there are some advantages as follows:

(1) For buyers: It is undoubtedly very cheap and can save buyers a lot of money. Moreover, through the transaction of second-hand items on campus, you can know how to save some money, so that you can have a clearer understanding of how to manage money. If it is a second-hand book, you can not only save money, but also save some time to take notes and find a way that suits you on the path that others have taken.

(2) For the seller: He can sell the goods he does not need at a price lower than the market price, so that he does not have to keep those goods and can still make a small income, without causing unnecessary waste, and at the same time, he can Provide some convenience for others, why not?

(3) From an environmental perspective, this can save resources and transfer your unused items to people who need to use them, greatly reducing the reuse of resources. Starting from small things like this is conducive to the transformation of our country into a conservation-oriented society.

1.4 Main work done in this paper

The main work of this article is to start from the demand analysis of the website, combined with the knowledge I learned in school and the materials I consulted in the library, to gradually explain the system composition of the campus second-hand items trading platform, database management and other major aspects of the design. In particular, the design of each module of the website is elaborated in separate chapters. This allows readers to easily understand the entire website's ideas and overall design ideas, which can improve the readability of this paper.

1.5 Research content of this paper

This article mainly discusses the design and implementation of the campus second-hand items trading platform. And its detailed design plan, implementation technology and operation conditions were analyzed and studied, and finally the future work was studied and discussed. This article focuses on the following aspects:

(1) System architecture, main functional modules, main data workflow, backend database design, database configuration and connection;

(2) Detailed design, development and key technologies of each functional module of the system.

1.6 Organizational structure of this paper

  • Introduction: Analyze the background of the project and explain the content of the research.

  • Development technology: The system mainly uses Java language, B/S mode and myspl database, and introduces them.

  • System analysis: including the overall structure of the system, analysis of the system's performance, functions, and flow charts.

  • System design: Detailed design of software function modules and database.

  • Overall system design: describe the functions of the system, administrators and users,

  • Test the system.

  • Summary of experience: The final chapter of the paper summarizes my own summary and thoughts when developing this system and writing the paper, including acknowledgments.

2 Introduction to development technology

2.1 Introduction to Java language

The Java language is a completely object-oriented programming language. The idea of ​​object-oriented programming language is to regard objectively existing things as a class of objects with states and behaviors, and then use abstract methods to find the common states and behaviors of the same class of objects to form a model - a class. Class is the core of Java programming language and the basic abstract unit of Java language. All things in the world are objects, and they can be abstracted into classes with states and behaviors. The main features of the Java language are:

The Java language is typically object-oriented. It provides classes, which in turn provide object models. By using inheritance and polymorphic methods, code reuse can be achieved.

The Java language is safe. The biggest problem to be solved in the contemporary network environment is security. Java has internal security measures to ensure the safety and integrity of the program.

The operation of the Java language is platform independent. Java programs can run on any system as long as the Java operating system is installed.

The Java language is multi-threaded.

The Java language has memory management. Java can automatically manage memory, making good use of system resources and reducing waste.

2.2 Introduction to mysql database

Utilizing MYSQL's data independence, security and other features to operate data in software projects can ensure data accuracy and reduce programmers' application development time.

The characteristic of MYSQL is that it supports multi-threading, can make full use of system resources conveniently, effectively improves speed, and also provides multiple ways to connect to the database; MYSQL's functions are relatively weak and small in scale, but the system requirements are not high. MYSQL can fully meet the needs of this website.

Using MYSQL to establish a system database is not only conducive to the early integration of data processing business, but also conducive to the development of the latter two data expansion operations.

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 B/S architecture

The B/S system can be used through a computer with Internet access. Its biggest advantage is that it does not require the installation of special software. First, the browser sends a request to the server, and then the server processes the request and returns the information to the browser. There is no need to access and calculate the data again. It only needs to be responsible for displaying the data to reduce the requirements. If the client is like a "skinny person", the server will become more and more "fat". Compared with the C/S architecture, the biggest difference between the B/S architecture and the C/S architecture is that the application software of the B/S system uses a web browser as a platform for interacting with users, while C/S requires the development of dedicated applications.

There are currently two popular structures in MIS system structures: C/S and B/S.

C/S structure system: The C/S structure is a client server structure. It can assign tasks to the Client and Server sides, making full use of the advantages of the hardware environment at both ends to reduce system communication costs. The main role of the client is to handle human-computer interaction, execute client applications, collect data, and send task requests to the server. The basic function of the server is to execute background programs. It mainly responds to client requests. In addition, its functions also include: sharing management, communication management, file management, etc. of the data service reservation storage system.

B/S structure system: This network structure simplifies the client and concentrates the center of system function implementation on the server. In this mode, only a browser is needed. This structure hands over a lot of work to the WEB server, only requests WEB services through the browser, and then returns information according to the request.

Usually used within the website network, using C/S. The use of B/S is not limited to intranet use. Taking into account a series of requirements of this management system, the system is developed using a B/S structure.

2.5 Springboot framework

This technology is an open source application framework for the Java platform, and its purpose is to simplify the initial construction and development process of Sping. By default, many framework usage methods are configured, and Jar packages are automatically loaded, in order to allow readers to run spring applications as quickly as possible.

The main advantages of SpinrgBoot are:

  1. Provides a faster and broader entry experience for all spring development;

  2. Zero configuration;

  3. Integrated the configuration of a large number of commonly used third-party libraries;

Provide ready features. Today, all developers in the Java field are using SpinrgBoot, and it has gradually become a leader in the development field.

3 System analysis

3.1 Feasibility analysis

Before developing a system, a system feasibility analysis must be conducted. The purpose is to use the simplest method to solve the biggest problems. Once the program is developed to meet the needs of users, it will bring many benefits. Below we will choose whether to ultimately develop this system from technical, operational, economic and other aspects.

3.1.1 Technical feasibility

The springboot framework was selected for the development of this system. Java provides developers with a rich class library, which greatly reduces the difficulty of programming using Windows and reduces the difficulty of developers in designing algorithms. As a Java developer, Eclipse plays an indispensable role. Its friendly interface and powerful functions bring a lot of convenience to program developers. Coupled with the simple environment and easy transfer, this system is undoubtedly the best choice. Therefore, the backend design chooses to use the MySQL database mainly for establishing and maintaining information. The front-end development requirements should have the advantages of complete functions and easy operation, while the back-end database requirements are to be able to establish and maintain the unity and integrity of data information.

Based on the above goals, the hardware of this system is analyzed as follows:

Pentium 3 processor;

The memory is 2G;

The hard disk is 50G;

The operating system is Window 10;

In terms of software, Eclipse and MySQL database development tools are installed. Based on the above software and hardware requirements, it is feasible to obtain the technology of this system.

3.1.2 Economic feasibility

A Java-based campus second-hand item trading platform. The system software development only requires an ordinary computer to complete the development, and its cost is very low. In addition, as a graduation project, the development cost is basically negligible, and the put into use of the system software can realize a faster and more efficient campus second-hand goods trading platform, while also achieving effective savings in human resources and management resources. , this campus second-hand item trading platform is completely economically feasible.

3.1.3 Operational feasibility

Nowadays, with the rapid development of science and technology, computers have already entered people's daily lives, and people's working environment does not have as many requirements as before. Workers do not need to go to the company to work, and some work can be done at home. . This has greatly improved people's work efficiency. The diversity of operations has also become higher. Therefore, computerization and intelligence of management are inevitable trends brought about by social development. Various intelligent software emerge in endlessly. Different software can meet different needs of users. This not only improves work efficiency but also completes some customer-specific tasks. need. This system not only has a simple and clear interface, but also adopts a visual interface. Users can modify, delete, add and other operations on relevant information by simply using the mouse and keyboard. Because the operation of this system is very simple and easy to get started, it only takes a short time for people who use the system for the first time to get started. It can be seen that this system is operationally feasible.

3.2 Analysis of website performance requirements

Analyze website performance, including system responsiveness, interface simplicity and clarity, storage performance, ease of learning and stability;

System responsiveness: When tens of thousands of people are online at the same time, the response time should be within two or three seconds.

Simple and clear interface: The system interface requirements are simple and clear, the operation is simple, and the user operation is easy to use.

High storage performance: There is a lot of information that needs to be stored in the campus second-hand item trading platform, so the storage capacity of the system is very high, so the database should be very powerful to ensure that the information can be stored safely and stably;

Ease of learning: The system must be simple and easy to use. There are not many complicated operations and only simple learning is required to operate the system.

Stability: The campus second-hand goods trading platform is required to operate stably, with a clear interface and clear fonts, etc.

3.3 Website function analysis

Taking into account the needs of the campus second-hand goods trading platform in real life and careful analysis of the system, the system permissions are divided into three categories of users: administrators, users, and sellers.

(a) Administrator; the functions involved in the administrator's use of this system mainly include homepage, personal center, user management, product type management, product information management, system management, order management and other functions. The administrator use case diagram is shown in Figure 3-1.

edit

Add a comment on the image, no more than 140 words (optional)

edit

Add a comment on the image, no more than 140 words (optional)

Edit

Figure 3-1 Administrator use case diagram

(b) Users can enter the backend to realize functions such as home page, personal center, product information management, order management, etc. The user use case diagram is shown in Figure 3-2.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

Edit

Figure 3-2 User use case diagram

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

Edit

 

 

 

 

Guess you like

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