System Design of Badminton Hall Reservation System

1 Overall system structure design
1.1 System boundary and interface design
The main task of the system boundary design process is to determine the interface between the system and the external environment, specifically including the following aspects:

(1) Interface with partners
This type of interface mainly exists between the enterprise using this system and its business partners for business cooperation and business contacts, and the target system will exchange data with these enterprises. For example: data information exchange with the One Card platform in the payment process, data transfer with other partners in the process of business dealings and information exchange.
(2) The interface with the existing internal information system
This type of interface exists between the e-commerce system and the original internal information system of the enterprise. In this system, for example, it is connected with the financial system and CRM management system through interfaces to realize the exchange and transmission of internal information within the enterprise.
(3) Interface between transaction-related public information infrastructure
This type of interface mainly refers to the interface between enterprises, business intermediaries and public information environment in the process of enterprise electronic transactions. In this system, there are mainly banks, CA centers, Alipay, etc., which are used for the transmission and exchange of information during the payment process, to ensure the safety, reliability and timeliness of the payment process, and to ensure the consistency of payment information during the transmission process.
(4) Other interfaces
Mainly refers to the interface between the enterprise and the government or other institutions. In this system, it is mainly the interface with the relevant departments of the school and the relevant departments of the government. Such interfaces in this system are mainly used to communicate with relevant government departments to ensure the transmission of relevant information, and at the same time ensure the reasonable integration of payment, reservation and other information with school resources, and ensure the efficient operation of the system.
1.2 Software Structure Design

1.3 System module design
According to the analysis of system requirements, the overall functional module diagram of the system can be designed as follows:

1.4 Design of system information flow
System flow is the working process of users when using the system. This system is a multi-type user management information system, and the work authority of each type of user is different. The following describes the system with a functional structure diagram:

Figure
1.5 Database Design
1.5.1 Database Requirements Analysis
According to the requirements of the badminton court reservation system, through the analysis of the content and data flow of the badminton court management process, the following data items and data structures are designed:
Venue Basic information, including data items: venue number, venue specification, venue location, venue status, unit price, member price, etc.
·Book basic information, including data items: venue number, user name, ID number (student number), ID card address (college), scheduled time, duration of use, operator, etc.
·Basic user information, including venue number, user name, ID number (student number), ID address (college), start time, end time, number of users, discount information, operator, etc.
· Settlement information, including data items: venue number, user name, ID number (student number), unit price of venue, discount information, start time, settlement time, remarks, etc.
·System user information, including data items: user name, user password, user authority.
1.5.2 Database structure design
The database contains the following 5 tables: system user table, site status table, site reservation table, user usage table, and historical user table.
Table 1 System User Table
Number Field Name Data Type Description
1 User name text, length 50 User's login name, required field
2 Password text, length 40 Password, required field
3 Permission text, length 40 User's authority, required field

Table 2 Site state table
Number field name Data type description
1 Number number, integer label
2 Specification text, length 50 Site specification
3 Location text, length 20 Site location
4 Status text, length 50 Site status
5 Unit price Number, the unit price of an integer venue6
Member price number, an integer number of member preferential prices for a venue

Table 3 Site Reservation
Table Number Field Name Data Type Description
1 Number number, integer The number of the reserved site
2 Name text, length 50 Name of the reservation user
3 Specification text, length 50 Specification of the reserved site
4 Standard price number, integer The standard of the reserved site Price
5 Certificate type text, length 10 ID type of the scheduled user
6 ID number text, length 50 ID number of the scheduled user
7 Contact phone text, length 50 Contact phone number of the scheduled user
8 Operator text, length 20 Operator of the scheduled operation
9 Deposit Numerical, integer The user pre-books the venue and pays the venue fee in advance
10 Summary text, length 100 Summary of the reservation operation

