Website project 325 house rental and sale information management system based on SSM

1. System screenshots (you can chat privately if you need a demonstration video)

Summary

Abstract: Computer technology is widely used and involves almost every industry. People cannot live without the Internet now. The traditional housing rental and sales management model mainly relies on relevant information recorded manually by managers, which is cumbersome, inconvenient to search, and very error-prone. In order to simplify the work process of house rental and sale, improve the management efficiency of house rental and sale, and realize the modernization of the house rental and sale industry, this article designs and implements a house rental and sale information management system. First of all, based on the collected user demand analysis, we have a preliminary understanding of the design system and determine the overall functional modules of the house rental and sale information management system. Then, design the main functional modules of the system in detail, use MySQL database to save data related to the system, and then use key development tools, such as MyEclipse development platform, JSP technology, etc., to write relevant code to design the system. Then, conduct system testing, constantly find problems, come up with ways to solve problems, and continuously improve and perfect the system design. Finally, the system is summarized and prospected, the learning experience in the process of implementing the system is summarized, and relevant prospects are put forward for the future operation, maintenance and development of the system. In terms of the design and implementation of this system, in terms of security, when users use a browser to access the website, relevant protection measures such as registration and password are used to improve the reliability of the system and maintain the security of the user's personal information and property; in terms of convenience , promotes the informatization construction of the housing rental and sales industry, and greatly facilitates relevant staff to manage housing information.

Keywords:House rental and sale; Java language; B/S mode; JSP technology; system testing 

Table of contents

Summary

Abstract

Table of contents

1 Introduction

1.1 Research background and significance

1.2 Research status at home and abroad

1.3 Research content

1.4 Paper structure

2 Introduction to related technologies

2.1 B/S mode

2.2 MyEclipse development environment

2.3 MySQL database

2.4 Java language

2.5 JSP technology

2.6 Tomcat server

2.7 SSM framework

3 System analysis

3.1 Requirements analysis

3.2 Feasibility analysis

3.2.1 Economic feasibility

3.2.2 Technical feasibility

3.2.3 Operational feasibility

3.3 Use case modeling analysis

3.4 System process analysis

3.4.1 User operation process

3.4.2 Data addition process

3.4.3 Data modification process

3.4.4 Data deletion process

4 system design

4.1 System function design

4.2 Database design

4.2.1 Concept design

4.2.2 Logic design

5 system implementation

5.1 Implementation of administrator function module

5.1.1 Administrator login

5.1.2 Personal Center

5.1.3 Landlord management

5.1.4 User management

5.1.5 House sales management

5.1.6 House rental management

5.1.7 Carousel image management

5.1.8 Announcement Management

5.2 User function module implementation

5.2.1 System home page

5.2.2 Personal Center

5.2.3 House sales management

5.2.4 House rental management

5.2.5 Announcement Management

6 system test

6.1 Test Overview

6.2 Function module testing

6.2.1 Administrator login module test

6.2.2 Testing of house sales management module

6.2.3 Testing of house rental management module

6.3 Test result analysis

7Summary and Outlook

references

Acknowledgments

1 Introduction

1.1 Research background and significance

The information management model is to gradually transform the work processes in the industry from manual services to information management services using computer technology. This management model has developed rapidly and is very simple and easy to use. Users do not even need to master relevant professional knowledge and can use the relevant systems normally according to tutorial guidance, so it is used by more and more users. Due to the informatization of management in related industries, management work is no longer limited by time and region, and relevant work tasks and results can be completed anytime and anywhere [1]. For now, management informatization is very popular in modern society and is widely used. E-commerce technology appeared relatively early. Relevant companies and enterprises use computers to establish dedicated internal networks, and complete corresponding procurement, sales and other activities through the internal network, speeding up transactions between related enterprises and improving work efficiency [2].

At present, many industries use Internet technology to informatize and digitize their work processes, which to a certain extent reduces the workload of relevant personnel and saves a certain amount of human resources. At the same time, people mainly rely on mainstream information to obtain relevant information from the outside world. information technology and tools. People's demands for life are also constantly changing. In order to cope with the diverse needs of users, many related tertiary industries have emerged, and management informatization has gradually become popular, such as the e-commerce industry. By consulting a large amount of learning materials, I understand the basic background and key tasks of the basic development system, learn and master relevant development technologies and design languages, design system functional modules, and related syntax and tools of MySQL database, create and store data tables, Reflect the mutual relationships between and associated tables, thereby developing and implementing the housing rental and sales information management system.

1.2 Research status at home and abroad

Our country began to develop management information systems probably in the 1990s. Compared with some developed countries, the R&D industry started relatively late. At that time, computer technology had just begun to develop. Because the country's economic development level was not stable, the comprehensive national strength was still in the developing stage, and the related network application technology was not very advanced, our country also used network information for a long time. to explore the management [3]. In recent years, because the country attaches great importance to and supports the development of the tertiary industry, and people's daily life needs are increasingly inseparable from the use of information management technology, my country's information management system industry has developed very fast, and related systems Regulations are constantly being refined and improved. In the context of the new era, according to people's relevant needs, the emergence and development of related industries are constantly promoted. A series of electronic products, application software, information management systems and other new era products gradually appear in people's vision, and in recent years It has developed rapidly over the years and is becoming more mature [4].

