摘要
在利用电话进行通信时,有时候语言的描述可能并不能很好地表达所传递的信息,如果此时双方能够及时地开启一个画板实时传输数据,在画板上手绘图表等信息来帮助表达意图,可提高通信的质量和效率。基于Android平台实现了画板间的实时通信功能,可在不同网络情况下实时传输画板数据。该画板是将移动设备作为手绘输入板,用户可以通过手指触摸屏来实现绘图等功能。为了确保无论用户在什么样的网络环境下都能够有效通信,文中提供了三个不同的解决方案。重点描述了当通信双方在不同局域网时,利用UDP打洞传输数据的通信方式。
When using the telephone to communicate,sometimes the description of the language may not express the message well.At this time,if both sides can timely open a drawing board to transmit data by drawing charts or other information on the drawing board,it can improve the quality and efficiency of communication.In this paper,the function of reat-time communication between the sketchpads is realized based on the Android platform.It can transmit data in real time in different network circumstances.The mobile device is used as the hand drawing input board,and the users can realize the drawing function through the finger touching screen.To ensure that users can communicate in any network environment,this paper provides three differet solutions.This paper importantly describes the communication mode of data transmission by using UDP hole when the communication is in different LAN.
出处
《微型机与应用》
2017年第23期66-69,共4页
Microcomputer & Its Applications
关键词
画板
实时传输
UDP
网络
drawing board
real-time transmission
UDP
network