飞信symbian客户端接口规范_第1页
飞信symbian客户端接口规范_第2页
飞信symbian客户端接口规范_第3页
飞信symbian客户端接口规范_第4页
飞信symbian客户端接口规范_第5页
已阅读5页,还剩34页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Chaptter 119: MMobille ApppliccatioonsObjjectiives DDefinne a mobiile aappliicatiion. UUnderrstannd coomponnentss fouund iin a mobiile aappliicatiion. LLearnn thee keyy sceenariios wwheree mobbile appllicattionss wouuld bbe ussed. LLearnn thee dessign conssiderratioons ffor mmobille apppliccatioons.

2、 IIdenttify speccificc sceenariios ffor mmobille apppliccatioons, suchh as deplloymeent, poweer ussage, andd synnchroonizaationn. LLearnn thee keyy pattternns annd teechnoologyy connsideeratiions for desiigninng moobilee appplicaationns.目标定义个个移动应。理解建建立个移动动应素。学习移移动应重户场景。学习移移动应设计计考虑因素素。鉴别特特定移动应应场景,如如部

3、署,电电量同步等等。学习移移动应关键键模型技术术因素。OveervieewA mmobille apppliccatioon wiill nnormaally be sstrucctureed ass a mmultii-layyeredd appplicaationn connsistting of uuser expeeriennce, busiinesss, annd daata llayerrs. WWhen deveelopiing aa mobbile appllicattion, youu mayy chooose to ddevellop aa thiin Weeb-baase

4、d clieent oor a richh cliient. If you are builldingg a rrich clieent, the busiinesss andd datta seervicces llayerrs arre liikelyy to be llocatted oon thhe deevicee itsself. If you are builldingg a tthin clieent, the busiinesss andd datta laayerss willl bee loccatedd on the servver. Figuure 11 illlus

5、trratess commmon richh cliient mobiile aappliicatiion aarchiitectture withh commponeents grouuped by aareass of conccern.概述通常,移移动应由个层应结构,包包括户体验验、业务数数据等。移移动应时,以选择择做个基于于网络瘦客客户端或个个富客户端端。如果选选择富客户户端,那么么业务数据据服务层般般位于设备备本身。如如果选择瘦瘦客户端,那那么业务数数据层则位位于服务器器端。图1,根据组组成素关系,描描述个富客客户端移动动应架构。图1:常富客户户端应架构构Dessign Conssi

6、derratioonsThee folllowiing ddesiggn guuidelliness proovidee infformaationn aboout ddiffeerentt asppectss youu shoould conssiderr wheen deesignning a moobilee appplicaationn. Foolloww theese gguideelinees too enssure thatt youur apppliccatioon meeets yourr reqquireementts annd peerforrms eefficcient

7、tly iin sccenarrios commmon tto moobilee appplicaationns:设计考考虑当设计计个移动应应时,面设计方针针提供应该考考虑不同方方面信息。遵循这些些指能够确确保应能够满足足需求,同同时,于般移动应能够够有效。 DDecidde iff youu willl buuild a riich ccliennt, aa thiin Weeb cllientt, orr ricch Innternnet aappliicatiion (RIA). Iff youur apppliccatioon reequirres llocall proocesssi

8、ng and mustt worrk inn an occaasionnallyy connnectted sscenaario, connsideer deesignning a riich ccliennt. KKeep in mmind thatt a rrich clieent aappliicatiion wwill conssume moree devvice resoourcees annd wiill bbe moore ccompllex tto innstalll annd maaintaain. If yyour appllicattion can depeend oon

9、 seerverr proocesssing and willl alwways be ffullyy connnectted, conssiderr dessigniing aa thiin cllientt. Iff youur apppliccatioon reequirres aa ricch usser iinterrfacee (UII), oonly limiited acceess tto loocal resoourcees, aand mmust be pportaable to ootherr plaatforrms, desiign aan RIIA cllientt.