Table 4 User Usage Table
Number Field Name Data Type Description
1 Number Number, Integer Number of Sites Used by Users
2 User Name Text, Length 50 Names of Users
3 Standard Price Numbers, Integer Prices of Sites Used by Users
4 Specification Text, Length 50 Users Specifications of the site used
5 ID type text, length 50 User ID type
6 ID number text, length 50 User ID number
7 ID address text, length 50 User ID address
8 Start time text, length 50 User start time
9 Use time length text, length 50 Total time scheduled by user
10 Operator text, length 50 Site registered operator
11 Date of use Date type Date of user using the site
12 Number of users Numeric type, integer The total number of users using the site
13 Number of use fee Integer type, the total cost of the user using the site
14 Discount fee Numeric type, the integer user gets the discount price during the use of the site

Table 5 Historical User Table
Number Field Name Data Type Description
1 User name text, length 50 Name of historical user
2 ID type text, length 10 ID type of historical user
3 ID number number, integer ID number of historical user
4 Certificate address text, length 50 ID address of historical user
5 Last date of use Date type Historical user’s last use date
6 Number of times Number of historical users’ usage times
2 Software support platform design
Software support platform selection results
Operating system Windows XP
Database system Access
development/running environment. NET, C#
application server IIS
2.1 Operating system selection
2.1.1 Overview of Windows XP
Windows XP is a Windows operating system released by Microsoft Corporation. It was released on August 25, 2001, and its original name was Windows XP startup interface Whistler. Microsoft initially released two editions, Home and Professional. The consumer version of the home version is aimed at home users, while the professional version adds new features such as network authentication and dual processors for business-oriented designs on the basis of the home version. And the Home Edition only supports 1 processor, while the Professional Edition supports 2. The letter XP represents the "experience" of the English word.   
2.1.2 Advantages of Windows XP
Windows XP is based on the Windows 2000 code, and has a new graphical user interface, which includes some minor modifications, some of which seem to be inspired by Linux desktop environments (desktop environments) such as KDE. A login screen with user graphics is an example. In addition, Windows XP introduces a "persona-based" user interface that allows toolbars to access task-specific details. It includes simplified Windows 2000 user security features and an integrated firewall to ensure security issues that have plagued Microsoft for a long time.
2.2 Database system selection
2.2.1 Access overview
Access is a Windows-based desktop relational database management system (RDBMS, Relational Database Management System) launched by Microsoft, and is one of the Office series application software. It provides tables, queries, forms, reports, pages, macros, and modules for seven types of objects used to build database systems; provides a variety of wizards, generators, and templates to integrate data storage, data query, interface design, and report generation It provides convenience for establishing a fully functional database management system, and enables ordinary users to complete most of the data management tasks without writing codes. Access can access data in Access/Jet, Microsoft SQL Server, Oracle (Oracle), or any ODBC-compliant database. Skilled software designers and data analysts use it to develop application software, while some unskilled programmers and non-programmer "advanced users" can use it to develop simple application software.
2.2.2 access advantages
(1) single storage mode   
Access manages objects including tables, queries, forms, reports, pages, macros and modules, all of which are stored in database files with the suffix (.mdb), which is convenient for users to operate and management.   
(2) New object-oriented operation interface  
Access is an object-oriented development tool. It uses object-oriented methods to objectify various functions in the database system, and encapsulates various functions of database management in various objects. It regards an application system as composed of a series of objects, and for each object, it defines a set of methods and properties to define the behavior and properties of the object, and users can also extend methods and properties to objects as needed. The operation and management of the database is completed through the methods and attributes of the object, which greatly simplifies the development work of the user. At the same time, this object-oriented development method makes it easier to develop applications.   
(3) Friendly interface, easy to operate   
Access is a visual tool, its style is exactly the same as that of Windows, users only need to use the mouse to drag and drop objects if they want to generate and apply them, which is very intuitive and convenient. The system also provides tools such as table builder, query builder, report designer, database wizard, table wizard, query wizard, form wizard, report wizard, etc., making the operation easy, easy to use and master.   
(4) Integrated environment, processing a variety of data information   
Access is based on the integrated development environment under the Windows operating system. This environment integrates various wizards and generator tools, which greatly improves the developer's work efficiency. , Design user interface, design data query, report printing, etc. can be carried out conveniently and orderly.   
(5) Access supports ODBC (Open Data Base Connectivity), using the powerful DDE (Dynamic Data Exchange) and OLE (Object Linking and Embedding) features of Access, you can embed bitmaps and sounds in a data table , Excel tables, Word documents, and dynamic database reports and forms can also be established. Access can also apply the program to the network and link with the dynamic data on the network. Use the database access page object to generate HTML files to easily build Internet/Intranet applications.
2.3 Development/running environment and tool selection
2.3.1 .net overview
ASP, a technology of Microsoft Corporation, is a server-side scripting technology that enables scripts embedded in web pages to be executed by Internet servers. Refers to Active Server Pages (dynamic server pages), programs running in IIS.
  ASP.net is not just the next version of Active Server Pages (ASP), but a programming framework built on a common language that can be used in a Web server to build powerful Web applications. ASP.net offers many powerful advantages over today's Web development model.
