急求计算机英语科技文章

问题描述

急求一篇计算机软件测试或开发方面的英语科技文章,请大家帮帮忙。谢谢!

解决方案

解决方案二:
上微软官方网站上去看看
解决方案三:
写论文啊,去IBM的开发者网站,里面的文章是中英文对照的
解决方案四:
找一篇MSDN,中英文各对照就出来了
解决方案五:
能给个具体的地址吗?谢谢
解决方案六:
贴个我毕业的论文里的讲tftp协议的不知道楼主满不满意NetworkWorkingGroupK.R.SollinsRequestforComments:783MITJune,1981Updates:IEN133THETFTPPROTOCOL(REVISION2)SummaryTFTPisaverysimpleprotocolusedtotransferfiles.Itisfromthisthatitsnamecomes,TrivialFileTransferProtocolorTFTP.Eachnonterminalpacketisacknowledgedseparately.Thisdocumentdescribestheprotocolanditstypesofpackets.Thedocumentalsoexplainsthereasonsbehindsomeofthedesigndecisions.ACKNOWLEDGEMENTSTheprotocolwasoriginallydesignedbyNoelChiappa,andwasredesignedbyhim,BobBaldwinandDaveClark,withcommentsfromSteveSzymanski.ThecurrentrevisionofthedocumentincludesmodificationsstemmingfromdiscussionswithandsuggestionsfromLarryAllen,NoelChiappa,DaveClark,GeoffCooper,MikeGreenwald,LizaMartin,DavidReed,CraigMiloRogers(ofUCS-ISI),KathyYellick,andtheauthor.TheacknowledgementandretransmissionschemewasinspiredbyTCP,andtheerrormechanismwassuggestedbyPARC'sEFTPabortmessage.ThisresearchwassupportedbytheAdvancedResearchProjectsAgencyoftheDepartmentofDefenseandwasmonitoredbytheOfficeofNavalResearchundercontractnumberN00014-75-C-0661.1.PurposeTFTPisasimpleprotocoltotransferfiles,andthereforewasnamedtheTrivialFileTransferProtocolorTFTP.IthasbeenimplementedontopoftheInternetUserDatagramprotocol(UDPorDatagram)[2]soitmaybeusedtomovefilesbetweenmachinesondifferentnetworksimplementingUDP.(ThisshouldnotexcludethepossibilityofimplementingTFTPontopofotherdatagramprotocols.)Itisdesignedtobesmallandeasytoimplement.Therefore,itlacksmostofthefeaturesofaregularFTP.Theonlythingitcandoisreadandwritefiles(ormail)from/toaremoteserver.Itcannotlistdirectories,andcurrentlyhasnoprovisionsforuserauthentication.IncommonwithotherInternetprotocols,itpasses8bitbytesofdata.Threemodesoftransferarecurrentlysupported:netascii;octet,raw8bitbytes;mail,netasciicharacterssenttoauserratherthanafile.Additionalmodescanbedefinedbypairsofcooperatinghosts.Thisisasciiasdefinedin"USAStandardCodeforInformationInterchange"withthemodificationsspecifiedin"TelnetProtocolSpecification"Notethatitis8bitascii.Theterm"netascii"willbeusedthroughoutthisdocumenttomeanthisparticularversionofascii.Thisreplacesthe"binary"modeofpreviousversionsofthis2.OverviewoftheProtocolAnytransferbeginswitharequesttoreadorwriteafile,whichalsoservestorequestaconnection.Iftheservergrantstherequest,theconnectionisopenedandthefileissentinfixedlengthblocksof512bytes.Eachdatapacketcontainsoneblockofdata,andmustbeacknowledgedbyanacknowledgmentpacketbeforethenextpacketcanbesent.Adatapacketoflessthan512bytessignalsterminationofatransfer.Ifapacketgetslostinthenetwork,theintendedrecipientwilltimeoutandmayretransmithislastpacket(whichmaybedataoranacknowledgment),thuscausingthesenderofthelostpackettoretransmitthatlostpacket.Thesenderhastokeepjustonepacketonhandforretransmission,sincethelockstepacknowledgmentguaranteesthatallolderpacketshavebeenreceived.Noticethatbothmachinesinvolvedinatransferareconsideredsendersandreceivers.Onesendsdataandreceivesacknowledgments,theothersendsacknowledgmentsandreceivesdata.Mosterrorscauseterminationoftheconnection.Anerrorissignalledbysendinganerrorpacket.Thispacketisnotacknowledged,andnotretransmitted(i.e.,aTFTPserverorusermayterminateaftersendinganerrormessage),sotheotherendoftheconnectionmaynotgetit.Thereforetimeoutsareusedtodetectsuchaterminationwhentheerrorpackethasbeenlost.Errorsarecausedbythreetypesofevents:notbeingabletosatisfytherequest(e.g.,filenotfound,accessviolation,ornosuchuser),receivingapacketwhichcannotbeexplainedbyadelayorduplicationinthenetwork(e.g.anincorrectlyformedpacket),andlosingaccesstoanecessaryresource(e.g.,diskfulloraccessdeniedduringatransfer).TFTPrecognizesonlyoneerrorconditionthatdoesnotcausetermination,thesourceportofareceivedpacketbeingincorrect.Inthiscase,anerrorpacketissenttotheoriginatinghost.Thisprotocolisveryrestrictive,inordertosimplifyimplementation.Forexample,thefixedlengthblocksmakeallocationstraightforward,andthelockstepacknowledgementprovidesflowcontrolandeliminatestheneedtoreorderincomingdatapackets.3.RelationtootherProtocolsAsmentionedTFTPisdesignedtobeimplementedontopoftheDatagramprotocol.SinceDatagramisimplementedontheInternetprotocol,packetswillhaveanInternetheader,aDatagramheader,andaTFTPheader.Additionally,thepacketsmayhaveaheader(LNI,ARPAheader,etc.)toallowthemthroughthelocaltransportmedium.AsshowninFigure3-1,theorderofthecontentsofapacketwillbe:localmediumheader,ifused,Internetheader,Datagramheader,TFTP
解决方案七:
header,followedbytheremainderoftheTFTPpacket.(ThismayormaynotbedatadependingonthetypeofpacketasspecifiedintheTFTPheader.)TFTPdoesnotspecifyanyofthevaluesintheInternetheader.Ontheotherhand,thesourceanddestinationportfieldsoftheDatagramheader(itsformatisgivenintheappendix)areusedbyTFTPandthelengthfieldreflectsthesizeoftheTFTPpacket.Thetransferidentifiers(TID's)usedbyTFTParepassedtotheDatagramlayertobeusedasports;thereforetheymustbebetween0and65,535.TheinitializationofTID'sisdiscussedinthesectiononinitialconnectionprotocol.TheTFTPheaderconsistsofa2byteopcodefieldwhichindicatesthepacket'stype(e.g.,DATA,ERROR,etc.)TheseopcodesandtheformatsofthevarioustypesofpacketsarediscussedfurtherinthesectiononTFTPpackets.Figure3-1:OrderofHeaders---------------------------------------------------|LocalMedium|Internet|Datagram|TFTP|---------------------------------------------------4.InitialConnectionProtocolAtransferisestablishedbysendingarequest(WRQtowriteontoaforeignfilesystem,orRRQtoreadfromit),andreceivingapositivereply,anacknowledgmentpacketforwrite,orthefirstdatapacketforread.Ingeneralanacknowledgmentpacketwillcontaintheblocknumberofthedatapacketbeingacknowledged.Eachdatapackethasassociatedwithitablocknumber;blocknumbersareconsecutiveandbeginwithone.Sincethepositiveresponsetoawriterequestisanacknowledgmentpacket,inthisspecialcasetheblocknumberwillbezero.(Normally,sinceanacknowledgmentpacketisacknowledgingadatapacket,theacknowledgmentpacketwillcontaintheblocknumberofthedatapacketbeingacknowledged.)Ifthereplyisanerrorpacket,thentherequesthasbeendenied.Inordertocreateaconnection,eachendoftheconnectionchoosesaTIDforitself,tobeusedforthedurationofthatconnection.TheTID'schosenforaconnectionshouldberandomlychosen,sothattheprobabilitythatthesamenumberischosentwiceinimmediatesuccessionisverylow.EverypackethasassociatedwithitthetwoTID'softheendsoftheconnection,thesourceTIDandthedestinationTID.TheseTID'sarehandedtothesupportingUDP(orotherdatagramprotocol)asthesourceanddestinationports.ArequestinghostchoosesitssourceTIDasdescribedabove,andsendsitsinitialrequesttotheknownTIDontheservinghost.Theresponsetotherequest,undernormaloperation,usesaTIDchosenbytheserverasitssourceTIDandtheTIDchosenforthepreviousmessagebytherequestorasitsdestinationTID.ThetwochosenTID'sarethenusedfortheremainderofthetransfer.Asanexample,thefollowingshowsthestepsusedtoestablishaconnectiontowriteafile.NotethatWRQ,ACK,andDATAarethenamesofthewriterequest,acknowledgment,anddatatypesofpacketsrespectively.Theappendixcontainsasimilarexampleforreadingafile.1.HostAsendsa"WRQ"tohostBwithsource=A'sTID,destination=69.2.HostBsendsa"ACK"(withblocknumber=0)tohostAwithsource=B'sTID,destination=A'sTID.AtthispointtheconnectionhasbeenestablishedandthefirstdatapacketcanbesentbyHostAwithasequencenumberof1.Inthenextstep,andinallsucceedingsteps,thehostsshouldmakesurethatthesourceTIDmatchesthevaluethatwasagreedoninsteps1and2.IfasourceTIDdoesnotmatch,thepacketshouldbediscardedaserroneouslysentfromsomewhereelse.Anerrorpacketshouldbesenttothesourceoftheincorrectpacket,whilenotdisturbingthetransfer.ThiscanbedoneonlyiftheTFTPinfactreceivesapacketwithanincorrectTID.Ifthesupportingprotocolsdonotallowit,thisparticularerrorconditionwillnotarise.Thefollowingexampledemonstratesacorrectoperationoftheprotocolinwhichtheabovesituationcanoccur.HostAsendsarequesttohostB.Somewhereinthenetwork,therequestpacketisduplicated,andasaresulttwoacknowledgmentsarereturnedtohostA,withdifferentTID'schosenonhostBinresponsetothetworequests.Whenthefirstresponsearrives,hostAcontinuestheconnection.Whenthesecondresponsetotherequestarrives,itshouldberejected,butthereisnoreasontoterminatethefirstconnection.Therefore,ifdifferentTID'sarechosenforthetwoconnectionsonhostBandhostAchecksthesourceTID'softhemessagesitreceives,thefirstconnectioncanbemaintainedwhilethesecondisrejectedbyreturninganerrorpacket.5.TFTPPacketsTFTPsupportsfivetypesofpackets,allofwhichhavebeenmentionedabove:opcodeoperation1Readrequest(RRQ)2Writerequest(WRQ)3Data(DATA)4Acknowledgment(ACK)5Error(ERROR)TheTFTPheaderofapacketcontainstheopcodeassociatedwiththatpacket.Figure5-1:RRQ/WRQpacket2bytesstring1bytestring1byte------------------------------------------------|Opcode|Filename|0|Mode|0|------------------------------------------------RRQandWRQpackets(opcodes1and2respectively)havetheformatshowninFigure5-1.Thefilenameisasequenceofbytesinnetasciiterminatedbyazerobyte.Themodefieldcontainsthestring"netascii","octet",or"mail"(oranycomibnationofupperandlowercase,suchas"NETASCII",NetAscii",etc.)innetasciiindicatingthethreemodesdefinedintheprotocol.Ahostwhichreceivesnetasciimodedatamusttranslatethedatatoitsownformat.Octetmodeisusedtotransferafilethatisinthe8-bitformatofthemachinefromwhichthefileisbeingtransferred.Itisassumedthateachtypeofmachinehasasingle8-bitformatthatismorecommon,andthatthatformatischosen.Forexample,onaDEC-20,a36bitmachine,thisisfour8-bitbytestoawordwithfourbitsofbreakage.Ifahostreceivesaoctetfileandthenreturnsit,thereturnedfilemustbeidenticaltotheoriginal.MailmodeusesthenameofamailrecipientinplaceofafileandmustbeginwithaWRQ.Otherwiseitisidenticaltonetasciimode.Themailrecipientstringshouldbeoftheform"username"or"username@hostname".Ifthesecondformisused,itallowstheoptionofmailforwardingbyarelaycomputer.
解决方案八:
Thediscussionaboveassumesthatboththesenderandrecipientareoperatinginthesamemode,butthereisnoreasonthatthishastobethecase.Forexample,onemightbuildastorageserver.Thereisnoreasonthatsuchamachineneedstotranslatenetasciiintoitsownformoftext.Rather,thesendermightsendfilesinnetascii,butthestorageservermightsimplystorethemwithouttranslationin8-bitformat.AnothersuchsituationisaproblemthatcurrentlyexistsonDEC-20systems.Neithernetasciinoroctetaccessesallthebitsinaword.Onemightcreateaspecialmodeforsuchamachinewhichreadallthebitsinaword,butinwhichthereceiverstoredtheinformationin8-bitformat.Whensuchafileisretrievedfromthestoragesite,itmustberestoredtoitsoriginalformtobeuseful,sothereversemodemustalsobeimplemented.Theusersitewillhavetoremembersomeinformationtoachievethis.Inbothoftheseexamples,therequestpacketswouldspecifyoctetmodetotheforeignhost,butthelocalhostwouldbeinsomeothermode.NosuchmachineorapplicationspecificmodeshavebeenspecifiedinTFTP,butonewouldbecompatiblewiththisspecification.Itisalsopossibletodefineothermodesforcooperatingpairsofhosts,althoughthismustbedonewithcare.Thereisnorequirementthatanyotherhostsimplementthese.Thereisnocentralauthoritythatwilldefinethesemodesorassignthemnames.Figure5-2:DATApacket2bytes2bytesnbytes----------------------------------|Opcode|Block#|Data|----------------------------------DataisactuallytransferredinDATApacketsdepictedinFigure5-2.DATApackets(opcode=3)haveablocknumberanddatafield.Theblocknumbersondatapacketsbeginwithoneandincreasebyoneforeachnewblockofdata.Thisrestrictionallowstheprogramtouseasinglenumbertodiscriminatebetweennewpacketsandduplicates.Thedatafieldisfromzeroto512byteslong.Ifitis512byteslong,theblockisnotthelastblockofdata;ifitisfromzeroto511byteslong,itsignalstheendofthetransfer.(SeethesectiononNormalTerminationfordetails.)Allpacketsotherthanthoseusedforterminationareacknowledgedindividuallyunlessatimeoutoccurs.SendingaDATApacketisanacknowledgmentfortheACKpacketofthepreviousDATApacket.TheWRQandDATApacketsareacknowledgedbyACKorERRORpackets,whileRRQandACKpacketsareacknowledgedbyDATAorERRORpacketsdepictsanACKpacket;theopcodeis4.Figure5-3:ACKpacket2bytes2bytes---------------------|Opcode|Block#|---------------------TheblocknumberinanACKechoestheblocknumberoftheDATApacketbeingacknowledged.AWRQisacknowledgedwithanACKpackethavingablocknumberofzero.Figure5-4:ERRORpacket2bytes2bytesstring1byte-----------------------------------------|Opcode|ErrorCode|ErrMsg|0|-----------------------------------------AnERRORpacket(opcode5)takestheformdepictedinFigure5-4.AnERRORpacketcanbetheacknowledgmentofanyothertypeofpacket.Theerrorcodeisanintegerindicatingthenatureoftheerror.Atableofvaluesandmeaningsisgivenintheappendix.(Notethatseveralerrorcodeshavebeenaddedtothisversionofthisdocument.)Theerrormessageisintendedforhumanconsumption,andshouldbeinnetascii.Likeallotherstrings,itisterminatedwithazerobyte.6.NormalTerminationTheendofatransferismarkedbyaDATApacketthatcontainsbetween0and511bytesofdata(i.e.Datagramlength<516).ThispacketisacknowledgedbyanACKpacketlikeallotherDATApackets.ThehostacknowledgingthefinalDATApacketmayterminateitssideoftheconnectiononsendingthefinalACK.Ontheotherhand,dallyingisencouraged.ThismeansthatthehostsendingthefinalACKwillwaitforawhilebeforeterminatinginordertoretransmitthefinalACKifithasbeenlost.TheacknowledgerwillknowthattheACKhasbeenlostifitreceivesthefinalDATApacketagain.ThehostsendingthelastDATAmustretransmitituntilthepacketisacknowledgedorthesendinghosttimesout.IftheresponseisanACK,thetransmissionwascompletedsuccessfully.Ifthesenderofthedatatimesoutandisnotpreparedtoretransmitanymore,thetransfermaystillhavebeencompletedsuccessfully,afterwhichtheacknowledgerornetworkmayhaveexperiencedaproblem.Itisalsopossibleinthiscasethatthetransferwasunsuccessful.Inanycase,theconnectionhasbeenclosed.7.PrematureTerminationIfarequestcannotbegranted,orsomeerroroccursduringthetransfer,thenanERRORpacket(opcode5)issent.Thisisonlyacourtesysinceitwillnotberetransmittedoracknowledged,soitmayneverbereceived.Timeoutsmustalsobeusedtodetecterrors.

时间: 2024-09-18 16:18:38

急求计算机英语科技文章的相关文章

计算机英语-求推荐计算机相关的英语 是学雅思的单词 还是学托福的单词好?

问题描述 求推荐计算机相关的英语 是学雅思的单词 还是学托福的单词好? 希望大神能帮忙解答,感觉计算机行业需要经常用到外文文档.不知道什么方面的英语能够很好的切合住. 解决方案 事实上雅思.托福未必管用.关键还是多看,特别是中英文对照看,英文文档不同于小说.新闻.它的语法.词汇都比较固定.只要你看的多了,自然是不难. 特别是搞清楚一些词汇的含义,计算机词汇有特定的含义,这些含义既要和英语中通常它的意思联系起来,也要搞清楚它在确定的上下文中的意思. 比如说Comment,这个词很常见,就是代码注释

代码-急求,一个课程设计作业,最近要去考G,实在没空做

问题描述 急求,一个课程设计作业,最近要去考G,实在没空做 1000C 简单SQL数据定义语言DDL的解释器实现 1.问题理解和分析(简单分析)针对一个需求比较明确的问题,进行问题定义.明确"做什么(What to do?)".2.确定解决问题的方法(技术方案.简单设计)主要是构思解决问题的主要思路,明确"怎么做(How to do?)".采用自顶向下方法,确定各个功能,用模块图描述系统的功能.确定各个功能对应的函数,以及函数之间的关系并能用流程图描述函数的算法.3

c语言取小数问题,急求大神解答!

问题描述 c语言取小数问题,急求大神解答! 程序是#include int main() { float a,b; int n; scanf("%f",&a); n=(1000*a+0.5); b=(n*1.0)/1000; printf("%f",b); return 0; } 输入123.4567 输出是123.457001 输入1234.567 输出时1234.567017 输入12345.67 输出是12345.669922 为什么会这样呢?求大神解

急求janus 3.5.0.22的破解办法

问题描述 急求janus3.5.0.22的破解办法我是用过3.5.0.xx的版本的dll但是好像是编译通不过,网上一时找不到这个版的破解.急求 解决方案 解决方案二:已经有3.5.037了:http://download.csdn.net/source/450549解决方案三:我的软件用3.5.0.22开发的如果在使用别的版本不会出现编译错误么解决方案四:不会,高版本肯定支持低版本的解决方案五:若要在加载设计器前避免可能发生的数据丢失,必须纠正以下错误:2个错误忽略并继续为什么会看到此页?未能加

opengl-计算机图形学OpenGL的问题,急求大神指点

问题描述 计算机图形学OpenGL的问题,急求大神指点 用多边形逼近算法花了一个多边形,然后需要修改一个点的坐标,让其不规则,请问如何修改一个点的坐标?逼近算法如下: void COpenGLView::BiJin(int radius,Ploygon *ploygon) { int i,n; float x,y,xnew,ynew,alfa,co,si; alfa=2*acos(((float)radius-DELTA)/(float)radius); n=(int)(2*3.14159/al

文件操作-急求图书信息管理系统

问题描述 急求图书信息管理系统 要求使用链表.文件. 各种基本数据的录入.如:图书资料基本信息录入等. 各种基本数据的修改.即:允许对以及录入的数据重新进行编辑.修改. 各种基本数据的插入.如:在图书采购信息中插入一条新信息等. 各种基本数据的删除.如:假设某本书遗失且馆藏数为0,删除该书的相关信息等. 基于各种数据的查询.如:书名中含有"计算机"的所有书籍.全部借出的所有图书等. 基于各种基本数据的统计计算.如:统计馆藏书籍总数.已借出数据总数.在馆书籍数等.找出借阅次数最多的10本

jsp页面显示问题(急求)

问题描述 jsp页面显示问题(急求) 一个博客系统 首页面显示部分信息 但是在jsp页面中不能显示出来,而在servlet中却能显示出内容. Servlet主要内容: public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session=request.getSession(); ArticleD

网络-电脑内网通,但是外网不通,怎么解决啊,急求!!!

问题描述 电脑内网通,但是外网不通,怎么解决啊,急求!!! 电脑是朋友的,之前可以上网,但是突然就上不了网了.我试了,IP,DNS,没错,ping网关,没问题,ping 8.8.8.8丢3包,和202.106.0.20全丢 解决方案 有线网络换网线试试看,无线网络检查下是不是信号弱,换带天线的外置无线网卡试试. 解决方案二: 你需要添加外网访问权限 解决方案三: 一.内网可行,说明网卡好的.网络设置无大问题. 二.网关正常,说明该网关可用.但只能访问内网,可能单位设置二个网关,一个内网访问,一个

数据库管理-关于eclipse中将数据导入数据库的中文乱码问题。急求解决

问题描述 关于eclipse中将数据导入数据库的中文乱码问题.急求解决 我也在网上找过相关问题,在eclipse中也改了三个地方的字符编码,以及数据库管理软件中的编码.但是提交到数据库后 ,还是有乱码,全部都是问号,图如下:开发">计算机数据库管理"> 以及代码: <%@page import="java.sql.DriverManager"%> <%@page import="java.sql.PreparedStateme