[Computer graduation project] 189 e-commerce platform

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

Summary

Nowadays, all walks of life in society like to use their own industry-specific software to work. At this point in the development of the Internet, people have found that they cannot do without the Internet. The emergence of new technologies can often solve the disadvantages of some old technologies. Because the management of traditional commodity transaction information is difficult, the fault tolerance rate is low, and it takes time and effort for managers to process data, an e-commerce platform has been developed specifically to solve this problem, which can solve many problems.

The e-commerce platform can realize merchant management, product order management, user management, product management, product evaluation management and other functions. The system uses Mysql database, Java language, Spring Boot framework and other technologies for programming.

The e-commerce platform can improve the efficiency of solving commodity transaction information management problems, optimize the commodity transaction information processing process, and ensure the security of commodity transaction information data. It is a very reliable and safe application.

Keywords: e-commerce platform; Mysql database; Java language


  directory

Chapter 1 Introduction

1.1 Subject background

1.2 Significance of the topic

1.3 Research content

Chapter 2 Development Environment and Technology

2.1 Java language

2.2 MYSQL database

2.3 IDEA development tools

2.4 Spring Boot framework

Chapter 3 System Analysis

3.1 Feasibility analysis

3.1.1 Technical Feasibility

3.1.2 Economic feasibility

3.1.3 Operational Feasibility

3.2 System flow

3.2.1 Operation process

3.2.2 Login process

3.2.3 Delete information flow

3.2.4 Add information process

3.3 Performance requirements

3.4 Functional requirements

Chapter 4 System Design

4.1 System Design Thought

4.2 Functional structure design

4.3 Database Design

4.3.1 Database conceptual design

4.3.2 Database physical design

Chapter 5 System Implementation

5.1 Administrator function realization

5.1.1 Announcement information management

5.1.2 User Management

5.1.3 Merchant Management

5.1.4 Merchant Star Management

5.2 Merchant function realization

5.2.1 Commodity Management

5.2.2 Commodity evaluation management

5.2.3 Commodity order management

5.3 User function realization

5.3.1 Business information

5.3.2 Commodity information

5.3.3 Confirm order

5.3.4 Commodity Orders

Chapter 6 System Testing

6.1 Functional test

6.1.1 Login function test

6.1.2 Modify password function test

6.2 System test results

in conclusion

references

thanks

Chapter 1  Introduction _

1.1 Subject background 

The emergence of the Internet in the 21st century has changed people's lives for thousands of years, not only in the abundance of living materials, but also in the spiritual level. Before the birth of the Internet, geographical location was often a gap in people's minds that could not cross domains. The speed of information dissemination was extremely slow, and the speed and requirements of information processing were still transmitted by people riding horses or carrier pigeons. It is very likely to be lost, and the level of information transmission determines the standard of people's lives. Nowadays, everyone is using Internet software products, setting up computer management from internal management, improving the management level of internal informationization, and obtaining relevant data from external markets with computers for processing. Nowadays, all walks of life have been heavily dependent on computers.

This topic researches and develops the e-commerce platform, making the system installed on the computer a little helper for managers, improving the processing speed of commodity transaction information, standardizing the process of commodity transaction information processing, and making managers more productive.

1.2 Significance of the subject

Traditional data processing must be done on a sheet of paper, and then the statistics are collected on a sheet of paper after processing, and the processing is repeated continuously, and finally a result is given to the highest level as a reference. Before the Internet, this model was a kind of For common things, the efficiency of information management cannot be improved. More people do not necessarily mean more power, because more people will definitely consume more resources, and because human beings need to rest and manage, their thinking will be inconsistent and lazy, so people have developed special help The machines that people calculate are the predecessors of computers. In the Internet age, people find that they can let program suppliers provide solutions, and choose their own suitable solutions to improve their output ratio. Therefore, in daily work and life, various tools that are convenient for people will be found.

The e-commerce platform developed in this project is to provide a solution for commodity transaction information processing. It can process information in a short time, and the information has a special storage device, and the backup and migration of data can be set to be unattended. , From the perspective of manpower, information processing and information security, e-commerce platforms are completely superior to traditional paper-based operations.

1.3 Research content

This paper divides the design and implementation of the e-commerce platform into six chapters to illustrate.

Chapter 1: The background of studying the e-commerce platform, and the significance of developing an e-commerce platform.

Chapter 2: Explain the environment and technology of developing e-commerce platform.

Chapter 3: Analyze the feasibility, performance, process and functions of the e-commerce platform.