Compared with China, the development of computer technology abroad is relatively mature, so the system-related design is also relatively complete. Around the 1860s, foreign countries began to develop housing rental and sales information management systems, and soon after, they were quickly put into the market for use. The rapid development of computer technology in some developed countries such as the United States and the United Kingdom has promoted the informatization construction of the housing rental and sales management industry [5]. Then, with the continuous development of related technologies, the coverage is very wide and there are many application fields, which promotes the continuous development and improvement of related information management systems such as house rental and sale information management systems, and the designed system functional structure is also relatively reasonable. ,comprehensive. Relatively speaking, the research and development of foreign systems still occupies a greater advantage in related fields [6]. Therefore, we need to absorb the best technical essence in the field of foreign system development and develop our country's information management system so that it is oriented to the public and can better and more comprehensively serve relevant staff.

1.3 Research content

Nowadays, Internet technology plays an increasingly important role in our daily lives, and the use of mobile devices, computers and other Internet devices is becoming more and more frequent and routine. The traditional housing rental and sales management model mainly relies on relevant information recorded manually by managers, which is cumbersome, inconvenient to search, and very error-prone. Nowadays, if we continue to record house rental and sale information manually, it will be greatly detrimental to the management of house rental and sale information related to the house rental and sale management industry, and seriously affect the development of the house rental and sale management industry. Therefore, I combine the traditional house rental and sale management business model with the advanced electronic information management model, use Java language programming to design functional modules, JSP technology to design web page layout, MySQL database to create and store data tables, and carry out the house rental and sale information management system. design and development. The design of this system is conducive to maximizing resource management and sharing in related industries, promoting information exchange, division of labor and cooperation in related industries, improving the work efficiency of relevant staff, and ultimately realizing the information management of services in the entire housing rental and sales industry.

1.4 Paper structure

This article provides a detailed description and explanation around the entire development process of the house rental and sale information management system. The main tasks in designing and implementing this system are: first, analyze the research background and research status, and secondly, introduce the relevant technologies used in designing the system. , then determine the functional requirements of the system through system analysis, then design and implement the system in detail through coding work, and finally through system testing to find out existing problems in the system and methods to solve them, and constantly modify and improve the system. The organizational structure of the paper content is designed as follows.

The first chapter is the introduction, which introduces the research background and research status of the system to help users understand and understand the development process of this system.

Chapter 2 introduces related technologies, including Java language, MySQL database and other related development technologies, to provide technical support for the functional realization of the later system.

Chapter 3 system analysis analyzes the user needs and the feasibility of system implementation, models the system, and designs relevant roles and their main functional operation requirements.

Chapter 4: System Design, designs the overall functions and database tables of the system, and determines the functional modules to be designed.

Chapter 5 System Implementation shows the main functional module operating procedures of the system through relevant functional module operation diagrams.

Chapter 6 System Testing mainly uses functional testing to test the specific operation and use of relevant functions of the system.

Chapter 7 Summary and Outlook summarizes the implementation process of the system and basically completes the design of the system. Looking forward to the future, more advanced technologies will be learned and used to improve the practicality of the system so that the system can better serve users.

2 Introduction to related technologies

2.1 B/S mode

The B/S mode is a commonly used network structure mode [7]. The B/S model is composed of MVC structure, that is, model, view, and controller are the main structures that constitute this model [8]. The model mainly refers to the business model, the view is the relevant interface displayed for users, and the controller mainly controls to ensure the synchronous execution of the view and the model. The three-layer structure of the B/S model is independent of each other. In other words, when a certain module is modified and updated, it will not affect other modules. According to this feature of B/S, the processing of business logic and constraints can be concentrated in the middle layer, which facilitates the front-end to increase the call and reuse of models and methods. And the related operations and processing of the database can be directly performed through the middle layer, which greatly reduces the number of database connections and saves the related resource configuration space of the computer.

Using the B/S mode can save system resource allocation, improve research and development efficiency, and reduce development time, thus greatly improving the possibility of developing software. The B/S model has greatly changed the traditional structural model. In other words, it is an upgraded version of the C/S model. It can also be said that this is an expansion of the C/S model. In this structural model, users no longer need to download the client like using the C/S model. They can directly use a browser to open the website address to access and use related system functions and services.

2.2 MyEclipse development environment

There are many programming languages ​​used in software development, and each programming language needs to be compiled and run through its corresponding development platform. The Eclipse platform and the MyEclipse platform are currently commonly used development environments. The Eclipse platform is used to develop source code for users. It has relatively complete functions and can be applied to the development of C/S mode software. However, it occupies a relatively large memory capacity and runs slowly, and it does not A Tomcat server is provided. The code needs to be released to the Tomcat server during operation. The test takes a long time, so it is not suitable for the development of B/S mode software.

The MyEclipse platform is built on the Eclipse platform and adds many application plug-ins, such as Tomcat plug-ins, mail components, etc. The MyEclipse platform has added a Tomcat plug-in. When the code is written or updated, programmers do not need to publish the code to the Tomcat server and can directly run the program through debugging. The MyEclipse platform has added a Mail component, which can provide a standard mail method for this program to facilitate developers to complete the compilation work related to the mail function. The MyEclipse platform occupies a small memory space, and it also has high scalability. Programmers can add and use related plug-ins as needed. It can support mainstream open source products and related development frameworks, and is widely used in the development of related mobile systems, web application systems, etc. Compared with the Eclipse platform, this system is more suitable for programming and development using the MyEclipse platform.