10、决定建建立个富客客户端、基基于网络瘦瘦客户端或或富Inteernett应(RIAA)。如果果应需本地处理理,偶尔联联网必须工工作,那么么就考虑设设计成个富富客户端。记住,个个富客户端端应消耗更更设备资源源,按照维维护工作比比较责。如如果应能够依靠靠服务器处处理,并且且直保持联联网,那么么就考虑设设计瘦客户户端。如果果应需丰富户体验验,使本地地资源受限限,并且必必须能够移移植其,那么就就设计成RRIA客户户端。 DDeterrminee thee devvice typees yoou wiill ssuppoort. Whenn chooosinng whhich deviice ttypes

11、s to suppport, connsideer sccreenn sizze, rresollutioon (DDPI), CPUU perrformmancee chaaractterissticss, meemoryy andd stooragee spaace, and deveelopmment tooll envvironnmentt avaailabbilitty. IIn addditiion, facttor iin usser rrequiiremeents and orgaanizaationnal cconsttrainnts.决定支支持设备类类型。选择择支持设备备类

12、型时,考虑屏幕、分辨率(DPI)、CPU特性、主存、扩展存储工具环境。另,还考虑户需求组织限制因素。 DDesiggn thhe apppliccatioon wiith ooccassionaally connnecteed liimiteed-baandwiidth scennarioos inn minnd. MMost mobiile aappliicatiions mustt worrk whhen aa nettworkk connnecttion is iinterrmitttent or nnot aavaillablee. Itt is vitaal inn thiis si

13、ituattion to ddesiggn yoour ccachiing, statte maanageementt, annd daata aaccesss meechannismss witth inntermmitteent nnetwoork cconneectivvity in mmind. Battch ccommuunicaationns foor tiimes of cconneectivvity. Chooose harddwaree andd sofftwarre prrotoccols baseed onn speeed, poweer coonsummptioon,

14、aand “chatttineess,” andd nott jusst onn easse off proogrammmingg设计偶偶尔联网,并并且带宽受受限应。数移动应应必须间歇性性地连接网网络或网络络不都能工工作。这种种间歇性网网络连接,设设计存、状状态管理数数据获机制制重。有网络连连接,就进进行通信批批处理。基基于速度、功耗“繁琐”程度选择硬硬软协议,而而并不从编编程难易程程度做。 DDesiggn a UI aapproopriaate ffor mmobille deevicees, ttakinng innto aaccouunt pplatfform consstraiint

15、s. Mobbile deviices requuire a siimpleer arrchittectuure, simppler UI, and otheer sppeciffic ddesiggn deecisiions in oorderr to workk witthin the consstraiints impoosed by tthe ddevicce haardwaare. Keepp theese cconsttrainnts iin miind aand ddesiggn sppecifficallly ffor tthe ddevicce innsteaad off t

16、ryying to rreusee thee arcchiteecturre orr UI fromm a ddeskttop oor Weeb apppliccatioon. TThe mmain consstraiints are memoory, batttery lifee, abbilitty too adaapt tto diifferrencee scrreen sizees annd orrienttatioons, secuurityy, annd neetworrk baandwiidth.考虑约约束,设计计适合移动动设备UII。移动设设备需简单单架构、简简洁UI其特定设计

17、满足设设备硬所带带资源受限限。牢记这这些限制设设计适合设设备程序,而而非尝试着着重桌面或或网络应架构构。最主限限制包括存存容量、电电池寿命、适应不同同屏幕分辨辨率能力、安全网络络带宽。 DDesiggn a layeered archhiteccturee appproprriatee forr mobbile deviices thatt impprovees reeuse and mainntainnabillity. Deppendiing oon thhe apppliccatioon tyype, multtiplee layyers may be llocatted oon thh

18、e deevicee itsself. Usee thee connceptt of layeers tto maaximiize sseparratioon off conncernns, aand tto immprovve reeuse and mainntainnabillity for yourr mobbile appllicattion. Howweverr, aiim too achhievee thee smaallesst foootprrint on tthe ddevicce byy simmpliffyingg youur deesignn commpareed to