Chapter 4: Design the functional structure of the e-commerce platform, design the database ER diagram and design the storage structure of the data table.

Chapter 5: Realize the functions of the e-commerce platform and display the functional interface.

Chapter 6: Explain the system test, and test some functions of the system.


Chapter 2 Development Environment and Technology 

This chapter explains the development environment that needs to be built to develop the e-commerce platform, as well as the programming technology used in the development of the e-commerce platform.

2. 1 Java language  

The Java language is one of the evergreen trees that are still alive in the programming language industry today. The most primitive birth of the Java language is not only the creators who feel that the C language is very troublesome in programming. If you only focus on the processing of business logic, you will ignore various pointers and garbage collection operations, resulting in time to solve problems. It is often greater than the time for normal programming to process business logic, which is a waste of time. The creators of the Java language considered how to avoid this problem, and automated pointer processing and garbage disposal. Although this will lose some performance, the development speed of computer hardware is very fast, and these performances can be ignored. . Moreover, the C language is a language for hardware development. Although the execution efficiency is high, as the hardware changes or the operating system changes, it is necessary to rewrite the program, resulting in duplication of labor. Only the language that solves the repetitive labor is considered to be in line with the law of survival. language. The creator of the Java language developed the Java language specifically for the shortcomings of the C language. Let the Java language run no matter what kind of environment it is in, because there is a shell outside the running of the Java language, that is, a virtual machine. As long as the Java virtual machine can be installed on a computer, Java programs can be run.

2. 2  MYSQL database

MySQL database is a professional software for data storage, and it is also a traditional row-based data model. Some data is obtained row by row first, and then displayed row by row, which is different from columnar databases. The row database mainly deals with the most important data logic part, and it must be valid data, so that the data association in each place is indestructible. For stricter data security requirements, it is better to use the MySQL database. The invention of the columnar database is only because of the high reading efficiency, but that's all. Compared with Oracle or SQL Server, the installation package of MySQL is only tens of megabytes or even hundreds of megabytes, which is a bit small, but its functions are not weak, and it strictly follows the SQL standard syntax. The data storage form of MySQL is from large to small. The database is the largest, and then the table. There are certain rules for storing data in each table. The data storage is in the form of a table, that is to say, there are horizontal and vertical. Rows generally represent a piece of data. Tables can also be associated and divided into tables. If a piece of data has too many attributes related to items, you can associate valid related links and set whether they are unique.

2.3 IDEA development tools

IDEA is a development software created by Java programmers and developers in the Czech Republic. At the beginning, it was mainly because they were not comfortable with Eclipse software, so they developed this software directly. The reason why it is not smooth is that there is no code promotion function. The reason is that Eclipse only uses code hints as a plug-in form. If some program developers are not clear about code hints, plug-ins may cause problems, and code hints are only used as plug-ins. So there is a lack of functionality. IDEA not only does a good job of code hints, but also makes it even more powerful in code refactoring. Program developers can choose a piece of code and then IDEA will decompose and refactor the code, effectively making the code more layered and reusable. Higher reliability, more concise and convenient to use, greatly reduces the code workload, and improves the efficiency of code development. Of course, IDEA is so good for users, and there must be a purpose. The reason is that the more plug-ins are more friendly, it will cost a lot of money to use, so the use of IDEA mainly depends on your preferences.

2.4 Spring Boot framework

Spring Boot is a framework that does not require code generation, and does not need to configure any XML files, because Spring Boot comes with a lot of interfaces, just need to configure different interfaces to automatically apply and identify needs The dependency is very convenient in terms of configuration, and it feels like a framework is not used when using it. Spring Boot has many default configuration files, and the default configuration files can be modified, can be set to be automatically loaded, and exception handling can be divided into global exception handling and default exception handling. During the use of Spring Boot, it is like registering directly with what is used. The so-called registration is to make a special statement on the corresponding class and method.


Chapter 3  System Analysis

After confirming the subject of research, the author of this paper downloads documents from major digital libraries to read, and understands the general functions of the same type of websites, and then analyzes specific affairs to obtain the specific functions and performances to be studied by this system. Although the stage work of analyzing the system is mainly to determine the function, it affects the progress of the subsequent system development link, and the system analysis link is indispensable.

3.1 Feasibility analysis 

Analyzed from three different angles, the premise to ensure the success of the development is the feasibility analysis. Only by analyzing in advance and conforming to the program development process can the development process not be interrupted.

3.1.1 Technical Feasibility