2.3 MySQL database

MySQL is a small relational database management system. Because it takes up little memory space, runs fast, and the source code is open source, the operation and maintenance costs are low, and the system performance is stable. It is loved by many developers[9] . Considering the low development cost and complete functions of MySQL database, most small and medium-sized websites choose to use MySQL database to manage data information.

SQL Server is also a relational database that has been used more in recent years. The main differences between it and the MySQL database are that in terms of environment, the SQL Server database is more suitable for the .NET environment, while the MySQL database is suitable for almost all languages; In terms of cost, the SQL Server database is commercial and can be licensed to run multiple databases. Although there is a free version, it only allows you to have a certain knowledge and understanding of the relational database management system and become familiar with the related usage processes. . If you want to use the SQL Server database, you need to pay relevant fees, and the MySQL database is free and open source for users, which greatly facilitates user use; in terms of practical applications, the above two All databases can support the use of Java language, PHP language, and C++ language. However, in addition to the above-mentioned programming languages ​​supported by the SQL Server database, the MySQL database also supports other programming languages ​​such as Scheme and Eiffel. Therefore, the MySQL database is more popular than SQL Server. The database is higher.

2.4 Java language

The Java language is an object-oriented programming language that has features such as encapsulation, inheritance, and polymorphism, thereby improving programming efficiency and realizing software design and development [10]. The inheritance mechanism can inherit related classes and methods. New classes can extend their own new data and functions based on inheriting the relevant characteristics of already defined classes, thereby improving their own capabilities. The encapsulation mechanism can improve the security of the program and does not display its object properties and behaviors to the outside world. It mainly achieves related control and usage operations by providing and accessing the corresponding interfaces. The polymorphic mechanism can describe the diversity of objects. Simply put, it refers to referencing the same object to do different transactions. The Java language has the advantages of security and efficiency, and it can achieve cross-platform operation by relying on the Java virtual machine. The Java language is relatively easy to learn and master. As far as the development languages ​​currently used in software development are concerned, the Java language is more popular among programmers and is widely used.

2.5 JSP technology

JSP is a web page development technology, which can also be called a technology for designing dynamic website pages. JSP technology is mainly based on Java Servlet and Java framework system [11]. Among them, Java Servlet is a web component that relies on Java technology. It is managed and regulated by the Servlet engine and generates dynamic content by running on the web server. The basic principle of JSP technology is to add JPS tags and Java program fragments related to website pages to the original HTML program files to form a JSP web page.

When a user accesses a JSP webpage through a browser for the first time, the relevant web server will compile and process the webpage code operated by the user, and when the compilation work is completed, it will point to and save the relevant compilation work. The next time the user accesses the JSP page, the saved compilation work will come into play at this time, and the system will directly execute the saved compiled code. In this way, server and computer-related resources can be saved, and the speed of users accessing the website can be greatly improved. JSP technology absorbs and applies the functional advantages of the Java language to form a relatively novel and excellent website page design technology. It has the characteristics of cross-platform and scalability, and can be run on multiple different operating systems, as well as Work on multiple servers simultaneously.

2.6 Tomcat server

Tomcat server is an open source application server that can operate and run related Servlet code and JSP code. Servlet is a Java class written in accordance with relevant specification requirements. It has the characteristics of platform independence and portability, and can be loaded and run on the web server [12]. For developers and testers, Tomcat server is simple to operate, the code is easy to understand, and the performance is stable and reliable. Therefore, it is convenient and feasible for developers to use Tomcat server to debug JSP and other programs. This also provides a greater possibility for developers to choose to use the Tomcat server, and using it can ensure the normal operation of the design system to a certain extent.

Developers use Tomcat server to connect to the database, which can better complete the system and database construction work, and realize interactive management and control of related data information, so Tomcat server is widely used. Our system has a small and medium-sized data scale, and using Tomcat server is sufficient. Therefore, based on the above analysis and description, our system uses Tomcat server to implement JSP program debugging, database connection and other functional operations.

2.7 SSM framework

The SSM framework (Spring+SpringMVC+Mybatis) is an open source website development framework set mainly formed by integrating the Spring and MyBatis frameworks [13]. During the development process of website projects, Spring is mainly responsible for assembling beans. By using certain parameters to implement object instantiation operations, developers no longer need to use the new operator to dynamically allocate memory space to create and manage objects. SpringMVC is mainly responsible for performing specific operations according to specific user requests. By separating roles such as controllers and program objects, it makes website development more standardized and convenient, thereby effectively solving related view-controller interaction issues. Mybatis is mainly responsible for encapsulating jdbc. On the basis of ensuring that users can normally access and use public interfaces, it hides relevant underlying data information and improves the security and reliability of the program. Mybatis associates with the mapper file in the entity class through the relevant configuration file, and then configures the relevant SQL statement in the mapper file to achieve mapping between the class and the database and complete the interaction with the database, thus simplifying database programming. Effect. Using the SSM framework can effectively simplify development work, improve database access efficiency, enhance the stability of the development system, and also facilitate subsequent related staff to expand and maintain the system.

3 System analysis

3.1 Requirements analysis