19、o a ddeskttop oor Weeb apppliccatioon.设计分分层架构,适适应移动设设备,提重重性维护性。基于应类类型,不同同层位于设设备本身部部。利层概念最化地分离离考虑因素素,并且提提移动应重性维护性。但,桌面或网络络应相比,通通过简化设设计实现这这个最覆盖盖区。 DDesiggn coonsidderinng deevicee ressourcce coonstrraintts suuch aas baatterry liife, memoory ssize, andd proocesssor sspeedd. Evvery desiign ddecission sh

20、ouuld ttake intoo acccountt thee limmitedd CPUU, meemoryy, sttoragge caapaciity, and batttery lifee of mobiile ddevicces. Batttery lifee is usuaally the mostt limmitinng faactorr in mobiile ddevicces. Backklighhtingg, reeadinng annd wrritinng too memmory, wirrelesss coonnecctionns, sspeciializzed hh

21、ardwware, andd proocesssor sspeedd alll havve ann imppact on tthe ooveraall ppowerr usaage. Whenn thee amoount of mmemorry avvailaable is llow, the Micrrosofft Winndowss Mobbile opeeratiing ssysteem maay assk yoour aappliicatiion tto shhut ddown or ssacriificee cacched dataa, sllowinng prrograam exx

22、ecuttion. Opttimizze yoour aappliicatiion tto miinimiize iits ppowerr andd memmory foottprinnt whhile conssiderring perfformaance duriing tthis proccess.考虑设设备资源受受限因素,如如电池寿命命、存处理器速速度等。每每个设计应应该考虑移移动设备CCPU受限限、存/存储容量量电池寿命命。般说,电池池寿命移动动设备最受受限因素。背景灯、读存、无无线连接、特殊硬处理器速速度,所有有这些总体体功耗产生生重影响。存少,Micrrosofft Winndo

23、wss Mobbile操作系统统提醒关闭应应程序或丢失失缓存数据据、降程序序执行速度度等等。考考虑性能表表现,优化化应程序,功耗耗存使降最。Mobbile Clieent FFrameeTheere aare sseverral ccommoon isssuess thaat yoou muust cconsiider as yyour deveelop yourr dessign. Theese iissuees caan bee cattegorrizedd intto sppeciffic aareass of the desiign. The folllowinng taable li

24、stts thhe coommonn isssues for eachh cattegorry whhere misttakess aree mosst offten madee.移动客客户端框架架应程序序时候,有有些问题必须须考虑。这些些问题以分分成不同类类型。面表格列出出通常容易易出问题。表1 移动客户户端框架类型主问题认证授权l偶尔连连接网络,未未使认证。 l偶偶尔连接网网络,未使使授权。lVVPN网络络,未使认证证授权。l使使空接口同步步时,未使使认证。l主主机同步时时,未使认认证。l有有连接,比比如空接口口、插座、蓝牙SDD卡,未使使认证。l不不能辨别不不同设备间间安全模式式差异。缓

25、存l资源受受限设备缓存不不必数据。 l间间歇性网络络连接,依依靠能无法法获得缓存存数据。l选选择不合理理缓存地址址数据格式式l使使未加密格式式存放敏感感数据l未未使合适缓存技技术通信l未能保保护空接口口敏感数据据。 l未未网络服务务通信进行行加密。l未未VPN通信信进行加密密。l带带宽受限网网络连接,未未通信进行行加密。l未未受限带宽宽连接进行行有效管理理。l未未个网络服服务进行有有效管理。l未未考虑间歇歇性网络连连接工作。l未未考虑连接接成本,并并让户管理连接接。l使使电池,未考考虑最化功功耗。l未未使合适通信协协议。配置管理l设备重重启,未恢恢复配置状状态。 l未未考虑通过过空接口进进行配

