The invention discloses a data storage method, location tracking, including location and location of flow reduction process, the specific steps are: Location: location acquisition point sequence encoding \position sequence label\ on behalf of the traditional position data; time sequence encoding: timestamp value \serialization\ into a representation of time sequential labeling; by piecing together the bitmap algorithm combined with position and time sequence labeling, two-dimensional information encoding to a one-dimensional inverse; through the algorithm, the one-dimensional information is decoded into two-dimensional information; in the tracking position provided by the limit of fixed position, can greatly save storage space; using bitmap together numerical calculation process is relatively simple and can be; at any time adjust according to the position of nodes and time granularity; numerical calculation in bitmap together the same location based on continuous time When the data is further compressed, it is very simple; it is only necessary to find a continuous increasing number, which is consistent with the use of non coding usage.
【技术实现步骤摘要】
一种位置轨迹大数据高效存储方法
本专利技术涉及一种位置轨迹大数据高效存储方法,特别是是基于指定标记物的物体运动位置轨迹的记录存储,可以至少节省1/3以上的存储空间。
技术介绍
当下WiFi已经成为生活中的必需品,Beacon设备在商业场所中也越来越多。类似商场和校园等部署有WiFi热点或者Beacon设备的场所内,处于实时人流热力情况获取,以及热门轨迹线路探寻等商业数据的获取需要,一般都会开启进行WiFi终端(或者Beacon终端)的位置定位,轨迹记录和回溯功能,此时就需要将终端的位置数据实时的记录下来。在一个大型的网络中,该种类数据将非常的庞大,特别是在开启WiFi嗅探(即无需接入WiFi也可以探知用户MAC的功能)时,位置数据基本成指数型增长。比如有1万颗无线接入点(AP)的大学校园,平均每个AP接入5个终端,每5秒进行一次位置数据记录(时间戳一般为4字节Byte),常规使用GPS数据(占用8个字节Byte),每次会有50000*12Byte=600Kbyte。每天的数据有:600K*24*60*12=10368000K≈10GByte,如果开启嗅探,这个数据将放大10倍以上,每天达到100GByte的数量。
技术实现思路
针对
技术介绍
中存在的问题,本专利技术提供了一种位置轨迹大数据高效存储方法。为实现上述目的,本专利技术提供如下技术方案:一种位置轨迹大数据高效存储方法,包括位置存储流程和位置还原过程,具体步骤是:位置序列编码:将位置采集点的“位置序列标号”代表传统位置数据;时间序列编码:将时间戳值“序列化”成一个表示时间段的序列标号;通过位图拼凑算法结合 ...
【技术保护点】
一种位置轨迹大数据高效存储方法,其特征在于:包括位置存储流程和位置还原过程,具体步骤是:位置序列编码:将位置采集点的“位置序列标号”代表传统位置数据;时间序列编码:将时间戳值“序列化”成一个表示时间段的序列标号;通过位图拼凑算法结合位置和时间序列标号,将二维信息编码到一维;通过反算算法,将一维信息解码成二维信息。
【技术特征摘要】
1.一种位置轨迹大数据高效存储方法,其特征在于:包括位置存储流程和位置还原过程,具体步骤是:位置序列编码:将位置采集点的“位置序列标号”代表传统位置数据;时间序列编码:将时间戳值“序列化”成一个表示时间段的序列标号;通过位图拼凑算法结合位置和时间序列标号,将二维信息编码到一维;通过反算算法,将一维信息解码成二维信息。2.根据权利要求1所述的一种位置轨迹大数据高效存储方法,其特征在于:位置序列编码和时间序列编码没有先后顺序。3.根据权利要求1所述的...
【专利技术属性】
技术研发人员:高凤春,包月浩,夏兵,吴彬,
申请(专利权)人:上海数烨数据科技有限公司,
类型:发明
国别省市:上海,31
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。