Requirements analysis is the longest time-consuming link in the software development cycle. The entire design and implementation process of the system mainly relies on the requirements analysis report. The survey collected the relevant usage needs of different users for this system, and thus designed relevant functional modules, hoping to achieve a practical system with high user satisfaction. This process is a very critical step for whether the system can be successfully put into the market and whether it can be accepted and used by users. Relevant personnel roughly divide overall demand analysis into three types, namely business demand analysis, functional demand analysis, and non-functional demand analysis. Business requirements analysis takes the actual needs of users in daily life and work as standards and directions to determine relevant business matters that need to be designed, which is the basis of functional requirements analysis. In the design process of this system, the main business requirements include user registration, user Login, user message, etc. Functional requirements analysis is to realize related business matters by designing system functions. It is also an important basis for determining whether a system design has value. Non-functional requirements analysis is the specific requirements for performance during the use of the system, a supplement to functional requirements, and is also a supplement to functional requirements. It mainly includes response requirements, security requirements, stability requirements, and scalability requirements. etc. content. Non-functional requirements are other necessary requirements besides system functional requirements, such as security requirements, corresponding requirements, etc. They play an extremely important role in the final put-into-use stage.

I conducted a detailed demand analysis on the house rental and sale information management system through on-site observation, questionnaire surveys, etc. According to the analysis results, it can be seen that the house rental and sale information management system is mainly divided into administrator and user roles. The main functional requirements of the administrator role include personal information management, user information management, house sales management, house rental management, announcement management and other modules. The administrator can add, delete, modify and add relevant data by selecting relevant functional modules. Perform basic operations such as checking and manage corresponding data information records. Among them, in the design process of the administrator role function module, house rental and sale information management is an extremely important functional module. The administrator can view and update the name, unit type, area, price, picture, etc. of the relevant houses by selecting this module. Location and other information, and manage related house rental and sale information records. The main functional requirements of user roles include personal information management, house sales management, house rental management, announcement management and other modules. Users can select relevant functional modules to achieve corresponding functional operations. Among them, in the design process of the user role function module, house rental and sale management is an important functional module. Users can select house rental and sale information management to view and modify related house names, publish landlords, mobile phone numbers, apartment types, Pictures, location, house status and other information, and manage related personal order information records. The development of the house rental and sale information management system not only facilitates house rental and sale managers to manage relevant house information, but also facilitates users to view house information online and purchase the houses they like. Therefore, for administrators and users, the design and implementation of a house rental and sale information management system is of great research significance and realization value, making it very convenient to manage and purchase houses, which greatly meets the needs of related parties. User needs for the housing rental and sales information management system.

3.2 Feasibility analysis

3.2.1 Economic feasibility

Economic feasibility is a key factor in deciding whether to develop a system. We mainly determine whether a system is economically feasible by comparing actual benefits and costs. In the process of using the system, when the benefits obtained are greater than the development costs, it means that the research and development of this system is economically feasible. The traditional house rental and sale management model mainly manages house rental information records through manual recording by relevant staff. This management model is time-consuming and labor-intensive, and the cost of house management is also relatively high. On the one hand, house owners pay high fees. Management costs. On the other hand, manual house management is very error-prone. Once the house information is recorded incorrectly, it will need to be reworked. The workload of modification is very large, which greatly affects the management, rental and sale of houses.

Since the technology used in the development of this system is basically open source, there is not much problem in obtaining technical support. The cost of software implementation is very low, or even no cost. The cost of developing a system mainly comes from research, hardware and technical personnel. If the amount of data that needs to be stored in the system is not very large, you only need to configure an ordinary server to meet the relevant needs. If the amount of data that needs to be stored is large, you need to configure a server with independent functions. For example, a separate database server is needed to manage the database, a web server is needed to access the website, etc. However, the price of a server is relatively expensive. Considering the amount of data and cost, we use small cluster servers, which can make full use of relevant resources and allow the system to access the server normally. The design of the house rental and sale information management system can not only save house management costs, but also ensure that the relevant house information is not error-prone, so it is economically feasible to develop this system.

3.2.2 Technical feasibility

This system uses Java language coding to design relevant functional modules, MySQL database to create and store data tables, JSP technology to design website pages, and in the MyEclipse development environment, write and run relevant Java code, and then design the system-related design in the MySQL database data table, and then use the connection code to complete the construction of the MySQL database, and then use the Tomcat plug-in in the development environment to complete the publishing work with the Tomcat server, and code debugging can be achieved through the interaction with the Tomcat server. Finally The user successfully accesses and uses this system in the browser. The Java language is cross-platform, and this system is mainly implemented through coding in the Java language, so this system can support running and using multiple operating systems or multiple browsers [14]. The MySQL database can be used for free, and the daily operation and maintenance of the MySQL database are relatively simple, which helps reduce the development cost of this system [15]. JSP technology has the characteristics of good independence and high practicality. Using JSP technology to design system pages can complete reliable and effective interaction with the server [16]. While in school, I have learned and mastered the technical knowledge and usage of Java language, MySQL database, JSP technology, etc. Therefore, in terms of technical feasibility, this system can be designed and implemented.

3.2.3 Operational feasibility

The network structure adopted by this system is B/S mode. For developers, they can directly reuse the relevant code, or slightly modify the original code to make it meet the relevant needs of this system, which can greatly save money. Development time, complete the system design in the shortest possible time. For users, it would be very inconvenient if the traditional C/S model was used and the relevant systems could only be used by downloading. This also greatly restricted the use of some users. Now, this system adopts a new model design, and users use this system through a browser. Moreover, users can select relevant menu buttons to operate the system according to their own work needs. In some functional modules of the system, I have also added relevant usage prompt information to facilitate users to understand and use the system better and faster.