26、置管管理同步。l未未考虑通过过主机进行行配置管理理同步。l采采不合适数据据格式存储储配置信息息。l未未保护敏感感配置信息息。l未未考虑不同同设备制造造商于重载载配置参数数差异。数据获l未考虑虑间歇性网网络连接数数据获机制制。 l未未考虑数据据库接入性性能。lddatasset进行行查询。l未未考虑合适适复制技术。l未未考虑使设设备数据库库服务,如如Micrrosofft SQQL Seerverr Commpactt Ediitionn。调试l选择支支持种设备备时候,未未考虑调试试成本。 l设设计时,未未考虑调试试,例如,使使模拟器而而不真实设设备。l未未考虑所有有连接调试试。设备l未考虑虑设

27、备差异异性,如屏屏幕CPUU能力。 l给给户展示不不友好出信息。l未未保护敏感感信息。l未未考虑设备备处理能力力。异常管理l抛出异异常以,未未恢复应程程序状态。 l暴暴露敏感信信息给户。l未未记录详尽尽异常信息息。l使使异常控制应应流程。日志l未考虑虑远端日志志记录,而而只考虑设设备。 l未未考虑获设备日志志。l未未考虑记录录日志时,资资源受限。l未未保护日志志文敏感信信息。移植l未重现现存富客户户端UI适合设设备。 l未未探究移植植工具。同步l通信过过程,未同步进进行安全保保护。 l未未管理空接接口同步,而而不插座同同步。l未未管理同步步断。l未未处理同步步冲突。l未未考虑合适适合并复制制。

28、户界面l未考虑虑受限UII因素。 l未未考虑单窗窗口环境。l未未考虑单户户程序运行行。l未未设计触摸摸屏或触笔笔UI。l未未包含不同同屏幕方向向支持。l未未管理设备备重启恢复复。l桌桌面应相比比,未考虑虑受限APPIUI控。验证l主机通通信过程,未未输入数据进进行验证。 l空空接口通信信过程,未未输入数据进进行验证。l未未保护硬资资源,例如如摄像头电电话始化。l设设计时,未未考虑受限限资源性能。本文翻译“Authhentiicatiion aand AAuthoorizaationn”、“Cachhing”、“Commmuniccatioon”“Conffigurratioon Maanage

29、ementt”部分。Autthentticattion and AuthhorizzatioonDessigniing aan efffecttive authhentiicatiion aand aauthoorizaationn strrateggy iss impportaant ffor tthe ssecurrity and reliiabillity of yyour appllicattion. Weaak auuthennticaationn cann leaave yyour appllicattion vulnnerabble tto unnauthhorizzed uus

30、e. Mobiile ddevicces aare uusuallly ddesiggned to bbe siinglee-useer deevicees annd noormallly llack basiic usser pprofiile aand ssecurrity tracckingg beyyond justt a ssimplle paasswoord. Otheer coommonn dessktopp mecchaniisms are alsoo likkely to bbe miissinng. TThe ddiscooveraabiliity oof moobilee

31、 devvicess oveer prrotoccols suchh as Blueetootth caan prresennt ussers withh uneexpeccted scennarioos. MMobille apppliccatioons ccan aalso be eespecciallly chhalleenginng duue too connnecttivitty innterrruptiions. Connsideer alll poossibble cconneectivvity scennarioos, wwhethher oover-the-air or hh

32、ard-wireed.认证授授权于应程程序安全性性靠性说,设设计个有效效认证授权策策略非常重重。相说较弱弱认证以让您您应程序容易易受未经授授权使。移动设设备般设计单个户使,除个简单单密码以,经经常缺少基基本户配置置文安全追追踪策略。同时,移移动设备,其其通桌面安全全机制容易易被忽略。通过诸如如蓝牙等协协议,移动动设备容易易被,这就就给户带意料不不。连接断能性给移动动应带极挑战。无无论通过无无线或有线线,们必须须考虑所有有能连接场景景。Consiider the folllowinng guuidelliness wheen deesignning authhentiicatiion aand

