【正文】
2022 屆畢業(yè)生 畢業(yè) 設(shè)計說明書 題 目 : 企業(yè)考勤系統(tǒng)的設(shè)計與實現(xiàn) 院系名稱: 信息科學(xué)與工程學(xué)院 y 專業(yè)班級: 軟件工程 11 級 01 班 a 學(xué)生姓名: 學(xué) 號: 指導(dǎo)教師: 教師職稱: 講師 a 2022 年 5 月 25 日 I 摘 要 荀子在《勸學(xué) 》中曾說道:假輿馬者,非利足也,而致千里;假舟楫者,非能水也,而絕江河。君子生非異也,善假于物也。” 21 世紀,伴隨著科技的發(fā)展,計算機技術(shù)也得到了提高,電腦更是進入了千家萬戶。聰明的君子學(xué)會利用電腦這個物來解決問題以達到性異的要求。 傳統(tǒng)的考勤方法無法科學(xué)有效地處理大量的人事考勤信息,考勤人員處理起來需要浪費巨大的人力、物力。而且,得到的數(shù)據(jù)準確度不高,存在一些水分。所以,我們需要利用計算機來開發(fā)一個圖形簡單易于操作的考勤系統(tǒng),來幫助我們。 考勤管理系統(tǒng) 關(guān)鍵字:物聯(lián)網(wǎng)、智能化、倉儲管 理、 RFID 射頻識別技術(shù)、傳感器。 II Title Intelligent warehouse management system based on Inter of things Abstract With the progress of science and technology and the development of intelligence,intelligent management has bee more and more essential in the modern industrial field, especially in large and mediumsized warehouse management items would get mouldy due to the high or low temperature and strength or weakness of light in warehouse would affect the storage of cumbersome records for goods in and out of warehouse and realtime video monitoring of the above problems,if we use the original way of management,it would cost a lot of human and material ,the management of warehouse is being more and more make the daily management of warehouse into intelligent gradually bees a very important topic. This topic,taking the above problems as the starting point and based on IOT(Inter of Things), designs an intelligent warehouse management system can not only collect the temperature,humidity,light intensity and the information of realtime monitoring in the warehouse,but also can realtime monitor the environment and information through the could make corresponding processing quickly,display the results to the users timely,and storing data meantime for later contrast research. Another is to automatically identify goods in and out of the of the warehouse. In view of the existing problems in warehouse management, this research is mainly to bine the IOT,RFID,Operation of the sensor technology and realtime video monitoring was used in the management of warehouse,and built intelligent warehouse management system in order to realize the intelligent management of the requires automatic recognition,wireless transmission function,realtime monitoring,and more RFID, Zigbee,and the technology which take the embedded video on the III web server as the core just solve the problems such as automatic identification,wireless transmission,realtime monitoring and other technical problems. The design and realization of the system and the analysis about the application in warehouse management system shows that IOT can improve the efficiency of warehouse management and meet the requirements of goods management,environmental monitoring and realtime monitoring. Keywords: Inter of things、 Intelligence、 Warehouse Management、 RFID、 Sensor. IV 目錄 摘 要 ………………………………………………………………………………… ... I Abstract………………………………………………………………………………… . III 第一章 緒 論 …………… …………………………………………………………… . 1 研究背景 …………………………………………………………………………… 1 研究目的和意義 …………………………………………………………………… 1 物聯(lián)網(wǎng)技術(shù)未來的發(fā)展 …………………………………………………………… 2 第二章 開發(fā)工具和環(huán)境介紹 ………………………………………………………… . 3 Linux C 簡介 ……………………………………………………………………… ... 3 Sqlite 數(shù)據(jù)庫簡介 ………………………………………………………………… .. 3 CortexA8 開發(fā)板簡介 …………………………………………………………… .. 3 CortexM0 開發(fā)板簡介 …………………………………………………………… . 3 boa 服務(wù)器簡介 …………………………………………………………………… .. 3 Zigbee 簡介 ………………………………………………………………………… 3 RFID 簡介 ………………………………………………………………………… . 4 第三章 系統(tǒng)需求分析和整體設(shè)計 …………………………………………………… . 5 問題的提出 ………………………………………………………………………… 5 設(shè)計目標 …………………………………………………………………………… 5 系統(tǒng)功能描述 ……………………………………………………………………… 6 系統(tǒng) 性能指標 ……………………………………………………………………… 6 系統(tǒng)框架設(shè)計 ……………………………………………………………………… 7 系統(tǒng)整體框架圖 ………………………………………………………………… . 7 每個子系統(tǒng)框架圖 ……………………………………………………………… . 8 業(yè)務(wù)流程圖 ……………………………………………………………………… . 100 系統(tǒng)接口 …………………………………………………………………………… 111 用戶接口 …… …………………………………………………………………… . 111 硬件接口 ………………………………………………………………………… . 111 每個子系統(tǒng)模塊描述 ……………………………………………………………… 122 功能模塊設(shè)計與接口設(shè)計 ………………………………………………………… 133 采集數(shù)據(jù)端主程序 ……………………………………………………………… 133 BEEP 報警系統(tǒng) …………………………………………………………………… 133 LED 報警系統(tǒng) …………………………………………………………………… . 144 攝像頭線程 ……………………………………………………………………… .. 155 第四章 詳細設(shè)計與實現(xiàn) ……………………………………………………………… . 166 服務(wù)器主控程序端詳細設(shè)計 ……………………………………………………… 166 系統(tǒng)整體框架和線程間關(guān)系 …………………………………………………… . 166 數(shù)據(jù)描述 ………………………………………………………………………… . 178 數(shù)據(jù)庫操作 …………………………………………… ………………………… . 20 V 數(shù)據(jù)接收模塊 …………………………………………………………………… . 22 數(shù)據(jù)處理模塊 …………………………………………………………………… . 25 處理客戶請求模塊 ……………………………………………………………… . 27 蜂鳴器模塊 ……………………………………………………………………… 30 LED 模塊 ……………………………………………………………………… .. 31 攝像頭模塊 ……………………………………………………………………… . 32 采集數(shù)據(jù) 端的詳細設(shè)計 ……………………………………………………… ....... 33 采集數(shù)據(jù)終端設(shè)備方案描述 …………………………………………………… 33 采集數(shù)據(jù)終端設(shè)備工作流程 …………………………………………………… 33 采集數(shù)據(jù)終端設(shè)備各模塊功能描述 …………………………………… ……… 34 附錄一 通信結(jié)構(gòu)體 …………………………………………………………………... 38 附錄二 服務(wù)器端 與 采集數(shù)據(jù)端 通 信指令 ………………………………………… ... 39 結(jié) 論 ………………………………………………………………………………… 40 致 謝 …………………………………………………………………………………... 41 參 考 文 獻 ……………………………………………………………………………. 42 1 第一章 緒 論 研究背景 在現(xiàn)代工業(yè)現(xiàn)場,智能化管理已經(jīng)變的越來越必不可少,特別是在大中型倉庫管理系統(tǒng)中,面臨由于溫濕度過高或者過低物品發(fā)生發(fā)霉變質(zhì)、倉庫關(guān)照過強或過弱影響物品的存放、物品的進入庫記錄繁瑣、以及要實時視頻監(jiān)控倉庫等問題,原有的管理方式都要耗費大量的人力、物力來管理。所以要把倉庫的日常管理逐漸智能化,才能滿足現(xiàn)在客戶的需求。 倉儲業(yè)可以分為人工、機械、自動和智能這四個階段的管理過程。受目前信息技術(shù)迅速發(fā)展的影響,科技技術(shù)、網(wǎng)絡(luò)工程和智能化逐漸成為倉儲管理行業(yè)的重要支柱,多種倉儲管理技術(shù)結(jié)合、倉儲的硬軟件綜合使用,逐漸減少了傳統(tǒng)倉儲管理的不利之處,促進了現(xiàn)代化倉儲業(yè)的迅速發(fā)展。 所以,要將物聯(lián)網(wǎng)用到倉儲管理中。 2022 年 6 月,我國工信部正式將物聯(lián)網(wǎng)納入“十二五”專題規(guī)劃,規(guī)劃指出,中國物聯(lián)網(wǎng)將重點建設(shè)九大領(lǐng)域,其中就包括智能倉儲,倉儲 管理的智能化發(fā)展,無論在學(xué)術(shù)研究還是企業(yè)應(yīng)用中,倉儲管理智能化都炙手可熱。 研究目的和意義 因為倉儲管理在大多數(shù)行業(yè)中相當(dāng)高的重要性,所以提升它的管理水平和工作效益就是顯得很必要了,目前我國