In order to allow users to better experience this system, I used relevant development tools to develop the housing rental and sales information management system on the Windows operating system platform based on system demand analysis. The user enters the correct account information in the browser to access the house rental and sale information management system, and chooses to use the drop-down menu to create a highly interactive, beautiful and friendly house rental and sale information management system to simplify the user's Operation and use of the system. Users can choose to modify personal information, view new houses, view recommended houses, rent or buy their favorite houses, etc. by clicking on the relevant function buttons. It can be seen that the steps to use this system are very simple. Therefore, the design and implementation of this system are operationally feasible.

3.3 Use case modeling analysis

UML is a visual modeling language that is relatively easy to understand and use, has complete functions, and has high applicability. In UML modeling, use case modeling is a relatively basic and crucial part. Use case modeling mainly expresses the functional requirements of the system in the form of modeling. Among them, the relevant functional requirements of the system are determined by the user's actual use requirements for the system [17]. Use case modeling can be mainly divided into use case diagrams and use case descriptions. Use case diagrams mainly use case modeling of the system in the form of drawings, and use case descriptions mainly use case modeling of the system in the form of detailed descriptions using language and text. For the modeling and design process of this system, I mainly use use case diagrams for analysis. The administrator use case diagram is shown in Figure 3-1, and the user use case diagram is shown in Figure 3-2.

Figure 3-1 Administrator use case diagram

Figure 3-2 User use case diagram

3.4 System process analysis

3.4.1 User operation process

If relevant users of the system want to successfully use this system, they must log in and enter the correct account and password before they can successfully access the system and implement corresponding functional operations. The user operation flow chart is shown in Figure 3-3.

Figure 3-3 User operation flow chart

3.4.2 Data addition process

After the user successfully logs in, relevant data information can be added through legal operations if the system allows it. If the user's operation is illegal, the data information cannot be successfully added to the system. The data adding flow chart is shown in Figure 3-4. Show.

3-4 Data addition flow chart

3.4.3 Data modification process

After the user successfully logs in, the relevant data information can be modified through legal operations if the system allows it. If the user's operation is illegal, the data information cannot be successfully modified in the system. The data modification flow chart is shown in Figure 3-5. Show.

Figure 3-5 Data modification flow chart

3.4.4 Data deletion process

After the user successfully logs in, the invalid data information can be deleted through legal operations if the system allows it. If the user's operation is illegal, the data information cannot be successfully deleted in the system. The data deletion flow chart is shown in Figure 3-6. Show.

4 system design

4.1 System function design

This system mainly uses Java language coding to design system functions, MySQL database management data, JSP technology to design concise and friendly website pages, and then writes relevant Java code files in the MyEclipse development platform, and then completes the connection with the database through the connection language Set up the work, then complete the information interaction through the Tomcat plug-in provided by the platform, and finally open the system URL in the browser to use the system. The user roles of this system can be divided into users and administrators. Users have functions such as registration and evaluation information, while administrators have functions such as modification and management of information. The overall functional design of the system is shown in Figure 4-1.

Figure 4-1 Overall functional design diagram of the system

4.2 Database design

4.2.1 Concept design

In the entire database design process, conceptual design prepares for subsequent work, is the key to the realization of subsequent work, and is also the key to determining the data processing requirements based on user participation, thus making the database design successful. The main task of conceptual design is to transform the collected usage requirements of the real world into an abstract information world structure, which can truly reflect the relationship between entities in real life. The relevant syntax and code of the database are relatively easy to understand. and modification, which facilitates relevant personnel to store relevant data information in the database, modify and use it [18].

Establishing a conceptual data model (E-R) and associating the implementation world with the information world is the first and more important step in designing a database. Once the design is wrong, the entire database design may be of practical significance and requires Relevant personnel have to perform rework, which is time-consuming and expensive, and may cause delays in work. The design at this stage can clearly see the flow of data between various entities, and has strong specific expression capabilities, making it easier for developers to find and discover the specific needs of users [19]. Therefore, the establishment of E-R occupies an important position. A necessary step in database design is the design of E-R diagram. The main entities of this system include administrators, users, etc. The main entity information E-R diagrams designed in the conceptual design stage of the database are shown in Figure 4-2, Figure 4-3, Figure 4-4, Figure 4-5, Figure 4-6, Figure 4-7, and Figure 4-8. , as shown in Figure 4-9, and the overall E-R diagram of the system is shown in Figure 4-10.

4.2.2 Logic design

This system uses MySQL database to manage system-related data information. The logical design stage is the specific implementation of the previous stage. Its main function is to convert the E-R design into a relational model that is convenient for database storage, that is, in the form of a basic table, so that developers can optimize and manage the data model later [20]. The logical design stage is the key to the entire database design. Information related to the system will be stored in the database during this stage. When users use this system to perform related functional operations, the basic location of the relevant data information is The table will be updated accordingly. The main task of the logical design phase of the database is to design the data information related to the system into a basic table form that facilitates database storage and management. The specific content is as follows.

Table 4-1 admin administrator information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

name

account

varchar

NO

Yes

password

password

varchar

NO

Yes

realname

Name

