Web-Based Simulation in SimJava using Remote Method Invocation
贝叶斯软件合集
What do the headers in the table mean?∙Src = source code included? (N=no) If so, what language?∙API = application program interface included? (N means the program cannot be integrated into your code, i.e., it must be run as a standalone executable.)∙Exec = Executable runs on W = Windows (95/98/NT), U = Unix, M = Mac, or - = any machine with a compiler.∙Cts = are continuous (latent) nodes supported? G = (conditionally) Gaussians nodes supported analytically, Cs = continuous nodes supported by sampling, Cd = continuous nodes supported by discretization, Cx = continuous nodes supported by some unspecified method, D = only discrete nodes supported.∙GUI = Graphical User Interface included?∙Learns parameters?∙Learns structure? CI = means uses conditional independency tests∙Utility = utility and decision nodes (i.e., influence diagrams) supported?∙Free? 0 = free (although possibly only for academic use). $ = commercial software (although most have free versions which are restricted in various ways, e.g., the model size is limited, or models cannot be saved, or there is no API.)∙Undir? What kind of graphs are supported? U = only undirected graphs, D = only directed graphs, UD = both undirected and directed, CG = chain graphs (mixed directed/undirected).∙Inference = which inference algorithm is used? jtree = junction tree, varelim = variable (bucket) elimination, MH = Metropols Hastings, G = Gibbs sampling, IS = importance sampling, sampling = some other Monte Carlo method, polytree = Pearl's algorithm restricted to a graph with no cycles, VMP = variational message passing, EP = expectation propagation, SL = the program is designed for structure learning from completely observed data, not state estimation ∙Comments. If in "quotes", I am quoting the authors at their request.。
几种WSN系统科研测试实验平台
无线传感器网络系统开发测试实验平台引言传感器网络的仿真与实物实验平台是传感器网络研究与开发的基础。
传统的网络研究方法主要有分析方法、实验方法和仿真方法。
对于一般的计算机网络,通常采用实验方法和仿真方法来衡量一个新协议或新算法的适用性,但是,对于电源能量、通信能力、计算能力和存储能力有限,以数据为中心,节点数目庞大,节点布署密集的无线传感器网络而言,由于实验空间和节点规模的限制,因此,仿真实验是无线传感器网络研究的重要途径。
目前发表的有关无线传感器网络的论文,大部分也都是基于仿真实验。
目前,无线传感器网络仿真与实验平台的建立方法主要包括以下几种。
1.1 通用网络仿真平台的二次开发这种仿真平台的建立方法就是在传统的通用网络仿真平台上开发适用于传感器网络的模型库、功能库和统计分析工具。
下面介绍几种常用的开源通用网络仿真平台。
1. NS-2NS-2(network simulator version 2)是无线传感器网络研究中最流行的仿真工具,是一个开源的离散事件仿真器,采用模块化方法实现。
用户可以通过“继承”来开发自己的SensorSim传感器节点模型模块,具有很好的可扩展性,既能够对仿真模型扩展,也能够直接创建和使用新的网络协议。
NS-2通过C++与OTcl结合实现仿真,其中:C++实现网络协议以及扩展NS-2模型库;而OTcl 则用于创建和控制仿真环境,选择输出数据等。
基于NS-2开发无线传感器网络仿真平台,主要是对其中的Ad Hoc仿真工具加以改进并添加相关仿真支持组件来实现的,包括:传感信道、传感器模型、电池模型、针对无线传感器的轻量级协议栈、混合仿真以及仿真场景生成等。
SensorSim[1]就是在NS-2基础上建立的仿真平台,主要是在NS-2基础上建立了无线传感器网络相关模型库。
图10.1所示是SensorSim平台的传感器节点模型,包括两个模块:传感器功能模块和能量模块。
其中,传感器功能模块是对传感器所有功能模块的软件抽象;而能量模块则是实际硬件抽象。
面向WEB的齿轮泵虚拟装配技术的研究
面向WE B的齿轮泵虚拟装配技术的研究任继文,吴国栋(华东交通大学机电工程学院,江西南昌330013)摘要:虚拟装配是当前CA D研究与应用的重要技术,是虚拟制造技术的一个重要组成部分,其中基于W E B的虚拟装配技术给当前装配设计技术提供了一种崭新的思路和方法,具有非常重要的研究价值。
本文对虚拟装配过程和关键技术进行了研究,包括三维建模、虚拟环境、装配规划、实时交互控制和装配零件信息的提取等方面内容。
在此基础上,以齿轮泵为实例,利用CA D软件和虚拟现实建模语言VR ML,构建了虚拟装配的交互环境和装配体静态虚拟模型,结合脚本语言Java scri p t,实现用户可以实时交互控制的动态虚拟装配,并利用anch or节点,实现装配零件信息的提取。
关键词:VRML;齿轮泵;虚拟装配中图分类号:T H16210 文献标识码:A 文章编号:1001-3881(2006)11-081-4The Study of G ea r P u m p V i r tua l A ssem bly Technology W eb-or ien tedR EN Ji wen,WU G uodong(The School of Electr omechanical Engineering,East China Jia ot ong University,Nanchang Jiangxi330013,China) Ab stra ct:V irtua l ass em bly is an i m port ant technique in C AD research and app licati on and an i mportant part of virtual m anufac2 t ure technique1V irtua l asse m bl y based on WE B t echnique ha s v e ry i m port ant re s ea rch va l ue for be ing a kind of brand-new th ought o r me th od t o t he techn i que of assem bling de signing a t present1The process and key technol ogy of virtual a ssembly wa s studied,inc l uding re s pects of t hree-di m ensi ona lmode ling,virt ual environ ment,ass emb ling p lanned,making interac tive operati on on assemble ta rget i n real-ti m e and acquiring part i nfor ma tion etc1On the basis,by t he use of C AD s oft w are and virtua l realitymode ling language VRML, a virtua l ass em ble envir on m ent and sta tic model of gea r pu mp was se t up1Co m bini ng wit h Javascript,t he proce ss of virtua l a ssemble can be i nte ractiv e contr olled in real ti m e by the user,the i nfor ma tion of pa rt can be p i cked up by anchor node1 Keywor ds:VRML;Gear pump;V irtua l asse m bly0 引言虚拟现实(V irtual Reality,简称VR)是一种新兴的人机交互技术,是计算机技术高度发展的产物,凭借虚拟现实技术,用户可进入一个由计算机模拟的虚幻世界,并通过一些专门的装置来对场景进行具有真实感觉(视觉、听觉、触觉等)的交互操作,从而能真切地感受到虚拟场景的存在。
基于Web与V-REP的机器人远程控制虚拟仿真平台
simulation modeling practice
Simulation Modeling PracticeSimulation modeling is an essential skill that many professionals use in their work. It involves creating a virtual representation of a system or process, allowing us to test and experiment with different scenarios and outcomes. In this article, we will explore the importance of simulation modeling, how to practice it, and some tips for success.The Benefits of Simulation ModelingSimulation modeling has many benefits, including:* Accuracy: By simulating a system or process, we can eliminate human error and guesswork, ensuring a more accurate representation of reality.* Efficiency: Simulation modeling allows us to test different scenarios and outcomes quickly and efficiently, saving time and resources.* Portability: Simulation models can be easily transferred between different systems or organizations, making them a valuable asset in cross-functional teams.How to Practice Simulation ModelingPracticing simulation modeling requires a combination of knowledge, skills, and resources. Here are some tips for success:* Identify a topic: Start by choosing a system or process that you are interested in simulating. This could be anything from a business process to a mechanical device.* Research resources: Find online resources that can help you learn more about simulation modeling. This could include tutorials, courses, or online communities.* Practice with a partner: Pair up with someone who is also learning simulation modeling and work together on simulating different scenarios. This will help you identify areas where you need more practice and provide feedback on your progress.* Use simulation software: There are many simulation software packages available that allow you to create virtual representations of systems or processes. Practice using these software packages to develop your skills.* Be patient: Learning new skills takes time and practice, so be patient with yourself and your progress.ConclusionSimulation modeling is an essential skill that many professionals use in their work. By practicing simulation modeling, you can improve your skills and become more effective in your job. The benefits of simulation modeling include accuracy, efficiency, and portability. To practice simulation modeling, identify a topic, research resources, practice with a partner, use simulation software, and be patient with yourself and your progress. With these tips in mind, you can become a more effective simulation modeler and achieve success in your career.。
LabVIEW Simulation Interface Toolkit 说明书
OverviewThe LabVIEW Simulation Interface Toolkit seamlessly links LabVIEW and The MathWorks Simulink ®software to speed your control development.With these integrated tools,engineers can quickly take a product from software simulation to real-world prototyping.The toolkit delivers patented LabVIEW technology for viewing and controlling data within Simulink.In addition,the toolkit provides a plug-in to The MathWorks Real-Time Workshop to import Simulink control models into LabVIEW.By importing these control models into LabVIEW,you can then integrate them with a wide variety of I/O.With these features,you can easily transition from software algorithm verification to real-world prototyping using the same user interface.The toolkit includes tools for you to:•Easily build custom LabVIEW user interfaces to interactively verify Simulink models•Import Simulink models into LabVIEW with a plug-in to the Real-Time Workshop•Seamlessly download Simulink models to LabVIEW Real-Time hardwareWith these capabilities,you have one consistent set of tools to help you transition from modeling to verification to prototyping.Figure 1. Simulink and LabVIEW in the simple control design processVerify Models with a LabVIEW User InterfaceThe LabVIEW Simulation Interface Toolkit gives you tools to build custom user interfaces for Simulink models.The built-in SIT Connection Manager offers a high level utility to connect a custom LabVIEW user interface with Simulink models,eliminating the need for any programming.With the custom user interface you can easily simulate,analyze and verify your control model on a desktop PC.With this utility,creating custom user interfaces for your Simulink model is now a simple four-step process.Step 1.The Simulation Interface Toolkit adds an NISink to the Simulink Explorer window.Add the NISink to any location where you would like to view data.LabVIEW Simulation Interface Toolkit•Use patented LabVIEW technology for viewing and controlling data in Simulink•Automatically import your Simulink model into LabVIEW with built-in scripting utility•Integrate your dynamic system with a wide variety of modular hardware •Seamlessly deploy real-time control prototypes and hardware-in-the-loop test systemsNI LabVIEW ™Simulation Interface ToolkitNEWConnect LabVIEW to SimulinkSimulinkLabVIEWALGORITHM MODELINGALGORITHM PROTOTYPINGALGORITHM VERIFICATIONStep 2.Next,you create a custom LabVIEW user interface using the extensive library of built-in controls and indicators available in LabVIEW.Step ing the SIT Connection Manager,you connect the control and indicators on the LabVIEW user interface to the parameters and NISinks of the Simulink block diagram.Step 4.Run the LabVIEW application and analyze the behavior of the model.Advanced Features for Model VerificationThe SIT Connection Manager works seamlessly over the networkso you can connect a LabVIEW user interface to Simulink models running on a different machine.This allows you to keep all Simulink models on one desktop PC or to easily verify multiple Simulink models from one user-interface location.Users can also access the SIT User Interface API directly to easily automate custom batch test sequences.For instance,you can create a batch simulator that automatically runs a Simulink model with various parameters and records the response.With the hundreds of analysis functions in LabVIEW,you can generate complex input signals for the model and analyze the results of the batch simulation.This capability dramatically reduces the amount of manual testing required during the algorithm verification stage.Figure 2. LabVIEW interfaces to Simulink over the networkImporting Simulink Models into LabVIEWYou can also import the control system model into the LabVIEW environment with the LabVIEW Simulation Interface Toolkit.The toolkit includes a plug-in for Real-Time Workshop that automatically compiles the Simulink model into a DLL and builds several LabVIEW examples of how to interface with the DLL.The example VIs built by the toolkit are specific to the Simulink model and speed development time by providing basic interfaces to data acquisition hardware.You can modify the interfaces to data acquisition hardware and replace them with interfaces to CAN I/O or motion control.With a variety of built-in libraries to interface to I/O,you can start with the examples and make minimal modifications to build your custom application.Deploying to Real-Time HardwareWith the architecture of the LabVIEW Simulation Interface Toolkit,you can seamlessly go from desktop verification of the Simulink model to real-world prototyping.By simply selecting a menu option to target a real-time system,you automatically download the necessary files for running the model while maintaining the custom LabVIEW user interface you previously created.This seamless transition preserves the work used to create the user interface while providing a solid real-time architecture for your system.Choose from a variety of LabVIEW Real-Time targets to download the Simulink model to.Build stand-alone systems with real-time PXI systems or distributed CompactFieldPoint systems.You can also integrate a real-time system into your desktop with the PCI-7041/6040E plug-in board.With the model running real-time hardware,you can easily create control prototypes and hardware-in-the-loop test systems.LabVIEW Simulation Interface Toolkit2National Instruments • Tel: (800) 433-3488•Fax: (512) 683-9300•***********•3National Instruments • Tel: (800) 433-3488•Fax: (512) 683-9300•***********•System RequirementsThe LabVIEW Simulation Interface Toolkit requires that you have a proper license for the following products:•MATLAB® version 6.0 or later •Simulink version 4.0 or later•Real-Time Workshop® version 4.0 or later •Microsoft Visual C++ version 6.0 and •LabVIEW version 7.0 or laterLabVIEW Simulation Interface ToolkitLabVIEW Simulation Interface Toolkit ......................778552-03Upgrade,from version 1.0....................................850552A-03LabVIEW Development SystemProfessional ..............................................................776678-03Full ............................................................................776670-03LabVIEW Real-Time Module ......................................777844-03BUY ONLINE!Visit /info and enter lvsit.Ordering InformationGlobal Services and SupportNI has the services and support to meet your needs around the globe and through the application life cycle – from planning and development through deployment and ongoing maintenance – and tailored for customer requirements in research,design,validation,and manufacturing.We have direct operations in more than 37 countries and distributors in another 12 locations.Our local sales and support representatives are degreed engineers,ready to partner with you to find solutions that best fit your needs.Local Sales and Technical SupportIn offices around the globe,our staff is local to the country so that you have access to field engineers who speak your language and are available to consult on your unique needs.We also have a worldwide support organization staffed with Applications Engineers trained to quickly provide superior technical e our online Request Support interface (/support) to define your question,then speak to or e-mail an Applications Engineer,or access more than 14,000 worldwide measurement and automation professionals within NI Developer Exchange Discussion /support also provides immediate answers to your questions through self-help troubleshooting,product reference,and application development resources.For advanced technical support and software maintenance services,sign up for Premier Support,a program that provides expanded hours of(typically four business hours).Training andCertificationcontribute to your success.variety of training alternatives,paced tutorials and interactive CDs,hands-on courses taught by experienced instructors – all designed so that you can choose how to learn about our products.Further,NI offers certifications acknowledging individual expertise in working with NI products and technologies.Visit /training for more information.Professional ServicesOur Professional Services team consists of National Instruments Applications Engineers,NI Consulting Services,and the worldwide National Instruments Alliance Partner Program (a network of600 independent consultants and integrators).Our Professional Services team can offer services ranging from basic start-up assistance and collaborative development withyour engineers,to turnkeysystem integration andmaintenance of your system.In addition to our NI Alliance Partners,we have developed global relationships with many industry partners that range from computer software and hardware companies,such as Microsoft,Dell,Siemens, and Tektronix.By collaborating with these companies,you receive a complete spectrum of solutions – from components to turnkey systems.Find the Alliance partner directory at /allianceProduct ServicesNI GPIB products are warranted against defects in workmanship and material for one year from the date of shipment.To help you meet project life-cycle requirements,NI offers extended warranties for an additional charge.NI provides complete repair services for our products.Express repair and advanced replacement services are also available.Or,order your software and hardware installed in PXI and PXI/SCXI™ systems with NI Factory Installation Services.Ordering Made EasyVisit /products to browse product specifications,make comparisons,or access technical representatives via online chat or telephone.Worldwide customers can use a purchase order or credit card to buy in local currency and receive direct shipments from local NI offices.Our North American Customer Service Representatives are available Monday through Friday between 7 a.m.and 7 p.m. Central Time.Outside North America,please contact the NI office in your country.Order Status and Service RequestsNational Instruments brings you real-time status on current orders at /status Similarly,find out the status of open technical support incidents or hardware repair requests at /support/servicereqNational Instruments • Tel: (512) 683-0100•Fax: (512) 683-9300•*********** • (800) 433-3488© 2004 National Instruments Corporation. All rights reserved. Product and company names listed are trademarks or trade names of their respective companies.。
simulation modelling practice
simulation modelling practiceSimulation modelling is a crucial tool in the field of science and engineering. It allows us to investigate complex systems and predict their behaviour in response to various inputs and conditions. This article will guide you through the process of simulation modelling, from its basicprinciples to practical applications.1. Introduction to Simulation ModellingSimulation modelling is the process of representing real-world systems using mathematical models. These models allow us to investigate systems that are too complex or expensiveto be fully studied using traditional methods. Simulation models are created using mathematical equations, functions, and algorithms that represent the interactions and relationships between the system's components.2. Building a Basic Simulation ModelTo begin, you will need to identify the key elements that make up your system and define their interactions. Next, you will need to create mathematical equations that represent these interactions. These equations should be as simple as possible while still capturing the essential aspects of the system's behaviour.Once you have your equations, you can use simulation software to create a model. Popular simulation softwareincludes MATLAB, Simulink, and Arena. These software packages allow you to input your equations and see how the system will respond to different inputs and conditions.3. Choosing a Simulation Software PackageWhen choosing a simulation software package, consider your specific needs and resources. Each package has its own strengths and limitations, so it's important to select one that best fits your project. Some packages are more suitable for simulating large-scale systems, while others may bebetter for quickly prototyping small-scale systems.4. Practical Applications of Simulation ModellingSimulation modelling is used in a wide range of fields, including engineering, finance, healthcare, and more. Here are some practical applications:* Engineering: Simulation modelling is commonly used in the automotive, aerospace, and manufacturing industries to design and test systems such as engines, vehicles, and manufacturing processes.* Finance: Simulation modelling is used by financial institutions to assess the impact of market conditions on investment portfolios and interest rates.* Healthcare: Simulation modelling is used to plan and manage healthcare resources, predict disease trends, and evaluate the effectiveness of treatment methods.* Education: Simulation modelling is an excellent toolfor teaching students about complex systems and how they interact with each other. It helps students develop critical thinking skills and problem-solving techniques.5. Case Studies and ExamplesTo illustrate the practical use of simulation modelling, we will take a look at two case studies: an aircraft engine simulation and a healthcare resource management simulation.Aircraft Engine Simulation: In this scenario, a simulation model is used to assess the performance ofdifferent engine designs under various flight conditions. The model helps engineers identify design flaws and improve efficiency.Healthcare Resource Management Simulation: This simulation model helps healthcare providers plan their resources based on anticipated patient demand. The model can also be used to evaluate different treatment methods and identify optimal resource allocation strategies.6. ConclusionSimulation modelling is a powerful tool that allows us to investigate complex systems and make informed decisions about how to best manage them. By following these steps, you can create your own simulation models and apply them to real-world problems. Remember, it's always important to keep anopen mind and be willing to adapt your approach based on the specific needs of your project.。
基于web架构的gpssjava的研究与开发
基于WEB架构的GPSS/JAVA的研究与开发任毅孙健(北京工业大学实验学院经管系,北京市通州区潞园南大街89号,101101)摘要:本文主要介绍了作者在web版GPSS/JAVA的研究和开发中所取得的成果。
首先介绍了用于编辑和提交模型的jsp页面,然后介绍了web版仿真模型的提交、启动、和运行机制,并重点介绍了web版GPSS/JAVA若干关键问题的解决方法:1.仿真模型类以jsp 声明的方式嵌入jsp文件的脚本中解决了仿真模型在服务器端运行的问题;2.重新组织GPSS/JAVA的类库结构,解决了并发执行的模型线程间的耦合与干扰的问题;3.系统自动中断机制和用户强制中断机制有效地控制了仿真模型在服务器端的运行。
最后对下一步的研究和开发工作进行了展望。
关键词:系统仿真;管理系统仿真;GPSS ;GPSS/JAVA;web仿真Research & Development of GPSS/JAVA Based on WEB FrameRen Yi Sun Jian(Economic & Managemen department, pilot institute, Beijing University of Technology, 89, luyuan south street Tongzhou Beijing, 101101)Abstract: The newest development on GPSS/JA V A of WEB Frame is introduced according as the authors’s research work. The JSP page worked as the interface of WEB edition GPSS/JA V A is introduced firstly, the next are the answers of how to submit simulation model, how to start simulation model, how to run simulation model. And then much attention is paied to how to resolve some key problem , such as: 1. how to make model program worked as a inner class of the servlet runned by WEB server. 2. how to reorganize the architecture of the classes which proform the basic function of GPSS/JA V A. 3. the solution of how to break off the running of simulation model automaticly and manally. In the last, some expectation has been made to the farther research and development of GPSS/JA V A.Keywords: simulation; management system simulation; GPSS; GPSS/JA V A, web simulation1 引言2 web版GPSS/JAVA用户界面在桌面应用的基础上,经过近一年的研究与开发,基于web应用的GPSS/JA V A的开发工作已基本完成。
Signature Page
FUSION OF TRANSPORTATION AND TRAFFIC MODELING WITH URBAN DESIGN AND GISA Proposal for the Game Research and Virtual Environment Lab (GRAVEL) Seed Grant Program, December 12, 2004.Ted MorrisManager, Intelligent Transportation Systems LaboratoryCenter for Transportation Studies612-626-8499tmorris@Chenfu LiaoSenior Systems Engineer, Intelligent Transportation Systems LaboratoryCenter for Transportation StudiesPhone: 612-626-1697cliao@Signature PageMax Donath ______________________/ Date ___________ Director, ITS Institute/Professor, Mechanical Engineering1. Project DescriptionUrban planners and designers are presently encountering a movement away from the visualization of what something ‘looks like’ to the visualization of how something ‘works’ or ‘operates,’ a trend which forces the integration of modeling and simulation [1]. Accordingly, we propose to integrate transportation models and simulations with the spatial representation of the urban environment. Such spatial representation incorporates GIS information systems with representative 3D models of structures. Specifically, we will use the University Eastbank Campus area as a logical starting point to develop this concept. The result of this work will serve as a basis and University resource for studying navigation and map cognition, urban design, and transportation ‘game’ development.BackgroundTools such as CommunityViz () allow urban planners to concurrently visualize 3D representations of urban designs while modifying and assessing design and planning elements from within a GIS database. However, they do not concurrently integrate road networks and traffic simulation. Accordingly, we propose to fully re-create the urban road network and urban infrastructure surrounding and passing through the University of Minnesota twin cities campus. We will link a GIS database to intersections, campus buildings, and other relevant on/off-campus landmarks, to allow a user to query information in real-time while s/he is exploring the environment. We envision the proposed work as a foundation for developing a tool to integrate and visualize proposed design changes in and around campus, and, in a broader sense, transportation ‘games’ development (explained in the next section).At the end of the project, the participant will be able to take a virtual tour of campus either by‘driving’, ‘walking’ or ‘flying’. S/he will be able to query and visualize where to park, walk, or bike to get to a desired destination during peek and non-peek traffic conditions, and query GIS information for various features from the scene. A PC/laptop viewer program will be developed to display GIS referenced vehicular traffic, buildings, and other landmarks. We will also explore immersive interfaces by displaying and interacting with the environment using the ITS Laboratory’s DEN (Digital immersive ENvironment—a office-space sized CAVE). [2]. In this way, we will have constructed a comparative test bed to explore how this display modality affects ones ability to understand spatial relationships, navigation, and cognition of a simulated model of an existing urban area [4,5,6].In order to test the feasibility of our approach, we previously developed smaller scale JAVA and VRML based prototypes representing Washington Avenue passing through the University East Bank campus. We have worked closely with transportation faculty to understand the efficacy of both prototypes as an internet accessible classroom-learning tool (fig 1).Figure 1: web page of: a.) VRML prototype with signal timingcontrol and JAVA micro-simulator b) 2D ‘map view’ of road network using AIMSUN simulation database for traffic generationMethodologyIn order to simulate traffic patterns, we will incorporate historical data representative of parking, scheduled bus and vehicle traffic, and the intersection signal control timings, into a traffic simulation and modeling tool (AIMSUN). Intersection signal phase timings and volume/occupancy data are obtained from the City of Minneapolis. The output of the simulations is a database of time varianttrajectories of vehicles. The simulation database is then queried in ‘real-time’ through our web-server, which then distributes the information to the requesting client application at the desktop.We have developed a prototype a road network model surrounding Washington Avenue and have constructed several building elements along this corridor in order to validate our technique to generate and interact with a simulation library database (fig. 1). We did not consider elevation changes butobviously this is of some importance—especially as one approaches the river, etc. Accordingly, we will initially construct a TIN elevation mesh in ArcGIS from 2.5D elevation contour images available from the Facility Management Records department. Planimetric CAD feature files of the University area will be used as a reference for road geometry networks and building foot prints (in addition to aerialphotogrametry as done in the prototype) and to construct the GIS database using ArcGIS. We will work with Prof. Baoquan Chen (Computer Science Dept.) to ‘capture’ 3D Geometry of many buildings and other infrastructure (e.g., bridges, road ‘furnature’, etc.) using long range point LIDAR technology [3]. More accurate elevation data in smaller, localized areas can also be obtained with the LIDAR system. We believe that in many circumstances, this technology is vastly superior to other commercially available techniques (, ). We will then import the ‘point clouds’ into our modeling software to construct real-time, texture mapped optimized models and geo-reference them with the elevation and feature data. GIS attributes will be assigned by creating andexporting shape files from the CAD feature files. Since the road networks, 3D world, and GIS maps are created with the same reference, traffic simulation data will be correctly fused with this information.2. Project ImpactVisitor and planning Information System: Our approach as applied to the university campus would provide a powerful navigational and information tool to the community at large. The application interface will be a ‘stand alone’ application that will be downloadable from the internet (although the traffic and GIS feature database are located on a server). It also serves as a starting point as a collaborative system to visualize and assess proposed designs.Transportation Usability and Security Assessment: Coupled with traffic micro-simulation models, the environments could be used for studying usability and security issues for proposed designs, route evacuation and emergency response. For example, location and design of public transportation stations and the associated modes they serve—e.g., light rail, Bus Rapid Transit (BRT), etc. One could place various configurations of ‘virtual’ surveillance cameras in the proposed designs and assess their efficacy to identify and track unauthorized entry or suspicious behavior, and provide situational awareness during emergency response management.Game Development: We envision an internet accessible game that would transfer knowledge from transportation research and the application of ITS technologies and their affects on the movement of people and goods. The same methodologies proposed here to represent actual road networks with other ‘significant’ landmarks and infrastructure would be used to give the participant meaningful context within road network scenarios. In a sense, the traffic simulation game becomes an embodiment of the popular video game, SimCity, except the emphasis is centered around transportation and ITS choices on our actual road networks using historical travel demand and traffic data.The game would present scenarios with the objective of minimizing travel delay and improve travel reliability in the context of utilizing different ITS strategies on our roadway network. Scenarios would consist of a road network and traffic loads that are representative of actual historical trends. The user then chooses who they wish to represent. For example, perhaps the participant would be the ‘owner’ of a shipping company. Here, s/he would make dispatcher location and scheduling choices while choosing various traffic control strategies. E.g., if I increase corridor traffic flow along corridor x, how will it affect traffic flow on freeway y, etc.? How are my decisions affected during weekends or rush hour? How do I affect others ability to reliably reach their destination? What does the traffic flow look like? If I change ramp meter rates on region x of the network, how is traffic affected on region y and what does it look like? Another scenario would make the participant the “operations manager” for Metro Transit. In this case, one would ‘play’ with different traffic signal priority control schemes to allow the bus to stay on schedule. How might the remaining traffic affected under such schemes?The total ‘score’ of the game would be derived from various Measures Of Effectiveness (MOEs), which are computed as a result of the participant’s decisions-- such as overall travel delay, trip time, trip time variability, vehicle emissions, etc.The first version of the ‘traffic game’ addresses how ITS strategies affect the movement of people and goods on a few representative urban road networks. We envision adding new scenarios that represent results from future University research. Scenarios could also be devised that would present the effects of travel behavior and changes in transportation policy. For example, participants could make choices between driving vs. taking a bus, car-pooling, adding lanes, congestion pricing or ‘toll’ lanes (the first of which will be operational in 2005 the along Interstate 394).References[1] Ronald G. Hughes, Visualization in Transportation: Current Practice and Future Directions, Transportation Research Board83rd Annual Meeting - January 11-15, 2004.[2] ITS Laboratory Overview, /labs/itslab.html, 2003.[3] Chen, Baoquan, 3D Scanning and Graphics Processing of Real World Environments /~baoquan/scan.html.[4] Darken, Rudolph P., Goerger S. R., “The Transfer Of Strategies From Virtual To Real Environments: An Explanation For Performance Differences?” Proc. Of Virtual Worlds and Simulation 1999, pp. 159-164.[5] Czerwinski M., Desney, T.S., Robertson G. G., “Women Take a Wider View”, CHI April, 2002, Minneapolis, MN.[6] Patrick, E., Cosgrove, D., Slavkovic, A., Rode, J.A., Verratti T., Chiselko, G., Using a Large Projection Screen as an Alternative to Head-Mounted Displays for Virtual Environments Proc. of the SIGCHI conference on Human factors in Computing Systems, p.478-485, April 01-06, 2000, The Hague, The Netherlands.3. Development TeamThe Center for Transportations Studies (CTS) ITS Lab is currently staffed by two full-time P/A staff. The ITS Laboratory serves as a resource to faculty whose research interests are in communications, databases, traffic sensing, operations and control. Ted Morris serves as manager of the facilities and as a technical lead on resource development directions for the laboratory. He has an extensive background in human movement analysis and biomechanics, motion tracking systems, controls and sensor integration, computer graphics, and Virtual Reality technologies and applications.Chenfu Liao is a Senior Systems Engineer and is responsible for core project development and new research and classroom teaching initiatives with CTS faculty partners. Recently, he has designed web-enabled 3D/2D interactive simulations for undergraduate level Civil Engineering traffic control courses. His research interests are in signal timing prioritization schemes, in-vehicle driver information systems and vehicle tracking. He has extensive experience in robotics/factory automation and controls, real-time digital and image signal processing, sensor integration, and VRML/JAVA development.Max Donath is Professor of Mechanical Engineering and Director of the Intelligent Transportation Systems Institute. He has led research efforts in sensing and control for over twenty years. His most recent efforts have been directed toward the application of sensors and control to improve the safety of vehicles used on the road. He is a member of the ITS America Advanced Vehicle Controls and Safety Committee and the TRB Committee on Vehicle-Highway Automation.4. Budget$2,500 for student support to assist in model development and GIS integration. All hardware and software to complete the project will be supported by the ITS Laboratory.。
CloudSim体系结构
CloudSim体系结构在体系结构上,CloudSim仿真器采用分层的机构,自底向上由SimJava,GridSim,CloudSim,用户代码四个层次组成。
最底层的是离散事件模拟引擎SimJava,它负责执行高层模拟框架的核心功能,比如:查询和处理事件,系统组件的构建(服务、客户端、数据中心、代理和虚拟机),在不同组件之间的通信,模拟时钟管理。
图3-1 SimJava层在SimJava上面是GridSim,支持高层软件组件,建模多个网格基础设施,包括网络和网络流量文件,基础的网格组件诸如资源、数据集、负载测量和信息服务。
图3-2 GridSim层CloudSim在下一层执行,它扩展由GridSim提供的核心功能。
CloudSim层提供虚拟基于云的数据中心诸如VM,内存,存储和带宽等管理接口。
CloudSim 层在模拟阶段管理核心实体(比如VM,客户端,数据中心,应用)的实例和执行。
这一层能够并发地实例化和透明地管理大规模云基础设施包括数以千计的系统组件。
图3-3 CloudSim层虚拟层来执行基于云环境下的应用服务。
虚拟机运行在一个客户端内,和其它VM共享资源。
VM管理:能够定义一系列和VM相关的操作:给主机提供VM,VM创建,VM销毁,VM合并。
Cloudlet类建模了基于云的应用服务(内容分发,社区网络),并在数据中心部署。
每个应用组件有一个预先设定的指令长度(继承于GridSim的Gridlet 组件),并且数据传输的数量(包括预取和后取)能够保证成功地容纳这个应用。
云资源层:和云Clouds相关的核心硬件基础设施服务是由数据中心组件来建模的,它用来处理服务请求,这些服务和请求在VM中执行。
VM Provisioner(虚拟机提供组件):给客户端分配基于特定应用的VM。
这个组件给研究者提供一定数量的用户方法,能够有助于基于一定的优化目标(以用户为中心、或者以系统为中心)执行新的VM提供策略。
SimulationWorkbench操作
Model Y2
Model Z
Model Y1
Model X
Execute models
Write outputs
Program Interface
Record/Playback
Data Logger
Operator Interface
Operator
Configure
Start/Stop/Resume
试验回放 图形客户端
RTDB配置 图形客户端
TCP/IP 网络
SIMulation Workbench 提供: MATLAB/Simulink和手工代码模型注入,并行开发和运行多任务、多速率、实时硬件在回路和人在回路仿真的完整框架. 用于仿真所有模型参数和信号的快速、驻留内存实时数据库. 实时控制和/或改变仿真环境变量的控制脚本语言. 高性能数据记录器存储每次试验所有选择的仿真变量. 历史记录数据通过实时数据库进行仿真试验回放. 实时数据观测器显示并绘出所有仿真变量,可以与LabVIEW集成生成定制界面,与Vega Prime软件集成生成视景图象. 强大的用户图形界面用于仿真系统的配置、启动、停止、记录、和再运行功能.
所有的测试脚本程序
所有的用户模型
所有的RTW模型
能够实现将仿真过程中的进程与相应CPU进行绑定, 平衡CPU的负载,为保证仿真的实时性提供了有力的手段
环境变量的建立和编辑
建立RTDB变量
simple
Test for simple
建立RTDB数据库
配置RTDB变量参数
配置生成好的RTDB变量
建立映射
concurrent
特点… 全面的非干扰型工具用于RedHawk、Novell SUSE、或者RedHat Linux上应用程序的开发、监视和调试 应用程序全速运行 观察Linux内核和活动 完整的应用相互作用显示 完整的应用线程和不同CPU的相互作用图像
SESAM Sima 4.0.2 用户指南说明书
SESAM RELEASE NOTESIMASima is a simulation and analysis tool for marine operations and floating systems — from modelling to post-processing of results.Valid from program version 4.0.2SAFER, SMARTER, GREENERSesam Release NoteSimaDate: 07 Dec 2020Valid from Sima version 4.0.2Prepared by DNV GL – Digital SolutionsE-mail sales: *****************© DNV GL AS. All rights reservedThis publication or parts thereof may not be reproduced or transmitted in any form or by any means, including copying or recording, without the prior written consent of DNV GL AS.DOCUMENTATIONInstallation instructionsRequired:•64 bit Windows 7/8/10•4 GB RAM available for SIMA (e.g. 8 GB RAM total in total on the computer)•1 GB free disk space•Updated drivers for graphics cardNote that Windows Server (all versions), Windows XP, Windows Vista, and any 32-bit Windows are not supported.Recommended:•64-bit Windows 10•16 GB RAM•Fast quad core processor (e.g. Intel i7)•High-resolution screen (1920 × 1200 / 1080p)•Graphics card: DirectX 10.1 or 11.X compatible; 512 MB or higher•Fast SSD disk, as large as possible (capacity requirements depends heavily on simulation settings, e.g. 500 GB is a good start)•3-button mouseHigh disk speed is important if running more than 2 simultaneous simulations in parallel.E xample: If the user has enough SIMO-licenses and has configured SIMA to run 4 SIMO-calculations in parallel, then the simulations will probably be disk-speed-bound, and not CPU bound (with the above recommended hardware). Note that this is heavily dependent on the simulation parameters, so the result may vary. The default license type should now allow for unlimited parallel runs on one PC, workstation of cluster.Updated Drivers for Graphics CardThe driver of the graphics card should be upgraded to the latest version. This is especially important if you experience problems with the 3D graphics. Note that the version provided by Windows update is not necessarily up to date – download directly from your hardware vendors web-site.Installing graphics drivers may require elevated access privileges. Your IT support staff should be able to help you with this.SIMA should work with at least one graphics-mode (OpenGL, OpenGL2, DirectX 9 or DirectX 11) for all graphics cards that can run Windows 7 or 8. However, graphics cards can contain defects in their lower-level drivers, firmware and/or hardware. SIMA use the software “HOOPS” from the vendor “Tech Soft 3D” to draw 3D-graphics. For advanced users that would like more information on what graphics cards and drivers that does not work with SIMA (and an indication on what probably will work), please see the web page /hoops/hoops-visualize/graphics- cards/ .Before reading the compatibility table you may want to figure out which version of HOOPS SIMAis using. To do this open Help > About > Installation Details, locate the Plug-ins tab and look for the plug-in provider TechSoft 3D (click the Provider column title twice for a more suitable sort order). The version number is listed in the Version column. Also remember that all modes (OpenGL, OpenGL2, DirectX 9, DirextX 11) are available in SIMA.Upgrading from Earlier VersionsAfter upgrading to a newer version of SIMA, your workspaces may also require an update. This will be done automatically as soon as you open a workspace not created with the new version. You may not be able to open this workspace again using an older version of SIMA.Preference settings should normally be retained after upgrading, however you may want to open the preference dialog ( Window > Preferences ) in order to verify this.Verify Correct InstallationTo verify a correct installation of SIMA, perform the following steps:1.Start SIMA (by the shortcut created when installing, or by running the SIMA executable)a.If you are prompted for a valid license, specify a license file or license server. (If you needadvanced information on license options, see “License configuration”).b.SIMA auto-validates upon startup: A successful installation should not display any errorsor warnings when SIMA is started.2.Create a new, empty workspace:a.You will be prompted to Open SIMA Workspace: Create a new workspace by clicking New,select a different folder/filename if you wish, and click Finish.3.Import a SIMO example, run a SIMO simulation, and show 3D graphics:a.Click the menu Help > Examples > SIMO > Heavy lifting operationb.Expand the node Condition in the Navigator in the upper left cornerc.Right-click Initial, and select Run dynamic analysis. After a few seconds, you will see themessage Dynamic calculation done. No errors should occur.d.Right-click HeavyLifting in the Navigator in the upper left corner, and select Open 3DView. 3D-graphics should be displayed, showing a platform and a crane.4.If there were no errors when doing the above steps, then SIMA can be assumed to becorrectly installed.Changing Default Workspace Path ConfigurationWhen creating a new workspace SIMA will normally propose a folder named Workspace_xx where xx is an incrementing number; placed in the users home directory under SIMA Workspaces.The proposed root folder can be changed by creating a file named .simarc and place it in the users home directory or in the application installation directory (next to the SIMA executable). The file must contain a property sima.workspace.root and a value. For example:sima.workspace.root=c:/SIMA Workspaces/A special case is when you want the workspace root folder to be sibling of the SIMA executable. This can be achieved by setting the property as follows:sima.workspace.root=.License ConfigurationSIMA will attempt to automatically use the license files it finds in this order:e path specified in the file “.simarc” if present. See details below.e the path specified in the license wizard.e the system property SIMA_LICENSE_FILE.e the environment variable SIMA_LICENSE_FILE.e all “*.lic” files found in C:/flexlm/ if on Windows.e all “*.lic” files found in the user home directory.If any of the above matches, the search for more license files will not continue. If there are no matches, SIMA will present a license configuration dialog.The license path can consist of several segments separated by an ampersand character. Note that a license segment value does not have to point to a particular file – it could also point to a license server. For example:c:/licenses/sima.lic&1234@my.license.server&@another.license.serverIn this case the path is composed on one absolute reference to a file. Followed by the license server at port 1234 and another license server using the default port number.RIFLEX and SIMO LicenseWhen starting SIMO and RIFL E X from SIMA the environment variable MARINTE K_LICE NSE_FILE will be set to the home directory of the user. This means that a license file can be placed in this directory and automatically picked up.Specifying a License pathWhen starting SIMA without a license the dialog below will pop up before the workbench is shown. If you have a license file; you can simply drag an drop it into the dialog and the path to this file will be used. You may also use the browse button if you want to locate the file by means of the file navigator. If you want to use a license server; use the radio button and select License server then continue to fill in the details. The port number is optional. A host must be specified, however. Note that the host name must be in the form of a DNS or IP-address.You can now press Finish or if you want to add more path segments; you can press Next, this will bring up the second page of the license specification wizard. The page will allow you to add and remove licence path segments and rearrange their individual order.Modifying a License PathIf the license path must be modified it can be done using the dialog found in the main menu; Window >Preferences > License. This preference page works the same as the second page of the wizard.Specifying License Path in .simarcThe mechanism described here works much like specifying the environment variable, however it will also lock down the SIMA license configuration pages, thus denying the user the ability to change the license path. This is often the better choice when installing SIMA in an environment where the IT-department handles both installation and license configuration.The license path can be forced by creating a file named .simarc and place it in the users home directory or in the application installation directory (next to sima.exe). The latter is probably the better choice as the file can be owned by the system and the user can be denied write access. The license path must be specified using the sima.license.path key and a path in the FLE Xlm Java format. The license path can consist of several segments separated by an ampersand character. For instance:sima.license.path=c:/licenses/sima.lic&1234@my.license.server&@another.license.serverNote that the version of FLEXlm used in SIMA does not support using Windows registry variables. It also requires the path to be entered in the FLE Xlm Java format which is different from the normal FLE Xlm format. Using this mechanism one can also specify the license path for physics engines such as SIMO and RIFLE X started from SIMA. This is done by specifying the key marintek.license.path followed by the path in normal FLEXlm format. For example:marintek.license.path=c:/licenses/ sima.lic:1234@my.license.server:@another.license.server Viewing License DetailsIf you would like to view license details, such as expiration dates and locations you will find this in the main menu Help > License.NEW FEATURESNew Features - SIMONew Features - RIFLEXNew Features - OtherFixed bugs - SIMOFixed bugs - RIFLEXFixed bugs - OtherUnresolved Issues - SIMOUnresolved Issues - RIFLEXUnresolved Issues - OtherABOUT DNV GLDriven by our purpose of safeguarding life, property and the environment, DNV GL enables organizations to advance the safety and sustainability of their business. We provide classification and technical assurance along with software and independent expert advisory services to the maritime, oil and gas, and energy industries. We also provide certification services to customers across a wide range of industries. Operating in more than 100 countries, our 16,000 professionals are dedicated to helping our customers make the world safer, smarter and greener. DIGITAL SOLUTIONSDNV GL is a world-leading provider of digital solutions for managing risk and improving safety and asset performance for ships, pipelines, processing plants, offshore structures, electric grids, smart cities and more. Our open industry platform Veracity, cyber security and software solutions support business-critical activities across many industries, including maritime, energy and healthcare.。
Java技术与Web设计外文文献翻译
文献信息文献标题:A Comparative Study of Top Web Design Models that are using Java Technologies(使用Java技术的顶级Web设计模型的比较研究)文献作者及出处:Sathyaseelan B, Cordova R S. A Comparative Study of Top Web Design Models that are using Java Technologies[J].International Journal of Innovations and Advancement in Computer Science. 2016,5(5):41-44字数统计:英文1614单词,8806字符;中文2779汉字外文文献A Comparative Study of Top Web Design Models that areusing Java TechnologiesAbstract In today's professional workplace, enterprise applications are complex, adaptable, distributed, part-based, and mission-critical. They might be conveyed as an assortment of platforms across corporate systems, intranets, or the Internet. They are information driven, easy to use, and should meet stringent prerequisites for security, organization, and support. To put it plainly, they are highly complex systems. Various enterprise applications have been in the market today and there are numerous methods available for developing enterprise applications.This paper discusses the major differences between two competing design models for developing Web applications using Java technologies which are Struts and Java Server Faces (JSF). Struts is an open source java framework and is an action-based framework.On the other hand, JSF is a new technology that supports ready-to-use components for rapid Web application development. These two technologies will be analyzed depending on the factors such as the controller flexibility or event handling, navigation, page development, integration and extensibility.Keywords: web design models, Struts, Java Server Faces and Java technologiesI.IntroductionA STRUT is a web application system that has been popular over Java Servlets. It envelops the ordinarily utilized MVC design pattern. A STRUT automates normal tasks, liberating up to explore more of the Action- to-result pages mapping utilizing SML-based configurations. The system makes the progress level subtle elements of the usage of Web-based applications and gives a bit of structural software. JavaServer Faces (JSF) abridges the development of web application user interfaces, usually by defining a user interface component model tied to a well-defined request processing lifecycle. It characterizes a set of UI components— basically, a balanced mapping of the html structure component set along with some extras—that could a be utilized as an application programming interface for extending and modifying standard components or developing new components.II.Key DifferencesThe figures below illustrate the key differences between a STRUTS and JSF request-response scenario. This is necessary in order to fully understand the architecture of each web design models.Figure 1. Struts Request-Response ScenarioIn figure 1, the client sends request to server through a web-browser for aparticular resource. This request is forwarded to the server through a Controller. A servlet goes about as a controller, accepting all requests from the customer. The servlet hands off the request to a different business layer for handling. When processing is finished, the servlet advances or diverts the request to a JSP, which is exclusively in charge of creating the following view for the client. There is no business logic within the JSP.Figure 2. JSF Request-Response ScenarioIn figure 2, the server handles requests from the client, starting from an initial request to a postback request. When a client makes an underlying request for a page, it is asking for the page for the first time. When a client executes a postback, it presents the structure contained on a page that was beforehand stacked into the program as a result of executing an underlying request. When the life cycle handles an underlying request, it just executes the restore view and renders response phases in light of the fact that there is no client information or activities to prepare. Then again, when the life cycle handles a postback, it executes the majority of the phases.III.MethodologyIn this study we will compare JSF and Struts. We will create two modelsemploying the JSF and Struts request-response scenario. JSF is a “component” framework while Struts is an “action” framework.This paper compares and evaluates the ease of application development and the performance of two design models (Struts and JSF) by presenting the two design models and critically analyzes each technology.IV.ChallengesWeb Development ChallengesThe challenges in Web development are much more than the application development. The main challenge is in hosting the application over a webserver and then handling the network issues while accessing those via network. The performances of the web-based application are based on the network availability and its speed. These are not challenges for desktop applications as they run on the local host and the resources are based only on that system.Challenges in STRUTSDespite the fact that Struts accompanies a rundown of remarkable elements however it is important not to neglect the few negative applications about Struts and would require loads of improvements.Greater expectation to learn and adapt - To utilize MVC with STRUTS, you must be alright with the standard JSP, Servlet APIs and a substantial and elaborate system.Poor documentation - Compared to the standard servlet and JSP APIs, STRUTS has less online resources, and some first-time clients locate the online Apache documentation confusing and inadequately sorted out.Less straightforward -With STRUTS applications, there is significantly more going ahead in the background than with ordinary Java-based Web applications which makes it hard to comprehend the system.Challenges in JSFJSF is a very powerful innovation for creating Java-based web applications. It is intended to improve the development of client interfaces for Java Enterprise Edition (Java EE) applications via programmed handling of low level HTTP requests andclient information processing. JSF utilizes a part based model for web advancement. Utilizing the visual JSF web application instrument offered by NetBeans () integrated development environment (IDE), segments can be actually "painted" on a virtual JSF page by relocating them from a palette of JSF segment library.Event handlers can then be characterized for every part the same route concerning creating standalone Java graphical user interface (GUI) application. Route standards are determined for every page from a central XML arrangement document (faces-config.xml). Client activities on a web interface will trigger an event which in return figures out which page is to be shown along the rules specified on that page.This methodology encourages measured and adaptable design, making web application development much more straightforward and faster.The route decides determined for that page. This methodology encourages measured and adaptable configuration, making web application advancement much less difficult and speedier.V.AnalysisIn this study, STRUTS and JSF were analyzed in terms of their controller flexibility or event handling, navigation, page development, integration and extensibility. This is important to compare each web design model and present the advantages and disadvantages of each technology.Controller Flexibility/Event HandlingController is considered as the heart of the Struts. It uses the Front Controller Pattern and Command Pattern. A single servlet takes a request, and then translates HTTP parameters into a Java ActionForm, and passes the ActionForm into a Struts Action class. The URI designates which Action class need to be executed. The Struts framework has one single event handler for the HTTP request. When the request is met by the event handler, the Action returns the result back to the front controller. This in turn will be used to choose the navigation destination.Controller Pattern is been used by the JSF. Each face request goes through asingle servlet, whose responsibility is to get a faces page with components. It will then trigger the events for each component and render the components using a render toolkit. It is also possible to bound the components to the data from its model. JSF have several event handlers on a page while Struts is geared to one event per request. In addition, with Struts, the ActionForms have to extend Struts classes, creating another layer of complicated coding while JSF gives the ability to peg into the model without breaking layering.NavigationNavigation is a key feature of both Struts and JSF. There are 2 types of navigation: static navigation - when the output of a particular page is known so that it is very easy to predict its expected output; and dynamic navigation – when the output is unpredictable and some business logic determines the output of that particular page. Both frameworks have a declarative navigation model and define navigation using rules inside their XML configuration file. Both JSF and Struts support both types of navigation.Page DevelopmentJSF was built with component models which support RAD development, while struts don’t have that support. The Struts framework provides custom libraries to peg into Action Forms and offers some utilities. JSF provides the ability to build components from a variety of view technologies and does it in such a way to be component based.IntegrationStruts are model neutral, so there is no special hook into a model layer. The page data has to be moved from the Action Form to another Model input format which requires heavy complicated coding. The ActionForm class, provides an extra layer of tedious coding and state transition.JSF, on the other hand, encapsulates and hides the details of any data inside the component tree. Data grids and similar rich components can be bound to any Java class. This allows the combination of JSF and SDO which are powerful RAD development.ExtensibilityBoth Struts and JSF offers the extension of framework to meet expanding requirements. Struts have RequestProcessor class that has various callback methods and is the major grip for struts throughout the life-cycle of a request. JSF also have similar functionality to outspread special life-cycle interfaces. Apart from this, JSF totally decouples the render phase from the controller. This considered as on of the main important feature of JSF that Struts does not incorporate.VI.ConclusionJSF is a much more flexible framework while struts is a sturdy framework and works well. JSF is a strong framework because of its flexible controller and navigation. Furthermore, JSF is built with integration and extensibility. From a strategic direction and programming model, JSF can be a target of new applications.中文译文使用Java技术的顶级Web设计模型的比较研究摘要在当今的专业工作环境中,企业应用程序是复杂的、可适应的、分布式的、基于部件的和任务关键的。
基于MatlabWeb服务器的虚拟实验平台的实现_胡力
第29卷第4期吉首大学学报(自然科学版)Vol.29No.4 2008年7月J ournal of J ishou University(Natural Science Edi ti on)J ul.2008文章编号:1007-2985(2008)04-0062-03基于Matlab Web服务器的虚拟实验平台的实现X胡力,胡晓,徐倩(吉首大学物理科学与信息工程学院,湖南吉首416000)摘要:提出了一种基于Matlab Web服务器的虚拟实验平台的构建方法,介绍了该方法的设计与实现,分析了M atlab, Matlab Web Server及浏览器之间的数据交换过程.以PAM实验为例,配置服务器和编写网页程序,并在实验室局域网的环境下调试成功,实践表明该方法简单可行,且效果良好.关键词:M atlab;M atlab Web Server;虚拟实验平台;通信原理中图分类号:TN914.2文献标识码:AMatlab是现在应用得最为广泛的科学计算软件,它拥有强大的数值分析、矩阵运算、信号处理和图形显示能力,利用它只需通过简单编程就可以对通信原理、自动控制原理、信号与系统等课程实验进行计算机仿真.软件还自带WEB服务器接口,使得利用计算机网络或者Internet进行远程网络实验成为可能[1-5].基于Internet的虚拟实验室是现代远程教学质量提高的关键,因为实验是大部分工程类和应用类课程教学的重要环节,是人们快速、廉价地获取知识和技能的有效途径.虚拟实验平台可以通过在服务器端更新软件的方式,随时更新实验内容,具有良好的可扩充性,从而激发学生学习兴趣、提高学生创新能力的提高.1Matlab Web Server的工作原理Matlab Web Server的工作原理如图1所示.用户通过TCP P IP协议请求Web服务器中的文档并发送实验参数,而Matlab Web服务代理筛选所有的请求,如果是Matlab Web请求,则将其交由Matlab Web服务程序处理,否则由标准的Web服务器进行处理.Matlab Web响应后,作为CGI执行程序的Matlab.exe将网页发送过来的参数转化为运行Matlab所需要的参数,同时调用Matlab.m运行指定的实验程序并把网页中的参数传递给该进程,完成计算并生成实验结果的图像,然后通过网络将实验结果图像传回用户端的IE浏览器界面上.图1Matlab Web Server工作原理X收稿日期:2008-05-22基金项目:吉首大学5通信原理6精品课程资助项目作者简介:胡力(1981-),男,湖南吉首人,吉首大学物理科学与信息工程学院教师,主要从事智能仪器仪表研究.2 服务器的配置(1)配置服务器.笔者在实验室以一台装有Windows 2000P NT 和Matlab6.0的计算机作为服务器,利用其操作系统自带的IIS 5.0将其配置成Web 服务器.(2)建立和设置虚拟目录.在Web 服务器中建立站点,并在站点下建立2个虚拟目录P cgi-bin P 和P icons P ,这2个目录都应该指向Matlab 的工作目录,本例中Matlab 的工作文件夹在D 盘的P mydesign P netlab 目录下.P cgi-bi n P 目录用于存放CGI 文件即matweb.exe(位于<MatLab>P webserver P bin P win32目录).P icons P 是用于存放M 文件所生成的图片matweb.conf(位于<MatLab>P webserver P 目录)和其他的HTML 文档,M 文档都应放置在站点的根目录下.(3)配置Matlab.conf.其主要作用在于连接Matlab 和Matlabserver,需要注意的是每增加一个MatLab Web 应用,都需要在matweb.conf 中增加一项配置.配置Matlab.conf 的具体方法如下:[pam]mlserver =netlabel mldir=D:P mydesi gn P netlab mldir2=D:P mydesi gn P netlab P icons其中:[pam]是编写的M 文件名称;mlserver 是服务器主机名称,可自行更改;mldir 是Matlab 在服务器上的工作目录.3 开发实例为了详细的说明系统的实现方法,笔者以PAM 实验为例来具体的说明如何利用Matlab Web Server 来实现虚拟实验平台,实验最后效果如图2所示,图中左侧网页是实验项目的选择和实验参数输入界面,右侧为服务器返回的实验结果图片1可以清楚的看到对正弦函数抽样后进行展宽后的PAM 图形.学生只要在局域网中访问笔者设计的实验室网站,选择所感兴趣的实验项目,输入自己设定的实验参数,提交给服务器,就能够获得实验结果,然后可以根据实验结果进行分析.教师可以在服务器端根据学生学习中的反馈信息编写一些有针对性的实验.图2 实验平台运行效果图3.1M 文件的编写M 文件是整个系统的关键,主要完成设置工作路径,删除过时的图片,接受到提交的各种参数,实现实验的算法程序,生成和保存实验结果的图片或文本,最后将图片或文本传送给Web 服务器,最后由Web 服务器传送至客户端.部分代码如下:(1)实现网络功能.主要是用于定义函数的输入和输出,其具体代码如下:function ps =pam(Inpu tSet)cd(InputSet.mldir2);wscleanup(.paml*.jpeg .,1);startx =str2double(InputSet.startx); stepx =str2double(InputSet.stepx);其中:函数cd(Inp utSet.mldir2)用于表示建立所需要的工作文件夹;函数wscleanup(.paml*.jpeg .,1)用于删除此路径下1h 前名称为.paml*.jpeg .的图片,防止访问量过大时加重服务器硬盘的负担;函数startx =str2double(InputSet.startx )用于把输入网页中startx 参数的值赋给startx 变量,供后面的实验程序调用,并进行精度转换,完成实验参数的输入.参数输入完成后需要加入所要实现的实验项目的M 代码,本例中所进行的仿真是针对正弦函数进行PAM 实验,那么就加入PAM 实验所需的仿真实验程序,其程序编写与Matlab 标准程序基本一致,可随时根据自己的需要更改.(2)画图功能.利用实验代码对输入参数进行运算后,把结果以图像的形式显示出来,生成的图形不是直接弹出窗口显示,而是生成JPEG 格式的图象文件,通过输出网页显示给用户,其具体代码如下:Fig=fi gure(.visible .,.off .);plot(startx,quant,startx ,zeros(1,length(t)));drawnow; PlotFile =sprintf(.pa%.jpeg .,InputSet.mlid); wsp r i ntjpeg(Fig,PlotFile);63第4期 胡 力,等:基于Matlab Web 服务器的虚拟实验平台的实现其中:函数/drawnow0用于刷新事件队列并更新图形窗口,即不断地在下一个图形写为文件时对图形窗口的刷新;函数/spr-i ntf0用于生成文件名称,其命名的名称代码由Matlab利用函数/InputSet.mlid0自动产生,而且是唯一的;函数/Wsprintjpeg0用于将图片框中的文件保存为以/plotfile0为名的文件中.(3)画图完成以后就要将结果图片输出至HTML文件,其具体代码如下:templatefile=which(.mr2side.htm.);s.GraphFileName=[plotfile];ps=htmlrep(s,templatefile);其中:函数/templatefile0用于定义输出页面的名称;函数htmlrep(s,templatefile)用于将输出网页中/$GraphFileName$0变量用的值代替,完成输出页面的图像显示.3.2输入和输出页面的编写3.2.1输入页面输入网页是用户和服务器进行交互的接口.用户在输入网页上输入仿真程序的变量值,然后提交给服务器进行处理.其具体代码如下:<form action=0P cgi-bin P matweb.exe0method=0POST0> <input type=0hidden0name=0mlmfile0value=0pam0> <td><input type=0text0size=0200name=0func-name0value=0sin(x)0><P td><td><input type=0submit0name=0submit0value=0 submi t0>其中:代码<form action=0P cgi-bin P matweb.exe0method=0POS T0>表示把输入表单form的数据发给虚拟目录cgi-bin下的CGI程序matweb.exe,数据传送方式为post;代码<input type=0hidden0name=0mlmfile0value=0pam0>表示输入表单中有一个隐藏的变量,名为mlmfile,值为pam,该值是调用的M文件的名字.3.2.2输出页面输出网页用于显示返回的仿真结果.在建立初始输出网页时要安排好生成图形的位置,服务器生成的图形将自动一一对应显示在输出网页上.需要注意的是其图像显示的实现方法是网页/$GraphFileName$0中包含的变量,由Matlab中的htmlrep函数使用输出结构中的同名变量进行替换.其具体代码如下:<body bgcolor=0#FFFFFF0> <p align=0center0><i mg border=0src=0$GraphFileName$0> <P body>4结语利用Matlab Web服务器实现的虚拟实验平台获得了较好的效果,基于M atlab Web服务器的B\S模式的程序有非常好的应用前景,无需安装复杂的客户端,能够随时更新实验内容,紧跟学科的发展前沿.转变学生的学习方法,极大的提高学生学习积极性和创新精神.参考文献:[1]郭会军,贾惠芹,刘君华.基于ActiveX控件的网络虚拟仪器实验室[J].西安交通大学学报,2003,37(2):219-220.[2]甘登岱.Wi ndows2000Server配置管理与应用[M].北京:清华大学出版社,2001.[3]马兴义,杨立群.Matlab6应用开发指南[M].北京:机械工业出版社,2002.[4]李伟红,龚卫国,秦岚,等.基于Matlab和Web技术的远程数据处理方法[J].测控技术,2004(4):23-25.[5]李宏,宾宁.基于Matlab Web服务器的信号与系统远程教学课件[J].计算机工程,2003(19):148-149.Realization of Virtual Lab Platform Based on Matlab Web ServerHU Li,HU Xiao,XU Qian(College of Physics Science and Information Engineering,Jishou University,Jishou416000,Hunan China)Abstract:A virtual lab platform based on Matlab Web Server is proposed in this paper.Design and Implementation are introduced.The data exchange processing among Matlab,Matlab Web Server and IE bro wser is ing PAM e xperiment as an example,configurating the server and preparing the page,debug in the laboratory LAN environment was successful.Key words:Matlab;Matlab web server;virtual lab platform;communication principle(责任编辑陈炳权) 64吉首大学学报(自然科学版)第29卷。
Grid computing
Authors listed in order of surname (to signify their similar effort).
Copyright 2002 John Wiley & Sons, Ltd.
Received 6 November 2001 Revised 9 February 2002
SUMMARY Clusters, Grids, and peer-to-peer (P2P) networks have emerged as popular paradigms for next generation parallel and distributed computing. They enable aggregation of distributed resources for solving largescale problems in science, engineering, and commerce. In Grid and P2P computing environments, the resources are usually geographically distributed in multiple administrative domains, managed and owned by different organizations with different policies, and interconnected by wide-area networks or the Internet. This introduces a number of resource management and application scheduling challenges in the domain of security, resource and policy heterogeneity, fault tolerance, continuously changing resource conditions, and politics. The resource management and scheduling systems for Grid computing need to manage resources and application execution depending on either resource consumers’ or owners’ requirements, and continuously adapt to changes in resource availability. The management of resources and scheduling of applications in such large-scale distributed systems is a complex undertaking. In order to prove the effectiveness of resource brokers and associated scheduling algorithms, their performance needs to be evaluated under different scenarios such as varying number of resources and users with different requirements. In a Grid environment, it is hard and even impossible to perform scheduler performance evaluation in a repeatable and controllable manner as resources and users are distributed across multiple organizations with their own policies. To overcome this limitation, we have developed a Java-based discrete-event Grid simulation toolkit called GridSim. The toolkit supports modeling and simulation of heterogeneous Grid resources (both time- and space-shared), users and application models. It provides primitives for creation of application tasks, mapping of tasks to resources, and their management. To demonstrate suitability of the GridSim toolkit, we have simulated a Nimrod-G
基于Pi-演算的Web服务形式化描述模型
基于Pi-演算的Web服务形式化描述模型胡静;冯志勇【期刊名称】《计算机应用研究》【年(卷),期】2011(28)6【摘要】Currently, the formal models for Web service are based on the abstraction of a particular Web service composition specification, and can not take into account both global and local design method. Also all the current models can not describe the dynamic architecture of Web service composition. Beside of a short view of recent research efforts of Web service formal description, this paper presented a Pi-calculus based formal description model for Web service, and gave the mapping of BPEL4WS specification and WS-CDL specification. Used an example to instruct that the mapping above was consistent in the model. The dynamic architecture of Web service composition can be described by the method when it was used to design Web service composition directly.%当前对Web服务进行形式化描述的方法多是基于对某个具体Web服务组合规范的抽象,无法兼顾基于全局和局部的设计方法,并且无法描述Web服务组合的体系结构的动态性.在对现有的Web服务形式化描述方法进行回顾和总结的基础上,基于Pi-演算建立了Web服务形式化描述模型,将BPEL4WS和WS-CDL规范的重要行为在模型中作了映射.最后通过例子说明,基于局部和全局的设计方法在提出的模型中的映射是一致的.提出的描述模型直接用来进行Web服务组合的设计时,可以更好地描述动态的体系结构.【总页数】6页(P2168-2173)【作者】胡静;冯志勇【作者单位】天津大学,计算机科学与技术学院,天津,300072;天津大学,计算机科学与技术学院,天津,300072【正文语种】中文【中图分类】TP301【相关文献】1.基于Pi-演算的集成P2P模式的网格形式化建模 [J], 熊曾刚;杨扬;曾明;陈福2.基于Pi-演算的信任Web服务组合建模 [J], 云本胜3.基于Pi-演算的BPEL4WS Web服务组合形式化模型 [J], 辜希武;卢正鼎4.基于多元Pi-演算的Web服务形式化描述模型及其验证 [J], 胡静;冯志勇5.基于多元Pi-演算的Web服务组合描述与验证 [J], 胡静;饶国政;冯志勇因版权原因,仅展示原文概要,查看原文内容请购买。
项目驱动法在Java Web程序设计实验教学中的应用
项目驱动法在Java Web程序设计实验教学中的应用徐胜舟【摘要】针对当前程序设计类课程实验教学中存在的问题,提出在JavaWeb程序设计实验教学中采用项目教学的方法,给出该课程实验教学的内容、形式和课程考核方式,并指出在实验教学中使用项目教学法的优势与不足。
【期刊名称】《计算机教育》【年(卷),期】2012(000)024【总页数】4页(P116-119)【关键词】项目驱动法;Java;Web程序设计;实验教学【作者】徐胜舟【作者单位】中南民族大学计算机科学学院,湖北武汉430074【正文语种】中文【中图分类】G642Java Web程序设计是计算机专业开设的一门以Web开发为主要内容的专业必修课,主要学习目前流行的基于Java开发平台的B/S结构应用程序的相关技术,如JSP、JDBC、Servlet、SSH和AJAX、SSH等。
学生通过本课程的学习,可以掌握Java Web开发的专业理论知识和实际开发技能,为今后从事软件开发工作奠定扎实的专业基础。
由于该课程的实践性较强,在其教学模式上,我们应注重对理论教学和实践教学的双重把握,尤其要注意突出实践教学。
目前高校培养的软件开发人才与企业的需求之间尚存在一定的差距。
很多应届毕业生的动手实践能力不能满足企业的需要,而企业希望员工能立即为企业带来实际效益,不希望花很多额外的资金对员工进行培训。
这导致了一方面软件人才市场一才难求,另一方面很多计算机专业毕业生找不到工作的矛盾。
为了缓解这种矛盾,高校在实际教学过程中应特别注重对学生实际应用能力的培养,加强实验教学是提高学生实践能力的重要途径。
1 程序设计类课程实验教学中存在的问题目前,在程序设计类课程中,教师在理论课之后,根据授课情况,分章节对相关重点知识设计一些基础性较强、突出验证特征的实验,各实验之间没有必然的联系,具有较强的独立性。
从实验内容上看,单一的基础性、知识性、验证性实验占了多数,综合性、设计性、研究创新性实验则较少。
Silicon Labs Z-Wave PC-Based Controller 5.54 用户指南说
Z-Wave PC-Based Controller 5.54 GA Gecko SDK Suite 4.2December 14, 2022The Z-Wave PC-based controller gives you the fastest and easiest way to develop feature-rich Z-Wave applications. The Z-Wave PC-based Controller application is based on theZ-Wave DLL. The applications have a thin GUI layer and all the Z-Wave specific code isplaced in the DLL for easier application development. The Z-Wave PC-based Controllerapplication is implemented in C# using Microsoft Visual Studio 2017 and .Net Framework4.8. For details regarding the Z-Wave PC-based Controller application, refer to INS13114: Z-Wave PC_Based Controller v5 User's Guide.These release notes cover Controller version(s):5.54 released December 14, 20225.53 released April 15, 2022Compatibility and Use NoticesFor additional information about the Controller, See section 7 About This Release. KEY FEATURES∙Max Tx Power and Auto Channel for LR ∙PC-Based Controller ImprovementsContents1New Items (3)2Improvements (4)3Fixed Issues (5)4Known Issues in the Current Release (6)5Deprecated Items (7)6Removed Items (8)7About This Release (9)8Legal (11)8.1Disclaimer (11)8.2Trademark Information (11)1New ItemsAdded support of Time and Time Parameters Command Classes.Implemented new Serial API SetTxPower16Bit to set the MAX TX POWER to more than 12.7 dBm but only MAX 1.4 dBm for supported devices.Added support of Automatic channel in the channel config for LR Region.Improvements 2ImprovementsFixed some bugs in working with the Serial API End Device including availability for supported action buttons.Moved from custom to system Z-Wave Command Classes XML fileFixed Issues 3Fixed IssuesKnown Issues in the Current Release 4Known Issues in the Current ReleaseIssues in bold were added since the previous release. To see release notes from previous releases, go to https:///z-wave/latest/ and select the version of interest.7About This ReleaseThe Z-Wave PC-based Controller code contains an example of how to include, exclude, and control the devices included in the SDK. The PC-based Controller now supports both non-secure and secure S0/S2. In addition, the Z-Wave PC-based Controller supports the Z/IP Gateway and WSTK boards. System information can be replicated to and from the other controllers. The Z-Wave PC-based Controller accepts both a Serial API-based Static and Bridge Controller.Figure 1. Serial Transport Connection Stack to Serial API ControllerFigure 2. TCP Connection Stack to Serial API ControllerFor detailed information, refer to INS13114: Z-Wave PC_Based Controller v5 User's Guide.Legal 8Legal8.1DisclaimerSilicon Labs intends to provide customers with the latest, accurate, and in-depth documentation of all peripherals and modules available for system and software implementers using or intending to use the Silicon Labs products. Characterization data, available modules and peripherals, memory sizes and memory addresses refer to each specific device, and “Typical” parameters provided can and do vary in different applications. Application examples described herein are for illustrative purposes only. Silicon Labs reserves the right to make changes without further notice to the product information, specifications, and descriptions herein, and does not give warranties as to the accuracy or completeness of the included information. Without prior notification, Silicon Labs may update product firmware during the manufacturing process for security or reliability reasons. Such changes will not alter the specifications or the performance of the product. Silicon Labs shall have no liability for the consequences of use of the information supplied in this document. This document does not imply or expressly grant any license to design or fabricate any integrated circuits. The products are not designed or authorized to be used within any FDA Class III devices, applications for which FDA premarket approval is required or Life Support Systems without the specific written consent of Silicon Labs. A “Life Support System” is any product or system intended to support or sustain life and/or health, which, if it fails, can be reasonably expected to result in significant personal injury or death. Silicon Labs products are not designed or authorized for military applications. Silicon Labs products shall under no circumstances be used in weapons of mass destruction including (but not limited to) nuclear, biological or chemical weapons, or missiles capable of delivering such weapons. Silicon Labs disclaims all express and implied warranties and shall not be responsible or liable for any injuries or damages related to use of a Silicon Labs product in such unauthorized applications. Note: This content may contain offensive terminology that is now obsolete. Silicon Labs is replacing these terms with inclusive language wherever possible. For more information, visit /about-us/inclusive-lexicon-project8.2Trademark InformationSilicon Laboratories Inc.®, Silicon Laboratories®, Silicon Labs®, SiLabs® and the Silicon Labs logo®, Bluegiga®, Bluegiga Logo®, Clockbuilder®, CMEMS®, DSPLL®, EFM®, EFM32®, EFR, Ember®, Energy Micro, Energy Micro logo and combinations thereof, “the world’s most energy friendly microcontrollers”, Ember®, EZLink®, EZRadio®, EZRadioPRO®, Gecko®, Gecko OS, Gecko OS Studio, ISOmodem®, Precision32®, ProSLIC®, Simplicity Studio®, SiPHY®, Telegesis, the Telegesis Logo®, USBXpress® , Zentri, the Zentri logo and Zentri DMS, Z-Wave®, and others are trademarks or registered trademarks of Silicon Labs. ARM, CORTEX, Cortex-M3 and THUMB are trademarks or registered trademarks of ARM Holdings. Keil is a registered trademark of ARM Limited. Wi-Fi is a registered trademark of the Wi-Fi Alliance. All other products or brand names mentioned herein are trademarks of their respective holders.。
用于Web计算的Java虚拟机嵌入式系统设计
用于Web计算的Java虚拟机嵌入式系统设计
张翼
【期刊名称】《天津理工大学学报》
【年(卷),期】2004(020)003
【摘要】传统的Java虚拟机在工作的时候,需要占用大量的系统资源.因此,小型嵌入式Java虚拟机的设计是很必要的.总的来讲,嵌入式系统在有限的资源中需要一种实时的计算.本文对传统的Java虚拟机进行了适当的修正,使得它在嵌入式系统中工作时基本上达到了实时的要求.
【总页数】4页(P41-44)
【作者】张翼
【作者单位】镇江高等专科学校,电子与信息系,江苏,镇江,212003
【正文语种】中文
【中图分类】TP393.02
【相关文献】
1.性能高的Java虚拟机—BEA WebLogic Jrockit [J], 阿里
2.Java虚拟机应用于数字电视机顶盒的研究与实现 [J], 刘俊;张萍;姚莉;于鸿洋
3.基于Web的嵌入式系统设计与实现 [J], 沈勇;王贞勇
4.一种用于Java虚拟机的类型化低级语言 [J], 陈晖;陈意云;吴萍;项森
5.IBM将自主运算技术应用于WebSphere和DB2——WebSphereApplicationServer5和DB28将协助企业利用计算资源处理需求峰值[J],
因版权原因,仅展示原文概要,查看原文内容请购买。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1 INTRODUCTION
The topic of web-based simulation spans a variety of areas within the eld. (See Page et al. (1997) for an online a survey of web-based simulation.) Fishwick (1996) discusses many potential impacts of web technologies on simulation, giving particular attention to three areas: (1) education and training, (2) publications, and (3) simulation programs. With respect to education and training, the web o ers storage and retrieval of supporting material far exceeding the capacity of CD-ROMs or diskettes that may be packaged with a textbook. Such capacity permits more extensive use of resource-intensive media such as audio and video. The learning environment, as a result, tends to be highly interactive. With respect to publications, the web o ers new and convenient mechanisms for submitting, refereeing and disseminating research results. The web will impact the traditional revenue process for technical journals, and already is causing changes in our copyright laws (Samuelson 1996). However, it is the last category in Fishwick's discussion that has received the most attention in the web-based simulation area and, arguably, represents the predominant use of the term. Web-based simulation programs generally fall into two categories. Simulation programs that can be accessed remotely through web browsers and formsbased CGI scripts comprise the rst category. Typ-
ically, these simulations allow the user to tailor (via the forms interface) model execution parameters such as mean service times and arrival rates, number of model replications, and so forth. A single copy of the simulation runs on a server and passes the results of model execution to the invoking client. The second category of web-based simulation programs represents a variation on the rst, but with the added feature of code mobility a orded by such network programming languages as JavaTM. Here, the simulation executes on the client rather than the server. Java-based simulation-support libraries are emerging that permit the creation of simulation programs as Java applications and applets. Among these are Simkit (Buss 1996), JavaSim (Little 1996), JSIM (Nair, Miller and Zhang 1996) and Simjava (McNab and Howell 1996). One of the primary advantages of these packages is that they permit network-based simulation models to be developed using established conceptual frameworks. This paper describes work being undertaken to extend the Simjava package to utilize the Remote Method Invocation (RMI) facilities of JDK 1.1. This extension enables the construction of distributed, web-based simulations using Simjava.
ABSTRACT
An investigation is underway regarding technologies to support the design, development and use of distributed, web-based simulations. As part of this investigation the Simjava simulation-support package has been extended to utilize the Remote Method Invocation facilities of the Java Development Kit (JDK) 1.1. Current e orts with Simjava are described and future research directions are outlined.
ห้องสมุดไป่ตู้
2 DISTRIBUTED SIMULATION INFRASTRUCTURES
An inherent characteristic of the WWW is its distributed nature. Therefore, the marriage of webbased simulation and distributed simulation seems a natural one. Distributed simulation dates to (Bryant 1977; Chandy and Misra 1979; Chandy and Misra 1981) and has evolved into an active research area that includes an annual workshop on parallel and distributed simulation (PADS). The focus of PADS research has historically been centered on parallel and distributed implementations of sequential simulation models that result in speedup of model execution at
runtime. Additionally, distributed simulation has been the focus of the U.S. Defense industry for well over a decade. Here the motivation for distributed computation is not speedup but interoperation. These defense-related e orts originated with SIMNET (Alluisi 1991) and evolved into the Distributed Interactive Simulation (DIS) protocol initiative (Voss 1993) and the Aggregate Level Simulation Protocol (ALSP) (Page, Canova and Tufarolo 1997; Weatherly, Wilson and Gri n 1993; Weatherly et al. 1996). DIS provides the environment for networking human-in-theloop (HIL) simulators. ALSP extends the DIS philosophy to permit the interoperation of higher-level, so-called aggregate, simulations and exercise drivers. The primary application of ALSP, the Joint Training Confederation (JTC) has been used to support several large-scale command post exercises annually since 1992. Both DIS and ALSP are nearing their respective ends of service. The Defense Modeling and Simulation O ce (DMSO) has sponsored the de nition and development of the High Level Architecture (HLA) for modeling and simulation (M&S). The HLA has been de ned to \facilitate the interoperability among simulations and promote reuse of simulations and their components" (DMSO 1996, p. 1). In a 1996 memorandum signed by the U.S. Undersecretary of Defense for Acquisition and Technology Dr. Paul Kaminski, the HLA is endorsed as the standard for all U.S. Department of Defense (DoD) M&S (DoD 1996). The HLA standard supersedes both ALSP and DIS and all DoD M&S e orts must comply with the HLA, receive a waiver, or be retired by 2001. A primary component of the HLA is its Runtime Infrastructure (RTI). The HLA RTI implements a set of services { de ned by the HLA Interface Speci cation (DMSO 1997) { which are invoked by applications (so-called federates) to coordinate the management of both data and time within a distributed simulation environment. (The RTI also invokes services that HLA compliant federates must provide.) One of the strengths of the HLA (and the RTI) is its generality. The services it de nes (and implements) enable the construction of a well-de ned distributed simulation environment from a collection of highly disparate applications, from real-time human-in-the-loop simulators, to faster-than-real-time discrete event simulations, to instrumented live vehicles, to simple Monte Carlo models. One of the prices paid for this generality, however, is a lack of conceptual framework (CF) support. The CF imposed by the HLA, somewhat akin to that provided by an operating system, is typically unlike the