【正文】
2021 屆畢業(yè)生 畢業(yè) 設(shè)計(jì)說明書 題 目 : 企業(yè)考勤系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn) 院系名稱: 信息科學(xué)與工程學(xué)院 y 專業(yè)班級(jí): 軟件工程 11 級(jí) 01 班 a 學(xué)生姓名: 學(xué) 號(hào): 指導(dǎo)教師: 教師職稱: 講師 a 2021 年 5 月 25 日 I 摘 要 荀子在《勸學(xué) 》中曾說道:假輿馬者,非利足也,而致千里;假舟楫者,非能水也,而絕江河。君子生非異也,善假于物也?!?21 世紀(jì),伴隨著科技的發(fā)展,計(jì)算機(jī)技術(shù)也得到了提高,電腦更是進(jìn)入了千家萬(wàn)戶。聰明的君子學(xué)會(huì)利用電腦這個(gè)物來解決問題以達(dá)到性異的要求。 傳統(tǒng)的考勤方法無(wú)法科學(xué)有效地處理大量的人事考勤信息,考勤人員處理起來需要浪費(fèi)巨大的人力、物力。而且,得到的數(shù)據(jù)準(zhǔn)確度不高,存在一些水分。所以,我們需要利用計(jì)算機(jī)來開發(fā)一個(gè)圖形簡(jiǎn)單易于操作的考勤系統(tǒng),來幫助我們。 考勤管理系統(tǒng) 關(guān)鍵字:物聯(lián)網(wǎng)、智能化、倉(cāng)儲(chǔ)管 理、 RFID 射頻識(shí)別技術(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 簡(jiǎn)介 ……………………………………………………………………… ... 3 Sqlite 數(shù)據(jù)庫(kù)簡(jiǎn)介 ………………………………………………………………… .. 3 CortexA8 開發(fā)板簡(jiǎn)介 …………………………………………………………… .. 3 CortexM0 開發(fā)板簡(jiǎn)介 …………………………………………………………… . 3 boa 服務(wù)器簡(jiǎn)介 …………… ……………………………………………………… .. 3 Zigbee 簡(jiǎn)介 ………………………………………………………………………… 3 RFID 簡(jiǎn)介 ………………………………………………………………………… . 4 第三章 系統(tǒng)需求分析和整體設(shè)計(jì) …………………………………………………… . 5 問題的提出 ………………………………………………………………………… 5 設(shè)計(jì)目標(biāo) …………………………………………………………………………… 5 系統(tǒng)功能描述 ……………………………………………………………………… 6 系統(tǒng)性能指標(biāo) … …………………………………………………………………… 6 系統(tǒng)框架設(shè)計(jì) ……………………………………………………………………… 7 系統(tǒng)整體框架圖 ………………………………………………………………… . 7 每個(gè)子系統(tǒng)框架圖 ……………………………………………………………… . 8 業(yè)務(wù)流程圖 ……………………………………………………………………… . 100 系統(tǒng)接口 …………………………………………………………………………… 111 用戶接口 ……………………… ………………………………………………… . 111 硬件接口 ………………………………………………………………………… . 111 每個(gè)子系統(tǒng)模塊描述 ……………………………………………………………… 122 功能模塊設(shè)計(jì)與接口設(shè)計(jì) ………………………………………………………… 133 采集數(shù)據(jù)端主程序 ……………………………………………………………… 133 BEEP 報(bào) 警系統(tǒng) …………………………………………………………………… 133 LED 報(bào)警系統(tǒng) …………………………………………………………………… . 144 攝像頭線程 ……………………………………………………………………… .. 155 第四章 詳細(xì)設(shè)計(jì)與實(shí)現(xiàn) ……………………………………………………………… . 166 服務(wù)器主控程序端詳細(xì)設(shè)計(jì) ……………………………………………………… 166 系統(tǒng)整體框架和線程間關(guān)系 …………………………………………………… . 166 數(shù)據(jù)描述 ………………………………………………………………………… . 178 數(shù)據(jù)庫(kù)操作 ……………………………………………………………………… . 20 V 數(shù)據(jù)接收模塊 …………………………………………………………………… . 22 數(shù)據(jù)處理模塊 …………………………………………………………………… . 25 處理客戶請(qǐng)求模塊 ……………………………………………………………… . 27 蜂鳴器模塊 ……………………………………………………………………… 30 LED 模塊 ……………………………………………………………………… .. 31 攝像頭模塊 ……………………………………………………………………… . 32 采集數(shù)據(jù)端的詳細(xì)設(shè)計(jì) ………………………………… …………………… ....... 33 采集數(shù)據(jù)終端設(shè)備方案描述 …………………………………………………… 33 采集數(shù)據(jù)終端設(shè)備工作流程 …………………………………………………… 33 采集數(shù)據(jù)終端設(shè)備各模塊功能描述 …………………………………………… 34 附錄一 通信結(jié)構(gòu)體 …………………………………………………………………... 38 附錄二 服務(wù)器端 與 采集數(shù)據(jù)端 通 信指令 ………………………………………… ... 39 結(jié) 論 ………………………………………………………………………………… 40 致 謝 …………………… ……………………………………………………………... 41 參 考 文 獻(xiàn) ……………………………………………………………………………. 42 1 第一章 緒 論 研究背景 在現(xiàn)代工業(yè)現(xiàn)場(chǎng),智能化管理已經(jīng)變的越來越必不可少,特別是在大中型倉(cāng)庫(kù)管理系統(tǒng)中,面臨由于溫濕度過高或者過低物品發(fā)生發(fā)霉變質(zhì)、倉(cāng)庫(kù)關(guān)照過強(qiáng)或過弱影響物品的存放、物品的進(jìn)入庫(kù)記錄繁瑣、以及要實(shí)時(shí)視頻監(jiān)控倉(cāng)庫(kù)等問題,原有的管理方式都要耗費(fèi)大量的人力、物力來管理。 所以要把倉(cāng)庫(kù)的日常管理逐漸智能化,才能滿足現(xiàn)在客戶的需求。 倉(cāng)儲(chǔ)業(yè)可以分為人工、機(jī)械、自動(dòng)和智能這四個(gè)階段的管理過程。受目前信息技術(shù)迅速發(fā)展的影響,科技技術(shù)、網(wǎng)絡(luò)工程和智能化逐漸成為倉(cāng)儲(chǔ)管理行業(yè)的重要支柱,多種倉(cāng)儲(chǔ)管理技術(shù)結(jié)合、倉(cāng)儲(chǔ)的硬軟件綜合使用,逐漸減少了傳統(tǒng)倉(cāng)儲(chǔ)管理的不利之處,促進(jìn)了現(xiàn)代化倉(cāng)儲(chǔ)業(yè)的迅速發(fā)展。 所以,要將物聯(lián)網(wǎng)用到倉(cāng)儲(chǔ)管理中。 2021 年 6 月,我國(guó)工信部正式將物聯(lián)網(wǎng)納入“十二五”專題規(guī)劃,規(guī)劃指出,中國(guó)物聯(lián)網(wǎng)將重點(diǎn)建設(shè)九大領(lǐng)域,其中就包括智能倉(cāng)儲(chǔ),倉(cāng)儲(chǔ)管理的智能化發(fā)展,無(wú)論在學(xué)術(shù)研究還是企 業(yè)應(yīng)用中,倉(cāng)儲(chǔ)管理智能化都炙手可熱。 研究目的和意義 因?yàn)閭}(cāng)儲(chǔ)管理在大多數(shù)行業(yè)中相當(dāng)高的重要性,所以提升它的管理水平和工作效益就是顯得很必要了,目前