At the level of technical implementation, several technical implementation methods have been analyzed, and there are corresponding successful cases. There are also many open source modules for reference. Therefore, from the perspective of technical feasibility analysis, there is no problem in realizing the e-commerce platform.

3.1.2 Economic feasibility

For developers who are students, there are very few available economic resources. In order to develop an e-commerce platform, through the hardware requirements of the development software, I found that my computer can be used for development completely, and the configuration of the school computer room can also meet the requirements. The most important thing is that you can find free tutorials and materials on the Internet for the selected technology. Because it does not cost money, it is economically feasible.

3.1.3 Operation Feasibility

The specific implementation of the e-commerce platform itself refers to the normal operation logic of human beings, and the common operating habits are used as the main navigation implementation, which allows users to understand and operate more quickly. The realization of a logical operation process is the specific operation feasibility reflect.

The above is an analysis from different angles to ensure the normal development of the e-commerce platform.

3.2 System flow

After the e-commerce platform is put into use, if the user can see the corresponding process operation diagram, it will improve the understanding ability of the program.

3. 2.1 Operation process

When operating the e-commerce platform, users should operate according to the operation process provided by the system (Figure 3.1 is the operation flow chart of the system), which can reduce operational errors and save time to enter the e-commerce platform.

Figure 3.1 System operation flow

3.2.2 Login process _ _

The e-commerce platform guides users to enter the designated functional operation area through the login function (Figure 3.2 is its login process), and also prevents users who are not from the system from enjoying the services provided by the system and viewing the information provided by the system, thereby ensuring that users Safety.

Figure 3.2 Login process

3. 2.3 Delete information process

After long-term use of e-commerce platforms, a lot of data information will be generated. In order to free up storage space to store more data, the data stored in the database of this system, some data without reference value need to be deleted (Figure 3.3 is the process of deleting information), in the process of deleting data, in order to avoid accidental deletion, use The user should decide whether to delete the data according to the prompt of the system.

Figure 3.3 Delete information flow

3. 2.4 Add information process

The e-commerce platform provides a visual functional operation area, which is very convenient for users to operate data. When users enter data into the system (Figure 3.4 is the process of adding information), the system will also judge the legality of the data. Only the required data can be registered in the designated table of the database.

Figure 3.4 Add information process

3.3 Performance requirements _

Requirements analysis is indispensable to analyze the hardware equipment used in the project, so as to conform to the normal analysis process. It is a very serious matter to only talk about functional requirements and not performance requirements, which may lead to some uncontrollable problems.

The following analyzes the system performance from these angles.

(1) Capacity of system data: From the perspective of data analysis, each table and each database has reached a certain amount of data, whether it needs to be divided into tables or databases, if it exceeds the set limit of data, it may be As a result, the data is sluggish and the fault tolerance is increased.

(2) Requirements for data accuracy: It is necessary to consider the corresponding data accuracy issues in the data setting link in the demand analysis. It is necessary to find out whether the data is commonly used or not, and then set different values.

(3) Response time requirements: From the user submitting the operation to the page reflection, there is a problem of data processing in the middle. It is necessary to consider the size of the predicted data volume and plan the design of sub-database and sub-table in advance. No matter how large the data volume is, it is necessary to consider adding columns The problems of traditional databases are not something that can be decided at a glance. It needs experience and data analysis and judgment from the same industry to meet the requirements of users. After all, the response time is too long to operate and it is uncomfortable.

(4) Universality problem: users should not need to perceive the data volume or response problems of the server. They only need any computer and no more operations are needed. Open the browser and use it. There are too many settings and operations , does not conform to universal operation.

(5) Page design problem: After the function meets the requirements, the page must be enriched. Page design is the problem that users face for a long time. First, consider the cleanliness of data to make the page look more refreshing. In terms of color and data, the different colors are different colors, which reduces the visual fatigue of users after long-term use, so that users will not feel too bad when using it.

(6) System stability: Normal user operating system pages must be submitted and submitted. Normal input is logical, and various problems cannot occur casually, resulting in user fatigue, and the input data and echoed data Meet the user's requirements. If normal operation fails, then the design is unstable, which is certainly not the case. Any system that interacts with data must be stable. System stability is analyzed from the perspective of development and deployment. Data redundancy backup function, automatic on-duty function, computer room data synchronization, and computer room separation functions can be considered, all of which can improve the stability of the system.

The performance requirements of the system need to be judged and analyzed after being very skilled in the business, and then realized one by one from the system performance requirements, which can make the designed system valuable.

3.4 Functional requirements 

