admin 管理员组文章数量: 1184232
2024年3月26日发(作者:swift 教程百度网盘)
基于WiFi的即时通信软件的设计与实现
即时通信是一种终端服务,允许两个人或者多个人使用网络可以跨平台地即时地传递文
字信息,文本文件,语音和视频进行交流。自从即时通信软件产生以来,这种以网络为基础,
与其他在线用户交互信息的实时方式,已其方便快捷的特点,受到了对消息反馈即时性要求
很高的行业和机构的青睐。
即时通信自1998年面世以来,特别是近几年的迅速发展,即时通信的功能日益丰富,
逐渐集成了电子邮件、博客、音乐、电视、游戏和搜索等多种功能。即时通信不再是一个单
纯的聊天工具,它已经发展成集交流、资讯、娱乐、搜索、电子商务、办公协作和企业客户
服务等为一体的综合化信息平台。
传统的即时通信应用大部分是在PC端实现的,但随着无线传输网络的发展,各种智能
操作平台的推出提供了硬件基础,在移动设备上的即时通信系统的研究成为了3G业务新的
亮点。随着网络技术的迅猛发展,信息科技水平的不断提高,移动终端技术逐渐增强,各种
智能操作系统平台的出现,为即时通信系统移动化的发展提供了硬件基础;移动设备中开放
性的Android平台,随着3G网络发展迅速占领了市场。
第三代移动通信技术(3rd-generation,3G),是指支持高速数据传输的蜂窝移动通讯技
术。3G服务能够同时传送声音及数据信息,速率一般在几百kbps以上。目前3G存在四种
标准:CDMA2000,WCDMA,TD-SCDMA,WiMAX。一般地讲,3G是指将无线通信
与国际互联网等多媒体通信结合的新一代移动通信系统,未来的3G必将与社区网站
进行结合,WAP与WEB的结合是一种趋势。3G与2G的主要区别是在传输声音和数
据的速度上的提升,它能够在全球范围内更好地实现无线漫游,并处理图像、音乐、
视频流等多种媒体形式,提供包括网页浏览、电话会议、电子商务等多种信息服务,
同时也要考虑与已有第二代系统的良好兼容性。为了提供这种服务,无线网络必须能
够支持不同的数据传输速度,也就是说在室内、室外和行车的环境中能够分别支持至
少2Mbps(兆比特/每秒)、384kbps(千比特/每秒)以及144kbps的传输速度。
Wi-Fi俗称无线宽带,wi-Fi与Wlan的区别在于WLan是无线局域网,Wi-Fi是一种技
术。Wlan属于Wi-Fi。它是一种短程无线传输技术,能够在数百英尺范围内支持互联网接入
的无线电信号。Wi-Fi的正式名称是“IEEE802.11b”,与蓝牙一样,同属于在办公室和家庭
中使用的短距离无线技术。虽然在数据安全性方面,该技术比蓝牙技术要差一些,但是在电
波的覆盖范围方面则要略胜一筹。随着技术的发展,以及IEEE 802.11a 及IEEE 802.11g等
标准的出现,现在IEEE 802.11这个标准已被统称作Wi-Fi。从应用层面来说,要使用Wi-Fi,
用户首先要有Wi-Fi 兼容的用户端装置。Wi-Fi是一种帮助用户访问电子邮件、Web和流式
媒体的互联网技术。它为用户提供了无线的宽带互联网访问。同时,它也是在家里、办公室
或在旅途中上网的快速、便捷的途径。能够访问Wi-Fi 网络的地方被称为热点。Wi-Fi 热
点是通过在互联网连接上安装访问点来创建的。这个访问点将无线信号通过短程进行
传输,一般覆盖90米左右。当一台支持Wi-Fi 的设备遇到一个热点时,这个设备可
以用无线方式连接到那个网络。
Android一词的本义指“机器人”,同时也是Google于2007年11月5日宣布的基于Linux
平台的开源手机操作系统的名称,该平台由操作系统、中间件、用户界面和应用软件组成,
是首个为移动终端打造的真正开放和完整的移动软件。目前,最新版本为Android 2.4
Gingerbread和Android 3.0 Honeycomb。Android早期由原名为"Android"的公司开发,谷歌
在2005年收购""后,继续对Android系统开发运营,它采用了软件堆层(software
stack,又名软件叠层)的架构,主要分为三部分。底层Linux内核只提供基本功能,其他的
应用软件则由各公司自行开发,部分程序以Java编写。2011年初数据显示,仅正式上市两
年的操作系统Android已经超越称霸十年的塞班系统,使之跃居全球最受欢迎的智能手机平
台。现在,Android系统不但应用于智能手机,也在平板电脑市场急速扩张,在智能MP4
方面也有较大发展。
开发Android平台下的软件成为了迎合行业发展的一种趋势。Android是Google推出的
一个基于Linux内核的手机操作系统,包含底层架构,中间件和开发环境的一套平台系统。
它支持流行的组件式程序设计,具有针对性移动设备Dalvik虚拟机。浏览器核心是基于开
源的WebKit引擎,对基于html的各种语言有良好的支持。图像引擎使用基于openGLES1.0
的三维图形库。又因为Google与运营商、设备制造商、开发商和其它第三方结成深层的合
作伙伴关系,希望通过建立标准化、开放式的移动电话软件平台,在移动产业内形成一个开
放式的生态系统、Android平台正在被越来越多的开发者和使用者所接受。
Android不仅是一种操作系统,它更是一个开源的体系架构。Android平台大量应用了
开源社区的成果,并将其针对移动设备进行了一系列地优化。Android平台包含的主要构成
部分及其特性有:经过Google改进和调优的LinuxKernel;经过Google修改的Java虚拟机
DalvikVM;大量可用的类库和应用软件;Google已经开发好的大量现成的应用软件;基于
Eclipse的完整开发环境;优化过的2D和3D图形处理系统;多媒体方面对常见的音频、视
频和图片格式提供支持;支持GSM、蓝牙、EDGE、3G、WiFi、摄像头、GPS等。
目前,国内外对Android平台下开发应用程序的热情很高,开发Android平台下的即时
通信软件也是层出不穷,其中涌现了许多有价值的开源社区以及一些第三方做的框架。例如:
beem_,Android Asmack等等,这对于完成Android平台下的即时通信软件有着
阶段性的贡献,还有许许多多Android爱好者在一些论坛和博客中共同交流和完善这个
Android即时通信系统,给用户的体验也越来越好。这也吸引了越来越多的人投身到对
Android软件的开发研究当中,因为他是开源的,因为它有许多的志同道合的人能够进行交
流,并且从中获取经验和进步。
Android平台上开发利用WiFi实现实现即时通信,他能够让使用Android平台并支持
WiFi功能的手机或电脑用户方便的、迅捷的相互联系,而不会产生各类资讯费用。Android
应用开发着眼于它的整个体系架构,是一项复杂的工程。分析Android体系的层次架构,利
用其对WiFi的支持开发一个即时通信软件。从当前国内移动通信的浪潮来看,使用WiFi
的即时通信技术不仅在民用方面有较大的前景,在军事上也将有较大的发展空间,包括构建
战地Ad_Hoc网络等应用。
Design and Implementation of the WiFi-Based Instant
Messaging Software
Real-time communication is a terminal services, allowing two or more individuals to use
network can transfer to cross-platform real-time information in words, text files, voice and video
communication. Since the instant communication software which has been, this kind of take the
network as the basis, and other online user interaction information real-time mode, has its quick
and convenient features, got to news of the high requirement of real-time feedback industry and
institutions favored.
Instant communication since 1998 has come out, especially in recent years the rapid
development of the function of the instant communication increasingly rich, gradually integrated
E-mail, blogs, music, TV, video games and search multiple functions. Real-time communication is
no longer a simple chat tool, it has developed the chengji exchange, information, entertainment,
search, e-commerce, office coordination and enterprise customer service as a comprehensive
information platform.
The traditional instant communication application is in the most of the realization of the PC,
but along with the wireless transmission network development, all kinds of intelligence operation
platform provides hardware launch based, on a mobile device of the instant communication
systems as 3G business new window. Along with the rapid development of Internet technology,
information technology to improve the mobile terminal technology increasing, kinds of intelligent
operating system platform, the emergence of the mobile communication system for real-time
provides hardware foundation; Mobile devices open Android platform, as the 3G network
development quickly occupied the market.
The third generation mobile communication technology (3rd-generation, 3G), it is to point to
support high speed data transmission of cellular mobile communication technology. 3G services
can simultaneously transmit voice and data information, rate in hundreds of KBPS above average.
At present, there are four 3G standard: CDMA2000, WCDMA, td-scdma, WiMAX. Generally
speaking, 3G is to point to will wireless communication and Internet and multi-media
communication combination of a new generation of mobile communication system, the future of
the 3G will make combined with community sites, WAP and the combination of the WEB is a
kind of trend. 3G and 2 gb major difference is the transmission of voice and data speed of
ascension, it can in the global range better realize the wireless roaming, and deal with the images,
music, video and so on many kinds of media forms, including web browsing, telephone
conference, electronic commerce and so on many kinds of information service, also want to
consider the second generation of the system has good compatibility. In order to provide this
service, the wireless network must be able to support different transmission speed, that is in the
indoor and outdoor and driving environment can support at least 2 Mbps respectively (trillion bits
per second), 384 KBPS (thousand bits per second) and 144 KBPS transmission speed.
Wi-Fi commonly known as wireless broadband, Wi-Fi and the difference between Wlan
Wlan is the wireless local area network, Wi-Fi is a kind of technology. Wlan belong to Wi-Fi. It is
a short-range wireless transmission technology, to hundreds of feet in limits support Internet
access radio signals. Wi-Fi official name is "IEEE802.11 b", and bluetooth, with belong to in the
office and at home to use short-range wireless technology. Although in data security, the
technology than bluetooth technology will send some, but in the coverage of the waves were to
slightly better. With the development of technology, as well as the IEEE 802.11 a and IEEE 802.11
g of standard appear, IEEE 802.11 this now criteria has been referred to as Wi-Fi. From the
application level, to use the Wi-Fi, the user must first have Wi-Fi compatible client device. Wi-Fi
is a kind of help users access to E-mail, Web and streaming media technology of the Internet. It
provides the user with wireless broadband Internet access. At the same time, it also is in the home,
office or in the journey of the Internet fast and convenient way. Access to the network place Wi-Fi
called hot spots. Wi-Fi hot spot is through Internet connection in installed on the access point to
create. The visit by short-range wireless signals at transmitting, generally cover 90 metres. When a
support Wi-Fi equipment meet a hot spot, the equipment can use wireless way connected to the
network.
Android a word to the original meaning of "robot" refers to, and Google in on November 5,
2007, based on Linux platform announced the names of the open source phone operating system,
the platform from the operating system, middleware, user interface and application software
component, was the first to create real mobile terminal open and complete mobile software. At
present, the latest version for Android 2.4 Gingerbread and Android 3.0 Honeycomb. Android by
formerly known as early as "Android" company development, Google in 2005, with the purchase
"Android. Inc", continue to the Android system development operation, it USES the software pile
of layer (software stack, also known as the software stack) architecture, mainly divides into three
parts. The bottom Linux kernel only provides the basic functions, and other application software is
developed by itself by companies, part program written in Java. In early 2011, data showed that
only listed two years of formal operating system Android is beyond seek hegemony 10 years of
saiban system, make leaps to the world's most popular smartphone platform. Now, the Android
system not only used in smart phones, also in flat computer rapid market expansion, in the
intelligence has a bigger development MP4.
Development of lans Android software became cater to the development of the industry a
trend. Android is Google launched a Linux kernel based on the mobile phone operating system,
including the underlying architecture, middleware and the development environment a platform
system. It supports popular component design program, have specific aim mobile equipment
Dalvik virtual machine. The browser is based on open-source WebKit core engine, based on
various language of the HTML to have good support. Based on openGLES1.0 graphics engine use
of 3D graphics library. And because Google and operators, equipment manufacturers, developers
and other third party formed deep partnerships, hope that by establishing standardized, open
mobile software platform, in the mobile industry is formed in an open ecological system, Android
platform is being more and more developers and users to accept.
Android is not only a kind of operating system, it is an open source of the system architecture.
Android platform application of the open source community results, and the mobile equipment
carried out a series of optimized. Android platform contains the main component of it and its
characteristics are: after Google improvement and optimization of the LinuxKernel; After Google
modified Java virtual machine DalvikVM; A lot of the available library and application software;
Google has developed a good software application ready; Based on the full Eclipse development
environment; The optimized 2D and 3D graphics processing system; Multimedia aspects of audio,
video and the common picture format provides support; Support GSM, bluetooth, EDGE, 3G,
WiFi, cameras, GPS etc.
At present, the workbench of Android applications developed enthusiasm high, Android
development of lans im software is also emerge in endlessly, which produced a lot of valuable
open source community and some third party do framework. For example: beem_project. Com,
Android Asmack and so on, this to finish Android the workbench of instant communication
software has staged contribution, and many, many Android lovers in some BBS and blogs to
communicate and perfect in the Android instant communication system, to the user experience
more and more is also better. This also attracted more and more people to join in the Android
software development studies, because he is open source, because it has a lot of like-minded
people to be able to communicate, and gain experience and progress.
Android platform development and use WiFi achieve instant communication, he can make
use of Android platform and support WiFi function mobile phones or computer users convenient,
quick to each other, and won't produce all kinds of information costs. Android application
development focus on the whole system architecture of it, is a complex project. Analysis of the
system of Android level structure, the use of WiFi support the development of a real-time
communication software. From the current wave of domestic mobile communication to see, use
WiFi im technology not only in consumer have larger prospects, the military will have larger
development space, including constructing field Ad_Hoc network applications.
版权声明:本文标题:WIFI Android 中英文翻译 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1711408514a592585.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论