The Design and implementation of expressway infrastructure management system based on PHP
Abstract
With the development of science and technology, especially the development of IT Internet, so the information age gradually replaced the industrial era of the last century, the rapid development of the Internet has changed the pattern of many industries, making people's lives into the high-speed, convenient rhythm highway administration is no exception.In recent years, with the development ofhighwayandexpressway managementaugmentedrangewill increasethe pressure onregulatory agenciesandstaffhighway.Informationcollectedthroughyears of researchandinvestigation, the highway managementdepartmentalready hasa wealth ofroadtraffic data, butthe previous managementthroughartificialtoinspections,management, etc., this traditional managementmethods andnowthe rapid development oftraffichas been severelyadapt,alreadyseemdifficultin the currenttransportation planningand management, did not play its due role.In recent yearstrafficfailure, traffic accidentsoccur frequently, traffic monitoring, trafficmaintenance,inspections,dataanalysis,thecost isgetting higher and higherspending, ata combination of factorssuchcases, the paper design of intelligentinformation management system-based onHighwaysfacility management systemserver softwaresystemPHP.Highwaysrealizeinformation technologyto makeroad managementmeansgradually moving towardsdigital, intelligentand modernization.Rely oninformation technologyand modernmanagementsystem,highwayroad managementsystemand gradually improve, standardize andmature applicationofan inevitable trend.
TheHighwaysfacilitymanagementsystemfor the currentactual needs ofroad administration, theactual workstartingin the analysis ofthe basicprinciplesand methods ofconcept, structure and system developmentofpreviouslyexisting problems ofroad managementsystem, combining the managementinformationsystem development, anduse of computingspeed, largecapacitystorageof information, processing logicissuesis strong,powerfuladvantages of usingthe most popularB / SstructureandpopularPHPMVCframeworkThinkPHPandthree-tier designpatterns.With theacquisitionof communications equipmenttoget the client's Highwaysreal-time information, thedatatransfercircuitviaInternetadministration and managementsystemon the server side, the realization of the modernization ofthe highwayroad administrationmanagement, especially for highwayroadblockmanagement, road accidents, roadand otherillegalcompletemonitoringand developed. From themanagement needsmonitoring anddecision-makinginformation, targeted to meet themodernization ofthe highwaymanagement.
II
Thehighwayroad managementsystem includes\\managementmodule,\Informationinspectionsmodule,\seven modules. Itfocuses onreal-time monitoringHighwayshighwayinspections,timelyand accurate grasp ofthe politicalsituationFreeway, providingreal-time dynamicHighwaystest data.Helphighway managementrealized the information, networking, throughtesting, to achieve the systemdesign goalswascompared tothe traditionalmanagement model, thissystemutilizes thefreewayreasonableadministrative dataresources, effectively reducing thehighwayroad administration's economicinvestment,greatly improving theefficiency ofthe highwayroad administration.
Keywords: highwayadministrationsystemB/S ThinkPHP modern management
III
目录
摘要 ................................................................................................................................................ I Abstract ...................................................................................................................................... II 目录 .............................................................................................................................................. IV 1 绪论 ........................................................................................................................................ 1
1.1论文研究背景 ............................................................................................................... 1 1.2国内外研究现状 ........................................................................................................... 1 1.3论文研究目的及意义 .................................................................................................. 2 1.4本文的主要研究内容 ........................................... 3
2 相关技术知识介绍 ..................................... 4
2.1 PHP相关技术介绍 ...................................................................................................... 4 2.2 MVC及Smarty模板引擎相关知识介绍 ................................................................ 5
2.2.1 MVC开发模式 ................................................................................................... 5 2.2.2 Smarty模板引擎 ............................................................................................ 5 2.3 MySQL相关知识介绍 .................................................................................................. 6 2.4 ThinkPHP框架相关技术介绍 .................................... 6
3 系统需求分析................................................................................................................... 8
3.1可行性分析 .................................................................................................................... 8
3.1.1 技术可行性 ...................................................................................................... 8 3.1.2 经济可行性 ...................................................................................................... 8 3.2 功能需求分析 .............................................................................................................. 8 3.3 数据需求分析 ............................................................................................................ 10 3.4 性能需求分析 ............................................................................................................ 10
4 系统概要设计................................................................................................................. 12
4.1系统功能模块设计 .................................................................................................... 12 4.2 数据库的设计 ............................................................................................................ 12
4.2.1 E-R图的设计 ................................................................................................. 12 4.2.2 数据库表的设计 ........................................................................................... 14
5 系统的详细设计与实现 ........................................................................................... 16
5.1 登陆功能模块的设计与实现 ................................................................................. 16 5.2 系统安全管理的实现............................................................................................... 19
IV
5.3前台系统 ...................................................................................................................... 21 5.4后台系统 ...................................................................................................................... 22
5.4.1 管理员管理 .................................................................................................... 22 5.4.2 路政信息管理 ................................................................................................ 25 5.4.3 系统用户管理 ................................................................................................ 28 5.4.4 车辆信息管理 ................................................................................................ 28 5.4.5 违章处理 ......................................................................................................... 30
6 系统测试 ........................................................................................................................... 34
6.1 测试概述 ..................................................................................................................... 34 6.2 数据库测试 ................................................................................................................. 34 6.3 测试实例 ..................................................................................................................... 35
7 总结 ...................................................................................................................................... 39 参考文献 ................................................................................................................................... 40 致谢 .............................................................................................................................................. 41 毕业设计(论文)知识产权声明 .............................................................................. 42 毕业设计(论文)独创性声明 ................................................................................... 43
V
1 绪论
1 绪论
1.1论文研究背景
随着科学技术的进步,尤其是IT互联网的发展,使信息化时代逐渐代替了上世纪的工业化时代,互联网的高速发展,改变了众多行业的格局,使人们的生活进入高速、方便快捷的节奏,公路管理也不例外。我国经济的蓬勃发展,高速公路逐渐成为我国交通的主要渠道,由于车辆荷载的反复作用与自然因素的侵蚀破坏,以及近30年来交通量和重型车辆显著增长带来的不利影响,再加上上世纪末期以来道路建设的快速发展使得在高速公路工程设计质量、施工质量等方面形成的一些缺陷,导致高速公路在使用中路政设施养护问题不断涌现,高速道路养护的里程长和需要养护的项目多,现行的高速公路路政设施养护方法是通过人工巡查发现问题,然后再回到单位汇报,制定养护方案,最后去现场养护,这种方法手段原始,养护不及时,给高速公路交通安全带来了很大隐患,而且养护的人力和物力浪费很大。
通过几年的资料收集以及调查研究,高速公路管理部门已经拥有了非常丰富的公路交通数据,但以前的那种传统的管理方法与现在高速发展的交通状况已经严重不能适应,在目前的交通规划和管理中已经显得困难重重,没有发挥应有的作用。加上近年来交通故障、交通事故等的频繁发生,交通监控、交通维护、巡查、数据分析等花费的成本也是越来越高,在这些情况的综合因素下,为了节省不必要的人力物力,有效的利用资源,并有效提高工作效率,使高速公路路政管理工作简化,本文设计了智能信息化管理系统——基于PHP的路政设施管理系统服务器端软件系统。实现路政信息化建设,使路政管理手段逐步走向数字化、智能化、现代化。
1.2国内外研究现状
1978年10月中国第一条全长373.4公里的台湾基隆至高雄的高速公路建成。1988年10月31日上海沪嘉高速公路建成并且顺利通车,结束了我国大陆没有高速公路的历史。随着改革开放的推进和经济的飞跃发展,我国高速公路事业也得到了质的发展。截至2009年底,全国高速公路通车总里程达到了51005公里,仅次于美国,居世界第二位,为全面建设小康社会提供了良好的交通运输基础保障。我国高速公路在未来的一段时间里,必将保持着较快的可持续发展势头。据了解,按照《规划》目标,中国将花费巨资用30年时间完成“7918”国家高速公路网。8.5万公里的高速公路网可覆盖10多亿人口,把我国人口超过20万的城市全部连接起来,加上地方的高速公路,到时我国高速公路总里程将达到12万公里左右。这将与当时的美国高速公路总里程相当。国外都非常重视路政管理系统的总体发展规划,目前,世界上已基本形成了以美国、日本和欧盟为主的三
1