2.3.2 Advantages of .net
(1) Significantly improved execution efficiency
ASP.net runs programs based on common languages ​​on the server IIS. Unlike the previous ASP instant interpretation program, the program is compiled when the program is run for the first time on the server side. This kind of execution effect is of course much better than the explanation one by one. But ASP.net also has a feature, that is, every time a program (ie code class) is modified, it must be recompiled once, and it must be recompiled several times after several modifications, and the execution effect will also be reduced.
(2) World-class tool support
The ASP.net framework can be developed with the latest Microsoft (R) product Visual Studio.net development environment, WYSIWYG (What You See Is What You Get) editor. These are just a few of ASP.net's powerful software support.
(3) Robustness and adaptability
Because ASP.net is a program compiled and run based on a common language, its power and adaptability allow it to run on almost all platforms of Web application developers (I only know that it can only be used on on Windows 2000/2003 Server). The basic library of the common language, the message mechanism, and the processing of the data interface can be seamlessly integrated into the ASP.net Web application. ASP.net is also language-independent, so you can choose a language that is most suitable for you to write your program, or write your program in many languages, and now it supports C# ( A combination of C++ and Java), VB, Jscript. In the future, the ability of multiple programming languages ​​to work together will protect your current COM+-based programs, which can be completely transplanted to ASP.net. ASP.NET is generally divided into two development languages, VB.NET and C#. C# is relatively commonly used because it is a unique language of .NET. VB.NET is designed for previous VB programming and is suitable for previous VB programmers. If you are exposed to .NET and have no experience in other development languages, it is recommended to learn C# directly.
(4) Simplicity and ease of learning
  ASP.net makes it very simple to run some very common tasks such as form submission, client authentication, distribution system and website configuration. For example, the ASP.net page framework allows you to build your own user interface, making it different from the common VB-Like interface.
