基于Android的港口货运车辆导航系统设计与开发毕业论文
2021-04-21 22:50:41
摘 要
自国家“一带一路”战略提出以来,港口在“海上丝绸之路”的建设中扮演着越来越重要的角色,面临着空前的发展机遇。我国沿海城市都在政策的影响下纷纷加大了港口的投资建设,但国内港口服务内容单一,港口整体功能水平较差,港口服务质量与信息化建设水平有待同步提高。港口货运车辆导航系统综合利用移动互联网、计算机、数据库、网络通信等技术为外来车辆提供智能、高效、规范的货运服务,从而提高港口服务效率与服务质量,对于全面建设信息化、网络化、智能化的现代港口的有着重要意义。
本次毕业设计提出了港口货运车辆导航系统的框架结构并基于此框架设计了基于二维码和Android平台的港口货运车辆导航系统。论文的主要工作如下:
(1)研究了车辆导航系统涉及的关键技术。对国内外GPS技术的发展现状进行了剖析,研究了国内第三方地图服务平台的使用方法,实现了基于高德地图SDK的车辆导航系统。
(2)提出了港口货运车辆导航系统的框架结构。该框架运用了Android、Java Web、HTTP网络传输协议、MySQL数据库等技术实现了典型C/S架构的应用服务。Android客户端通过Google zxing、高德地图SDK、讯飞语音播报等技术实现了扫码获取货运信息、车辆定位导航服务。Java Web服务器采用Servlet实现数据存取的业务逻辑与MySQL数据库进行数据交互。在网络传输模块采用了基于OKHTTP的网络框架保证系统的网络请求稳定高效。
(3)结合港口货运车辆从入港登记到取货再到离港验证的整个业务场景,设计并实现了基于Android平台的港口货运车辆导航系统。系统的基本功能分为任务信息获取、车辆定位导航、问题反馈三个部分,为驾驶员进港提货到离开港口的整个过程提供一体化服务。其中,系统向用户开放的问题反馈功能,可以持续改进用户体验,从而实现港口服务水平的持续优化
为了提高毕业设计的实用性,系统采用zxing-master开源项目实现二维码验证货运编号提高工作效率,采用高德地图开放平台提供的地图、定位、搜索、导航服务,从而满足驾驶员的实际应用场景。因此,本系统的研究与设计,对于提高港口信息化建设水平,增加港口综合实力有着重要的参考价值。
关键词:港口;导航;Android;C/S模型;
Abstract
Since our country's "the Belt and Road" strategy was put forward, the port has played an increasingly important role in the construction of the "Maritime Silk Road" and is facing unprecedented opportunities for development. China's coastal cities have all increased the investment and construction of ports under the influence of policies. However, the domestic port services have a single content, and the port's overall functional level is relatively poor. The level of port service quality and information construction needs to be improved simultaneously. The port cargo vehicle navigation system comprehensively utilizes mobile internet, computers, databases, and network communication technologies to provide intelligent, efficient, and standardized freight services for foreign vehicles, thereby improving port service efficiency and service quality, and comprehensively building informatization, networking, and intelligence. The modern port has great significance.
The graduation project proposes the framework of the port cargo vehicle navigation system. Based on this framework, the design of the port cargo vehicle navigation system based on the two-dimensional code and Android platform. The main work of the dissertation is as follows:
(1) Researched the key technologies involved in the vehicle navigation system. The status quo of the development of GPS technology at home and abroad was analyzed, the use of third-party map service platforms in China was studied, and a vehicle navigation system based on the High German Map SDK was implemented.
(2) The framework of the navigation system for port cargo vehicles was proposed. The framework uses Android, Java Web, HTTP network transmission protocol, MySQL database and other technologies to achieve a typical C / S architecture application services. Android client achieves scan code acquisition of cargo information and vehicle positioning and navigation services through technologies such as Google zxing, High German map SDK, and Newsflash voice broadcast. The Java Web server uses Servlets to implement data access business logic to interact with MySQL databases. The network transmission module uses a OKHTTP-based network framework to ensure that the system's network requests are stable and efficient.
(3) Combining the entire business scenario of port cargo vehicle registration from entering port to picking up and leaving port, we designed and implemented a port cargo vehicle navigation system based on the Android platform. The basic functions of the system are divided into three parts: task information acquisition, vehicle location navigation, and problem feedback. It provides integrated services for the driver to pick up the goods and leave the port. Among them, the problem feedback function that the system is open to users can continuously improve the user experience so as to achieve continuous optimization of port service levels.
In order to improve the practicality of the graduation design, the system adopts the zxing open source project to realize the verification of shipment codes with two-dimensional codes to improve work efficiency, and uses maps, positioning, search and navigation services provided by the Gaode map open platform to meet the actual application scenarios of drivers. Therefore, the research and design of this system has important reference value for improving the level of port information construction and increasing the comprehensive strength of the port.
Keywords: Harbor; Navigation; Android; C/S Model
目录
摘要 I
Abstract II
1绪论 1
1.1研究背景及意义 1
1.2国内外研究现状 1
1.3预期研究目标综述 2
2港口货运车辆导航系统的框架设计 3
2.1 港口货运车辆导航系统的框架 3
2.1 Android技术简介 4
2.1.1 Android平台架构 4
2.1.2 Android应用组件 5
2.2 Java语言简介 6
2.3高德地图API简介 6
2.4开发工具简介 6
2.4.1Android Studio简介 6
2.4.2MyEclipse简介 7
2.4.3 Powerdesign及MySQL简介 7
3需求分析与总体设计 8
3.1 需求分析 8
3.1.1 前端导航需求分析 8
3.1.2 后台服务需求分析 10
3.1.3性能需求分析 10
3.1.4 功能流程分析 11
3.2功能架构及其说明 12
3.3数据库设计及其说明 13
3.4 界面设计 16
3.5设计难点和技术解决方案 19
4.系统实现 20
4.1Android前端功能实现 20
4.1.1 界面布局的重点属性介绍 20
4.1.2 网络请求与数据传递 21
4.1.2车辆定位导航功能的实现 23
4.1.3扫描二维码识别货运单号 24
4.2后台服务器的数据处理 25
4.2.1基于Servlet的数据服务 25
4.2.2 数据库的连接与操作 26
5.结束语 28
参考文献 29
致谢 31
1绪论
1.1研究背景及意义
港口作为水上交通的重要环节在我国与世界的联系的经济命脉中承担了重要角色。经过改革开放以来的多年发展,我国港口从基础设施和服务水平上都发生了质的跨越,中国已经成为世界第一的港口大国,国内港口的货物吞吐量和集装箱吞吐量跃居世界首位。
伴随着国家 “一带一路”战略的提出,我国的港口发展迎来了新的局面,占据地理优势的沿海城市纷纷加大了港口建设。然而,港口整体功能水平的发展却面临着严峻的挑战,其中,信息化程度滞后是我国港口发展最严重的问题。物流作为信息密集型产业,现代物流要求全方位的跟踪,实时的信息共享。但港口的信息平台发展落后,无法实现物流企业间时信息共享,这就无法满足现代物流对港口的要求。在现代港口竞争因素多元化、港口经营国际化、港口腹地经济贸易化和港口信息化的今天,提高港口的信息化建设,无疑为港口提高服务质量和服务水平,进而强化整体竞争实力提供了重要手段[1]。