The e-commerce platform conducts functional analysis from the perspective of usage permissions, and uses use case diagrams to show the functions that each permission needs to operate.

Figure 3.5 is an administrator use case diagram. The functions of administrator authority operations include managing merchants, managing merchant star information, managing users, managing products, etc.

Figure 3.5 Administrator use case diagram

Figure 3.6 is a merchant use case diagram. The functions of merchant authority operations include managing products, replying to product reviews, and managing product orders.

Figure 3.6 Merchant use case diagram

Figure 3.7 is a user use case diagram. The functions of user authority operations include viewing merchants, purchasing products, submitting orders, and managing product orders.

Figure 3.7 User use case diagram


Chapter 4 System Design 

When the user operates on the browser, there will definitely be some unpredictable problems, but it does not mean that the system will not deal with the user's operations on the browser, so it is necessary to consider possible problems in advance.

4.1 System Design Thought 

For system design, it is necessary to unify the design ideas. Only unified ideas can guide the development of the program, and allow many program developers to enter the state more quickly and improve the development speed. According to the established requirements of the current system, the design idea of ​​this system will be described below.

(1) Scalability: It is inevitable to consider this issue when developing any system. The change of software version is a kind of common sense. Any software will not be developed once and become eternal. Software is a thing that keeps growing. Therefore, when considering the problem, it is necessary to expand the data of the current problem, and then summarize and sort it out, and finally form a program with certain scalability. The scalability of the program will inevitably affect the development progress, so in the end it is necessary to comprehensively evaluate the scalability of the program, and then develop in a targeted and sequential manner.

(2) Practicality: programming is a high-level idea first, and then it is concrete, and practicality is the first step in concreteization. It is necessary to fully consider that users do not understand programming. Users just understand Routine Internet operation steps do not need to understand the program, so users must feel the convenience and practicality. If the user does not find the benefits of using the program during the process of using the program, then the program design Practicality will be greatly reduced.

(3) Security: When the user uses the process, a large amount of relevant data will be generated. These data must have security guarantees. Otherwise, when the user finds that the cause of the data problem is a program design problem, the It is an inevitable problem that program developers lose trust and may even have a large amount of compensation for expenses. Therefore, security is related to the economic interests of both developers and users, and the security of the program must be guaranteed.

(4) Advanced nature: The advanced nature of program design is considered by developers, and the most suitable technology must be selected under the premise of satisfying system functions. The most suitable technology should be comprehensively analyzed from the perspective of development cost, use cost and maintenance cost. After comprehensive analysis, the technology should achieve the optimal solution and maintain advanced technical productivity.

(5) Maintainability: At the beginning of program development, future maintenance issues must be considered. Maintenance means that after the program is developed, it is already online and can be operated, and the need for maintenance will not be discovered until it enters the production trial process and use process. To reduce maintenance costs through various aspects, it does not mean that less maintenance means that the program development is more perfect. Since the program is designed and manufactured by humans, there must be many unavoidable problems, so how to maintain the normal operation of the program is also a problem. The door is very important knowledge.

4.2 Functional structure design

Figure 4.1 is the designed administrator function structure. The functions operated by the administrator authority include managing merchants, managing merchant star information, managing users, managing products, etc.

Figure 4.1 Administrator function structure

Figure 4.2 is the designed merchant functional structure. The functions of merchant authority operations include managing products, replying to product reviews, and managing product orders.

Figure 4.2 Merchant Functional Structure

Figure 4.3 is the designed user function structure. The functions of user authority operations include viewing merchants, purchasing products, submitting orders, and managing product orders.

Figure 4.3 User function structure

4.3 Database design

The data generated during the operation of the e-commerce platform needs to be stored according to the storage rules set in advance, and an optimal data storage format suitable for the project is designed, because it can reduce the waiting time of users and can also process requests from the system in the shortest time response. Therefore, when designing the database, it is necessary to split the functional requirements in detail and subdivide the business status, and then design specific storage rules to ensure the normal operation of the database, shorten the data processing time, and reduce the data processing time to a certain extent. Redundancy saves storage space.

4.3.1 Database concept design 

The entity-relationship diagram also has a name, the ER diagram, which is the abbreviation of the initials of the English words of the Entity Relationship Diagram. Its conceptual model is usually used to describe the real world. At the same time, it is also an effective means of visually expressing entities, relationships, and attributes in data. There are many tools that can be selected for drawing ER diagrams, but Office Visio is generally the preferred tool for drawing ER diagrams, because it is based on visual processing, and it is very simple to use it to create ER diagrams. Use basic ER diagram elements, such as ovals, rhombuses, rectangles, and solid line segments to express corresponding information. Ovals represent attributes, that is, characteristics of entities, rectangles represent entities, that is, a specific data table in the database, and diamonds represent entities. In the mutual relationship, the solid line segment is mainly to complete the connection of ellipse, rectangle and rhombus.

