Research on Mobile APP Online Short-Term Rental System Based on Computer Artificial Intelligence Technology
Research on Mobile APP Online Short-Term Rental System Based on Computer Artificial Intelligence Technology
Technology
Wang Shiyun
School of Management
Shanghai University
Shanghai, China
[email protected]
I. INTRODUCTION
It is imperative to use computers to realize short-term
rental management of houses. For homeowners or
intermediaries, using computers to support enterprises to Fig. 1. NET Framework framework
efficiently complete the daily affairs of house short-term
rental management is a necessary condition for adapting to
the requirements of modern enterprise systems and III. DESIGN OF ONLINE SHORT-TERM RENTAL SYSTEM
promoting the scientific and standardized labor management
of enterprises; and house short-term rental management is a A. System architecture design
necessary condition A trivial, complex and meticulous work, The system adopts B/S structure and SSM frame design,
the basic data of the house, the management of customer and is mainly divided into four layers: view layer, control
data, the management of short-term house rental, the layer, service layer, and data persistence layer. The system
management of various charges and statistical reports, architecture is shown in Figure 2.
generally do not allow mistakes, if manual operation is
performed, it must be filled in manually A large number of (1) The view layer is mainly used for the display of the
forms will consume a lot of time and energy of the staff. system interface. The Bootstrap framework is mainly used
The management of short-term housing rental work by for development, and all functional modules of the system
computer can not only ensure the accuracy and rapid output are directly oriented to users, which is the most direct
of various information, but also has advantages that cannot experience for users of the system. (2) When the control
be compared with manual management [1]. The purpose of layer calls to modify the data, it involves the field
developing this system is to solve some irregularities in the information change in the form cannot. The JavaBean object
management of housing short-term rental information, and is written through the Controller function, and the Spring
to make the management of housing short-term rental framework automatically encapsulates it. (3) The service
information develop in the direction of standardization, layer is the database access interface, which is used to
simplification and effectiveness. obtain data from the data source. The coupling between the
business logic layer and the access database code can be
reduced through the service layer. (4) The data persistence
The user information table mainly records all user housing composition, location, householder ID, area,
information registered in the system, including user name, quotation, and housing source pictures. The friend-seeking
user id, password, gender, age, contact information and demand table mainly includes specific attributes such as the
other related attributes. The housing source information friend-finding demand id, the gender requirement of the
table is mainly to save the relevant information of the friend-finding, the age range of the friend-finding, the area
housing source, including specific attributes such as the where the house is located, the composition requirements of
housing source id, room type, neighborhood, rental status, the house, the price range, the room type, the life style, the
815
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on August 23,2024 at 03:48:49 UTC from IEEE Xplore. Restrictions apply.
user id, and whether pets are accepted [4]. The housing of a system.
reservation form mainly includes specific attributes such as
reservation user id, reservation form id, house listing id, 1) The administrator enters through the system
order status, and reservation time. The roommate collection management interface, establishes basic room information,
data table mainly records all the roommate information system user information, etc., and saves all information in
collected by the logged-in user, mainly including specific the database. At the same time, the administrator can also
attributes such as collection id, user id, and favorite perform basic operations such as adding and deleting the
roommate id. During the entire system transfer process, the above information. 2) Operators can use the system to
tables are related to each other for information exchange. inquire about basic room information, basic customer
The E-R diagram of the system is shown in Figure 3. information, fee settlement information, etc. 3) The system
generates the fees payable by the customer, and can generate
a reminder note at the same time. 4) Provide corresponding
D. System data flow chart reports to analyze occupancy rate, customer situation
Figure 4 is a data flow diagram. The whole system is analysis, etc., and provide basis for homeowners and
generally divided into five parts: system management, intermediary companies to make decisions. In order to
customer data management, room information management, intuitively describe the various functions of the housing
expense management and statistical reports. The functions rental management system.
of each part are as follows: First, analyze the main functions
816
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on August 23,2024 at 03:48:49 UTC from IEEE Xplore. Restrictions apply.
testing. Generally, includes task test, critical test, interrupt
B. User matching feature extraction test, etc. Based on the requirements of the entire system
Different from social network and e-commerce requirements specification, write corresponding use cases
platforms, in the C2C short-term rental platform, the for different functions of each module to test, compare the
personal information of the landlord is limited, and the user test results with the expected results, check whether they are
matching method in the existing research cannot be directly consistent, and confirm whether the function realization
applied to the landlord matching [5]. The basic idea of effect has reached the expected effect. For those with more
house source matching is to use the geographical location defects Program blocks, conduct more in-depth testing, so as
information of the house source for matching, mainly to realize the correction and perfection of the program.
through the location description information such as the Relevant functional tests take the housing reservation
longitude and latitude of the house source, address and title, process as an example, and the test case design and result
among which the longitude and latitude are more objective, analysis are shown in Figure 6.
but have certain deviations, and the house source address
includes the province, city and city and housing area and
other information, some housing titles also include the street
where it is located and nearby geographic information. In
addition to considering the geographical location, the listing
matching also needs to comprehensively consider other
characteristics such as the price and area of the listing. For
string-type features such as listing titles, the similarity is
calculated using edit distance:
LD ( li ,l j )
RE ( li ,l j ) = 1 − (1)
(
max len ( li ) ,len ( l j ) )
See Algorithm 1 for the calculation process of latitude
and longitude similarity. For example, when the difference
between two listings is 0.2 in longitude or latitude, it means
that the difference in geographical location can be up to Fig. 6. Test case for housing reservation process
20,000m (due to the measurement and accuracy errors of the
platform, the actual distance is less than this value), and the
possibility of being the same listing is very low, so Both VI. CONCLUSION
LatThr and LongThr are set to 0.2. Digital features are
Travel B&B Short-Rent App is an Android-based B&B
calculated using Euclidean distance, as shown in formula (2):
short-term rental reservation system for tourism features.
The software mainly includes user login function,
registration function, rental house information release
dist ( X ,Y ) =Σin=0 ( xi − yi )
2
(2) function, house information search function, house
information browsing function and house information.
Among them, X and Y respectively represent a certain scheduled functions, etc. The app better meets the needs of
tourists for short-term rental of homestays, and provides a
digital feature of the two housing sources, and xi , yi is the
cheap, convenient, and convenient service anytime,
itch component of X and Y respectively [6]. Based on the anywhere.
above method, the similarity of each feature of the two
housing sources can be calculated respectively.
REFERENCES
[1] Guo Jinfeng, Guo Yongkai, Zhou Bin. Public rental housing
V. SYSTEM TESTING management system based on NB-IoT communication and finger vein
System testing generally includes functional testing, smart door lock. Internet of Things Technology, vol. 11, pp.39-44,
November 2021.
performance testing, security testing, etc. Currently,
[2] Yan Mei, Ming Jing. Design and Application of Integrated
commonly used testing methods include black-box testing, Management System of Engineering Geological Information for
white-box testing, and gray-box testing. This process can Public Rental Housing. Digital Technology and Application, vol. 40,
find errors in system analysis and design implementation. It pp.74-78,April 2022.
is an important part of perfecting your project. The tests [3] Zhang Wen, Fang Wei, Jia Xuelei. Design and Implementation of
conducted by the system also included multiple aspects. Shared Rental System Based on SSM Framework. Computer
First of all, test the user interface to check whether the user Technology and Development, vol. 31, pp.16-25,November2021.
interface design is humanized, whether the content of text [4] Wu Shaojie, Wang Deru. Application of BIM Smart Construction Site
System in Green Construction of Dinggezhuang Public Rental
and pictures is displayed normally, and whether the overall Housing Project in Tongzhou District. Building Technology
effect of the system is beautiful [7]. The white-box testing Development, vol. 4, pp. 88-94,March 2021.
method is also adopted. The white-box testing does not pay [5] Ma Jing. The practice and exploration of one thing reform in the field
attention to the functions of the system. According to the of low-rent housing. Electronic Paradise, vol. 7, pp.32-36,June 2022.
internal working logic of the system, the entire project is [6] Wu Shaojie, Cai Zhenhao, Wang Deru, Wei Qiangwei, and Geng
checked to check whether the internal structure is working Zhenheng. Application of BIM Electromechanical Deepening
as expected. Black box testing is an important part of system Technology in Dinggezhuang Public Rental Housing Project in
817
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on August 23,2024 at 03:48:49 UTC from IEEE Xplore. Restrictions apply.
Tongzhou District. Building Technology Development, vol. 48, public rental housing project in Tongzhou District. Building
pp.86-87, March 2021. Technology Development, vol. 11, pp.48-54,March 2021.
[7] Wu Shaojie, Cai Zhenhao, Wang Deru, et al. Application of BIM
mechanical and electrical deepening technology in Dinggezhuang
818
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on August 23,2024 at 03:48:49 UTC from IEEE Xplore. Restrictions apply.