varchar

NO

Yes

sex

gender

varchar

NO

Yes

age

age

varchar

NO

Yes

address

address

varchar

NO

Yes

tel

Telephone

varchar

NO

Yes

addtime

time

varchar

NO

Yes

Table 4-2 member user information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

username

account

varchar

NO

Yes

password

password

varchar

NO

Yes

realname

Name

varchar

NO

Yes

sex

gender

varchar

NO

Yes

sfz

ID number

varchar

NO

Yes

yes

Phone number

varchar

NO

Yes

zp

photo

varchar

NO

Yes

in sight

time

varchar

NO

Yes

ifuse

state

varchar

NO

Yes

Table 4-3 fw house information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

mc

name

varchar

NO

Yes

fb

Post a landlord

varchar

NO

Yes

yes

Phone number

varchar

NO

Yes

hx

House type

varchar

NO

Yes

mj

area

int

NO

Yes

jg

price

int

NO

Yes

zj

total price

int

NO

Yes

city

picture

varchar

NO

Yes

wz

Location

varchar

NO

Yes

sj

time

datetime

NO

Yes

zt

state

varchar

NO

Yes

Table 4-4 fl classification information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

mc

title

varchar

NO

Yes

Table 4-5 dd order information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

fwmc

House name

varchar

NO

Yes

yhxm

username

varchar

NO

Yes

zj

total price

int

NO

Yes

sj

time

varchar

NO

Yes

Table 4-6 ly message information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

fwmc

House name

varchar

NO

Yes

yhxm

username

varchar

NO

Yes

lynr

Message content

varchar

NO

Yes

hfnr

Reply content

varchar

NO

Yes

plz

Comment time

datetime

NO

Yes

Table 4-7 gg announcement information table

Field Name

Field description

type of data

Is it a primary key?

Whether to allow empty

id

serial number

int

YES

NO

cm

name

varchar

NO

Yes

No.

content

varchar

NO

Yes

sj

time

varchar

NO

Yes

5 system implementation

5.1 Implementation of administrator function module

5.1.1Administrator login

The administrator can choose any browser to open the URL. After entering the information correctly, he can exercise relevant management rights as an administrator. The administrator login interface design is shown in Figure 5-1.

Figure 5-1 Administrator login interface

5.1.2 Personal Center

Administrators can manage relevant personal information records by selecting the personal center, such as changing passwords, viewing personal information, modifying user names, etc. The password changing interface design is shown in Figure 5-2, and the personal information editing interface design is shown in Figure 5 -3 shown.

Figure 5-2 Password modification interface

Figure 5-3 Edit personal information interface

5.1.3 Landlord management

Administrators can select landlord management to manage relevant landlord information records, such as adding landlord information, viewing landlord names, modifying landlord mobile phone numbers, deleting invalid landlord information records, etc. The landlord management interface design is shown in Figure 5-4. .

Figure 5-4 Landlord management interface

5.1.4 User management

管理员可以通过选择用户管理,管理相关的用户信息记录,比如进行添加用户信息,查看用户姓名,修改用户照片,删除失效的用户信息记录等操作,用户管理界面设计如图5-5所示。

5.1.5房屋出售管理

管理员可以通过选择房屋出售管理,管理相关的房屋出售、留言、订单等信息记录,比如进行添加房屋出售信息,查看发布房东,修改房屋状态等操作,房屋出售管理界面设计如图5-6所示,房屋出售订单管理界面设计如图5-7所示。

图5-6房屋出售管理界面

图5-7房屋出售订单管理界面

5.1.6房屋出租管理

管理员可以通过选择房屋出租管理,管理相关的房屋出租、留言、订单等信息记录,比如进行查看房屋名称,修改房屋户型,删除失效房屋信息等操作,房屋出租管理界面设计如图5-8所示,房屋出租订单管理界面设计如图5-9所示。

图5-8房屋出租订单管理界面

图5-9房屋出租管理界面

5.1.7轮播图管理

管理员可以通过选择订轮播图管理,管理相关的轮播图信息记录,比如进行查看轮播图名称,修改轮播图片,批量删除失效的轮播图等操作,轮播图管理界面设计如图5-10所示。

图5-10轮播图管理界面

5.1.8公告管理

管理员可以通过选择公告信息管理,管理相关的公告信息记录,比如进行添加公告信息,查看公告内容,修改公告时间等操作,公告管理界面设计如图5-11所示。

图5-11公告管理界面

5.2用户功能模块实现

5.2.1系统首页

用户在浏览器中打开本系统,可以查看房屋出售、房屋出租、公告、论坛、留言等操作,系统首页界面设计如图5-11所示。

图5-11系统首页界面

5.2.2个人中心

用户可以通过选择密码信息管理,管理用户相关的个人信息记录,通过输入正确的原密码,再次输入新密码,完成密码的修改操作,修改密码界面设计如图5-12所示,编辑个人信息界面设计如图5-13所示。

图5-12修改密码界面

图5-13个人信息界面

5.2.3房屋出售管理

用户可以通过选择房屋出售管理,管理用户相关的房屋出售、留言、订单等信息记录,比如进行查看发布房东,查看房屋状态等操作,房屋出售管理界面设计如图5-14所示,房屋出售订单管理界面设计如图5-14所示。

图5-15房屋出售订单管理界面

5.2.4房屋出租管理