(1) Figure 4.4 shows the attribute values ​​owned by the commodity entity.

Figure 4.4 Commodity entity attribute map

(2) Figure 4.5 shows the attribute values ​​owned by the commodity order entity.

Figure 4.5 Attribute diagram of commodity order entity

(3) Figure 4.6 shows the attribute values ​​owned by the merchant entity.

Figure 4.6 Merchant entity attribute map

  1. Figure 4.7 shows the attribute values ​​owned by the user entity.

Figure 4.7 User entity attribute graph

  1. Figure 4.8 is the relationship existing in the entities introduced above.

Figure 4.8 ER diagram of relationship between entities

4. 3 .2 Database physical design

The main task of this section is to design the data storage structure based on the above content. The attribute of the entity is used to represent the field name. The data types and values ​​represented by different fields are different, and whether each field of the table can be kept empty, etc. To explain, after designing the structure of a data table, it is also necessary to name it when saving it. Try to choose an English name for naming and saving, so that it is not easy to cause system errors. Next, a brief description of the designed table is given.

Table 4.1 Shipping Address Table

field

note

type

null

id (primary key)

primary key

int(20)

no

yonghu_id

create user

int(20)

no

address_name

Receiver

varchar(200)

no

address_phone

Telephone

varchar(200)

no

address_dizhi

address

varchar(200)

no

isdefault_types

Is it the default address

int(11)

no

insert_time

add time

timestamp

no

update_time

Change the time

timestamp

no

create_time

creation time

timestamp

no

Table 4.2 Shopping cart table

field

note

type

null

id (primary key)

primary key

int(11)

no

yonghu_id

Belonging user

int(11)

yes

goods_id

merchandise

int(11)

yes

buy_number

Purchase quantity

int(11)

yes

create_time

add time

timestamp

yes

update_time

update time

timestamp

yes

insert_time

creation time

timestamp

yes

Table 4.3 Commodity table

field

note

type

null

id (primary key)

primary key

int(11)

no

shangjia_id

merchant

int(11)

yes

goods_name

product name

varchar(200)

yes

goods_photo

product photo

varchar(200)

yes

goods_types

Product Types

int(11)

yes

goods_kucun_number

Commodity stocks

int(11)

yes

goods_old_money

original price

decimal(10,2)

yes

goods_new_money

current price

decimal(10,2)

yes

goods_clicknum

The number of clicks

int(11)

yes

shangxia_types

Is it on the shelves

int(11)

yes

goods_delete

Tombstone

int(11)

yes

goods_content

Product Description

text

yes

create_time

creation time

timestamp

yes

Table 4.4 Commodity Evaluation Form

field

note

type

null

id (primary key)

primary key

int(11)

no

goods_id

merchandise

int(11)

yes

yonghu_id

user

int(11)

yes

goods_commentback_text

comment content

text

yes

reply_text

reply content

text

yes

insert_time

evaluation time

timestamp

yes

update_time

Response Time

timestamp

yes

create_time

creation time

timestamp

yes

Table 4.5 Commodity Order Form

field

note

type

null

id (primary key)

primary key

int(11)

no

goods_order_uuid_number

order number

varchar(200)

yes

address_id

Shipping Address

int(11)

yes

goods_id

merchandise

int(11)

yes

yonghu_id

user

int(11)

yes

buy_number

Purchase quantity

int(11)

yes

goods_order_courier_number

tracking number

varchar(200)

yes

goods_order_courier_name

courier company

varchar(200)

yes

goods_order_true_price

actual price

decimal(10,2)

yes

goods_order_types

Order Type

int(11)

yes

goods_order_payment_types

Payment Types

int(11)

yes

insert_time

Order creation time

timestamp

yes

create_time

creation time

timestamp

yes

Table 4.6 Announcement Information Form

field

note

type

null

id (primary key)

primary key

int(11)

no

news_name

bulletin title

varchar(200)

yes

news_photo

Announcement image

varchar(200)

yes

news_types

announcement type

int(11)

no

news_content

Announcement details

text

yes

create_time

creation time

timestamp

yes

Table 4.7 Merchant table

field

note

type

null

