Home

AwareWare User`s Manual Version 1.0.2 - marches

image

Contents

1. The implemented awareness tools could be a DLL so that our middleware can load the dll dynamically just like components There is only one instance of each awareness tool in our middleware However this measurement tool can notify multiple conditioner SRK SRO AK RK KR KR RR KR KR RR RR RI class CAware FRR RRR RR RR RI RR KR KR RK RK AwareEvent This is a virtual class that is the parent of SimpleEvent and CompositionalEvent AwareEvent includes event source event conditioner and event listener event source provides the data from the awareness tool or from the lower layer event to conditioner and the conditioner notify the listener if the condition is sufficed Upper compositional event or acutual would registers itself to the event as listener AwareEvent itself is also a subclass of EventSource because it is a eventsource of the upper layer compositional event SOKO AK KR KR KR I KR I KR RK RR IR RI class CAwareEvent RRR RK RR RR RR RR KK RK RK RK EK Actuator Actuator is the action of the application when one rule is sufficed and notified by the compositional event There is one actuator in each rule corresponding to one compositional event When the rule is sufficed the corresponding actuator will update the architecture metaob ject SRK OK KR KR KR KR KR RR RR RI class CAwareActuator RRR RR RR RK RR RR KR RK RK ER KK te CAwareMetaOb ject This class is the architecture of the co
2. 2 Installation Instructions Requirements Operating System Windows XP amp Windows Mobile 5 6 Memory 256MB minimum or more Development kit Microsoft Visual Studio 2005 Other required tools MSXML 4 0 Provided file list for the demo applications DCEngine dll the major DLL file of the AwareWare system DCEngine lib AwareV CTest exe the executable file of the video conferencing application AwareFFTest exe the executable file of the firefighter training application ComponentManager exe the executable file of the component manager application Mods exe the executable file of the directory service application cm inf the configuration file the component manager Provided example components Measurement Tool Components AvailableBW dll get the available bandwidth data AvailableCPU dll get the available CPU data Users can use their own developed measurement tools by just replacing the tools description in the script file Reconfigurable Components WebCam dll grab the video from the camera JPEGCompress dll compress the video data by JPEG algorithm JPEGDecompress dl decompress the video by JPEG algorithm Display dll display the data in local view Users can also use their own components and please refer the XML file description in the following pages Provided XML script files dcRules xsd XML schema file any user developed XML file should follow this schema for grammar check vcRu
3. First it separates the adaptation rules from the rest of function codes which makes adaptation policy easy to check and validate Second a user can change adaptation policies of a deployed system on the fly without recompiling the application or middleware by downloading and applying a different adaptation policy file which makes the application development and updates very flexible The decision engine takes the adaptation policy file as the input creates composite event sensors and initiates adaptation actions based on these adaptation policies Adaptation execution layer component Component Chain Architecture component Reconfiguration Component Parameter Turning eco E Adaptation decision layer Adaptation Decision Composite Event Model component Adaptation Policy Application AwareWare Adaptation Policy Language 21546 Awareness measurement layer Device Awareness Environment Awareness User Preference Specification Application Awareness Network Awareness IP Network Fig 1 System architecture of AwareWare The adaptation execution layer contains several modules to execute the actual behavior changes of the application and the middleware itself including the dynamic reconfiguration and parameter tuning mechanisms to the application
4. EVEN IF LEHIGH UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE LEHIGH UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE THE SOFTWARE PROVIDED HEREUNDER IS ON AN AS IS BASIS AND LEHIGH UNIVERSITY HAS NO OBLIGATION TO PROVIDE MAINTENANCE SUPPORT UPDATES ENHANCEMENTS OR MODIFICATIONS
5. Each proactive n declared in the marchlets segment with a parameter list for each lt component name Grab version 1 0 type Proactive gt lt alias gt GRAB lt alias gt lt param name CaptureWidth gt 160 lt param gt lt param name CaptureHeight gt 120 lt param gt lt component gt lt Awarelets gt lt AwareTools gt component name Availabl lt alias gt AVAILABLEBW lt al lt param name packetSize leBW version 2 0 type Tool gt lias gt gt 64 lt param gt lt param name packetNum gt 2 lt param gt lt param name Interval gt lt component gt 300 lt param gt lt component name Average lt alias gt Ave lt alias gt lt component gt lt AwareTools gt lt Rules gt lt rule gt sensor Ave AVI BW 5 lt proActuator gt marchlet name GRAB gt lt proActuator gt lt reActuator gt version 2 0 type Function gt gt 10 amp amp Min AVI_CPU 10 lt 1 0 lt sensor gt lt marchlet gt lt marchlet name DISPLAY gt lt marchlet gt lt reActuator gt lt rule gt lt Rules gt Figure 2 example of the adaptation rule script Modify the script file based on your local setting and user preference rule part as shown in Fig 2 The declaration part declares the CM 3 2 Start the application Video conferencing application Platform Desktops or Laptops Operating System Windows XP Pre Installed Soft
6. Set the environment Add the additional dependencies in the environment DCEngine lib 2 Define the architecture change messages and response functions int gnArchChangeEventApp RegisterWindowMessageA szArchChangeEvent ON REGISTERED MESSAGE gnArchChangeEventApp OnReceiveArchChange You can also define the local data process done message and received data process done messages 3 4 int gnActionDoneEvent RegisterWindowMessageA szActionDoneEvent int gnReceivDoneEvent RegisterWindowMessageA szRecei vDoneEvent Start Engine create a new decision engine instance pdcEngine new CDCEngine set the xml file directory pdcEngine gt SetXMLFile dcSync xml is the default xml file Initialize the decision engine load and parse the XML file construct the architectures pdcEngine gt InitializeQ set the application instance decision engine would send messages to this window pdcEngine gt SetHWnd m_pLocaview set the components parameters pdcEngine gt SetAppParam Grab GRAB APP PARA MAINWND void amp hlocalwnd pdcEngine gt SetAppParam Grab GRAB APP PARA DISPWIDTH void amp localwidth pdcEngine gt SetAppParam Grab GRAB APP PARA DISPHEIGHT void amp localheight pdcEngine gt SetAppParam Grab GRAB APP PARA AUTOCAPTURE void amp bAutoCapture pdcEngine gt SetAppParam Grab GRAB APP PARA SAVEMO
7. mods ini and layout bmp Application Usage Step 1 Double click mods exe to start the directory server You would see the following Fig 7 Figure 7 Directory server application Step 2 Modify the adaptation rule script file and mods ini file based on local settings and user preferences Step 3 Double click the AwareFFTest exe to start the firefighter training application component manager You will see the following Fig 8 Local camera view Remote camera view Video Area This firefighter s position yellow rectangle Flashing animation represents the request of more firefighters around its location The number required L Ar ayout Area is identified on a side of the cycle Fires position circle cycle size represents the level of the fire cycle color represents the type of the fire Button Area Another firefighter s position blue rectangle red if selected Figure 8 The graphic user interface of our application There are three parts in the user interface The top area is video area Left video is local camera view It is blank because there is no camera attached in this PDA currently The right video is remote camera view When we select another firefighter from the layout by stylus the camera view of that firefighter would be transmitted to this node and displayed on right hand side video area If we select a third firefighter the previous session would be ended automatically And a new tran
8. s components and a feedback control loop to awareness manager which controls the behaviors of measurement tools AwareWare views an adaptive application as a dynamic collection of reflective components and their connections A component can be added to and deleted or removed from an adaptive application s architecture Inter component connections can be added deleted blocked and changed dynamically A component s parameters can also be changed at the execution time It was realized by using component reflection and dynamic reconfiguration mechanisms implemented in Aware Ware In summary by externalizing adaptation mechanisms AwareWare is responsible for monitoring environment conditions and changes that trigger adaptations deciding when where and how to adapt application behaviors and executing the adaptation policies specified by application developers in a running system 1 2 Demonstration This demonstration illustrates the major functionality of AwareWare an adaptive and reflective context aware middleware framework that efficiently handles reconfiguration for distributed real time and embedded DRE applications in a generic consistent and clearly separated way By providing a set of tools and underlying mechanisms it achieves it primary goal of facilitating a software developer to handle adaptation inside their applications therefore to let the software developer to be more focused on application s own logic instea
9. AwareWare User s Manual Version 1 0 2 AwareWare The AwareWare Team LONG Lab Lehigh University http marches cse lehigh edu Laboratory of Network Group Dec 30 2008 LN 3 LJ Aware OVOEL VIO aL dte na ee i 3 15 Messed pode dde Tnt A 4 2 IristallattOn T StEUCEHOS cn e e ER Ep ei PERPE Ene eds 5 Os ITS BIC LIONS AAE A E E A eg eee SEE 6 o Modi the XM TS HG oco donent a A E EE E aeo ato utto sacan scat depu Puntos 6 appled su Ou p uu ca EM DIM DEM CI 7 4 Development Instr cttOlls sehen diode ee ato iet edd cda i a odiis 12 AM The ware Wate system U NIE CH UTI euo code Heu mapa iro oma E E po e OR Eau EU na EDU Fe toco EU ER eset htc au 12 2 2 Aware Ware CISSES acu eea 13 2 5 AwareWate application developruelil ei i at eb arai nitla tain 17 Jo oce File E C M HS 19 COSC Op V1 Ms ast sce E A ane decease aca dats E E T A cae E sagen a E 21 1 Introduction 1 1 AwareWare System Overview AwareWare consists of three major function layers as depicted in Figure 1 an awareness measurement layer an adaptation decision layer and an adaptation execution layer The awareness measurement layer can be further separated i
10. DE void amp bLocalShow pdcEngine gt SetAppParam Display DISP APP PARA MAINWND void amp hRemotewnd pdcEngine gt SetAppParam Display DISP APP PARA DISPWIDTH void amp remotewidth pdcEngine gt SetAppParam Display DISP APP PARA DISPHEIGHT void amp remoteheight start the decision engine start the measurement tools and adjust the architecture pdcEngine gt Start Implement the message response functions LRESULT CLocalView OnReceiveArchChange WPARAM wParam LPARAM 1Para char buf 1024 CAwareDllTestDoc pDoc CAwareDllTestDoc GetDocument pDoc gt pdcEngine gt GetFormatValue buf SetStatusBar buf return 0 5 Input data if needed and start to process the data Processed the data can also be achieved from the output interface input the data and data size GetDocument pdcEngine SetMetaObjectInput in inlen ll Start to process the data GetDocument pdcEngine StartMetaProcess get the output data and processed data size GetDocument pdcEngine GetMetaObjectOutput amp out amp outlen 6 Stop the decision engine if pdcEngine NULL stop the decision engine pdcEngine gt Stop release the memory delete pdcEngine pdcEngine NULL 5 Source File List Video conferencing application Table I The classes and files in the video conferencing application DCEngine cpp 6628 CDCEngine ParserCom
11. RR RK RR RR KR RK RK RK RK RK EK Boolean Conditioner This is a kind of conditioner that compares AND or OR operations so that it is inherited from event conditioner There are two sources of boolean conditioner called left source and right source the event sources of boolean conditioner must be awareevent instead of awaresource SRK AK KR KR KR KR KR KR KR RR RI class CBooleanConditioner public CEventConditioner RRR ARR KR RK RI RR KR KK RK RK RK EK Compare Conditioner This is a kind of conditioner that compares BIGGER SMALLER BETWEEN or BESIDES operations so that it is inherited from event conditioner There is only one event source of compare conditioner the event sources of boolean conditioner must be awaresource instead of awareevent so that the data is directly from awareness measurement tools SRK OK KR KR KR KR KR KR RR RR KR KI class CCompareConditioner public CEventConditioner RRR KR RK RR RI RK KR EK IR CInifile Load and analyze configuration file SOKO AK KR class CIniFile RRR RR RI RK KR RK RK ER KEK te directory service client This clase is the client Side directory server It is used to communicate with directory server SROKA AK KR KR KR KR KR RR RIE class CModsClient 4 3 AwareWare application development All the source code are implemented in Microsoft Visual Studio 2005 1
12. amically lt param gt supplies a list of default parameters to initialize the component The example below shows that a video compression component named as compress is located at C demoApp compress dll of local host An initial parameter called CompressionRatio is set as 100 when the decision engine loads the Compress component 4 2 AwareWare Classes RRR ARR RR RK RR RR KR RK RK KK Decision Engine This is the main class of decision engine First it loads the xml file and parses it as following 1 create the awareness tools 2 load the reconfigurable components 3 create the compositional event and actuator for each rule 4 start the actuator and event ROKR AK KR KR fece kkk class CDCEngine RRR RR RK RR RK RK KR RK RK KK Component This is the parent class of all reconfigurable components Any one can implement his her own components by inheriting this class The implemented components could be a DLL so that our middleware can load the dll dynamically just like awareness measurement tools There is only one instance of each component in our middleware All the actuators or metaobject just get a pointer pointing to the component SOKO AK KR KR KR RK KR RR RR RI class CComponent RRR RRR RR RK RK RR KK RK RK RK RK RK EK Awareness This is the parent class of all awareness measurement tools Any one can implement his her own awareness by inheriting this class
13. d of dealing with the complexity of adaptation The Demonstration also validates the efficiency of the run time reconfiguration for supported applications There are two applications implemented and used in this demonstration Video conference application the video conferencing application is a peer to peer application and each distributed program contains a sender part and a receiver part In the sender part proactive actuators prepare and send video frames and in the receiver part reactive actuators receive and display the frames There are four awarelets Grab Compress Decompress and Display and two awaretools that measure the available bandwidth between the hosts and the available CPU resource respectively The application architecture can be dynamically reconfigured by using or not using the Compress awarelet or using different compressing ratio according to three adaptation rules Firefighter training application The firefighter training application is a peer to peer application that facilitates firefighters to collaboratively deal with emergent fire situations Each firefighter program can show the positions of its holder and other firefighters in the layout which are updated frequently and nearby fire situations by communicate with environment sensors The firefighter training application uses AwareWare to adaptively transmit audio and video information among firefighters so that they can be still connected in hash environments
14. ected this fire would be displayed highlight and the button would be changed to Edit button see Fig 11 Then touch Edit button Info and Help buttons would be activated so that we can edit the selected fire as previous step If the selected fire needs more firefighters and this firefighter want to go there to help then touch button in the Edit mode and the number of firefighters required by that fire would be decreased by 1 87 and this information would be synchronized in the whole network so that anybody know how many firefighters are still needed for this fire Videol Figure 11 The fire edit mode Step 6 Delete a fire from the layout Select the fire and push the Idle button the fire would be removed from the layout If no fire is selected touching Idle button means this firefighter is currently in idle state and prepares to go anywhere else Step 7 Retreat from the dangerous area If this area is to dangerous Push Retreat button then the alarm would be broadcast to the whole network all the firefighters close to this dangerous area should retreat immediately Step 8 Find a path in the layout for retreat The firefighter can draw a path for safe retreat Push the FPath Find Path button in the second row the caption would be changed to FComp Find Complete Then we can draw a path in the layout by using stylus After the path is complete
15. er of the event would notify the listener if the condition is suffied SOKO AR RR RR RR KR KK RK KR KR class CEventListener RR RI RR KR RK RK RK RK RK EK Compositional Event This is a kind of aware event that has two event sources called left hand side source and right hand side source so that it is inherited from aware event Compsitional event contains a boolean conditioner and two event sources the event sources could be simple events or compositional events but could not be aware sources The listener of the compositional event could be acutator or upper layer conditioner SOK OK KR KR KR I KR KR RR RR RI class CCompositionalEvent public CAwareEvent FRIAR RR RK RI RR RR KR RK RK RK EK Simple Event This is a kind of aware event that has one event source which is a aware source that get the data from awareness tools directly and it is inherited from aware event Compsitional event contains compare conditioner and only one source that is a aware source The listener of the compositional event could be acutator or upper layer conditioner SROKA AK KR KR KR KR KR class CSimpleEvent public CAwareEvent FRR RRR RR RR RI RR KR KR RK RK RK EK AwareSource This is a kind of event source so that it is inherited from CEventSource The data of awaresource is from awareness tool instead of awareevent SOKO AK KR KR KR KR KR KR RR IR RR RI class CAwareSource public CEventSource FRIAR
16. les xml XML based adaptation policy script file for the video conferencing application elRules xml XML based adaptation policy script file for the E learning application 3 Usage Instructions 3 1 Modify the XML file To use AwareWare to build an adaptive collaborative application developer s need to provide a script file that can be divided into a declaration part and an adaptation and all components used in the local program and middleware agent Based on the declaration the AwareWare agent loads and instantiates the components from the CM rule part contains adaptation rules and each rule c actuator and an optional reactive actuator The sens sensor that accepts the subscription of the proactive actuator consists of a list of marchlets that have bee marchlet The reactive actuator section describes the corresponding actuator of a peer agent that processes the received data from the proactive actuator of the peer agent so that the actions of the proactive and the reactive actuators can be synchronized in the collaborative application lt ComponentManager gt lt ip gt localhost lt ip gt lt port gt 5501 lt port gt lt ComponentManager gt lt Awarelets gt and initializes them with the provided parameters The adaptation an be further separated into three sections a sensor a proactive or section can be parsed by the event interpreter to build an event actuator declared in the proactive actuator section
17. m cpp 7062 CDCFormat mes 8 CAware EL NEN M AvailableCPU h AvailableCPU cpp lable h 3 CAvailableBW AvailableBW cpp 585 CAwareEvent SimpleEvent h Be 1 CSimpleEvent aor CompositionalEvent h CAvai lableCPU CCompositionalEvent CompositionalEvent cpp 688 C resore CEventSource C resore 8 CAwareSource cose n EventConditioner h h CEventConditioner rents CompareConditioner h 55 CCompareConditioner BooleanConditioner h CBooleanConditioner BooleanConditioner cpp 1184 CEventListener CAwareActuator AwareMetaOb ject h CAwareMetaOb ject AwareMetaOb ject cpp 3299 Firefighter training application Table The classes and files in the firefight training application CModsServer modsClient h NE NN CModsClient wc PosToIdMapping CPosToIdMapping PosToIdMapping cpp 663 me o meae m mua m apis m Other files 6 Source Code Copyright Copyright c 2008 Lehigh University Bethlehem PA USA All rights reserved This source code is a part of the MARCHES project The MARCHES project is supported by the National Science Foundation and carried out at the Laboratory Of Networking Group LONGLAB IN NO EVENT SHALL LEHIGH UNIVERSITY BE LIABLE TO ANY PARTY FOR DIRECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION
18. nfigured components Because there is only one architecture it is a global variable It gets the components data from acutuator that is notified by the compositional event To form the architecture first all the parameters of each component in the acutuator must be reset because the components are also global variables and only has one copy of each component Currently there is no synchronization part in this architecture OKO A RK RI KR KK RK RK RK KR RK class CAwareMetaOb ject RRR RI RR KR EK EK Event Source This class descripe the source in aware event event source provides data to conditioner It is the parent class of aware source and event event is the source used in the compositional event and aware source is used in the simple event KR A RK RI KR KK RK RK RK RK RR KR I class CEventSource RRR RR RK RK RI RR RR KR EK IK CEvent Conditioner This class descripe the conditioner in aware event It is the parent class of boolean conditioner and comapre conditioner boolean conditioner is used in the compositional event and compare conditioner is used in the simple event SKS RR I KA KK RK RK RK RK ER KR class CEventConditioner RRR RR RR RR RR KR RI KR RE EK IK CEventLister This class descripe the listener in aware event It could be the actuator or the upper layer compositional event If the listener registers itself to the event the condition
19. nsor class contains a set of events The event could be a simple event which only has a comparison operation or a composite event which contains Boolean operations A simple event is specified as a triple in the XML script file the name of awareness source a comparison operator and a condition value For example CPU_Loading gt 10 is a simple event A composite event is a combination of multiple simple events connected by Boolean operators For example CPU_Loading gt 10 and Avi bw lt 10 is a composite event use AwareWare to build an adaptive application developer s need to provide a XML based script file and an ADL file A XML script parser is proposed in the decision layer to parse the XML file that can be divided into a declaration part and an adaptation rule part The declaration part declares all application level functional components and measurement tools used in the local program and middleware agent Based on the declaration the decision engine loads and instantiates the components and initializes them with the provided parameters In lt component gt section the XML script defines the name location and parameters of the component The name of the component can be any string as the component identifier and it is also used in the decision rules describing adaptation policies The lt location gt is the file directory and filename of the component so that the decision engine can find and load it dyn
20. nto individual measurement tools which measure context awareness information about networks devices end user preferences application internal states and physical environments and awareness management which organizes these tools and provides query and notification interfaces for the adaptation decision layer Awareness information has to be distributed efficiently because an adaptive application may also need to know the awareness of its distributed peers for action coordination in addition to its own awareness information Therefore awareness needs to be distributed and accessible to any other applications that are interested in this awareness There are two basic methods for distributing the awareness information pull and push Via pull method an application can explicitly query awareness information While via push method an awareness information source pushes information to interested applications through event notification when pre defined conditions meet A detailed discussion of awareness information management in AwareWare can be found in our previous work In the adaptation decision layer a decision engine makes the adaptation decisions based on the context awareness and user defined adaptation policies to satisfy the adaptation goals under the constraints of restricted resources The adaptation policies are written in a high level declarative language by application developers in XML format The script driven policy has several advantages
21. push FComp button there would be a dialog see Fig 12 Select Complete and push Y then the new path is added the firefighter can broadcast this path information out or unicast it to the help center Ped PETS Videol Videol Figure 12 Add a path Figure 13 Select a Path Step 9 Edit a path When a firefighter receives a path he can ignore it if he has no idea if this path is safe or it can modify it if he knows some part of the path is not safe To modify a path first select a path the color of the path would be changed from green to purple and the caption of the FPath button would be changed to RPath Revise Path Push RPath button the caption would be changed to RComp Revise complete see Fig 13 Select the line you think it is not safe and it would be changed to red color see Fig 14 Then push the RComp button you can select ignore this path delete selected line or delete the whole path see Fig 15 4 56 Figure 14 Select a line from the selected line Figure 15 Delete the selected line Fig 16 shows the path after one line is deleted We can also delete another line from the path by using the same method Then we can add a new path as the previous step and merge it to the existing path The completed path is shown in figure 17 Videol Figure 16 The path deleting one line Figure 17 The revised path 4 Development Instructions 4 1 The AwareWa
22. re system UML diagram ParamterTunner Actuator DynamicReconfigurator Sensor XMLParser ADLParser Architecture XMLScript ADLScript 1 _ n x SimpleEvent CompositeEvent AwareSource CompareConditioner BooleanConditioner VL AwareTool EventConditioner DeviceAware NetworkAware N AvailableCPU AvailableBW Hi Figure 18 The UML Diagram of Decision Engine As shown in Fig 18 the adaptation decision layer contains four major function modules a decision engine a composite event model a XML based script parser and an ADL parser which are discussed in details in the following sections AwareWare decision engine has two major classes Parser and Sensor A parser takes script files in XML or ADL formats as the input to the decision engine which generates a set of Sensor objects and adaptation execution layer Actuator objects There are two parser types called the XML Parser and the ADL Parser The XML parser parses the condition part of the adaptation policies or decision logics described in the XML file to construct a set of Sensor objects The ADL parser parses the ADL specification of the software architecture and its dynamic architectural reconfiguration to create a set of Actuator objects Actuator objects and Sensor objects form a subscription and notification paradigm Actuators subscribe to their interested Sensor objects and Sensor objects notify Actuators when their interested events trigger The Se
23. smission session would be constructed to the third firefighter There are two kinds of display information in the layout area fires and firefighters Fires are displayed as cycles Cycle color represents the type of the fire red is normal green is chemical blue is oil and purple is other And cycle size represents the level of the fire Firefighters are displayed as rectangles When a new node joins in the network the firefighters information would be updated automatically Step 4 Add a new fire in the layout In fig 3 the first row of buttons is for fire manipulation In the initial state there are three active buttons Idle Add and OK Push Add the caption of this button would be changed to Comp Complete and Info and Help buttons become active First select the fire position in the layout using stylus this position can be modified at any time before you touch Comp button Touch Info button to set the information of the fire including fire level and fire type see Fig 9 If more firefighters needed we can set the number of firefighters needed for this fire Touch the Help button we would see the Help dialog see Fig 10 The radio button is used to select the number area and the edit box with spin control is used to set the accurate number Videol Figure 9 The fire information dialog Figure 10 The number of firefighters dialog Step 5 Edit a fire in the layout If a fire is sel
24. video conference application Step 6 Repeat step 1 5 in another machine called host2 and start application 2 Step 7 Click the file menu in application to connect to application 2 as Fig 5 Fie E sox E Fie Adaptation Help File Adaptation Help 5 x mj The Mobile Awareware Video Applicatio Connect to Input Remote IP Address E x Connect 128 180 121 94 Connect to a remake application ot Ready 7 Figure 5 Connect to another application Step 7 After connecting to host2 or connecting to itself in this example click start menu to start the data video capture and transmission The left frame will show the local camera video and the connected remote application will show your video view in its right window shown in Fig 6 m The Mobile Awareware Video Application _ m x File Adaptation Help L Proactive architecture change Grab gt Compress E Figure 6 Running status of the video conference application Firefighter training application Platform PC and PDA Operating System Windows XP and Windows Mobile 5 Pre Installed Software Microsoft Visual Studio 2005 MSXML 4 0 Net 2 0 File list Application AwareFFTest exe mods exe Marchlets Grab dll Compress dll Decompress dll Display dll AwareTools AvailableBW dll Adaptation rule script file dcRules xml Component Manager Configuration file cm inf Other support files PtoI dll mdosClient dll
25. ware Microsoft Visual Studio 2005 MSXML 4 0 File list Application AwareVCTest exe ComponentManager exe Marchlets Grab dll Compress dll Decompress dll Display dll AwareTools AvailableBW dll Adaptation rule script file dcRules xml Component Manager Configuration file cm inf Application Usage Step 1 Install all required software in a machine called hostl And put all the files in the same folder of hostl except the marchlets and awaretools which can be put in any folders Step 2 Modify the adaptation rule script file as the user requirements And modify the component manager configuration file to setup the search directory for the marchlets and awaretools Step 3 Double click the ComponentManager exe to start the component manager You will see the following Fig 3 m ini ComponentManager Figure 3 The GUI of component manager application Step 4 Click the Start button to start the component manager It will search and register all the components in the directories configured in the cm inf file Step 5 Double click AwareVCTest exe file to start the video conference application that is called applicationl You will see the following Fig 4 The main frame 15 divided into two sub frames The left frame is view of local video and the right frame is the view of remote video The status bar will show the current actuator and its component connections File Adaptation Help Figure 4 The GUI of the

Download Pdf Manuals

image

Related Search

Related Contents

  Morning Industry QKK-01OB Instructions / Assembly  schnellstartsystem 6-in-1 vc 900 a quick start system 6-in  Saab 9400 Automobile User Manual  取扱説明書  Vendredi 17 octobre - Société Française de Radiologie  GEOMETRIC VOICE - Projetos de acessibilidade do NCE/UFRJ  Densito – Le densimètre compact «multi-talents»  IOMeeting User Guide  

Copyright © All rights reserved.
Failed to retrieve file