﻿<?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; 粤标协议</title>
	<atom:link href="http://www.jt808.com/?feed=rss2&#038;tag=%E7%B2%A4%E6%A0%87%E5%8D%8F%E8%AE%AE" 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>Netty4 + SpringBoot2 + RabbitMq + Redis + AliOSS 构建高性能粤标主动安全平台</title>
		<link>http://www.jt808.com/?p=1876</link>
		<comments>http://www.jt808.com/?p=1876#comments</comments>
		<pubDate>Wed, 31 Mar 2021 07:55:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[苏标主动安全]]></category>
		<category><![CDATA[部标1078视频监控]]></category>
		<category><![CDATA[部标监控平台]]></category>
		<category><![CDATA[广东主动安全协议]]></category>
		<category><![CDATA[粤标主动安全平台]]></category>
		<category><![CDATA[粤标协议]]></category>
		<category><![CDATA[苏标808协议]]></category>
		<category><![CDATA[苏标主动安全平台]]></category>
		<category><![CDATA[苏标协议]]></category>

		<guid isPermaLink="false">http://www.jt808.com/?p=1876</guid>
		<description><![CDATA[&#160; &#160; &#160; &#160;&#160;苏标主动安全协议在2021年迎来一个新的版本 [...]]]></description>
			<content:encoded><![CDATA[<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<font face="宋体">苏标主动安全协议在</font><font face="Calibri">2021</font><font face="宋体">年迎来一个新的版本粤标主动安全协议标准</font><font face="Calibri">,&nbsp;</font><font face="宋体">这个标准是基于</font><font face="Calibri">jt/t808-2019</font><font face="宋体">协议框架的</font><font face="Calibri">.&nbsp;</font><font face="宋体">作为一个面向全国的主动安全平台不可能只能接入粤标</font><font face="Calibri">,&nbsp;</font><font face="宋体">还要兼容苏标</font><font face="Calibri">.</font><font face="宋体">苏标</font></span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">主动安全协议本身就是一个比较</span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">复杂的混合协议</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">将</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">808</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">协议指令和报警文件数据流混合在一起</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">给开发者造成了不小的麻烦</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">有点烧脑</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">同时由于其本身业务的复杂度</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">使得开发人员必须要有一定的开发经验</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">结合比较好的设计模式才能构建出来性能良好的网</span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">关</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">一般需要几个版本的迭代</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">必须要在实际的大规模车辆接入</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">运营一段时间积累足够多的设备经验</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">才能逐步的成熟稳定下来</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;"><font face="宋体">没有一定规模的设备接入</font><font face="宋体">, 就能做出高性能的网关是不可能的事情</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.单纯的采用SpringBoot + Netty,</span></p>
<p class="p" style="line-height: 18px;"><strong><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">只是一个基础,&nbsp;后面的代码我们仍然要有扎实良好的设计功底</span><span style="font-family: Calibri; font-size: 14px;">,才能做出一个优秀的主动安全平台</span><span style="font-family: Calibri; font-size: 10.5pt;">.&nbsp;如需购买苏标或粤标主动安全平台源码,请联系2379423771@qq.com</span></strong></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<font face="宋体">作为开发者我们必须要解决一下五个设计挑战</font><font face="Calibri">:</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp; 1)&nbsp;<font face="宋体">高性能的主动安全协议通信网关通信框架设计</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp; 2)&nbsp;<font face="宋体">苏标主动安全协议和粤标主动安全协议的兼容性设计</font><font face="Calibri">;</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp; 3)&nbsp;<font face="宋体">大数据量高并发存储设计</font><font face="Calibri">;</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp; 4)&nbsp;<font face="宋体">及时的报警推送和处理</font><font face="Calibri">;</font></span></p>
<p class="p" style="line-height: 18px;"><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp;1.<font face="宋体">高性能的主动安全协议通信网关通信框架设计</font></span></b><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></b></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp; Netty<font face="宋体">框架当然是首选</font><font face="Calibri">,&nbsp;</font><font face="宋体">这个不用多言</font><font face="Calibri">,&nbsp;</font><font face="宋体">作为基础框架</font><font face="Calibri">,&nbsp;</font><font face="宋体">我们一般用</font><font face="Calibri">SpringBoot2</font><font face="宋体">整合</font><font face="Calibri">Netty4</font><font face="宋体">框架</font><font face="Calibri">,&nbsp;</font><font face="宋体">先为我们的平台打下一个坚实的基础</font><font face="Calibri">.</font></span></p>
<p class="p" style="line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp;<img alt="Netty4 + SpringBoot2 主动安全平台" height="505" src="http://www.jt808.com/wp-content/uploads/springboot IDE.JPG" width="768" /></p>
<p class="p" style="line-height: 18px;">&nbsp;</p>
<p class="p" style="line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp;<font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">基于</font><span style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">Netty4</span><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">进行协议解析</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">,&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">我们必须要清楚设备与服务器之间的通信协议</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">,&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">及通信数据格式</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">.&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">一个粤标设备一次报警</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">,&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">可能与平台直接建立三个连接</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">,&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">一个是指令连接</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">,&nbsp;</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">两个是数据传输的连接</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">.</font><font face="宋体" style="font-size: 10.5pt; letter-spacing: 0pt;">如下图所示</font><font face="Arial" style="font-family: Arial; font-size: 10.5pt; letter-spacing: 0pt;">:</font></p>
<p class="p" style="line-height: 18px;"><img alt="设备与主动安全平台直接的连接" height="314" src="http://www.jt808.com/wp-content/uploads/terminalconn.JPG" width="713" /></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">2.&nbsp;&nbsp;<font face="宋体">苏标主动安全协议和粤标主动安全协议的兼容性设计</font><font face="Calibri">;</font></span></b><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></b></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt;">兼容性设计主要是对于接入设备的报文</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: Calibri; letter-spacing: 0pt; font-size: 10.5pt;">,</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt;">由程序自动识别出协议的版本</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: Calibri; letter-spacing: 0pt; font-size: 10.5pt;">.&nbsp;</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt;">并以此来决定后续的报文数据解析和指令下发</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: Calibri; letter-spacing: 0pt; font-size: 10.5pt;">,&nbsp;</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt;">如果是粤标的设备</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: Calibri; letter-spacing: 0pt; font-size: 10.5pt;">,</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: 宋体; letter-spacing: 0pt; font-size: 10.5pt;">下发的指令亦应是粤标协议格式</span><span style="background-image: initial; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; font-family: Calibri; letter-spacing: 0pt; font-size: 10.5pt;">.&nbsp;<font face="宋体">实际上苏标是采用</font><font face="Calibri">jt/t 808-2013</font><font face="宋体">协议</font><font face="Calibri">,&nbsp;</font><font face="宋体">粤标是采用</font><font face="Calibri">jt/t 808-2019</font><font face="宋体">协议</font><font face="Calibri">,&nbsp;</font><font face="宋体">所以就是要区分是</font><font face="Calibri">2013</font><font face="宋体">版本还是</font><font face="Calibri">2019</font><font face="宋体">版本</font><font face="Calibri">.</font></span>&nbsp; &nbsp; &nbsp;</p>
<p class="p" style="line-height: 18px;"><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">3.<font face="宋体">大数据量高并发存储设计</font></span></b><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></b></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<font face="宋体">粤标主动安全报警文件上传</font><font face="Calibri">,</font><font face="宋体">本质上就是多个设备同时并发连续上传多个文件</font><font face="Calibri">,</font><font face="宋体">对磁盘的</font><font face="Calibri">IO</font><font face="宋体">操作非常的频繁</font><font face="Calibri">.</font><font face="宋体">磁盘存储的成本也非常的昂贵</font><font face="Calibri">.</font><font face="宋体">在阿里云上面扩容一个</font><font face="Calibri">100G</font><font face="宋体">的硬盘每月的成本需要千元</font><font face="Calibri">.</font><font face="宋体">而这对于海量的主动安全报警文件来说都不够塞牙缝</font><font face="Calibri">.</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">一次报警如果平均是</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">4</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">个文件</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,1M</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">大小</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">则如果在线有</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">1000</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">台车</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">则每天平均报警一次</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">将会上传</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">1G</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">的文件</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">如果每个车平均上报</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">10</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">次</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">则每日有</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">10G</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">的存储需求</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">如果有</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">1</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">万台车</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">就自己算去吧</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<font face="宋体">而目前的主动安全设备厂商来说芯片算法很多并不掌握</font><font face="Calibri">,&nbsp;</font><font face="宋体">报警的准确性和误报率非常的高</font><font face="Calibri">.&nbsp;</font></span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">如车道偏离报警</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">车距过近报警等</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">这些误报的报警文件</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">基本上都是垃圾数据</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">却会占用服务器大量的带宽资源和存储成本</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><font face="宋体">对于平台不存也不行</font>,&nbsp;<font face="宋体">万一里面真有一次车辆碰撞事故呢</font><font face="Calibri">?&nbsp;</font></span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">为了节省存储成本</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">采用云厂商提供的云存储服务</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;"><font face="宋体">阿里云</font><font face="宋体">,腾讯云,华为云的OSS云存储费用相对较低</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">但是存储容量也不能一直增长</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">如果一直增长</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">阿里云也不是活菩萨</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">也会有很多收费陷阱</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">最好</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">30</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">天的生命周期</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,&nbsp;</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">过期数据自动销毁</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">,</span><span style="font-family: 宋体; line-height: 21px; font-size: 10.5pt;">或者归档</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">.</span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<font face="宋体">所以在设计的时候</font><font face="Calibri">,</font><font face="宋体">要提供和支持本地存储</font><font face="Calibri">,</font><font face="宋体">本地访问</font><font face="Calibri">,OSS</font><font face="宋体">存储和</font><font face="Calibri">OSS</font><font face="宋体">服务</font><font face="Calibri">.</font></span></p>
<p class="p" style="line-height: 18px;">&nbsp; &nbsp; &nbsp; &nbsp;<img alt="主动安全参数设置" height="602" src="http://www.jt808.com/wp-content/uploads/oss.JPG" width="805" /></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;"><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">4.<font face="宋体">报警消息的及时推送和报警数据的及时展现</font><font face="Calibri">.</font></span></b><b><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></b></p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp; &nbsp; &nbsp; &nbsp;<font face="宋体">这里用到及时</font><font face="Calibri">,&nbsp;</font><font face="宋体">是因为一次主动安全的报警</font><font face="Calibri">,&nbsp;</font><font face="宋体">我们需要等待所有的报警附件全部上传完毕后</font><font face="Calibri">,&nbsp;</font><font face="宋体">进行报警消息的推送</font><font face="Calibri">.&nbsp;</font><font face="宋体">做不到实时的推送</font><font face="Calibri">,&nbsp;</font><font face="宋体">只能在前端能够及时的展现出来</font><font face="Calibri">,&nbsp;</font><font face="宋体">这就要求我们不能等待数据存储完毕才进行消息推送</font><font face="Calibri">,&nbsp;</font><font face="宋体">我们在数据接收完毕后进行消息推送</font><font face="Calibri">.&nbsp;</font><font face="宋体">这就用到</font><font face="Calibri">redis</font><font face="宋体">框架</font><font face="Calibri">.&nbsp;</font><font face="宋体">接收到数据后</font><font face="Calibri">,</font><font face="宋体">及时的放入</font><font face="Calibri">redis</font><font face="宋体">当中</font><font face="Calibri">.&nbsp;</font><font face="宋体">前端展现的时候</font><font face="Calibri">,&nbsp;</font><font face="宋体">从</font><font face="Calibri">redis</font><font face="宋体">中获取</font><font face="Calibri">,&nbsp;</font><font face="宋体">而不从存储服务中获取</font><font face="Calibri">.</font></span><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="p" style="line-height: 18px;">&nbsp;</p>
<p class="p" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp;</span></p>
<p class="MsoNormal" style="line-height: 18px;"><span style="font-family: Calibri; line-height: 21px; font-size: 10.5pt;">&nbsp;</span></p>
<p class="MsoNormal" style="text-indent:21.0000pt;mso-char-indent-count:2.0000;"><span style="mso-spacerun:'yes';font-family:宋体;mso-ascii-font-family:Calibri;<br />
mso-hansi-font-family:Calibri;mso-bidi-font-family:'Times New Roman';font-size:10.5000pt;<br />
mso-font-kerning:1.0000pt;"><o:p></o:p></span></p>
<p> (5771)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jt808.com/?feed=rss2&#038;p=1876</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