id (primary key)

primary key

int(11)

no

username

account

varchar(200)

yes

password

password

varchar(200)

yes

shangjia_name

the shop's name

varchar(200)

yes

shangjia_phone

Contact information

varchar(200)

yes

shangjia_email

Mail

varchar(200)

yes

shangjia_photo

Business license display

varchar(200)

yes

shangjia_xingji_types

Merchant star type

int(11)

yes

new_money

existing balance

decimal(10,2)

yes

shangjia_content

Merchant Profile

text

yes

shangjia_delete

Tombstone

int(11)

yes

create_time

creation time

timestamp

yes

Table 4.8 Administrator table

field

note

type

null

id (primary key)

primary key

bigint(20)

no

username

username

varchar(100)

password

密码

varchar(100)

role

角色

varchar(100)

addtime

新增时间

timestamp

表4.9 用户表

字段

注释

类型

id (主键)

主键

int(11)

username

账户

varchar(200)

password

密码

varchar(200)

yonghu_name

用户姓名

varchar(200)

yonghu_phone

用户手机号

varchar(200)

yonghu_id_number

用户身份证号

varchar(200)

yonghu_photo

用户头像

varchar(200)

sex_types

性别

int(11)

yonghu_email

电子邮箱

varchar(200)

new_money

余额

decimal(10,2)

create_time

创建时间

timestamp


5 系统实现

编程人员在搭建的开发环境中,会让各种编程技术一起呈现出最终效果。本节就展示关键部分的页面效果。

5.1 管理员功能实现

5.1.1 公告信息管理

图5.1 即为编码实现的公告信息管理界面,管理员在公告信息管理界面中可以对界面中显示的所有公告信息进行更改,查询,删除。

图5.1 公告信息管理界面

5.1.2 用户管理

图5.2 即为编码实现的用户管理界面,管理员在用户管理界面中可以为本界面显示的所有用户信息进行查询,修改,删除,可以为用户的账号进行重置密码。

图5.2 用户管理界面

5.1.3 商家管理

图5.3 即为编码实现的商家管理界面,管理员在商家管理界面中新增商家,更改商家的营业执照,商家星级信息等,可以删除需要删除的商家信息。

图5.3 商家管理界面

5.1.4 商家星级管理

图5.4 即为编码实现的商家星级管理界面,管理员在商家星级管理界面修改商家星级信息,查询商家星级信息,删除商家星级信息等。

图5.4 商家星级管理界面

5.2 商家功能实现

5.2.1 商品管理

图5.5 即为编码实现的商品管理界面,商家在商品管理界面中为商品的库存进行增加,减少操作,可以上架商品,下架商品以及更改商品信息等。

图5.5 商品管理界面

5.2.2 商品评价管理

图5.6 即为编码实现的商品评价管理界面,商家在商品评价管理界面中查看用户对商品的评价信息,商家需要对商品评价进行回复。

图5.6 商品评价管理界面

5.2.3 商品订单管理

图5.7 即为编码实现的商品订单管理界面,商家在商品订单管理界面中参与商品订单发货,商品订单查询,商品订单删除等操作。

图5.7 商品订单管理界面

5.3 用户功能实现

5.3.1 商家信息

图5.8 即为编码实现的商家信息界面,用户在商家信息界面中查看商家介绍还有商家的营业执照以及商家的星级信息等。

图5.8 商家信息界面

5.3.2 商品信息

图5.9 即为编码实现的商品信息界面,用户在商品信息界面中查看评论,可以直接购买商品。

图5.9 商品信息界面

5.3.3 确认下单

图5.10 即为编码实现的确认下单界面,用户在确认下单界面中可以提交订单,前提是检查购买的物品以及收货的地址信息等是否正确。

图5.10 确认下单界面

5.3.4 商品订单

图5.11 即为编码实现的商品订单界面,用户在商品订单界面中可以退款,可以评价订单以及查看订单详情等。

图5.11 商品订单界面


6章 系统测试

