The embodiment of the present application provides a data transmission method and apparatus for on-board AP. The data transmission method includes: starting full-channel scanning after determining that the vehicle in which the on-board AP is located stops in the garage; identifying the best signal quality rail-side AP as the target rail-side AP on all the channels supported by the on-board AP; and The front working channel is switched to the working channel of the target rail-side AP, and a Mesh connection is established with the target rail-side AP; the data is transmitted to the target rail-side AP through the Mesh connection. Through the technical scheme provided by the embodiment of the present application, the working channels of the adjacent two rail-side APs are different, the same frequency interference is reduced, and the throughput of the wireless network is increased. In addition, for vehicular AP, a vehicular AP connects to a rail-side AP, and different vehicular AP connects to different rail-side AP, and different working channels transmit data to the rail-side AP, which reduces the consumption of gap resources and further increases the throughput of wireless network.
【技术实现步骤摘要】
一种数据发送方法及装置
本申请涉及通信
,特别是涉及一种数据发送方法及装置。
技术介绍
为了便于用户了解列车在运行过程中的情况,保证列车的安全,在列车运行过程中,列车上的监控摄像机不间断地对列车内的场景进行拍摄。当列车回到车库时,列车上的监控摄像机将图像数据发送给列车上的车载AP(AccessPoint,接入点)。通过车载AP与车库中预先设置的轨旁AP间建立的Mesh(网格)连接,车载AP将图像数据发送给轨旁AP。轨旁AP再将图像数据发送给地面服务器。这样,用户就可以通过地面服务器接收的图像数据了解到列车在运行过程中的情况,及时发现并排除列车中安全隐患。实际应用中,车库中预先设置的多个轨旁AP采用同一信道作为工作信道,车载AP采用该信道作为工作信道,并基于该信道与多个轨旁AP建立连接,即车载AP与多个轨旁AP建立链路,车载AP将其中一条链路作为主链路,其余作为备链路,图像数据只通过主链路发送给轨旁AP,当主链路出现故障时,将备链路切换为主链路,以保证车载AP能够成功地将图像数据发送至轨旁AP。然而,多个轨旁AP采用同一信道作为工作信道,同频干扰严重,致使轨旁 ...
【技术保护点】
1.一种数据发送方法,其特征在于,应用于车载接入点AP,所述方法包括:在确定出所述车载AP所在车辆在车库中停稳后,启动全信道扫描,在所述车载AP支持的所有信道上扫描位于所述车库中的轨旁AP,所述车库中每相邻两个轨旁AP的工作信道各不相同;将扫描到的信号质量最好的轨旁AP确定为目标轨旁AP;将当前工作信道切换为所述目标轨旁AP的工作信道,并与所述目标轨旁AP建立网格Mesh连接;通过所述Mesh连接,向所述目标轨旁AP发送数据。
【技术特征摘要】
1.一种数据发送方法,其特征在于,应用于车载接入点AP,所述方法包括:在确定出所述车载AP所在车辆在车库中停稳后,启动全信道扫描,在所述车载AP支持的所有信道上扫描位于所述车库中的轨旁AP,所述车库中每相邻两个轨旁AP的工作信道各不相同;将扫描到的信号质量最好的轨旁AP确定为目标轨旁AP;将当前工作信道切换为所述目标轨旁AP的工作信道,并与所述目标轨旁AP建立网格Mesh连接;通过所述Mesh连接,向所述目标轨旁AP发送数据。2.根据权利要求1所述的方法,其特征在于,通过以下方式确定所述车载AP所在车辆在车库中停稳,包括:若接收到监控设备发送的车辆停稳信号,则确定所述车辆在车库中停稳,其中,所述车辆停稳信号为所述监控设备在检测到所述车辆回到所述车库并停稳时所生成的信号。3.根据权利要求1所述的方法,其特征在于,所述方法还包括:当所述Mesh连接断开时,重新执行启动全信道扫描的步骤。4.根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:在确定出所述车辆离开所述车库后,将当前工作信道切换为所述车载AP启动全信道扫描时的工作信道。5.一种数据发送装置,其特征在于,应用于车载接入点AP,所述装置包括:信道扫描模块,用于在确定出所述车载AP所在车辆在车库中停稳后,启动全信道扫描,在所述车载AP支持的所有信道上扫描位于所述车库中的轨旁...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。