(5) Efficient manageability
ASP.net uses a character-based, hierarchical configuration system to make setting up your server environment and applications easier. Because configuration information is stored in plain text, new settings may be implemented without launching a local administrator tool. This philosophy called "Zero Local Administration" makes ASP.NET's application-based development more concrete and fast. The installation of an ASP.net application program on a server system only needs to simply copy some necessary files, without restarting the system, everything is as simple as that. Reliability in multi-processor environment ASP.net has been deliberately designed as a development tool that can be used for multi-processors. It uses a special seamless connection technology in a multi-processor environment, which will greatly increase the running speed. . ASP.NET's syntax is largely compatible with ASP, but it also provides a new programming model and structure that can produce more scalable and stable applications, and provide better security protection. ASP applications can be enhanced over time by gradually adding ASP.NET functionality to existing ASP applications. ASP.NET is a compiled, .NET-based environment for running common language-based programs on servers. Compile the program when it runs for the first time on the server side, which is much faster than the ASP instant interpreter. And it is possible to use any .NET-compatible language (including Visual Basic .NET, C# and JScript .NET.) to create applications . Additionally, any ASP.NET application can use the entire .NET Framework. Developers can easily obtain the benefits of these technologies, including a managed common language runtime environment, type safety, inheritance, and more. ASP.NET works seamlessly with WYSIWYG HTML editors and other programming tools, including Microsoft Visual Studio .NET. Not only does this make Web development easier, but it also provides all the benefits these tools have to offer, including a GUI that developers can use to drag and drop server controls into Web pages and fully integrated debugging support. When creating ASP. NET applications, developers can use Web Forms or XML Web services, or any combination they see fit. Each feature is supported by the same structure, enabling users to use authentication schemes, cache frequently used data, or customize the configuration of the application.
2.3.3 Overview of C#
C# is an object-oriented high-level programming language released by Microsoft that runs on .NET Framework. And is scheduled to appear on stage at the Microsoft Professional Developer Forum (PDC). C# is the latest achievement of Microsoft researcher Anders Hejlsberg. C# looks surprisingly similar to Java; it includes such things as single inheritance, interfaces, almost the same syntax as Java, and the process of compiling into intermediate code and then running. But C# is obviously different from Java. It draws on a feature of Delphi, and it is directly integrated with COM (Component Object Model), and it is the protagonist of Microsoft's .NET windows network framework.
2.3.4 Advantages of C#
C# is a safe, stable, simple and elegant object-oriented programming language derived from C and C++. It inherits the powerful features of C and C++ while removing some of their complex features (such as no macros and templates, no multiple inheritance). C# combines the simple visual operation of VB and the high operating efficiency of C++. With its powerful operation ability, elegant syntax style, innovative language features and convenient component-oriented programming support, it has become the preferred language for .NET development. And C# has become the standard specification of ECMA and ISO. C# seems to be written based on C++, but it is also integrated into other languages ​​such as Pascal, Java, VB, etc.
2.4 Application Server Selection
2.4.1 Overview of IIS
IIS is the abbreviation of Internet Information Services, which is a World Wide Web server. Gopher server and FTP server are all contained in it. IIS means that you can publish web pages, and have ASP (Active Server Pages), JAVA, VBscript to generate pages, with some extended functions. IIS supports some interesting things, such as an interface with an editing environment (FRONTPAGE), a full-text search function (INDEX SERVER), and a multimedia function (NET SHOW). Secondly, IIS is a file and application provided with Windows NT Server 4.0 The program server is the basic component of establishing an Internet server on Windows NT Server. It is fully integrated with Windows NT Server, allowing the use of Windows NT Server's built-in security and NTFS file system to build a powerful and flexible Internet/Intranet site. IIS (Internet Information Server, Internet Information Service) is a Web (web page) service component, including Web server, FTP server, NNTP server and SMTP server, which are used for web browsing, file transfer, news service and mail sending, etc. , which makes it easy to publish information on the network (including the Internet and local area networks).
2.4.2 IIS Advantages
(1) Reliability and Scalability
IIS 6.0 provides a smarter and more reliable Web server environment. The new environment includes application health monitoring and automatic recycling of applications. Its reliable performance improves the availability of network services and saves the time spent by administrators on restarting network services. IIS 6.0 will provide the best scalability and powerful performance to give full play to the maximum efficiency of each Web server .
(2) Safer and easier to manage
IIS 6.0 has made significant improvements in security and management. The enhancement of safety performance includes both technical and requirements processing changes. In addition, authentication and authorization in terms of security are enhanced. The default installation of IIS 6.0 is fully locked down, which means that the default system security factor is set to maximum, and it provides enhanced management capabilities, improved XML metabase management and new command line tools.
Server Consolidation IIS 6.0 is a highly scalable Web server that provides new opportunities for Web server consolidation. Through the perfect combination of reliable architecture and kernel-mode drivers, IIS 6.0 allows you to host more applications on a single server. Server consolidation can also reduce a business's costs associated with labor, hardware, and site administration.
(3) Higher security
IIS 6.0 has significantly improved the security of the Web server. IIS 6.0 is locked down by default, reducing the attack surface area exposed to attackers. In addition, the authentication and authorization features of IIS 6.0 have also been improved. IIS 6.0 also provides more and more powerful management functions, improves the management of the XML metabase (metabase), and provides new command-line tools. While reducing system management costs, IIS 6.0 greatly improves the security of information systems.
3 Infrastructure platform design
3.1 Hardware support environment
CPU: PIV 2.0GHZ or higher frequency CPU
Memory: DDR333 256MB or more memory Hard
disk: at least 10G or more hard disk space
3.2 Network environment design

Guess you like

Origin blog.csdn.net/ambiguous__/article/details/130857499