33、aauthoorizaationn: DDesiggn auuthennticaationn forr oveer-thhe-aiir, ccradlled ssynchhroniizatiion, Blueetootth diiscovvery, andd loccal SSD caard sscenaarioss. CConsiider thatt difffereent ddevicces mmightt havve vaariattionss in theiir prrograamminng seecuriity mmodells, wwhichh cann afffect authh

34、orizzatioon too acccess resoourcees DDo noot asssumee thaat seecuriity mmechaanismms avvailaable on llargeer pllatfoorms willl be avaiilablle onn a mmobille pllatfoorm, evenn if you are usinng thhe saame ttoolss. Foor exxamplle, aaccesss coontrool liists(ACLss) arre noot avvailaable in WWindoows MMo

35、bille, aand cconseequenntly therre iss no operratinng syystemmlevvel ffile secuurityy. EEnsurre thhat yyou rrequiire aautheenticcatioon foor acccesss by Blueetootth deevicees. IIdenttify trusst booundaariess witthin yourr mobbile appllicattion layeers; for insttancee, beetweeen thhe cllientt andd th

36、ee serrver or tthe sserveer annd thhe daatabaase. Thiss willl heelp yyou tto deetermmine wherre annd hoow too autthentticatte.设计认认证授权时时,考虑以以几点指方针针:无线线连接、插插座同步、蓝牙本机机SD卡设计计认证。编程程安全模式式,不同设备备能有所差差异,这就就影响资源源获认证。即使使相相同工具,不认安全机制制就以移动。例如如,Winndowss Mobbile,访访问控制表表不,因此就就没有操作作系统级文文安全机制制。通过过蓝牙接入入设备时,确确保使认证证机制。

37、明确确您移动应应层信任界限限。例如,客户端服务器间,还服务器数据库间。这有助于确定何处以何种方式进行认证。CachiingUsee cacchingg to imprrove the perfformaance and respponsiiveneess oof yoour aappliicatiion, and to ssuppoort ooperaationn wheen thhere is nno neetworrk coonnecctionn. Usse caachinng too opttimizze reefereence dataa loookupss, too avooid n

38、netwoork rroundd triips, and to aavoidd unnnecesssariily ddupliicateed prrocesssingg. Whhen ddecidding whatt datta too cacche, conssiderr thee limmitedd ressourcces oof thhe deevicee; yoou wiill hhave lesss stooragee spaace aavaillablee thaan onn a PPC.缓存利缓存存提应程序性能响应,并并且没有网网络连接,支支持程序操操作。使缓缓存优化参参考数据查

39、查询,避免免网络往返返时延影响响,减少不不必重复操操作。决定定缓存哪些些数据时,必必须考虑设设备有限资资源;PCC机相比,移移动设备具具有更少存存储空间。Connsideer thhe foollowwing guiddelinnes wwhen desiigninng caachinng: IIdenttify yourr perrformmancee objjectiives. Forr exaamplee, deetermmine yourr minnimumm ressponsse tiime aand bbatteery llife. Tesst thhe peerforrmancc

40、e off thee speecifiic deevicees yoou wiill bbe ussing. Mosst moobilee devvicess usee onlly fllash memoory, whicch iss likkely to bbe sllowerr thaan thhe meemoryy useed inn dessktopp macchinees. CCachee staatic dataa thaat iss useeful, andd avooid ccachiing vvolattile dataa. CConsiider cachhing the d

41、ataa thaat thhe apppliccatioon iss mosst liikelyy to needd in an ooccassionaally connnecteed sccenarrio. CChoosse thhe appproppriatte caache locaationn, suuch aas onn thee devvice, at the mobiile ggatewway, or iin thhe daatabaase sserveer. DDesiggn foor miinimuum meemoryy foootpriint. Cachhe onnly d

42、data thatt is absooluteely nnecesssaryy forr thee appplicaationn to funcctionn, orr exppensiive tto trransfform intoo a rreadyy-to-use formmat. If ddesiggningg a mmemorry-inntenssive appllicattion, dettect low-memoory sscenaarioss andd dessign a meechannism for priooritiizingg thee datta too disscar