当系统测试环节开始的时候,也就说明对于系统的编码已经弄得大致通顺了,剩下来需要对一些模块和功能进行测试,这个环节就叫系统测试。在程序开发过程中,系统测试是整个开发过程不能缺少的。原因很简单,系统开发人员在面对各种需求需要对各个模块进行编码,开发人员编写过程中,对于程序的理解全部都在编码里面,一人计短,当一个人去做一些事情的时候,把自己的理解变成成果,有可能理解错误,这个在程序开发过程中很常见。程序开发人员在面对复杂的逻辑,没有想象中的多么清晰,开发过程就是面对着一堆代码,不断的变换数据类型,这些很容易实现程序开发人员的想法,但是如果是比较复杂的逻辑,很可能会出现各种问题,这是无法避免的。所以说,需要额外的人员进行系统测试编写,要站在用户使用的角度去发现问题,这样开发与测试的分离,有助于系统开发的强壮,让程序表达的更完美一些。之所以把系统测试安排到程序开发过程中的原因在于,当测试过程中发现的问题可以最快速度的反馈到程序开发人员手里,可以以最快的时间解决问题。所以必须在系统测试环节做好应该做好的事情,让程序开发从开始到结束都有一个完美的流程。

6.1 功能测试

本节主要选择一些功能进行具体测试描述,在相应的功能里面,根据不同的输入看看能否达到理想中的效果。以下会描述部分功能的测试过程和结果。

6.1.1 登录功能测试

登录是一个常规功能,虽然是常规功能,但是用处很大,可以拒绝非法用户访问,只有合法用户才可以访问对应的功能,这样能保证程序设定的功能符合安全性要求。

表6.1 管理员登录功能测试表

管理员账号

管理员密码

结果

uuu

uuu

成功登录系统

yyy

uuu

登录失败

uuu

yyy

登录失败

只有正确的账号密码才会进行跳转到对应的功能区,如果输入的账号密码不对的话,肯定会有相关提示,用来提示操作人员注意输入正确的账号密码,这样有助于提高用户体验。这里以使用者提交错误的账号为“yyy”,正确的密码为“uuu”为例进行测试,具体反馈结果看下面。

图6.1 登录失败提示

6.1.2 修改密码功能测试

任何用户角色都有安全性要求,那么对应的密码最好是经常更改,只有经常更改才会降低坏人的有机可乘几率,达到密码保护的最低要求,当然,如果用户登录人离开了,为了防止其他人乘机篡改密码,那么也会设定旧密码要求,只有输入正确的旧密码才可以进行密码的修改。下面就是测试过程。

表6.2 修改密码功能测试表

之前的旧密码

设置的新密码

结果

uuu

yyy

成功修改密码

hhh

yyy

修改密码失败

uuu

修改密码失败

不管是旧密码错误还是新密码不合规,都会提示相应的要求,下面就是关于旧密码输入错误的提示。

图6.2 错误的旧密码反馈提示

6.2 系统测试结果

对电商平台进行了各种检测,包含功能检测和性能检测,操作性检测,兼容性检测,通过各方面检测结果来判定系统是符合设计目标,并且在扩展性或者是稳定性上面,也有很好的表现,能完全的满足用户需求。


结  论

由于本人学习的是计算机方面的专业,学习了一定的开发知识,因此,对于开发一款已经确定了课题的电商平台,从功能需求,功能模块划分,数据库的选择与设计,编程语言的确定,系统界面的布局和设计等知识,我都有个大致的思路。我运用已经具备的理论知识,加上后期从网络渠道获取的相关技术知识,能够在系统完成开发后期,编写相应的系统文档。

电商平台制作期间,我也遇到过一些难题,模块拆分不够精细,以及数据表需要设计几张表,还有对于开发技术的深度理论学习还不充分等,不过我能够通过网络或者通过学院提供的图书馆寻求解决办法。比如在不知道具体功能的情况下,我从网上下载了很多的与电商平台相关的程序,分析了它们的功能之后,我再结合即将开发的电商平台进行综合分析,选取了适合电商平台的功能部分,再具体模块具体分析,设计专属项目功能。对于数据表的设计,先在图书馆学习,然后查看相似系统对于数据表的结构设计等知识,然后在本系统功能确定的情况下,结合本系统设计了配套的数据表,对于难度最大的开发技术部分,这是需要大量时间调试的,一般都是对基础数据的增加,更新,查询或修改方面的代码,然后把本系统能够运用的代码部分在简单更改后进行使用,又经过了简单的测试工作,最终呈现出一个完整的能够解决用户实际问题的电商平台。该系统唯一不足的就是代码方面还有很多重复的部分,不够精简,还有用户操作本系统,对于用户的误操作行为,本系统还不能及时反馈,这也是一大缺点。

电商平台完成了,其相应的配套文档也需要进行编写,该文档主要描述电商平台是如何进行分析,设计以及实现的,让其他阅读本文档的人增加对该系统的了解,编写文档过程中,由于自己平时对于办公软件的操作不是很频繁,根据学院要求的文档排版格式进行编辑也花了很多时间,在不断学习排版技巧以及对本系统配套文档的反复修改之后,最终在学院规定的时间内进行了文档定稿。

