摘 要
隨著鐵路建設的發展,鐵路機務信息顯得越來越重要。行車安全及裝備情況統計分析系統(lomacro)是遵照鐵道部以及鐵路局行車安全情況的統計以及行車安全裝備情況的統計的有關管理規程,遵照機務信息化規劃的要求而設計,它實現了鐵路機務信息一體化,具有實時性和有效性。本論文詳細介紹了基于Struts結構的行車安全及裝備情況統計分析系統(lomacro)的設計和實現。
根據功能需求將該系統分為用戶管理,機務段管理,鐵路局管理和鐵道部管理四個子模塊,并采用Struts結構將系統劃分為模型,視圖和控制器三個層次。同時,運用Jsp+JavaBean技術來分離顯示和邏輯處理,使得組件可重用,方便調試和維護。另外,使用Dreamweaver等軟件對系統的框架和界面進行設計,在Jsp頁面中對報表進行設計,以滿足系統自身的需要和用戶的要求。而且,對用戶的功能權限進行了固定劃分,確保了系統的穩健性和安全性。系統經過測試后部署,各功能模塊運行正常,實現了不同部門用戶對報表的不同操作,滿足了用戶的需求。
關鍵字:Struts結構, Action,JavaBean,設計模式
Abstract
Along with the development of railway construction, railway maintenance information is becoming increasingly important. Traffic safety and equipment of the indicators and analysis system (Lomacro) is designed in compliance with the Ministry of Railway and the Railway bureau’s management byelaw about the statistics of traffic safety and the traffic safety equipment, also, it is in compliance with requirement of the railway maintenance’s information planning, it has realized the integration of the railway maintenance information, have the real-time and effectiveness. According to the railway sector’s demand and the status of the hardware and software equipment and building a Web system which based on the Struts. This dissertation introduces the design and development of Lomacro based on Struts.
According to the functional needs ,the system is divided into user management, management of maintenance, management and Railway Ministry four-management module, using Struts division structure of the system as a model, view and controller level. Meanwhile, Jsp+JavaBean use technology to display and logical separation, makes reusable components. facilitate debugging and maintenance. In addition, use Dreamweaver software to design the framework of the system and interface, designed statements in Jsp pages ,for satisfy system’s own needs and the user's requirements. Moreover, the functional competence of the users of the fixed division of the system to ensure the stability and safety. Testing system after deployment, the module operates normally, achieving different departments users of the different statements of operations, it meets user needs.
Key Words: Struts architecture,Action,JavaBean,design model
目 錄
摘 要 I
Abstract II
1 緒論 1
1.1 課題研究背景 1
1.2研究現狀 1
1.3 論文組織結構 1
2 系統的設計 3
2.1體系結構的設計 3
2.2模塊設計 4
2.2.1 用戶管理模塊設計 4
2.2.2機務段管理模塊設計 5
2.2.3 鐵路局管理模塊的設計 6
2.2.4鐵道部模塊的設計 7
2.3數據結構與算法設計 9
2.4數據庫設計 9
2.5系統界面的設計 11
2.6開發環境 12
3 系統的實現及相關技術 15
3.1 數據庫連接 15
3.2 Struts技術 16
3.3 JSP和JavaBean技術 18
3.4 用戶管理模塊的實現 21
3.5機務段管理模塊的實現 24
3.6鐵路局和鐵道部管理模塊的實現 25
3.7 系統實現的環境 25
3.7.1硬件環境 25
3.7.2軟件環境 25
4 系統的實施 27
5 工作總結 29
致 謝 30
參考文獻 31