- 相關推薦
基于軟件多代理的時間的建摸
畢業論文
摘 要
基于軟件多代理和XML工作流時間的建摸和仿真,就是先將所在不同地區,不同時區的計算機連接起來,建立1個多點通信的模型,然后在不同的計算機之間實現互相通信,相互之間可以收發信息,傳送文件,并能顯示這些點有關時間的仿真圖形。本方案實現了6點之間的相互通信和基于時間的仿真,并且還搜集了1些有關時區的資料,用XML編寫了兩個文檔,在網頁中可以把各個國家所在的時區顯示出來。
本文是在Windows XP下寫的兩個XML文檔,使用Visual C++ 6.0開發基于軟件多代理的時間的建摸,即6點相互通信,用Turbo C來實現仿真。
本方案中的6點相互通信,每個程序分服務端(發送端)和客戶端(接收端)。程序的控制通道使用Winsock流式套接字編程,同時在服務端和客戶端均有用到Windows單線程編程,都需要能接受其它5個點發送過來的連接請求,能接受其它5點發送過來的數據并顯示,還要能給其它點發送數據,并且各點相互之間能傳送文件,其中在第1點能實現仿真,至于仿真的代碼是用Turbo C實現的。
關鍵字:軟件多代理;6點網絡通信;單線程;套接字;文件傳輸
Abstract
Act for much according to the software and the XML work flow time to set up a model and then simulation,is first let the computers which in different regions, different time zones interrelated ,building up a multi-point,then carrying out mutual correspondence between different computers.the computers can receive or send informations.delivering documents to each other.and demonstrate the points on time simulation graphics.This project achieved the communication between six computers and the simulation based on time.and also collected some information on time zones,then wrote two text files with the XML,can come out the time zone manifestation of each one national place in the web page.
This text is two XML text files which write under the Windows XP,using Visual C++ 6.0 build up a model based on time,chieved the communication between six computers,with the Turbo C carry out to simulator
In this project of correspond by six computers,each program includes server (send out) and client ( receiving ).The control gateway uses the stream socket programming of the Winsock,At the same time ,the windows singlethreading programming will be used by the server and client,which is required to accept connecting request form other five points and can accept the data form other five points and display these data,then can send data to other points,and between points can be conveyed document. In the first point can
achieve simulator,the code of simulator is achieved by Turbo C.
Keywords: The software acts for much;Six point network correspondence;Singlethreading;Winsock; document transmission
注釋:不含源代碼
【基于軟件多代理的時間的建摸】相關文章:
基于時間價值的節約問題研究03-24
基于遞階結構的多模型切換控制03-07
基于SIP的嵌入式終端軟件系統03-07
基于拍賣方法的多UAV任務分配11-22
基于最小因子定律的時間營銷法03-24
基于軟件的DTMF產生器及其性能分析03-20
探析代理記賬中商品軟件的應用03-17