43、dd as avaiilablle meemoryy deccreasses.设计缓存时时,考虑以以指方针:明确确性能目标标。例如,制制定最响应应时间电池池寿命,使特定设备备进行测试试。数移动动设备只使使闪存,桌面面机器相比比,读速度更慢慢。缓存存有静态数数据,而非非易失性数数据。间歇歇性网络连连接场景,考虑虑缓存那些些应程序需需数据。选择择合适缓存存地点,例例如设备、移动动网关或数数据库服务务器。设计计所需存最最程序。缓缓存那些实实现程序功功能所必须须数据,或或转变成格式式数据。如如果设计个个存密集型型程序,就就需检测存,并设计计个机制,存存减,决定定数据丢弃弃优先级。Commmuniica

44、tiionDevvice commmuniccatioon inncluddes wwirelless commmuniccatioon (oover the air) andd wirred ccommuunicaationn witth a hostt PC, as welll as moree speeciallizedd commmuniicatiion ssuch as BBluettoothh or Infrraredd Datta Asssociiatioon (IIrDA). Whhen ccommuunicaatingg oveer thhe aiir, cconsiider

45、 dataa seccuritty too prootectt sennsitiive ddata fromm theeft oor taamperring. If you are commmuniccatinng thhrouggh Weeb seervicce innterffacess, usse meechannismss succh ass thee WS-Secuure sstanddardss to secuure tthe ddata. Keeep inn minnd thhat wwirelless deviice ccommuunicaationn is moree lik

46、kely to bbe innterrrupteed thhan ccommuunicaationn froom a PC, and thatt youur apppliccatioon miight be rrequiired to ooperaate ffor llong periiods in aa dissconnnecteed sttate.通信设备通通信包括无无线通信,主机有线通信,更加特殊诸如蓝牙或红线通信。使无线通信,必须考虑数据安全性,防止敏感数据被盗或被篡改。如果通过网络接口进行通信,那么就使诸如WS安全标准机制保护数据。牢记设备无线通信PC机相比,被断能性更。那样,应程序

47、必须长时间没有网络连接常工作Consiider the folllowinng guuidelliness wheen deesignning yourr commmuniicatiion sstrattegy: DDesiggn assynchhronoous, threeadedd commmuniicatiion tto immprovve ussabillity in ooccassionaally connnecteed sccenarrios. IIf yoou arre deesignning an aappliicatiion tthat willl runn on a moo

48、bilee phoone, conssiderr thee efffectss of receeivinng a phonne caall ddurinng coommunnicattion or pprogrram eexecuutionn. Deesignn thee appplicaationn to alloow itt to susppend and resuume, or eeven exitt thee appplicaationn. PProteect ccommuunicaationn oveer unntrussted connnectiions, succh ass We

49、bb serrvicees annd otther overr-thee- aiir meethodds. IIf yoou muust aaccesss daata ffrom multtiplee souurcess, innterooperaate wwith otheer apppliccatioons, or wwork whille diisconnnectted, conssiderr usiing WWeb sserviices for commmuniccatioon. IIf yoou arre ussing WCF for commmuniccatioon annd ne

50、eed tto immplemment messsage queuuing, connsideer ussing WCF storre annd foorwarrd.设计通通信策略时时,考虑以以指方针:设计计异步线程程通信提间歇性网网络连接场场景性。如果果设计个运运行于移动动电话应程序,考考虑通信或或程序执行行期间接电电话影响。应程序设计计暂停,继继续,或退退出。防止止设备不靠连接进行通通信,例如如网络服务务其无线方式式服务。如果果必须从个源源获数据,其应程序协作作,或未联联网工作,那那么就考虑虑使网络服服务进行通通信。如果果使WCF进行行通信,同同时需实现现消息队列列,那么就就考虑使WWCF

51、存储储转发Confiiguraationn MannagemmentWheen deesignning deviice cconfiiguraationn mannagemment, connsideer hoow too hanndle deviice rresetts, aas weell aas whhetheer yoou waant tto alllow conffigurratioon off youur apppliccatioon ovver tthe aair oor frrom aa hosst PCC.Connsideer thhe foollowwing guiddel

