基于Elasticsearch的智慧交通搜索引擎

 2022-06-23 07:06

论文总字数:27188字

摘 要

智慧交通是一个新兴的概念,它是在原来功能简单、没有大数据计算和分析能力的传统交通系统中,引入数据处理、智能传感、信息网络、通信传输等技术,通过物联网和云计算的加入,使系统变得更加智能,从而建设一个多功能、多信息、多平台的综合交通体系。智慧交通是以智慧路网、智慧出行、智慧装备、智慧物流、智慧管理为重要内容,以信息技术高度集成、信息资源综合运用为主要特征的大交通发展新模式。建设智慧交通,能促进信息技术在交通运输自主创新、产业发展、公共服务、社会管理等领域的广泛应用,能改善城市交通状况,发挥最大城市交通效能,使城市交通走上科学发展轨道。目前许多软件公司都在推出自己的智慧交通解决方案,而搜索功能在智慧交通系统中占有重要地位。本文针对中兴软创科技股份有限公司的智慧交通系统,通过比较当前流行的各大开源搜索引擎框架的优劣,选择Elasticsearch作为基础技术。并且针对客户的实际需求,通过对Elasticsearch搜索结果评分原理的研究,通过再次开发和参数调优,满足定制化需求,实现了一个高速、高效、可拓展性强的搜索引擎。

关键词:智慧交通,Elasticsearch,搜索引擎

Abstract

Smart transportation is an emerging concept. It integrates intelligent sensing technology, information network technology, communication transmission technology, and data processing technology represented by the Internet of things, the Internet, and cloud computing, and it is effectively integrated into the entire transportation system. Comprehensive transportation system that plays a role in a larger space-time range. Smart transportation is an important mode of development of large-scale traffic, which is characterized by the integration of information technology and comprehensive utilization of information resources. This is an important content of smart road network, smart travel, smart equipment, smart logistics, and intelligent management. Building smart transportation can promote the wide application of information technology in the areas of independent innovation in transportation, industrial development, public service, and social management, and can improve urban traffic conditions, maximize the effectiveness of urban traffic, and enable urban traffic to embark on scientific development. At present, many software companies are launching their own smart transportation solutions, and the search function plays an important role in the smart transportation system. This article focuses on ZTEsoft's smart transportation system. By comparing the advantages and disadvantages of the current popular open source search engine frameworks, Elasticsearch is selected as the basic technology. And for the actual needs of customers, through the study of the scoring principle of the Elasticsearch search results, through the re-development and parameter tuning, to meet the customization needs, to achieve a high-speed, efficient, highly scalable search engine.

KEY WORDS: Smart transportation, Elasticsearch,Search engine

目录

摘要 I

Abstract II

第一章 绪论 1

1.1 研究背景 1

1.2 研究现状 1

1.2.1 智慧交通系统研究现状 1

1.2.2 搜索引擎研究现状 2

1.3 研究意义 2

1.3.1 实现大数据储存 2

1.3.2 实现智能推荐 2

1.3.3 提高工作效率 2

1.4 论文组织结构 3

第二章 Elasticsearch搜索引擎框架的研究 4

2.1 Elasticsearch搜索引擎 4

2.2 索引组件 4

2.2.1 获取源数据 4

2.2.2 建立索引数据库 5

2.2.3 分析文档 5

2.2.4 索引文档 5

2.3 Elasticsearch基本概念 5

2.3.1 集群(cluster) 5

2.3.2 节点(node) 5

2.3.3 索引(index) 5

2.3.4 类型(type) 5

2.3.5 文档(document) 6

2.3.6 倒排索引 6

2.4 Elasticsearch的特点 7

2.4.1 Elasticsearch的优点 7

2.4.2 Elasticsearch与相关技术比较 7

2.5 本章小节 8

第三章 需求分析及系统概要 9

3.1 需求分析 9

3.2 系统架构 9

3.2.1 系统整体架构设计 9

3.2.2 搜索引擎模块设计 10

3.2.3 索引设计 11

3.2.4 前台展示及前后台交互设计 12

第四章 智慧交通搜索引擎的实现 13

4.1 部署环境 13

4.2 中文分词设置 13

4.3 建立索引 13

4.4 使用Java实现基本功能 14

4.4.1 连接Elasticsearch服务 14

4.4.2 向索引中添加数据 14

4.4.3 更新索引库数据 14

4.4.4 查询数据 14

4.5 实现查询结果评分 14

4.5.1 Elasticsearch查询结果评分原理 14

4.5.2 实现定制评分规则 16

4.6 开放功能模块实现 18

4.7 与智慧交通系统集成 18

4.8 开发自定义评分插件 18

4.8.1 开发评分插件的目的 18

4.8.2 开发自定义评分插件 18

4.8.3 安装插件 19

4.8.4 测试数据 19

第五章 总结与展望 22

5.1 项目总结 22

5.2 展望 22

5.2.1 实现“多数据融合” 22

5.2.2 实现“应用生态圈” 22

5.2.3 实现“关联信息推送” 22

致谢 23

参考文献 24

绪论

研究背景

近年来,我国国民经济水平和城市化进程飞速发展,国民拥有的机动车数量也飞速上升,急剧增加的道路交通量导致了越来越多的交通问题,这些交通问题主要体现在一下几个方面:城市内道路交通拥堵情况与日俱增,并且交通污染严重、运行脆弱,某一区域的拥堵往往会影响到整个城市的交通,国民对城市交通情况每况愈下产生的负面情绪。从宏观角度分析,国内特大城市普遍被交通拥堵、交通结构调整、交通综合管控、停车管理等问题困扰。中等城市存在对规划建设的管理与发展速度不协调的问题。小型城市则是规划不足、基础设施建设不全面、管理基础薄弱等。

智慧交通是一个比较新兴的概念,它是在原来功能简单、没有大数据计算和分析能力的传统交通系统中,引入数据处理、智能传感、信息网络、通信传输等技术,通过物联网和云计算的加入,使系统变得更加智能,从而建设一个多功能、多信息、多平台的综合交通体系。智慧交通以全面感知、深度融合、主动服务、科学决策为目的,它可以实时接收、展示信息,并对相关信息进行数据挖掘,智能产生问题分析模型。通过对智慧交通的运用,可以更好、更合理的配置交通资源,帮助交警快速生成解决方案,从而更高效的管理交通、服务于民众。研究智慧交通,可以带动交通本身以及相关行业的升级、转型。

剩余内容已隐藏,请支付后下载全文,论文总字数:27188字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;