﻿<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GPS软件平台开发技术博客 &#187; Asp.NET MVC</title>
	<atom:link href="http://www.jt808.com/?feed=rss2&#038;tag=asp-net-mvc" rel="self" type="application/rss+xml" />
	<link>http://www.jt808.com</link>
	<description>帮助IT团队快速构建符合部标的GPS和视频平台(2379423771@qq.com)</description>
	<lastBuildDate>Sun, 03 Nov 2024 04:30:16 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>基于C#和Asp.NET MVC开发部标视频和苏标主动安全监控平台</title>
		<link>http://www.jt808.com/?p=993</link>
		<comments>http://www.jt808.com/?p=993#comments</comments>
		<pubDate>Wed, 19 Oct 2016 12:21:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[苏标主动安全]]></category>
		<category><![CDATA[部标1078视频监控]]></category>
		<category><![CDATA[部标监控平台]]></category>
		<category><![CDATA[Asp.NET MVC]]></category>
		<category><![CDATA[GMap.NET]]></category>
		<category><![CDATA[jt808]]></category>
		<category><![CDATA[交通部部标平台]]></category>
		<category><![CDATA[部标808]]></category>
		<category><![CDATA[部标809]]></category>
		<category><![CDATA[部标平台]]></category>

		<guid isPermaLink="false">http://www.jt808.com/?p=993</guid>
		<description><![CDATA[基于交通部796标准开发部标监控平台，选择开发语言和技术也是团队要思考的因素，其实这由团队自己擅长的技术来决定 [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">基于交通部796标准开发部标监控平台，选择开发语言和技术也是团队要思考的因素，其实这由团队自己擅长的技术来决定，如果擅长C#和Asp<a class="replace_word" href="http://lib.csdn.net/base/dotnet" style="text-decoration: none; color: rgb(223, 52, 52); font-weight: bold;" target="_blank" title=".NET知识库">.NET</a>, 当然开发效率就高很多。当然了技术选型一定要选用当前主流的技术，现在Asp.NET技术已经发展到5.0, 如果你还是用旧的ASP技术写程序，无疑是为以后的项目维护埋下地雷，后面新来人手学习不到技术，没有兴趣去改进，不愿意维护，没有人愿意接手。代码最关键的是要不断的重构，保持与当前的技术和需求同步，平台才有生命力，否则就会越来越臃肿而变得难以维护。开发一个基于Asp.NET MVC和C#语言的部标平台，主要应用的技术如下：</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">1）服务器通信技术：因为C#中，基于.NET4.0的异步通信框架，还是非常不错的。不过编程模式也是比较复杂的，不像<a class="replace_word" href="http://lib.csdn.net/base/javaee" style="text-decoration: none; color: rgb(223, 52, 52); font-weight: bold;" target="_blank" title="Java EE知识库">Java</a>的NIO框架Mina和Netty那样方便省力,但是一样可以开发出高性能的jt808GPS服务器和jt809服务器。</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">2）分布式服务：对于高性能的平台，服务一定是要求分布式部署和调用的，以应对压力，比如jt808GPS服务器、存储转发缓存服务器和web服务器，都是部署在不同机子上面，对于远程服务调用，可以采用微软的WCF技术开发出各种部标平台的API服务接口，满足Webgis和808服务器，809服务器之间的分布式服务调用。</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">3）web框架：可以采用当前最流行的主流开发框架Asp.NET MVC框架来开发web应用，前端采用jquery + ajax调用，MVC框架返回Json数据，清清爽爽的，代码容易阅读和维护。</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">4）如果开发桌面客户端，可以采用GMAP.NET的地图框架，可以很方便的将地图缓存在本地，解决了webgis地图操作不太流畅的问题。</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><strong style="color: rgb(34, 34, 34); font-family: Arial, Verdana, sans-serif; font-size: 16px; text-align: justify;">5) 部标GPS平台可以单独付费升级为部标1077视频平台，支持符合部标视频Jt-t 1078协议标准的部标1076视频设备终端接入，在BS端通过flash插件或者HTML5 VIDEO组件进行实时视频监控和录像回放、视频文件下载。参见：</strong></p>
<h2 style="margin: 0px; padding: 0px 0px 3px; font-size: 2em; color: rgb(92, 121, 144); text-shadow: rgb(255, 255, 255) 0px 1px 0px, rgb(190, 190, 190) 0px -1px 3px; font-family: Georgia, Arial, Helvetica, sans-serif; text-transform: capitalize;">&nbsp; &nbsp; 1.<u><a href="http://www.jt808.com/?p=1401" rel="bookmark" style="margin: 0px; padding: 0px; color: rgb(213, 78, 33); text-decoration-line: none;">基于Html5+HLS协议播放符合部标1078协议的实时流媒体视频</a></u></h2>
<p>&nbsp; &nbsp; &nbsp; &nbsp; 2.<u><a href="http://www.jt808.com/?p=1584" rel="bookmark" style="font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 2em; text-transform: capitalize; margin: 0px; padding: 0px; color: rgb(38, 38, 38); text-decoration-line: none;">基于JT/T 1078协议设计和开发部标视频服务器</a></u></p>
<p>&nbsp;</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">java部标ＧＰＳ和部标1077视频平台参见：<u><a href="http://www.jt808.com/?p=939" rel="bookmark" style="margin: 0px; padding: 0px; color: rgb(38, 38, 38); text-decoration-line: none; border-bottom: 1px dotted rgb(223, 223, 223); line-height: 24px; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 2em; text-transform: capitalize;">基于Spring4+SpringMVC4+Mybatis3+Hibernate4+Junit4框架构建高性能企业级的部标GPS和部标视频监控平台</a></u></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">&nbsp;</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="粤标主动安全平台主界面" height="634" src="http://www.jt808.com/wp-content/uploads/mainpage(1).jpg" width="1263" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">通过增加1078视频服务器和web视频播放器，成为符合部标1077的视频平台。当然视频开发的工作量和复杂度也是gps平台所不能比的。</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="jt1078视频服务器" height="761" src="http://www.jt808.com/wp-content/uploads/1078server.png" width="1387" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">&nbsp;</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">6)&nbsp;根据苏标主动安全协议中的平台功能要求和苏标终端通信协议要求,增加苏标主动安全平台功能和苏标报警解析及附件上传功能.</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">详见:&nbsp;</p>
<h2 style="margin: 0px; padding: 0px 0px 3px; font-size: 2em; color: rgb(92, 121, 144); text-shadow: rgb(255, 255, 255) 0px 1px 0px, rgb(190, 190, 190) 0px -1px 3px; font-family: Georgia, Arial, Helvetica, sans-serif; text-transform: capitalize;"><u><a href="http://www.jt808.com/?p=1780" rel="bookmark" style="margin: 0px; padding: 0px; color: rgb(38, 38, 38); text-decoration-line: none;">基于Asp.NET MVC框架+SignalR +ActiveMQ + Ali OSS 服务构建苏标主动安全智能平台</a></u></h2>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">&nbsp;</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><strong><span style="color:#f00;">提供基于C#语言的Asp.NET MVC和WCF架构的部标平台源码，需要购买的请联系2379423771@qq.com，可以出差免费为客户提供技术支持和培训（差旅费用须由客户承担）</span></strong></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="jt/t 1078协议历史视频回放指令和功能" src="http://www.jt808.com/wp-content/uploads/history_playback.jpg" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="asp.net 部标平台" height="220" src="http://www.jt808.com/wp-content/uploads/aspnet.jpg" width="256" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><strong>开发工具是vs2012, 采用.net4.0, &nbsp;asp.net mvc4 框架开发，项目工程结构如下图所示：</strong></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="jt808项目结构" height="675" src="http://www.jt808.com/wp-content/uploads/aspnetmvc(1).png" width="618" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><strong>采用Nuget来管理项目依赖的lib库，非常方便，如下图所示：</strong></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="使用nuget管理依赖的包" height="818" src="http://www.jt808.com/wp-content/uploads/nuget.PNG" width="1201" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><span style="color:#00f;"><strong>代码注释风格如图所示，力求干净简洁：</strong></span></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><img alt="jt808源代码注释风格" height="830" src="http://www.jt808.com/wp-content/uploads/code style.PNG" width="1693" /></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">目前整理了基于.NET技术的部标平台开发文章，可以参考：</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">1.<a href="http://www.jt808.com/?p=964" rel="bookmark" style="text-decoration: none; color: rgb(38, 38, 38); font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 2em; text-transform: capitalize; margin: 0px; padding: 0px;" target="_blank">部标Jt808协议模拟终端的设计和开发</a></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">2.<span style="color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">C#版的808GPS服务器开发-》</span><a href="http://www.jt808.com/?p=322" rel="bookmark" style="text-decoration: none; color: rgb(61, 129, 238); margin: 0px; padding: 0px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(223, 223, 223); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px; outline: none;" target="_blank">基于部标JT/T 808协议及数据格式的GPS服务器</a></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><span style="color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">3.C#版的809GPS服务器开发-》</span><a href="http://www.jt808.com/?p=386" rel="bookmark" style="text-decoration: none; color: rgb(61, 129, 238); margin: 0px; padding: 0px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(223, 223, 223); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px; outline: none;" target="_blank">基于JT/T809-2011的(已过检)GPS平台数据交换及转发服务器</a></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">4.<span style="color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">Asp.NET版的部标平台开发-》</span><a href="http://www.jt808.com/?p=665" rel="bookmark" style="text-decoration: none; color: rgb(61, 129, 238); margin: 0px; padding: 0px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(223, 223, 223); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px; outline: none;" target="_blank">基于Asp.NET MVC构建GPS部标平台</a></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">5.<span style="color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">基于C# winform桌面客户端的部标平台开发-》</span><a href="http://www.jt808.com/?p=617" rel="bookmark" style="text-decoration: none; color: rgb(61, 129, 238); margin: 0px; padding: 0px; border-bottom-width: 1px; border-bottom-style: dashed; border-bottom-color: rgb(223, 223, 223); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px; outline: none;" target="_blank">GPS监控客户端设计</a></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">6.<u><span style="font-size: 11px;"><a href="http://www.jt808.com/?p=591" rel="bookmark" style="text-decoration: none; color: rgb(38, 38, 38); font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 2em; text-transform: capitalize; margin: 0px; padding: 0px;" target="_blank">GPS部标监控平台的架构设计-基于WCF的平台数据通信设计</a></span></u></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">7.<span style="font-size: 16px;"><span style="color: rgb(92, 121, 144); font-family: Georgia, Arial, Helvetica, sans-serif; text-transform: capitalize;"><a href="http://www.jt808.com/?p=21" style="text-decoration: none; color: rgb(12, 137, 207);" target="_blank">GPS.NET 地图应用程序</a><a class="replace_word" href="http://lib.csdn.net/base/architecture" style="text-decoration: none; color: rgb(223, 52, 52); font-weight: bold;" target="_blank" title="大型网站架构知识库">架构</a>设计</span></span></p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;">&nbsp;</p>
<p style="margin: 0px; padding: 0px; color: rgb(85, 85, 85); font-family: &quot;microsoft yahei&quot;; font-size: 15px; line-height: 35px;"><strong>软件截图如下图所示：</strong></p>
<div id="cnblogs_post_body" style="margin-bottom: 20px; word-break: break-word; color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">
<p style="line-height: 1.8; margin: 10px auto;"><img alt="部标gps监控平台主界面" height="599" src="http://www.jt808.com/wp-content/uploads/mainui.png" width="1133" /></p>
</div>
<div class="clear" style="clear: both; color: rgb(51, 51, 51); font-family: Georgia, &quot;Times New Roman&quot;, Times, sans-serif; font-size: 14px; line-height: 25px;">
<p align="justify" class="MsoNormal" style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px; text-align: justify;"><strong style="margin: 0px; padding: 0px;"><span style="margin: 0px; padding: 0px; font-size: 20px;">支持百度高德地图聚合</span></strong></p>
<p align="justify" class="MsoNormal" style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px; text-align: justify;"><img alt="百度高德地图聚合" height="671" src="http://www.jt808.com/wp-content/uploads/mapcluster.PNG" style="margin: 0px; padding: 0px; border: none;" width="1024" /></p>
<p style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px;"><span style="margin: 0px; padding: 0px; font-size: 22px;"><strong style="margin: 0px; padding: 0px;">支持海量车辆在地图上的位置显示和移动，通过颜色区分车辆的在线状态和停车行驶状态</strong></span></p>
<p style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px;"><img alt="海量车辆GPS位置地图显示" height="627" src="http://www.jt808.com/wp-content/uploads/large-scale-vehicle.PNG" style="margin: 0px; padding: 0px; border: none;" width="1260" /></p>
<p style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px;">&nbsp;</p>
<p style="margin: 0px 0px 10px; padding: 0px; font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 24px;"><img alt="海量车辆位置在百度地图上显示" height="623" src="http://www.jt808.com/wp-content/uploads/large-scale-vehicle2.PNG" style="margin: 0px; padding: 0px; border: none;" width="1124" /></p>
</div>
<p> (16580)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jt808.com/?feed=rss2&#038;p=993</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
