The invention is applicable to the technical field of communication and provides a method for data exchange and data exchange system, including: terminal access local network of mobile intelligent terminal equipment; the mobile terminal acquires the intelligent terminal equipment IP address and port number; according to the intelligent terminal equipment IP address and port number, send a request to the intelligent terminal connection equipment; intelligent terminal equipment return connection confirmation information to the mobile terminal; the mobile terminal according to the data exchange command, intelligent terminal equipment access data in a private communication protocol based on. The embodiment of the invention using the mobile terminal to access the LAN intelligent terminal equipment, and equipment needed to find intelligent interaction according to the IP address and port number, solution to the mobile terminal and smart device location far apart by signal strength constraints, reduce the difficulty of data exchange, for intelligent terminal equipment without add extra physical settings, reduce the equipment cost of consumables, effectively realize data interaction.
【技术实现步骤摘要】
一种数据交互方法及数据交互系统
本专利技术属于通信
,尤其涉及一种数据交互方法及数据交互系统。
技术介绍
目前,安防监控系统如门禁安防设备和考勤门禁设备已逐渐应用到办公楼、小区、商场、银行等各类场所,为人们带来的极大的便利。随着智能安防设备的应用被广泛普及,其数据交互问题也得到了业内的广泛重视。目前,安防设备主要通过以下几种方式进行数据的交互:一、通过在安防设备上设置固定面板,以使用户通过面板上的物理按键或触屏按键与设备实现交互;二、通过安防设备配套的蓝牙控制器,实现数据的遥感控制;三、通过将安防设备的数据自动上传至云端服务器,可利用PC电脑端软件连接云端服务器来获取安防数据。但是,在实现本专利技术过程中,专利技术人发现目前的智能安防设备数据交互方法至少存在如下问题:通过云端服务器以及设置固定面板的方式来交互数据会导致设备耗材成本的增加,蓝牙遥感控制的交互方式会受到信号强度的约束,无法实现远距离的数据交互,交互难度较大。
技术实现思路
本专利技术实施例提供一种数据交互方法及数据交互系统,旨在解决现有智能安防设备数据交互方法的设备耗材成本过高、交互难度大以及无法实现远距离数据交互的问题。本专利技术实施例是这样实现的,一种数据交互方法,包括:移动终端接入智能终端设备所在的局域网;所述移动终端获取所述智能终端设备的IP地址及端口号;根据所述智能终端设备的IP地址及端口号,所述移动终端向所述智能终端设备发送连接请求;所述智能终端设备向所述移动终端返回连接确认信息;所述移动终端根据用户输入的数据交互指令,基于私有的通讯协议获取所述智能终端设备中的数据。本专利技术实 ...
【技术保护点】
一种数据交互方法,其特征在于,包括:移动终端接入智能终端设备所在的局域网;所述移动终端获取所述智能终端设备的IP地址及端口号;根据所述智能终端设备的IP地址及端口号,所述移动终端向所述智能终端设备发送连接请求;所述智能终端设备向所述移动终端返回连接确认信息;所述移动终端根据用户输入的数据交互指令,基于私有的通讯协议获取所述智能终端设备中的数据。
【技术特征摘要】
1.一种数据交互方法,其特征在于,包括:移动终端接入智能终端设备所在的局域网;所述移动终端获取所述智能终端设备的IP地址及端口号;根据所述智能终端设备的IP地址及端口号,所述移动终端向所述智能终端设备发送连接请求;所述智能终端设备向所述移动终端返回连接确认信息;所述移动终端根据用户输入的数据交互指令,基于私有的通讯协议获取所述智能终端设备中的数据。2.如权利要求1所述的方法,其特征在于,所述移动终端获取所述智能终端设备的IP地址及端口号包括:所述智能终端显示基于IP地址及端口号信息的二维码;所述移动终端通过扫描所述二维码,获取所述智能终端设备的IP地址及端口号。3.如权利要求1所述的方法,其特征在于,所述移动终端向所述智能终端设备发送连接请求包括:所述移动终端获取用户的身份信息;所述移动终端向所述智能终端设备发送基于所述身份信息的连接请求。4.如权利要求3所述的方法,其特征在于,所述移动终端向所述智能终端设备发送连接请求包括:所述移动终端基于私有的通讯协议向所述智能终端设备发送连接请求;所述智能终端设备向所述移动终端返回连接确认信息包括:所述智能终端设备根据接收到的基于所述身份信息的连接请求,判断所述身份信息是否满足预设条件,若是,则基于私有的通讯协议向所述移动终端返回连接确认信息。5.如权利要求1所述的方法,其特征在于,所述方法还包括:所述移动终端缓存当前已从所述智能终端设备中获取得到的数据的节点位置或偏离位置;当所述移动终端与所述智能终端设备之间的连接断开时,在所述移动终端重新连接所述智能终端设备之后,所述移动终...
【专利技术属性】
技术研发人员:陈建兴,王海乐,朱龙海,李仙平,
申请(专利权)人:厦门中控生物识别信息技术有限公司,
类型:发明
国别省市:福建,35
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。