The invention provides a realization method, a real-time positioning system in data communication and data storage method which realizes data communication way: according to the moving state of the label, the communication frequency is set into several kinds; the realization of data preservation methods: in position calculation, always save a copy of each label information last position, each position calculation module in the calculation of the new position, the current position information of the new location and the corresponding labels are compared, only in the new time and location information of different current location information, namely when position changes, to update the real-time database and history database. By setting the frequency of communication in accordance with the above method, greatly reducing the amount of information transmitted over the network, greatly reduces the number of database operations and historical data to be stored; preservation through the above data, further reduce the number of the operation of the database and history database data.
【技术实现步骤摘要】
本专利技术属于定位系统领域,具体涉及一种实时定位系统中数据通信与数据保存方式的实现方法。
技术介绍
现有实时定位系统中,对于数据通信方式:用于定位的标签的通信频率一般没有根据标签的移动状态不同而进行对应的设置,但一些运行情况下,大部分的标签在大部分时间内都是处于静止状态的,这样网络传输的信息量、数据库操作次数和需要保存的历史数据量不够精炼。对于数据保存方式:由于在标签量很多的情况下,每次向实时数据库和历史数据库中插入数据时都会很慢,特别是历史数据库,随着时间的推移,其保存的数据量越来越大,向其中插入数据将变得越来越慢,即使是通过改进通信方式以后,虽然需要保存的数据已经大大减少,但如果保存历史数据的时间延长的话,依然会面临越往后插入数据的速度越慢的问题。
技术实现思路
本专利技术旨在专利技术一种实时定位系统中数据通信与数据保存方式的实现方法,适用于大数据量的处理和管理,精炼实用。为实现上述专利技术目的,本专利技术所采用的技术方案是:本专利技术的一种实时定位系统中数据通信与数据保存方式的实现方法,其中,数据 ...
【技术保护点】
一种实时定位系统中数据通信与数据保存方式的实现方法,其特征在于,数据通信方式的实现:根据标签的移动状态不同,将通信频率设置成若干种;数据保存方式的实现:在进行位置计算时,始终保存一份每个标签的上一次位置的信息,位置计算模块每次在计算出新的位置时,将新的位置与对应标签的当前位置信息进行比较,只有在新的位置信息和当前位置信息不同的时候,即位置发生变化的时候,才去更新实时数据库和历史数据库。
【技术特征摘要】
1.一种实时定位系统中数据通信与数据保存方式的实现方法,
其特征在于,数据通信方式的实现:根据标签的移动状态不同,
将通信频率设置成若干种;数据保存方式的实现:在进行位置计算
时,始终保存一份每个标签的上一次位置的信息,位置计算模块每
次在计算出新的位置时,将新的位置与对应标签的当前位置信息进
行比较,只有在新的位置信息和当前位置信息不同的时候,即位置
发生变化的时候,才去更新实时数据库和历史数据...
【专利技术属性】
技术研发人员:吴克利,韦大成,卢康,
申请(专利权)人:苏州易和物联信息技术有限公司,
类型:发明
国别省市:江苏;32
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。