毕业项目各个工作进行到此,我也是收获颇丰,正因为自己努力学习知识,积极寻求解决办法,才让我能够提交一个完整的作品。制作毕业项目让我又得到了成长,不仅是专业知识的增加,也学到了解决问题的能力和方法。


参考文献

[1]常佳宁,潘琳.一种基于B/S的网上购物系统设计[J].中国科技信息,2021,(15):71-72.

[2]胡小春,胡凯,陈燕.基于Java的网上购物系统研发[J].信息技术与信息化,2021,(01):18-21.

[3]余涛.计算机软件开发中Java编程语言的应用研究[J].信息记录材料,2020,21(01):113-115.

[4]王子虎,胡丽珍.基于计算机软件安全开发的JAVA编程语言研究[J].数字技术与应用,2019,37(12):133-134.

[5]刘星淇.Java编程语言的特点与应用分析[J].通讯世界,2019,26(09):149-150.

[6]张云健.计算机软件Java编程特点及其技术应用[J].信息与电脑(理论版),2019(13):97-98.

[7]张振超,吴杰,陈序蓬.浅谈Java中Mysql数据库的连接与操作[J].信息记录材料,2020,21(02):144-145.

[8]范开勇,陈宇收.MySQL数据库性能优化研究[J].中国新通信,2019,21(01):57.

[9]丁佳.基于JSP+MySQL的用户登录系统SQL注入实例及防范[J].网络安全技术与应用,2020(09):49-51.

[10]王丹,孙晓宇,杨路斌,高胜严.基于SpringBoot的软件统计分析系统设计与实现[J].软件工程,2019,22(03):40-42.

[11]张峰.应用SpringBoot改变web应用开发模式[J].科技创新与应用,2017(23):193-194.

[12]谢志坚.计算机应用软件开发技术支撑思考[J].电子世界,2020(15):53-54.

[13]姬晓鹏.计算机软件开发技术与设计探究[J].电子测试,2020(16):133-134.

[14]Raffi Khatchadourian.Automated refactoring of legacy Java software to enumerated types[J].Automated Software Engineering,2017,24(4).

[15]Ben White.Marx and Chayanov at the margins:understanding agrarian change in Java[J].The Journal of Peasant Studies,2018,45(5-6).


  

也许是大学校园在管理上比较开放,学习知识时不像高中时期那样一整天都在学习,而是一天当中抽出部分时间安排学习,其余的时间就可以自由安排,可以去社会上参加实践,可以在学校的图书馆阅读书籍,丰富自己的知识,也可以加入学校的社团进行个人能力的锻炼等等,加上学院的学生都来自全国各地,大家的风俗习惯都有些不一样,这样同学之间也有更多的话题进行畅聊。基于这些原因,我觉得我的性格也逐渐变得开朗起来,正因为如此,我很快乐的度过了大学四年时光。然而,我们都要面临毕业,同学间,师生间也将面临分离,我们都会离开学校,进入社会这样的大环境学习并生活。虽然很不舍,但这也是人生成长中必经的阶段!

临走之际,对这几年的大学生活简单的进行了回想,发现自己学到的专业知识也增加了很多,在本专业上,自己也得到了一定的实操能力锻炼。这些成长都是我们的专业老师带来的,他们这几年辛苦教学,我们也从中获取了许多的专业知识,提高了个人的专业方面的能力,非常感谢他们。

还有一位老师也需要在此特别感谢,即论文指导老师。可以说最后这一年,跟指导老师接触比较多,指导老师在本专业上,非常全能,在我进行本课题的任务期间,导师给予我全面的指导,也能根据我的不足之处推荐合适的书籍让我查看,让我的能力得以提升,继而可以从容面对开发期间遇到的困难。

另外,我也要感谢我的寝室室友,还有我们班上的同学,从接到毕业项目任务之后,我们常常谈论各自课题进展的情况以及面临的问题,也经常互相鼓励对方要积极认真面对毕业项目,这种陪伴,让我在制作毕业项目期间并没有产生过多的焦虑,非常感谢他们。

最后时刻,我也要对我的大学校园表达谢意,我的大学校园是一个非常美丽的地方,而我这几年,在这么优美的环境下学习知识,我已经感到非常幸福。希望在今后能看到我的校园在众多师生共同努力下变得强大,校园的环境也将变得更加美丽。

Guess you like

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