【正文】
80s. We sat on the back of pickup trucks for hours. The sky was blue, and we couldn39。 雖然通過系統(tǒng)的軟件測試方法的檢測,但是該 網(wǎng)吧計(jì)費(fèi) 系統(tǒng)還存在著一些潛在的缺陷: 該系統(tǒng)在設(shè)計(jì)實(shí)現(xiàn)時(shí)對(duì)用戶的信息存儲(chǔ)量沒有很好的估計(jì),所以在以后的實(shí)際使用中,可能會(huì)出現(xiàn)一些數(shù)據(jù)庫容量的限制問題。 try { Connection con = ()。 ID)。 // 無論是 第 一種刪除 情 況還是第 二種 , 最后都 要 從表格中 刪 除 , 但是未 入 庫的行不 會(huì) 提示“ 是否刪 除 ” int rowcount = () 1。 } else {// 查詢是 否 記錄已經(jīng) 存 在 try { Connection con = ()。 } } 管理員基本功能實(shí)現(xiàn) 首先,管理員登陸: 管理員登陸下線等基本功能與用戶相同,不再贅述,現(xiàn)在講解管理員與用戶不同的功能。 // 相差的 天 數(shù) long hour = (seconds day * 24 * 60 * 60) / (60 * 60)。 try { ()。如圖 9: 圖 9 MonthTurnover 表圖 第四章 系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 系統(tǒng)的 C/S 建模 ( 1)包圖 該系統(tǒng)主要分為兩個(gè)包: client 和 manager,它們與 bar 包是組合關(guān)系,如圖 10。對(duì)于查詢,如果沒有查到相關(guān)記錄,給出相應(yīng)提示,如果查詢成功,則顯示查詢結(jié)果,提示及顯示的結(jié)果要求準(zhǔn)確 性。 ( 2)退出:提示是否確實(shí)要退出系統(tǒng),在管理員確定要退出系統(tǒng)后,退出管理員系統(tǒng)。同時(shí)也為其它場合的計(jì)費(fèi)管理提供了方法和思路。 (2)平臺(tái)無關(guān)性 Java 源程序代碼在編譯前以文本格式保存,這些文件可以在任何平臺(tái)上創(chuàng)建。使各項(xiàng)業(yè)務(wù)的辦理迅速、準(zhǔn)確,極大的提高了 網(wǎng)吧 管理的工作效率。本系統(tǒng)會(huì)做到滿足網(wǎng) 吧管理日常工作的需要,使用方便,界面親切,安全可靠。 關(guān)鍵詞: 網(wǎng)吧、 java、計(jì)費(fèi)、系統(tǒng) 第 2 頁 共 35 頁 Inter cafe billing system design Abstract: Inter technology innovation and development, to the global economy brings new revolution is changing the entire business munity of the petition. Inter, interactive web applications and ecollaboration, such as puter technology will gradually change the business model, making the global work of supply chain will gradually replace hierarchical supply chain, so the work is faced with a new era of opportunity at the same time also faces enormous challenges. With the continuous improvement of science and technology, puter science and technology matures, puter application to the production and in all spheres of life, has played an increasingly important role. As part of puter applications, the use of puters to the munity information management, with manual unmatched advantages, such as: the rapid retrieval, find convenient, high reliability and large storage capacity, long life, low cost, so research and development of Inter cafes fee system is feasible, practical significance. This paper set out from the current situation of the Inter cafe fee system and solves the problems which occurred in the native bars fee system according to the needs of the native bars. It mainly includes designing the whole system by C/S, designing the database by SQL Server as well as programming a Inter cafe fee system in Java language. At last, the system is tested by certain method. It will work on the problems such as the clients must turn to administer who assigns the certain puter in the counter and the calculating of the fee is not exact. System mainly add, find, delete, statistical and other functions module. This system will ensure the management of Inter cafes to meet the needs of their daily work, easy to use, friendly interface, safe and reliable. Key Words: Inter cafe、 Java、 Billing、 system 第 3 頁 共 35 頁 目錄 前言 ................................................................. 5 第一章 設(shè)計(jì)的內(nèi)容和可行性分析 ........................................ 6 設(shè)計(jì)內(nèi)容 ..................................................... 5 可行性分析 ................................................... 5 技術(shù)可行性 .............................................. 5 經(jīng)濟(jì)可行性 .............................................. 5 第二章 系統(tǒng)分析 ...................................................... 6 系統(tǒng)開發(fā)工具介紹 ............................................. 6 C/S 簡介 ........................................... 6 Java 語言簡介 ........................................ 7 開發(fā)工具 簡介 ............................... 7 SQL Server 2022 簡介 ................................... 8 系統(tǒng)的需求分析 ................................................ 8 系統(tǒng)的功能需求分析 ...................................... 9 系統(tǒng)的性能需求分析 ..................................... 10 第三章 數(shù)據(jù)庫的設(shè)計(jì) ................................................. 12 第四章 系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) ............................................. 16 系統(tǒng)的 C/S 建模 ............................................... 16 系統(tǒng)的實(shí)現(xiàn) ................................................... 18 用戶基本功能實(shí)現(xiàn) ....................................... 19 管理員基本功能實(shí)現(xiàn) ..................................... 23 第五章 系統(tǒng)測試 ..................................................... 20 功能測試 ..................................................... 29 性能測試 ..................................................... 30 第六章 結(jié)論 ......................................................... 32 致 謝 .............................................................. 31 參考文獻(xiàn) ............................................................ 33 第 4 頁 共 35 頁 前言 網(wǎng) 吧以其龐大的用戶量和潛在購買力,首先成為一個(gè)很好的媒體廣告平臺(tái),尤其是快消品和網(wǎng)絡(luò)相關(guān)類的產(chǎn)品;同時(shí),網(wǎng)吧作為一個(gè)獨(dú)特的渠道,對(duì)中國互聯(lián)網(wǎng)的發(fā)展起到了非常關(guān)鍵的作用,已經(jīng)容不得任何一家互聯(lián)網(wǎng)公司忽視。 技術(shù)可行性 本系統(tǒng)要求使用 java 技術(shù)開發(fā),使用數(shù)據(jù)庫(如 ACCESS, SQLServer)保存數(shù)據(jù)。所以 Java 在源碼級(jí)上是與平臺(tái)無關(guān)的。 在這種情況下,為了提高網(wǎng)吧的使用效率,改變網(wǎng)吧傳統(tǒng)的手工管理模式已成了當(dāng)務(wù) 之急,必須實(shí)行網(wǎng)吧的自動(dòng)化管理,包括自動(dòng)計(jì)費(fèi)、自動(dòng)控制計(jì)算機(jī)、將各種信息自動(dòng)記錄下來。 基礎(chǔ)管理: ( 1)用戶管理:包括對(duì)用戶信息的增刪改查操作,提示是否操作是否成功消息。 可靠性:用戶登錄成功后,可以通過用戶使用界面查詢自己的賬戶信息,該信息應(yīng)該是及時(shí)更新的,特別是余額信息;查詢的本次上機(jī)時(shí)間和累計(jì)時(shí)間,后者也需要及時(shí)更新;在用戶余額不足時(shí),及時(shí)給出相應(yīng)的提示,以免影響用戶使用。 第 17 頁 共 35 頁 圖 10 包圖 ( 2) 類 圖 該 系 統(tǒng)主 要 分為 兩 個(gè) 類 : Client 和 Manager, 而 Manager 類對(duì) Client 類 起到管 理 的作 用 , 如圖 11。 ()。// 相差的 小 時(shí)數(shù) long minut = (seconds day * 24 * 60 * 60 hour * 60 * 60) / (60)。 ( 1)用戶管理 第 23 頁 共 35 頁 圖 19 用戶管理 在基本管理菜單下,有“用戶管理”、“計(jì)算機(jī)管理”和“用戶級(jí)別管理”這三個(gè)菜單項(xiàng),結(jié)構(gòu)類似,在該表格中,可以對(duì)數(shù)據(jù)進(jìn)行增刪改查操作。 PreparedStatement stmt1 = con .prepareStatement(select * from Client where ID = ?)。 // 刪除一 行 后的 jtable 行數(shù) // 刪除一 行 后的 jtable 行數(shù) int rowcount = () 1。 ()。 PreparedStatement stmt = con (1, newBalance)。 最后,該系統(tǒng)的移植性并不理想,由于使用的 SQL SERVER 數(shù)據(jù)庫的原因,該系統(tǒng)在移植過程中會(huì)出現(xiàn)一些意想不到的問題,并沒有 ACCESS 數(shù)據(jù)庫的移植性好,在此方面的欠缺亟待解決。t help but sing the folk songs, Nasun says. The vastness of Inner Mongolia and the lack of entertainment options for