- 相關(guān)推薦
基于軟件多代理的時間的建摸
畢業(yè)論文
摘 要
基于軟件多代理和XML工作流時間的建摸和仿真,就是先將所在不同地區(qū),不同時區(qū)的計算機連接起來,建立1個多點通信的模型,然后在不同的計算機之間實現(xiàn)互相通信,相互之間可以收發(fā)信息,傳送文件,并能顯示這些點有關(guān)時間的仿真圖形。本方案實現(xiàn)了6點之間的相互通信和基于時間的仿真,并且還搜集了1些有關(guān)時區(qū)的資料,用XML編寫了兩個文檔,在網(wǎng)頁中可以把各個國家所在的時區(qū)顯示出來。
本文是在Windows XP下寫的兩個XML文檔,使用Visual C++ 6.0開發(fā)基于軟件多代理的時間的建摸,即6點相互通信,用Turbo C來實現(xiàn)仿真。
本方案中的6點相互通信,每個程序分服務(wù)端(發(fā)送端)和客戶端(接收端)。程序的控制通道使用Winsock流式套接字編程,同時在服務(wù)端和客戶端均有用到Windows單線程編程,都需要能接受其它5個點發(fā)送過來的連接請求,能接受其它5點發(fā)送過來的數(shù)據(jù)并顯示,還要能給其它點發(fā)送數(shù)據(jù),并且各點相互之間能傳送文件,其中在第1點能實現(xiàn)仿真,至于仿真的代碼是用Turbo C實現(xiàn)的。
關(guān)鍵字:軟件多代理;6點網(wǎng)絡(luò)通信;單線程;套接字;文件傳輸
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
注釋:不含源代碼
【基于軟件多代理的時間的建摸】相關(guān)文章:
基于時間價值的節(jié)約問題研究03-24
基于軟件無線電的GPP通信波形軟件設(shè)計方法03-11
基于拍賣方法的多UAV任務(wù)分配11-22
基于最小因子定律的時間營銷法03-24
探析代理記賬中商品軟件的應(yīng)用03-17