用户可以通过选择房屋出售管理,管理用户相关的房屋出租、留言、订单等信息记录,比如进行查看发布房东,查看房屋状态等操作,房屋出售管理界面设计如图5-16所示,房屋出售留言管理界面设计如图5-17所示,房屋出售订单管理界面设计如图5-18所示。

图5-16房屋出租管理界面

图5-17房屋出租留言管理界面

图5-18房屋出租订单管理界面

5.2.5公告管理

用户可以通过选择公告管理,管理用户相关的公告信息记录,比如进行查看公告名称,查看公告类型,查看公告详情等操作,公告管理界面设计如图5-19所示。

图5-19公告管理界面

6系统测试

6.1测试概述

用户正式使用本系统之前,必须进行的一个环节就是进行系统测试。通过测试工作,相关人员可以验证在系统的使用过程中,界面环境是否整洁友好,用户账号信息是否安全可靠,性能方面是否稳定健壮,功能方面是否符合用户需要等。系统测试不仅需要找出系统运行中会出现的问题,还需要分析产生这些问题的原因,并且找到解决这些问题的方法[21]。

黑盒测试和白盒测试是系统测试的主要类型[22]。黑盒测试即功能测试,以使用者的角度,对系统展开相关的测试工作。在黑盒测试过程中,测试人员对于系统的内部结构等内容无需关注,仅根据系统的程序接口,即可运行和检测系统功能。白盒测试即结构测试,其主要是站在程序员的角度对系统进行测试。与黑盒测试不同,白盒是一种基于代码的测试过程,测试人员需要了解系统内部的代码等内容,通过检测实际的系统程序状态、逻辑路径等情况与预期达到的结果是否一致,确认系统的设计内容是否符合规范。本系统主要使用功能测试的方法,测试系统功能效果。测试流程图如图6-1所示。

图6-1测试流程图

6.2功能模块测试

6.2.1管理员登录模块测试

管理员登录模块测试如表6-1所示。

表6-1管理员登录测试表

测试项目编号

001

测试项目名称

管理员登录模块

测试用例编号:001

(1) 输入:账号:admin

          密码:11111

(2) 输出:登录成功,页面自动跳转到主页。

(3) 步骤及操作:在浏览器中输入网站,点击管理员登录按钮,填写相关的登录内容

管理员登录模块测试的实现界面如图6-2,图6-3,图6-4所示。

图6-2管理员登录界面

图6-3管理员登录成功界面

图6-4管理员登录成功后界面

6.2.2房屋出售管理模块测试

房屋出售管理模块测试如表6-2所示。

表6-2房屋出售管理测试表

测试项目编号

002

测试项目名称

房屋出售管理模块

测试用例编号:002

(1) 点击【房屋出售管理】按钮

点击【房屋出售订单管理】按钮

选择房屋名称1,点击【删除】按钮

(2) 输出:操作成功,删除成功,页面自动跳转到相应的订单信息界面。

(3) 步骤及操作:用户成功登录后,进入主页面,点击【房屋出售管理】按钮,再点击【房屋出售订单管理】按钮,选择房屋名称1,点击【删除】按钮。

房屋出售管理模块测试的实现界面如图6-5,图6-6,图6-7所示。

图6-5房屋出售订单管理界面

图6-6房屋出售订单删除界面

图6-7房屋出售订单删除后界面

6.2.3房屋出租管理模块测试

房屋出租管理模块测试如表6-3所示。

表6-3房屋出租管理测试表

测试项目编号

003

测试项目名称

房屋出租管理模块

测试用例编号:003

(1) 点击【房屋出租管理】按钮

点击【房屋出租订单管理】按钮

选择房屋名称2,点击【退房】按钮。

(2) 输出:操作成功,页面自动跳转到相应的订单信息界面。

(3) 步骤及操作:用户成功登录后,进入主页面,点击【房屋出租管理】按钮,再点击【房屋出租订单管理】按钮,选择房屋名称2,点击【退房】按钮。

6.3测试结果分析

测试环境是使用一台不需要具有较高配置的电脑或者笔记本,在Windows 操作系统环境上,在浏览器中输入本系统网址,如果能正常访问本系统的首页,说明本系统可以成功的进行测试。用户可以在浏览器中输入系统网址,填入正确的账号信息访问本系统,再通过下拉式菜单的方式,选择相关的功能模块,实现相应的功能操作。总之,根据以上相关的系统测试内容显示,本系统的测试结果比较顺利,系统性能比较稳定,基本上没有出现问题。

7总结与展望

本文从用户对房屋租售信息管理系统的实际需求出发,设计本系统总体功能,然后结合相关的开发 技术,比如Java语言、MySQL数据库等,详细的编码实现本系统,最后通过功能测试,测试和完善系统功能。

本系统的设计采用的是B/S模式,主要使用的开发语言是Java语言。首先,在MyEclipse平台上编写相关代码,在MySQL数据库上设计相关表格,然后相关的连接代码,将前台功能设计与后台数据库设计进行连接使用,再通过平台提供的Tomcat插件,将系统发布到Tomcat服务器上,最后用户可以选择浏览器打开网址使用本系统。本系统使用性能稳定可靠,在功能设计上,是达到设计的标准的。而且,系统的测试结果显示,本系统现在是可以正常的被投入使用。

