天天看點

基于使用者興趣的影視推薦系統設計與實作-springboot計算機畢業設計

摘 要

随着經濟的發展和資訊技術的普及,國内許多企業都面臨了重大的挑戰。企業的管理流程、戰略規劃如果不能進行調整,極有可能面臨淘汰的風險。特别是電影院,面對大量的會員和電影資訊,如果不使用資訊系統進行有效的管理和利用,那就會阻礙電影院的發展,使電影院在市場競争中處于劣勢地位。基于使用者興趣的影視推薦系統可以為電影院帶來發展,提高管理效率,解決電影管理不善、資訊統計複雜等問題,為電影院的可持續發展提供非常有利的條件。

本文先提出了開發基于使用者興趣的影視推薦系統的背景意義,然後通過功能性和非功能性分析闡述本系統的需求,然後從功能設計和資料庫設計兩方面進行系統的設計模組化。在技術實作部分采用了Java作為開發背景的程式設計語言,架構使用SpringBoot,資料庫選擇MySQL。最後進行了代碼的編寫,并說明了實作流程。最終,通過軟體測試來驗證基于使用者興趣的影視推薦系統的功能要求。

關鍵詞:SpringBoot;電影院;電影推薦;資料庫;

Abstract

With the development of economy and the popularization of information technology, many domestic enterprises are facing major challenges. If the management process and strategic planning of the enterprise cannot be adjusted, it is very likely to face the risk of elimination. Especially cinemas, facing a large number of members and film information, if they do not use the information system for effective management and utilization, it will hinder the development of cinemas and put Cinemas at a disadvantage in the market competition. Film recommendation system can bring development to cinemas, improve management efficiency, solve the problems of poor film management and complex information statistics, and provide very favorable conditions for the sustainable development of cinemas.

This paper first puts forward the background significance of developing film recommendation system, then expounds the requirements of the system through functional and non functional analysis, and then carries on the design modeling of the system from two aspects of functional design and database design. In the technical implementation part, Java is used as the programming language of the development background, the framework uses springboot, and the database selects mysql. Finally, the code is written and the implementation process is explained. Finally, the functional requirements of the film recommendation system are verified through software testing.

Keywords: springboot; cinema; Film recommendation; database

目  錄

摘 要 I

Abstract II

第一章 緒論 1

1.1 選題背景 1

1.2 選題意義 1

1.3 研究内容 2

第二章 相關技術介紹 3

2.1 Java語言 3

2.2 SpringBoot技術 3

2.3 Mysql資料庫 4

第三章 系統分析 5

3.1可行性分析 5

3.1.1 法律可行性 5

3.1.2 經濟可行性 5

3.1.3 技術可行性 5

3.2 需求分析 5

3.2.1非功能性需求 5

3.2.2功能需求 6

3.3 系統用例 6

3.3.1 會員功能需求 6

3.3.2 管理者功能需求 7

第四章 系統設計 9

4.1系統詳細設計 9

4.1.1功能設計 9

4.2.2電影推薦設計 10

4.2 資料庫設計 10

4.2.1邏輯結構設計 11

4.2.2實體結構設計 11

第五章 系統實作 17

5.1 運作環境 17

5.2 電影院管理功能實作 17

5.2.1管理者登入 17

5.2.2管理主界面 18

5.2.3電影類型管理 18

5.2.3電影管理 19

5.2.4使用者管理 20

5.2.5電影評分管理 20

5.3 前台使用者功能實作 21

5.3.1會員注冊 21

5.3.2會員登入 22

5.3.3電影檢視 22

5.3.4電影推薦 23

第六章 系統測試 25

6.1 測試說明 25

6.2 功能測試 25

6.3 測試說明 27

總結 28

參考文獻 29

謝 辭 30

從本質上來說,Spring Boot就是Spring,通過對SSM的整合,實作自動化管理。Spring是J2EE的一個标準,Spring将表現層、業務層耦合降低,因為它包含IOC控制反轉,支援依賴注入。Spring支援七個子產品,每個子產品可單獨使用,也可以互相之間進行調用。Spring核心容器是通過工廠模式實作,代碼的依賴和配置分離,另外一個是面向切片,也就是AOP,通過配置檔案的配置,很輕松的實作切片管理,比如說實作事務管理。Spring也提供了資料通路對象,通過資料庫操作,并将異常和資料提供給業務邏輯。

SpringBoot架構,它是一個開源架構,并融合了架構設計的思想,節省了開發的時間,提高了程式優越性能。其中,SpringBoot架構的優勢在于抛棄了傳統的SSH架構的弊端。主要展現在SpringMVC比Struts2執行效率上更為快捷,Struts2每次請求都需要建立Action,SpringMVC一次性即可建立,執行速度更快,性能也更加強大。SpringMV項目安全性更高,配置檔案也少,并結合Ajax進行局部資料的請求和處理。通過注解方法可以将對象自動轉換為Json資料。SpringBoot架構可以自動調用SQL語句,隻需要掌握資料庫的語言就可以實作資料庫的操作。而且目前SSH架構基本被淘汰,優先使用SpringBoot架構。SpringBoot可以很好的處理并發,更适應變化量較大、安全性要求高、需求變化大的項目。是以本系統選擇使用SpringBoot架構開發進行開發。