52、innes wwhen desiigninng yoour cconfiiguraationn-mannagemment straategyy:配置管管理设计设设备配置管管理时,考考虑处理设设备复位,否通过无线方式或主机方式配置应程序。设计配置管理策略时,考虑以指方针: DDesiggn foor thhe reestorratioon off connfiguuratiion aafterr a ddevicce reeset. IIf yoou haave yyou eenterrprisse daata iin Miicrossoft SQL Servver 22005 or 22008

53、 and desiire aan accceleerateed tiime tto maarkett, coonsidder uusingg merrge rrepliicatiion wwith a “buy and conffigurre” appplicaationn froom a thirrd paarty. Merrge rrepliicatiion ccan ssynchhroniize ddata in aa sinngle operratioon reegarddlesss of netwwork banddwidtth orr datta siize. DDue tto m

54、eemoryy limmitattionss, chhoosee binnary formmat oover Exteensibble MMarkuup Laanguaage (XML) forr connfiguuratiion ffiless PProteect ssensiitivee datta inn devvice conffigurratioon fiiles. CConsiider usinng coompreessioon liibrarry rooutinnes tto reeducee thee memmory requuiremmentss forr connfiguu

55、ratiion aand sstatee infformaationn. IIf yoou haave aa Miccrosooft AActivve Diirecttory dirrectoory sserviice iinfraastruucturre, cconsiider usinng thhe Syystemm Cennter Mobiile DDevicce Maanageer innterfface to mmanagge grroup conffigurratioon, aautheenticcatioon, aand aauthoorizaationn of deviices

56、. Seee thee Tecchnollogy Conssiderratioons ssectiion ffor rrequiiremeents for the Mobiile DDevicce Maanageer.考虑虑设备复位位配置参数数恢复。如果果Micrrosofft SQQL Seerverr 20005 或20088拥有企业业级数据,同同时期望缩缩短市时间间,那么就就考虑使第第三方“buy and conffigurre”应进行合并并复制。合合并复制以以通过单步步操作同步步数据,而而不管网络络带宽或数数据。从配配置文存储储所需看,选选择二进制制格式,而而非XMLL格式。保护护设备

57、配置置文敏感数数据。考虑虑使压缩文文减配置状态信信息存储空空间需求。如果果拥有Miccrosooft AActivve Diirecttory服务基础础设施,那那么就考虑虑使Sysstem Centter MMobille Deevicee Mannagerr接口管理设设备群组配配置、认证证授权信息息。参考Tecchnollogy Conssiderratioons节关于Mobbile Deviice MManagger需求求部分。本文翻译”Dataa Acccess”、” Debbuggiing”、” Devvice”、” Excceptiion MManaggemennt” Logggin

58、gg”部分。Datta AcccesssDatta acccesss on a moobilee devvice is cconsttrainned bby unnreliiablee nettworkk connnecttionss andd thee harrdwarre coonstrraintts off thee devvice itseelf. Whenn dessigniing ddata acceess, conssiderr howw loww banndwiddth, highh lattencyy, annd inntermmitteent cconneectivvity

59、 willl imppact yourr dessign.数据存存移动设设备数据存存受不靠网络连接接设备本身身硬限制。因此,设设计数据存存策略时候,考虑虑带宽、延时时间歇性网网络连接影影响。Connsideer thhe foollowwing guiddelinnes wwhen desiigninng daata aaccesss: PProgrram ffor ddata inteegritty. FFiless lefft oppen ddurinng deevicee susspendd andd powwer ffailuures may causse daata-iinteggr

60、ityy isssues, esppeciaally whenn datta iss stoored on aa remmovabble sstoraage ddevicce. IIncluude eexcepptionn hanndlinng annd reetry logiic too enssure thatt fille opperattionss succceedd. DDo noot asssumee thaat reemovaable storrage willl alwways be aavaillablee, ass a uuser can remoove iit att a

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论