随着大数据技术、人工智能、深度学习等新一代科学技术力量的出现,大大加快了各行业信息化建设的进程。我们应该努力学习新一代科学技术以及相关知识,不断提高自己的专业能力水平,设计和实现出一款能够顺应时代变化的,功能强大的信息管理系统。

由于本人的专业能力和时间有限,本系统可能存在一定的局限性,比如系统处理能力、用户信息安全等方面可能存在不足。本人将通过学习目前比较主流的计算机技术和新型科技知识,并且将其积极的应用到系统的设计过程中,对系统进行更深层次的维护,提高系统的安全性和实用性,让系统更加人性化、智能化,在用户使用本系统时,使得系统能够更快的响应用户,更好的服务用户。

参考文献

[1]李睿. 电子产品网络购物系统的设计与实现[D]. 电子科技大学, 2013.

[2]张一鸣, 桂林, 张家祥. 个人网站组建实用教程[M]. 西安: 电子科技大学出版社, 2016, 15-23.

[3]倪海顺. 计算机软件开发的Java编程语言应用探讨[J]. 信息与电脑(理论版), 2019(02): 60-61.

[4]桂林斌. 基于Java EE的高校科研成果管理系统的设计与实现[J]. 电脑与电信, 2018(Z1): 24-27.

[5]Planko J, Chappin M M H, Cramer J M, et al. Managing strategic system-building  networks in emerging business fields: A case study of the Dutch smart grid sector[J].  Industrial Marketing Management. 2017.

[6]周茜. 基于Struts+JPA+Spring构建的电子商务系统的设计与实现[J]. 软件导刊. 2014, 10(1): 88~91.

[7]王剑南. Java面向对象B/S后台开发精粹[M]. 北京: 清华大学出版社, 2010, 8(5): 11-13.

[8]孙卫琴. 精通Struts:基于MVC的Java Web设计与开发[M]. 北京: 电子工业出版社. 2004. 14-18.

[9]兰旭辉, 熊家军, 邓刚. 基于MySQL的应用程序设计[J]. 计算机工程与设计, 2004, 25(3): 442-443.

[10]王越. JAVA编程语言在计算机软件开发中的应用[J]. 电子技术与软件工程, 2019(01): 35.

[11]冯燕奎, 赵德奎. JSP实用案例教程[M]. 北京: 清华大学出版社, 2013, 22-30.

[12]蔡剑, 景楠. Java Web应用开发,J2EE和Tomcat[M]. 北京: 清华大学出版社, 2011, 11-33.

[13]陈永政, 张正龙. JavaEE框架技术:SpringMVC+Spring+MyBatis[M].西安:西安电子科技大学出版社,2017.

[14]黄文娟. 基于Java和MySQL的图书馆信息化管理系统设计[J]. 电子设计工程, 2019, 27(02): 20-24.

[15]张继东. MySQL数据库基于JSP的访问技术[J/OL]. 电子技术与软件工程, 2017, (15): 169(2017-08-03).

[16]潘国荣. 基于JSP+JavaBean+Servlet实现模式的增删改模块的设计与实现[J].信息通信, 2017, (08):101-103.

[17]陶智刚, 王明哲. 面向目标的系统的系统建模方法[J].  系统工程与电子技术, 2013, 35(11): 2335-2341.

[14]李荣国, 王见. MySQL数据库在自动测试系统中的应用[J], 计算机应用, 2019 (31): 169-171.

[19]王珊, 萨师煊. 数据库系统概论[M]. 北京: 高等教育出版社, 2012.

[20]陆慧娟等. 数据库设计与应用开发实践[M]. 清华大学出版社. 2014.

[21]王宜贵. 软件工程[M]. 北京: 机械工业出版社, 2010, 25-30.

[22]Homès B. Fundamentals of Software Testing[M]. John Wiley & Sons, 2013.



致谢

经过很长时间的的努力,本人基本上完成了对房屋租售信息管理系统的开发,本人的论文也是在所开发的系统为基础上得以撰写成功。在此,我要感谢在校的所有老师和同学。本人在设计系统的每一个阶段,学习到了许多超出理论范畴的实践知识和经验,同时也提高了我的专业能力和水平。

感谢我的学校,为我们提供一个师资力量雄厚的,书籍资源种类多的,学习氛围浓郁的大集合,使得我们可以学习到很多知识,同时也为我们提高运动场地,让我们在学习知识的同时,不忘积极锻炼身体,促进我们身心健康的发展。

感谢我的指导老师,在系统的设计阶段,比如选题、功能需求、功能设计等撰写等阶段,给予我多方面的帮助和指导,正是因为老师的辛勤指导,使得我的系统才得以按期实现,论文才得以按期完成。

感谢我的同学们,当我在设计系统的过程中,由于遇到问题而导致毕业设计进度停滞不前时,同学们积极的鼓励我,主动的帮助我分析问题,让我可以在较短时间内找到解决问题的方法,而后使得我能够成功的设计和实现系统。

感谢我的家人,一直陪伴着我客服困难和挫折,给予我奋勇向前的力量,让我有信心挑战困难,找到解决问题的方案,不断地提升自己的综合能力,踏踏实实的向着自己的理想前进。

最后感谢我的祖国,为我提供一个和谐的社会环境,友好的校园环境,我将会更加努力的学习先进的知识,争取早日回报我的祖国,为祖国的综合发展,奉献出自己的一份力量。

Guess you like

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