EP1166219A1 - Datenanalyse in einem verteilten softwaresystem - Google Patents

Datenanalyse in einem verteilten softwaresystem

Info

Publication number
EP1166219A1
EP1166219A1 EP00918989A EP00918989A EP1166219A1 EP 1166219 A1 EP1166219 A1 EP 1166219A1 EP 00918989 A EP00918989 A EP 00918989A EP 00918989 A EP00918989 A EP 00918989A EP 1166219 A1 EP1166219 A1 EP 1166219A1
Authority
EP
European Patent Office
Prior art keywords
agent
service
data
management system
agents
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
EP00918989A
Other languages
English (en)
French (fr)
Inventor
Zhan Cui
Michael Schroeder
Brian Robert Odgers
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
British Telecommunications PLC
Original Assignee
British Telecommunications PLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from GBGB9907495.7A external-priority patent/GB9907495D0/en
Application filed by British Telecommunications PLC filed Critical British Telecommunications PLC
Priority to EP00918989A priority Critical patent/EP1166219A1/de
Publication of EP1166219A1 publication Critical patent/EP1166219A1/de
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • G06F9/4862Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate
    • G06F9/4875Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate with migration policy, e.g. auction, contract negotiation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5045Making service definitions prior to deployment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5061Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the interaction between service providers and their network customers, e.g. customer relationship management
    • H04L41/5067Customer-centric QoS measurements

Definitions

  • the present invention relates to distributed software system visualisation and analysis and finds particular application in performance visualisation and analysis.
  • Performance visualisation and analysis is used for instance in process management in order to improve management systems.
  • a software agent can be considered as software, supported by hardware, which is capable of performing tasks on behalf of an entity.
  • An agent therefore usually includes data specific to the entity concerned, for instance data representing requirements or capabilities, and means for applying the data in decision-making processes usually involving another entity or system.
  • Such means might for instance therefore include a negotiation process and communication means such as a message handler.
  • Agents in a virtual enterprise may be autonomous, collaborative and adaptive. That is, these enterprise agents are able to take actions without explicit instructions from their users (autonomous), are able to co-operate with other agents when problems are too large and complex for one to solve alone (collaborative), and are able to adapt their behaviours to their users and/or environments (adaptive or learning).
  • Each agent in an enterprise requires resources to carry out tasks and it manages its own resources.
  • Each agent is adapted to carry out particular tasks and it can act on its own according to its current resources and objectives.
  • SLAs Service Level Agreements
  • Agents can negotiate contracts for services based on local assessment of cost vs. benefit.
  • Agents in a virtual enterprise work together to perform mutually-beneficial but complex tasks.
  • an agent performs reasoning over its resources, objectives and its environment. Agents can adapt according to their environment.
  • the performance or behaviour of the system as a whole results from the behaviours of the individual agents and the pattern of contracts in place at a current time.
  • a change in conditions, such as the introduction of new agents and/or services, will result in changes in costs and benefits as perceived by the agents, which will in turn result in changes in the network of contracts and how the whole system behaves.
  • a data management system for use in storing and analysing data generated during use of a process management system in managing processes, said data management system having: i) a request input for receiving a data analysis service request from the process management system; ii) a data input for receiving data inputs of at least two different types from the process management system; iii) a service definition store for storing at least one service definition comprising one or more service requirements, including identification of data inputs required for provision of at least one data analysis service in respect of the service definition; iv) request processing means for accessing a service definition from the service definition store in accordance with a service identifier contained in a received data analysis service request; and v) a data input store for
  • Embodiments of the present invention provide a management system that can be used with pre-existing process management systems to monitor processes at the business process level.
  • Known management systems can monitor systems at the resource level, or are purpose built for a particular process management system.
  • Embodiments of the present invention are considerably more flexible. It is also possible to provide a data analysis service retrospectively, as long as correct data inputs are present in the data input store.
  • each data management service associated with a service definition will also provide visualisation of at least one aspect of the process management system.
  • the data management system will therefore usually further comprise a library for visualisation tools such as graphical user interface tools.
  • the data management system further comprises an input for loading visualisation tools to the library. This allows data management services to be added to the capabilities of the data management system through its lifetime.
  • the data management system associates data inputs with the process management system which has generated the data and comprises means to review the contents of the data input store for entries in respect of that process management system, on receipt of a service request from that process management system.
  • This enables a process management system to make a retrospective service request, for instance for a visualisation service, in respect of a process already carried out.
  • the data management system also has a visualisation tool library, it becomes possible for the process management system to store data inputs by means of a first service request, for a user to load a visualisation tool such as a graphical user interface to the library, and for the process management system then to use the stored data inputs to support the new visualisation tool.
  • Embodiments of the present invention can thus provide the user with powerful tools for use in both visualisation and analysis, leading potentially to establishing new practices and processes, across a multi-platform, multi-functional environment, and this can be done where the environment has been developed independently of the invention, either before or after an embodiment of the invention itself is available.
  • embodiments of the present invention can provide information on the execution of processes, emergent behaviours of adaptive agents, and resource usage across a company's systems.
  • embodiments of the present invention can be brought into use with a system to provide visualisation and analysis services retrospectively in respect of use of the system, and can be adapted very easily to meet new visualisation and analysis requirements.
  • an agent management system (“AMS”) has been developed to provide services to management systems.
  • the AMS is well-adapted to provide services to agent-based process management systems (“APMSs”) and the following description is primarily directed to use of an AMS with one or more APMSs.
  • the AMS uses an agent-based infrastructure which includes three main service agents:
  • MIA Management Information Agent
  • GUIs graphical user interfaces
  • EA Engineering Agent
  • the management policies include negotiation strategies, exception handling policies, resource management techniques and security policies.
  • FIPA ACL messages are mentioned above.
  • FIPA is the Foundation for Intelligent Physical Agents, a non-profit organisation for promoting development of specifications of generic agent technologies that maximise interoperability within and across agent-based systems. It has a home page at http://drogo.cselt.stet.it fipa/.
  • ACL stands for "Agent Communication Language", a FIPA standard.
  • the visualisation system for the AMS is built to be as generic as possible It interacts with APMS agents by exchanging standard FIPA ACL messages With appropriate wrappers, the AMS can be used to provide visualisation and monitoring services to other distributed systems as well (A wrapper in this context is a Java program for transforming data to a format for use by a particular tool It will comprise the name of the tool and a list of the parameters for that tool, usually the data required )
  • APMS agents can load data to an MIA database and, subsequently, can load and run a GUI at the AMS for visualising that data, for instance within the APMS, or can load and run a data analyser
  • An important aspect of the engineering agent is its ability to analyse task breakdown offline That is, it doesn't only monitor task performance at runtime, which is effectively a test at the resource level, but analyses task allocation in the context of the contract This provides analysis of the business process as well as monitoring at the resource level
  • Figure 2 shows the AMS of Figure 1 in more detail
  • FIG. 3 shows a block diagram of a management information agent (MIA) for use in the AMS of Figure 1
  • Figure 4 shows a block diagram of a request processing module for use in the
  • FIG. 5 shows communications paths for delivery of event information from and between agents of an APMS and a visualisation data repository (VDR) of the MIA of Figure 3
  • Figure 6 shows a functional block diagram of the VDR of the MIA of Figure 3
  • Figure 7 shows the relationship between a visualisation agent (VA) of the AMS and the MIA of Figure 3;
  • Figure 8 shows a functional block diagram of the VA of Figure 7;
  • Figure 9 shows a screen presentation of an agency view of an APMS, generated by the VA of Figure 7;
  • Figure 10 shows a flow chart of steps in constructing a domain process view of an APMS, generated by the VA of Figure 7;
  • Figures 11a, b and c show three services provided by agents of the APMS, broken down into business processes;
  • Figure 12 shows as overall service provided by the agents of the APMS as a result of the three services of Figures 11a, b and c;
  • Figure 13 shows an engineering agent (EA) of the AMS and its interactions with other components of the AMS in providing data analysis and screen presentation of the results;
  • Figure 14 shows a flow diagram of filtering and translating proceses for use in the VDR of Figure 6;
  • Figure 15 shows a schematic diagram of a user interface response to a visualisation request
  • Figure 16 shows a protocol for handling messages in the MIA of Figure 3
  • Figure 17 shows a relationship between agent messages and events
  • FIGS 18 to 24 show various process views generated by the engineering agent of Figure 13.
  • the AMS 100 comprises software processes or agents
  • the server 105 is connected to a network 1 10 which can carry TCP/IP messages. Also connected to the network 110 are:
  • the AMS 100 uses agents as its basic building blocks. It interacts with other systems by exchanging messages. It provides to the APMSs 1 15, 120 and to the distributed system 125 the following main functions:
  • An important aspect of the APMSs 115, 120 and use of the AMS 100 is the service level agreement (SLA) between agents.
  • SLA service level agreement
  • a process managed by an APMS 115, 120 is usually too great or complex to be carried out by the resources one agent has available.
  • the agents 172, 175 of the APMSs therefore manage processes amongst themselves (or at least can be represented as doing so) by breaking the processes down into sub-processes and tasks and negotiating SLAs between themselves for use of the resources of multiple agents in support of the overall process.
  • the APMS 1 15, 120 requires the AMS 100 to supply a service to it, for instance visualisation or data analysis, the APMS as a whole will again do so by negotiating an SLA, this time with the AMS 100.
  • An agreed interagent SLA in this environment usually identifies the agents, gives the SLA an identifier, identifies the service to be provided by name, and records the time of start of provision of the service. If there are multiple services and agents involved, this can conveniently be stored as an "Agent-SLA" table.
  • the components of the service itself for instance in terms of tasks to be carried out and conditions to be met such as supply of supporting data, can be stored elsewhere against the service name. For instance service definitions can be stored in an ontology accessible to the agents which require the definition.
  • an APMS 115,120 If an APMS 115,120 requires an AMS 100 to provide a service, it sends a service request message to the AMS 100. In order to support the establishment of the service, the message gives the AMS 100 information about the APMS and the resources and services it manages. The message lists the agents of the APMS 115, 120 and the services that it manages in terms of identity and description. The description goes down to the task level and includes setting out the order in which the tasks must happen. The AMS 100 will store this information, for instance against an entry in an "Agent-SLA" table of its own. Once the AMS 100 and APMS 115, 120 have an SLA in place, it is still necessary for the APMS to supply its own interagent SLA details to the AMS.
  • the AMS 100 requests data from the APMS in accordance with the definition of the service agreed and stores it in its database 155. As long as the data was supplied and was not corrupted or refused for security reasons for instance, the AMS 100 can then use the data in visualisation and analysis at any time on request of the APMS 115, 120.
  • the AMS 100 selects a GUI from its GUI library 156. Importantly, if a suitable or requested GUI is not in the library 156 when a visualisation service is requested, it is possible to load a suitable GUI at a later time and use the new GUI to analyse or visualise data previously loaded to the database 155.
  • a service as described above can also be provided by the AMS 100 in response to a user request. There does not have to be an existing SLA between the AMS 100 and the APMS 115, 120.
  • All agents in the AMS 100 are FIPA compliant. They interact with each other by exchanging FIPA ACL messages.
  • the contents of the messages of the AMS agents 150 are represented by an Event Query Language (EQL).
  • EQL is based on SQL. Details of EQL are described further below.
  • the interactions between AMS agents and APMS agents are also done by exchanging FIPA messages.
  • the contents of those messages are represented by using the Process Interchange Format (PIF) language (a known language which is published on the Internet for example at http://ccs.mit.edu/pif/) and a common shared ontology (shared vocabulary and their semantics) which is also described in later sections.
  • PIF Process Interchange Format
  • the AMS 100 offers services to agents of other systems, as long as those agents are configured to communicate correctly, for instance via interface agents 165, 170.
  • an agent requests a service from the AMS system, it sends FIPA ACL request messages to the AMS system.
  • the AMS 100 Upon receiving a request, for instance from APMS agents, the AMS 100 will decide whether it can provide the requested service. This will be decided on its current resources, if a service can be provided, the AMS will send a positive response with any preconditions. If this is accepted by the requesting agent, an SLA is made.
  • the preconditions specify what the requesting agent has to provide to the AMS 100. For example, if an agent would like the AMS 100 to display the states of an activity over a period of time, it has to give the activity states to the AMS 100.
  • Each APMS 115, 120 provides a management system for a set of processes. For instance, a first APMS 115 together with its processes 145 might provide a workflow-based work distribution system as described in "Agents of Change in Business Process Management" (referenced above). A second APMS 120 together with its processes 140, which may be installed on two or more separate platforms, might provide a business process management system as described in "Using Software Agents for Business Process Management” (referenced above). Importantly, each APMS 115, 120 and the AMS 100 is provided with means to communicate using FIPA ACL messages via an interface agent 165, 170.
  • the distributed system 125 is similar to an APMS 1 15, 120 but is not necessarily agent-based. It also runs and manages processes and is equipped to communicate using FIPA ACL messages.
  • the database 130 represents data accessible via the network 110 and may in practice comprise a plurality of separate databases, accessible by means of one or several database query languages. It carries data to support the processes managed by the APMSs 115, 140.
  • User interfaces 135 are provided. These may be to the AMS, either or both of the APMSs, and via the network 1 10 to any of these or to the distributed system 125. Importantly, visualisation and engineering services provided by the AMS 100 can be run from any one of these user interfaces 135. Alternatively, other agents or processes, for instance within an APMS, might request a service from the AMS 100.
  • the AMS 100 comprises three main service agents 150, the visualisation agent (VA) 151 , the management information agent (MIA) 153 and the engineering agent (EA) 152.
  • VA visualisation agent
  • MIA management information agent
  • EA engineering agent
  • the AMS 100 uses the VA 151 to provide visualisation services to an agent-based system by offering a selection of views of that system to the user. It uses the MIA 153 to provide information services such as long term data storage and access. It uses the EA 152 to provide performance-related services such as analysis and diagnosis of agent performance.
  • the AMS 100 communicates via the network 110 through an interface 170 and data incoming from APMS agents 172, 175 is stored in the database 155 by the MIA 153. This stored data can only be accessed via the MIA 153.
  • the VA 151 has a GUI library 156 available to it.
  • the AMS 100 comprises an EXE 200 and a data analyser 205.
  • the EXE 200 comprises known functionality, used by the VA 151 , to control run-time environments such as maintaining currently active presentation screens and which data is related to which presentation screens.
  • the data analyser 205 may be any suitable data analysis tool to support the engineering agent 152.
  • the VA (Visualisation agent) 151 is responsible for providing visualisation services. For instance, it can generate a set of presentation screens such as bar charts, pie charts and linked graphs.
  • the VA 151 manages the GUI library 156 which holds a collection of data visualisation packages. Any visualisation request, by a user or by an APMS 115, 120 for instance, will trigger the VA 151 to construct presentation screens by using tools in its GUI library 156.
  • the visualisation services provided by the VA 151 can be on-line (real time) as well as off-line (playback). Data required for visualisation services are pushed by the MIA 153, i.e., the MIA 153 sends data to the VA 151.
  • the MIA retrieves the data from its database and sends it to the VA 151 according to an agreed rate.
  • the MIA 153 first transforms the raw data from the APMS agents 172, 175 into a required form, sends it to the VA 151 , and only then stores the data in its database 155.
  • GUI library 156 Key to the visualisation aspects of the AMS 100 is the use of the GUI library 156 to hold a collection of presentation tools and/or software packages.
  • the GUI library is managed by the visualisation agent 151 of the AMS.
  • the visualisation agent 151 Upon receiving a new visualisation request, the visualisation agent 151 will decide whether the service can be provided by reviewing its current commitments and what presentation screens can be constructed from its GUI library.
  • the MIA 153 is consulted as to whether the information can be transformed to a particular representation which a tool requires. If a service can be provided, the visualisation agent will compose the requested visualisation screens.
  • composition of visualisation screens available in response to service requests offers an unlimited number of information views. Users are no longer limited to choose among a fixed number of presentation screens because it is a relatively simple matter to add tools to the GUI library 156. Indeed, the construction of presentation screens from the GUI library according to service requests gives the AMS 100 the capability to offer services which may not have been even envisaged by the system designers. Data from an APMS 115, 120 can be stored at runtime and then potentially visualised at some later date, using a later-developed GUI. It is relatively easy to incorporate new presentation tools into the AMS 100. All that is required is to wrap the tools appropriately ("wrapping" is a known software engineering technique for creating compatible interfaces between a piece of software and an environment for which it was not necessarily built) and load them to the GUI library 156.
  • the engineering agent 152 of AMS provides data analysis and verification services to APMS agent systems.
  • the EA (Engineering agent) 152 is responsible for fine-tuning APMS agents 172, 175 by diagnosing problem causes, checking contract compliance and making recommendations according to its observation of their performance. It interacts with the MIA 153 to obtain historical data from the database 155, with a data analyser 205 to analyse the data and with the VA 151 to display results. Whenever appropriate, the engineering agent 152 also makes recommendations to APMS agent systems 1 15, 120 on how to tune its agents. It can be used to track down causes for a problem and compare the agreed SLAs with the actual services carried out.
  • AMS diagnostic functions are offered as services which can be requested by other agent systems.
  • the MIA 153 has two aspects. It provides information services to APMSs 115, 120 and it provides data services for the VA 151 and the EA 152. To support the data services to the VA 151 and the EA 152, it uses at least one database 155 (an OracleTM database) to store agent activities and their states. This provides data for the visualisation agent 151 to play back any episode of APMS agent activities and for the engineering agent 152 to carry out data analysis. To support the information services to agents or users outside the AMS 100, the MIA 153 can store data permanently on request. Thus, APMS agents can request the AMS 100 to provide permanent data storage, and information about other APMS agents and/or system wide information if security requirements are satisfied.
  • database 155 an OracleTM database
  • the MIA 153 operates to the pre-defined common shared ontology and EQL queries. Any agent can request MIA services which are defined in the pre-defined common shared ontology. Some services to VA and EA are pre-defined so that no negotiation is required for VA and EA to use these services.
  • the question of shared ontologies is a known one and relevant publications are
  • the MIA 153 can be viewed as providing two aspects of functionality and is in fact shown in that manner in Figure 2. It provides a negotiation interface function 170 to the AMS 100 as a whole. It also manages all access to the database 155. If a request is received from an APMS 1 15, 120 to store data, it is the MIA 153 which will receive the request and negotiate an SLA between the AMS 100 and the requesting agent. Subsequently all data under this agreement will be loaded to the database 155 via the MIA 153. If a request is later received to retrieve previously stored data, it is the MIA 153 which will review the request and, if the request is legitimate, retrieve the data from the database 155 and send it to the requesting agent. If an agent requests data to which it is not entitled to have access, the MIA 153 will detect that and respond accordingly.
  • the MIA 153 stores data from APMS agents either in its original form or in a changed form. If a data storage service is requested which is not related to the VA and/or the EA, data is stored in its original form. Otherwise, data is changed into a predefined format before being stored in the database. This includes data for visualisation and/or engineering services. Data for run-time visualisation services is also stored in the database in a changed format unless the requesting agent instructs otherwise.
  • the MIA 153 of the AMS 100 will similarly make an SLA with the requesting agent according to the capability of the EA.
  • the MIA 153 will load all data to be stored under this agreement in its database 155.
  • the EA 152 will retrieve it from the database 155 by means of the MIA 153, carry out the agreed service and then either display the results in a GUI interface or forward them to the requesting agent as appropriate.
  • the server 105 supports a UNIX environment and the AMS agents 150 are implemented in JAVA (see the Javasoft home page at http://java.sun.com/), and OrbixWeb from IONA Inc (see the
  • the use of agents enables the system to scale up.
  • the system can be easily upgraded, and new services can be easily constructed.
  • AMS is implemented based on the platform independent CORBA standard so that it can be contacted by a large number of systems.
  • the database 155 is an Oracle database, accessible using Pro * C and C++ languages.
  • the AMS 100 is principally designed to manage agent-based systems.
  • the dynamic, autonomous and adaptive nature of agent-based systems requires a flexible agent management system.
  • the AMS 100 can provide information about both what has happened and is happening within an agent system, particularly agent interactions, their resource usage and their underlying business processes. It can also provide decision support tools to analyse agent performance and to re-engineer in-service agents to optimise their performance.
  • Agent system visualisation in the AMS 100 has three perspectives:
  • Agent view - states of an agent This includes tasks and resources controlled by the agent.
  • the agency view is that of interactions between the agents 172, 175 within a single APMS.
  • the agent view is of a single one of the agents 172, 175 in an APMS 115, 120 and the domain view is a view of the processes 140, 145 managed by an APMS.
  • Agency view provides users with various views of the interactions between agents. This includes how agents are interconnected, their hierarchies, and communication patterns among them. The interactions between agents should be marked by message types and appropriate links. Agents should be represented as appropriate icons to reflect their types and their task states. It should be easy to see through its state representations whether an agent is idle, active, overloaded, failed, etc.
  • agent systems may employ a large number of agents, the system should be able to show users only those agents they are interested in. Through these views, users should be able to view only those interactions concerning a particular type of message. Important messages should be indicated as such, and the most recently sent messages should be available for user inspection.
  • the user should have access to the contents of any message passed between some specified pair of agents by specifying which messages he or she is interested in.
  • the messages should be displayed or replayed in human-readable form.
  • Users should be able to visualise these in real-time as well as to play back any episode of activities whenever required.
  • the playback should be able to play in slow motion and/or pause modes.
  • Agent view is used to show states of any given agent. Agent states should include at least the following: • Execution states of tasks;
  • Domain View Domain view is used to display any information about the underlying business processes managed and enacted by agent systems. For instance, in the domain view, it is possible to display which of the tasks and/or sub-business processes which together provide a complete business process or task is controlled by which agent. It is also possible in the domain view to animate the execution of business processes, showing which tasks have been executed, which tasks are currently executing and which tasks are going to be executed. The user should be able to obtain details about which agents are responsible for which tasks.
  • the domain view therefore includes:
  • a Contract Compliance View is used to display an instantaneous view of a number of agent agreements.
  • Each task type is represented by a set of bar charts which present different aspects of the business processes with respect to the agents' contracts.
  • a Detailed Contract Compliance View is used to visualise agent agreements and an actual flow of data over a period of time.
  • an example of the AMS 100 used in visualisation might be as follows. (Although the following refers to a selected APMS 120, it could equally refer to another APMS 1 15 or to a different distributed system 125.)
  • An APMS 120 is running, managing tasks and resources such as processes 140. In managing the tasks and resources, messages pass between the APMS 120 and the tasks and processes 140, and between agents 175 of the APMS 120. The agents 175 will also change state.
  • the APMS 120 will have registered those services with the AMS 100. For instance, the APMS 120 will have requested the AMS 100 to store data, including messages and/or states, in the Oracle database 155.
  • the APMS 120 will transmit this data to the AMS 100 in accordance with the current definition of the service requested.
  • the MIA 153 will load this incoming data to the Oracle database 155 in a form relevant to the service, again as currently defined for that service.
  • a user who may be at a personal computer as user interface 135 attached to the AMS 100 or attached to the TCP/IP network 110, or indeed attached to the APMS 120, desires to use the AMS 100 for a service in respect of the APMS 120.
  • the user therefore accesses the service front end and selects, as an example, a visualisation request.
  • the user is now offered a menu of different visualisation services, such as:
  • the user selects, for instance, the agent view by clicking on that item in the menu.
  • This allows the AMS 100 to access a definition of the agent view visualisation service.
  • the definition will require a particular GUI to be loaded from the GUI library 156 in order to present data from the Oracle database 155 to the user in a predetermined manner.
  • the AMS 100 will therefore search the GUI library 156 for the specified GUI. If the GUI tool is present in the library 156, the AMS 100 will start up the tool and use the MIA 153 to access the Oracle database 155 for the data relevant to that visualisation service, again as defined by the ontology library and as specified by the GUI tool.
  • the AMS 100 front end will notify the user that their service request cannot be satisfied.
  • the engineering agent (EA) 152 provides tools for timely analysis of agent performance based on key performance indicators, diagnosis of the causes of problems and the provision of statistics based on past agent performance. In particular tools are provided to:
  • agents e.g. negotiation strategies; exception handling policies; resource management techniques and security policies
  • the EA 152 may classify agents as good and bad workers by applying a threshold of 80% SLAs met for an agent to qualify as a good worker. Failure of a service is defined by the APMS agents and the EA simply provides measurement in that respect. The EA can though add considerable value by identifying agents that are often or consistently failing and thus indicating a possible diagnosis of a problem that needs resolution.
  • the EA 152 is equipped to send messages whose content is determined by the results of these functions and the sending of such messages, and their destination such as the relevant APMS, can be determined by the user.
  • the AMS 100 provides information services to both AMS agents and APMS agents. There are two main requirements:
  • the AMS 100 provides information to any agent if the request is reasonable. However, information security is also provided for instance such that confidential information cannot be accessed by any agent other than the owner. Techniques for this are known and further description is not given here. If an agent stores information, that agent can retrieve it whenever it requests.
  • the information stored in the database 155 is as generic as possible. Some information translation will be provided by the AMS 100.
  • the VA 151 and the EA 152 retrieve information from the MIA 153 by issuing high-level queries and/or Java Database Connectivity (JDBC) queries.
  • JDBC Java Database Connectivity
  • AMS 100 is:
  • the rate of information output can preferably be controlled by the user.
  • the visualisation and engineering system is preferably flexible and able to be used in conjunction with a large number of agent systems or distributed systems.
  • the MIA 153 consists of three modules: a request processing module 300, a visualisation data repository (VDR) 305, and a service management module 310.
  • the request processing module 300 communicates with APMS agents and processes messages accordingly.
  • the visualisation data repository 305 defines methods for storing and retrieving information from MIA databases. It also defines a set of APIs which allow AMS agents to access the database via JDBC query calls and PL/SQL queries.
  • the service management module 310 maintains a record of all VA and EA requests. It is also responsible for sending (or pushing) data to the VA 151 and/or the EA 152.
  • JDBC Information on JDBC can be viewed at http://java.sun.com/products/jdbc/index. html. Information on PL/SQL can be viewed at http://www.oracle.com/ )
  • the functional components of the request processing module 300 are as follows:
  • Communication Defines methods for sending and receiving module 400 messages from and to the APMS agents.
  • IDL-ACL message Messages from AMPS agents are IDL method calls. handler 405 FIPA ACL messages are extracted from these IDL messages.
  • ACL message Processes FIPA ACL messages according to handier 410 appropriate FIPA protocols and extracts message contents. However, contents are not processed here.
  • Contents handler Processes the request according to its current 415 resources and objectives, and responds subsequently. In case of requesting information from MIA database, security check will be performed.
  • ACL-IDL message Wraps up FIPA ACL messages as IDL method calls wrapper 420 and sends them to APMS agents via the send- message function defined in the communication module.
  • a receive messages module 425 defines CORBA IDL interfaces which can be called by APMS agents. These interfaces are implemented as Java methods using the skeleton produced by the OrbixWeb IDL compiler.
  • a send messages module 430 defines CORBA IDL interfaces which can be used to send messages to the APMS agents. These interfaces are also implemented as Java methods using the skeleton produced by the OrbixWeb IDL compiler.
  • VDR 305 At the heart of the MIA 153 is the VDR 305 which captures and stores information from APMS agents. Two types of information may be made available to the VDR from APMS agents:
  • Agent Communication the messages that agents send and receive.
  • the transmitter of information to the VDR could be either the sender or the receiver of the message, or both.
  • Agent State the internal condition of an agent.
  • the transmitter of information to the VDR would (normally) be the agent concerned, whenever its internal condition (state) changes. Note that the concept of 'state' for an agent can be expected to be specific to a particular APMS. It will depend also upon the business monitoring and engineering requirements, agent co- operation policies, and effective authentication measures to protect the privacy of information.
  • a set of APMS agents 175 within an APMS 120 communicates amongst themselves using messages 500.
  • Each agent 175 may undergo changes of state during use of the APMS 120. Both the messages and the state changes are represented as 'events' 505 that occur in the APMS 120 and are transmitted to the VDR 305.
  • the main components of the VDR architecture are the following:
  • the APMS accesses this module via a VDR-store interface 610.
  • an Event Query Language is provided within this module. It allows the VA 151 and/or the EA 152 to define quite complex requests. For example, a query may request every negotiation message that agent A has received since 20:45:50 hours.
  • the data collection module 600 provides:
  • the data retrieval module 605 provides:
  • the filters select out data which will be redundant in the AMS 100. For instance, each APMS agent party to an agreed SLA will notify the AMS 100. Only one event signifying agreement of the SLA is required for the AMS 100 and the filters 615 will discard subsequent events notifying the same SLA.
  • the communication and state translators in the data collection module 600 are configurable to a particular APMS.
  • the syntax of the communication messages and agent states in the APMS are mapped/converted into a standard event syntax by the translators. Semantic mapping is also required for instance to deal with naming discrepancies between APMS agents and the AMS 100 for the same service or task.
  • Visualisation agents are responsible for constructing presentation screens according to requests from APMS agents. They interact with the MIA 153 through a set of APIs. At the highest level, visualisation agents 151 can display agent information in three views: agency view, agent view and domain view. Referring to Figures 2 and 8, the VA 151 interfaces to the MIA 153 by issuing a set of APIs 800 which are EQL queries. In particular, the following APIs are defined:
  • the VA 151 constructs presentation screens according to requests and tools from its GUI library 156. It also keeps track of what presentation screens are currently active and how to feed data to each presentation screen.
  • the four functional components of the VA 151 and their relationships are as follows:
  • Communication interface 800 defines a set of APIs for interfacing with the MIA 153, (see ).
  • Context controller 805 controls requests and decides whether the request can be provided.
  • Presentations constructor 810 constructs the presentation screens if the Context controller has decided that a request can be provided.
  • Presentation EXE 815 enacts the presentation screens 820.
  • the context controller 805 keeps a record of what screens are currently active and deletes them when they are no longer required. By monitoring the screen presentations already open for a user, the context controller ensures that only correct data is sent for those presentations. On receiving a request from a user, the context controller looks to see what is open. If the request requires a new GUI, the context controller provides that, or for instance provides a fail message to the user if it cannot.
  • the way in which the user uses the VA 151 is as follows. The user may access the AMS 100 from any terminal 135, usually via an authentication procedure. The AMS 100 provides a graphical user interface at the terminal 135 by means of which the user can select an operation.
  • This operation might be administrative or for use of the AMS with respect to a specific APMS, depending on the role and requirements of the user.
  • the user will select a visualisation request via the front end GUI of the AMS 100. If the user request comes via an APMS 115, 120, the AMS 100 may be equipped to identify that APMS as the subject of the visualisation request. Otherwise, the user will be prompted to identify an APMS 115, 120.
  • the visualisation request will trigger the VA 151 to deliver browser capability to the terminal 135 for the user so that the user can download selected views of the APMS 1 15, 120 in question.
  • the browser will offer a drop down menu 1500 of the selection of views available via the VA 151 irrespective of the relevant APMS 115, 120. These might comprise the 2D agency view, the 3D agency view, the agent view and the business process view.
  • the VA 151 can build each view using a tool from the GUI library 156 together with data extracted from the Oracle database 155. Selection of a view by a user constitutes a command which then runs the relevant tool.
  • the VA creates files for downloading.
  • the agency and agent views may be created as HTML or VRML files appropriately, and these constructed files are downloaded to the terminal 135 for the user.
  • the business process view is expressed in a more relevant format, such as constructed by a DaVinci TM package. (The DaVinci package is a known graphical visualisation system and information is available over the Internet at URL: http://www.informatik.uni-bremen.de/ ⁇ davinci/docs/overviewF.html.)
  • an agency view presents agents in an agent system and how they are organised and their interactions.
  • agents are depicted by icons 900 and agent interactions (messages and contracts) are indicated by connecting lines 905.
  • icons 900 which represent types of agents in agent- based applications. Each icon is intended to have intuitive meaning and can be selected or reselected by the user. The arrangement of agents in the agency view can be according to the hierarchy in their applications as designed by their designers.
  • the functionality is not limited to displaying messages and contracts. It also includes the ability to select agents, messages and contracts using a mouse pointer or other known means, to 'pull up' more detailed information.
  • agents for example, on selection of an icon 900 a menu allows the user to launch more views to display details of that agent's performance, resource allocation and other internal states. It also allows a user to drill down to agent views and domain views.
  • Configuration options include adding and removing agents from the view, positioning and repositioning the agents to create a clear and intuitive layout and selecting the type of messages or agreements which should be displayed.
  • the functions supporting the agency view consist of four main modules:
  • a node element module responsible for the icons 900 representing the agents on the view panel.
  • the agents are represented at nodes of what is effectively a network.
  • Each node is represented by an icon 900 in the agency view.
  • These icons 900 must be able to adopt any number of appearances in order to express the type of agent being represented. They are moveable, together with the node they represent, by drag and drop operations and capable of being created and destroyed and added or removed from the display by the monitoring application. They are also required to be able to produce pop-up menus should the application require this.
  • a connecting line module is responsible for joining the icons. It allows them to represent any potential interaction between agents in whatever way the application desires.
  • the connecting lines 905 must also be labelled or marked in some way such that the user can identify them. As with the icons 900, the lines 905 must be capable of producing pop-up menus to supply further information and other options to the user.
  • a menu module allows menus to be defined and attached to icons and/or lines.
  • the agent view allows users to inspect information relating to any particular agent. This includes the resources available to the agent, their status, SLAs made and messages sent. This view is attached to an icon 900 or line 905 which represents the agent concerned. Selection of the icon by a user displays pull-down menus with menu items representing various aspects of agent details.
  • the VA 151 retrieves agent details from the MIA 153 and constructs the menus accordingly. When a menu item is selected, details about that particular aspect of the agent will be shown either as text or graphics such as line graphs, bar charts, etc. All agent data used by the VA 151 is retrieved from the MIA 153 which obtains agent states from APMS agents through appropriate FIPA communicative acts and protocols.
  • the VA 151 determines how to present information according to request types and what tools are available in the GUI library 156.
  • the VA 151 maintains a list of events which in turn represent requests. When an event occurs, the VA 151 will check the event, get appropriate data and forward it to presentation screens.
  • the functions supporting the agent view consist of the following main modules:
  • Event module which is responsible for event handling. It keeps a list of events and how to respond when events occur.
  • GUI library module which is responsible for maintaining the GUI library 156. This includes a record of capabilities of presentation tools, adding new presentation tools and deleting existing presentation tools to and from the GUI library.
  • Data translation module which is responsible for transforming data to appropriate forms required by presentation tools.
  • Interface module which is responsible for interacting with the MIA 153. It defines a list of APIs between the MIA 153 and the VA 151.
  • the domain view concerns the underlying business processes enacted by APMS agents.
  • the domain view is responsible for constructing domain processes and displaying them.
  • the domain view can construct business process views from PIF descriptions. If the business process is not in PIF format, domain specific programs have to be constructed manually. The following describes how domain views are constructed from PIF descriptions.
  • Agent services are defined as PIF processes. Services are defined recursively, i.e. a service may be made up of a number of sub-services. Tasks are atomic services. Each agent holds PIF descriptions for the services it offers and the AMS database 155 holds PIF descriptions for the services managed by APMS agents, as loaded when the SLA between the APMS and the AMS has first been agreed. Domain processes are constructed from services made up those domain processes. The construction process is shown in Figure 10. Given an instance "s" of an agent's service, the domain process construction program first gets the service description PIFs from the agent (STEP 1000), and then identifies sub services and which agents offer which sub services. Next, sub service PIFs are obtained from agents in question (STEP 1005). The process diagram is constructed from all the component PIFs by analysing the relations between them (STEP 1010). Finally, the domain process is shown via the DaVinci package (STEP 1015).
  • agent A1 offers Service 1 for which the PIF process is as shown in Figure 11a and Service 2 and Service 3 are offered by agent A2 and agent A3 respectively and are as shown in Figures 11 b and 1 1 c.
  • the process construction program gets PIFs for Service 1 from A1 , PIFs for Service 2 from A2 and PIFs for Service 3 from A3.
  • the process diagram for Service 1 is constructed as shown in Figure 12.
  • GUI Library 156 holds a collection of presentation tools. They can be accessed by the Visualisation agent 151. Each tool has to be wrapped up (as mentioned above) before putting into the library.
  • the details of presentation tools are represented by a vector of objects which specify types of the tools, data formats and how to invoke them.
  • the GUI library 156 may hold for instance the following presentation tools:
  • the EA 152 is responsible for in-service agent engineering and decision support.
  • the overall architecture of the engineering agent is as shown in Figure 13. It has a core processing component for the EA 152 and interfaces to the MIA 153, Oracle database 155, data analyser 205 and the VA 151.
  • the interface to the database 155 is via a wrapping component which provides to the EA 152 a high-level, MIA-independent event query language for retrieving data.
  • Requests may be received by the EA 152 either from an APMS 115, 120, a distributed system 125 or a user via a terminal or personal computer 135.
  • a request identifies the service required of the EA 152 and is received as a message.
  • the MIA 153 which receives and processes all incoming messages to the AMS 100 runs a check on whether data necessary for provision of the service is present in the database 155. If the data is missing, the MIA 153 returns the request for the missing data. If the data is present in the database 155, the MIA 153 passes on the request as a message to the EA 152.
  • the EA constructs an EQL request to retrieve data from the database 155.
  • the data the EA 152 downloads from the database 155 will include the PIF service descriptions for the services managed by the APMS 1 15, 120.
  • the EA 152 will construct a business process from the PIF descriptions, as described above with reference to Figures 11 and 12, and send the constructed process or processes to the data analyser 205.
  • the data analyser 205 may comprise any data analysis tool which can support services the EA 152 may have to provide.
  • An example of such an analysis tool is the concurrency workbench, a semantic based tool for the verification of concurrent systems. Publications in relation to this tool include "The Concurrency Workbench: A Semantics-Based Tool For The Verification Of Concurrent Systems” by Cleveland R, Parrow J, and Steffen, B, published in the proceedings of the Workshop On Automated Verification Methods For Finite-state systems, Lecture Notes On Computer Sciences 407, published by Springer-Verlag in 1989, and "The Concurrency Workbench: A Semantics-Based Verification Tool For Finite-State Systems" by the same authors, published in ACM Transactions on Programming Languages and Systems, TOPLAS, 15 (1 ): Pages 36-72, 1993.
  • the Workbench is also available over the Internet at http://www.dcs.ed.ac.uk/packages/cwb/. It is however necessary to translate business processes expressed in the Process Interchange Format (PIF) to the calculus of communicating systems (CCS) in order to use the Workbench. However, it is then possible to verify properties such as deadlocks, livelocks, safety and liveness.
  • PIF Process Interchange Format
  • CCS communicating systems
  • the EA 152 communicates with the Workbench by making function calls.
  • the EA 152 is capable of displaying various views in relation to business processes managed by agents of the APMS 115, 120.
  • the service request identifies whether for instance the EA 152 should display business processes themselves, for instance using the DaVinci package, whether to display a summary of business processes, for instance using an HTML file or whether to only display information where a problem has been identified.
  • the EA 152 interacts with the VA 151 in order to display information. For instance, the EA 152 may deliver suitable browser functionality to the VA 151 together with content for display via HTML, VRML or DaVinci files.
  • the EA 152 Given data accessed from the database 155, the EA 152 can generate results in various formats. For the agency view, it can produce a 3D trace of the agents' communications and it can also provide a 2D clustering of agents to visualise their closeness, as well as a page containing statistical information on the multi-agent system. For particular agents, the EA can provide a detailed analysis of the agent's performance including a recommendation concerning its workload. For the domain view, the EA 152 provides monitoring of the SLA execution. To realise this service the EA translates the temporal order of business process SLAs into a graphical language understandable by the graphical drawing tool DaVinci.
  • the interface to the visualisation agent 151 is a thin component since the EA 152 provides most results as HTML, VRML, DaVinci pages or Java applets. (It is the applets which deliver the browser functionality to the VA 151.)
  • the engineering agent (EA) accesses data which has been loaded to the database 155 by the Management Information Agent (MIA) 153, processes it and makes it available for presentation to the user or information of other agents.
  • the data available from the MIA comprises sender ID, receiver ID, sending time-stamp, receiving time-stamp, message type, message contents, and application-dependent information " on tasks, services, and service level agreements, etc.
  • the methods to analyse this data can be grouped according to their complexity.
  • the engineering agent provides information on the service level agreements the agents commit to and carry out. It provides statistical data on the number of SLAs agreed to and finally carried out, the amount of time per SLA, overall, minimal, maximal time, etc. According to this data, agents are classified as good or bad workers.
  • the engineering agent can recommend policies to increase the performance of agents. If an agent commits itself, for example, to too much work, but actually carries out little of it, the engineering agent will recommend a more moderate bidding policy for at least that agent.
  • the engineering agent generates the global process (i.e. the overall business process run by the relevant APMS). • Fifth, the engineering agent analyses the agent's processes and may detect deadlocks in the process or verify that the process meets a given specification or satisfies certain properties.
  • the engineering agent provides a 3D visualisation of the agents' communication trace. • Seventh, the engineering agent clusters the agents dynamically according to their distance which is defined by the number of messages exchanged between two agents and which evolves during the performance of the agent system.
  • Filters and translators are referred to above, with reference to Figure 6. Filters are programs which receive messages from external agents and filter out unwanted information. Translators take outputs from filters, transform them into SQL insert statements and populate the database. Filters and translators are application dependent They have to be written for each application Filters take the requirements of current tables and their descriptions and determine whether a given message from an application should be passed to translators If a message is not relevant to any table, the message is thrown away and filters wait for next message
  • Figure 14 shows a flow diagram of the filtering and translating processes
  • AMS agents communicate with other agents by exchanging FIPA messages
  • the transportation is based on the CORBA standard
  • Each agent defines a set of standard IDLs which are required by any CORBA implementation In this particular case, OrbixWeb from IONA inc is used
  • Each FIPA communicative act is represented by a one-way method of IDL interface FIPA_CORBA Each method specifies all possible keywords which may be required by that act The keywords are specified in a fixed order
  • the interface is implemented in JAVA
  • the implementation of each IDL method is responsible to translate this CORBA representation into FIPA ACL
  • AMS deals with requests from external agents These requests are requesting visualisation services, storing information services and analysing agent performance In order to provide certain services, AMS need data from external agents so that FIPA ACL requests to external agents are issued Only a subset of FIPA ACLs are required AMS can process the following FIPA communicative acts
  • Each message has compulsory keywords and optional keywords.
  • the contents language used is PIF.
  • the following is a list of compulsory keywords associated with each message.
  • FIPA messages may obey certain FIPA protocols.
  • AMS FIPA protocol processing is shown in Figure 16.
  • FIPA protocols are represented as Java objects.
  • a protocol object represents an instance of a FIPA protocol, which is defined as a sequence of states. Methods are defined to update the protocol, to get the current state, to get next valid states and to get valid reply states.
  • the protocol handler of the MIA 153 takes an instance of a FIPA protocol, a message and the protocol followed by the message. Upon receiving a message, it extracts the message type, i.e. state in the protocol terms. Then it checks this message against the protocol by comparing the message type with the valid next states which can be obtained given the current state (IDL-ACL handler 405). If the message follows the protocol, the message contents are extracted (ACL message handler 410) and the contents handler 415 is called. If the message does not follow the protocol, a not-understood reply is constructed. After contents processing, the protocol handler checks if the results are valid replies by comparing with next valid reply states. If the reply is not valid, an exception is raised to the contents handler 415. Otherwise, it constructs the reply and then the processing passes to the ACL-IDL wrapper 420.
  • the protocol handler checks if the results are valid replies by comparing with next valid reply states. If the reply is not valid, an exception is raised to the contents handler
  • Event Query language is used by AMS agents to store and retrieve information from its VDR 305. It is based on SQL with temporal information added.
  • AMS uses discrete time points to represent temporal information. This point-based temporal logic is sufficiently expressive to represent events from agent systems. The reason is that all data are captured by messages from agent systems and those messages are sent discretely at particular points in time. Although a point-based temporal logic is sufficient to time stamp messages, it is not flexible or convenient enough to express visualisation and engineering queries. For example,
  • AMS Event Query Language uses SQL to create and to populate database tables. The retrieval parts are extended to allow users to express queries to use an interval logic and an event logic. In the AMS, Allen's interval logic can be used. This was published for instance in ACM Communications 35 (11 ), 1983.
  • the AMS 100 defines a very simple event logic. Services and tasks are the only events. Valid logical symbols are: and, or, before, after and just-after. Their meanings are:
  • the MIA 153 also provides a set of high-level APIs for the VA 151 and EA 152.
  • Typical API queries from these are:
  • This set of queries can be easily defined.
  • resources are tasks.
  • the status of an agent at time ti is the statuses of all its task instances.
  • Task instances in APMS agent systems are predefined. Thus there are a fixed number of task instances at any particular time point or finite time intervals.
  • APIs are implemented in JAVA/JDBC and/or Pro * C/PL SQL. All API functions first parse the inputs, then construct SQL queries and finally returns a set of answers.
  • agent-id agent-id
  • time points H and 12 are derived from time interval i by the API program after examining all time points in the database.
  • oil oil
  • oil oil
  • AMS contents ontology defines a common shared vocabulary which APMS agents 172, 175 can use to construct their requests to AMS agents 150. It defines a set of terms and their semantics. AMS contents ontology is classified into three categories: MIA, VA and EA.
  • MIA ontology includes all table definitions in the MIA database 155 plus the following: store nessage ⁇ agent: a1 , message-type: t1 ,t2, ...
  • VA ontology includes: agency-view ⁇ agent: a1, a2 ... message-type: m1,m2 .. time-interval: start-time: display: 2d or 3d ⁇
  • agent-view ⁇ agent a 1 tasks: t1,t2, ...
  • EA ontology includes: check-SLA ⁇ agent: a1
  • the VDR 305 uses the Oracle database 155 to store information from the agents 172, 175 in the APMS 115, 120. There are two sets of database tables in the VDR.
  • Tables in the first set are used to store inter-agent messages, which are messages sent or received by agents.
  • This set of tables is generic and can be used to store inter-agent messages from agent system, because inter-agent messages of agent systems have similar sub-components. For example, every inter-agent message has a sender and a receiver, and is normally associated with a type such as propose, acknowledge, refuse, etc.
  • Tables in the second set are used to store internal states of agents. Unlike inter-agent messages, agent states are system specific, and cannot be defined without reference to a particular agent system. Therefore, a set of tables has to be designed for each agent system to meet its specific needs.
  • All messages from agent systems are recorded in the VDR database 155 whether they are inter-agent messages or state reporting messages.
  • the VDR 305 uses events to refer both to inter-agent messages and to state reporting messages. Inter-agent messages are simply called messages. In the following, a summary of all tables in the first set and some of the tables in the second set is presented.
  • T1 the time at which agent A sends out the message M T2 the time at which agent B receives the message M T3 the time at which the visualiser receives the notification from agent A, eg. Sending the message M at time T1 T4: the time at which the visualiser receives the notification from agent B, eg. Receiving the message at time T2 T5: the time at which the agent sends its state report to the visualiser T6: the time at which the visualiser receives the status reports from agent C
  • Event Table event table holds every event from agent systems. It has six attributes: event- id, agent-id, a-time, v-time, origin, and system.
  • event-id a unique id. for an event. It is generated by the VDR and is used as the primary key for the event table.
  • agent-id the id. of the agent which generated the event.
  • a-time the time at which the agent agent-id sent or received the message, or sent its state report. For example, if the message was sent by agent A to agent B, and this event was sent to the VDR by agent A, then agent-id is A and the time is the time at which agent A sent the message to B. If the event was from B, then agent-id is B and the time is the time at which agent B received the message.
  • v-time the time at which the VDR receives the event.
  • origin a number denoting the origin of the event. It is 0 if the event was from the message sender; it is 1 if the event was from the message receiver. It is 2 if the event was reporting an agent state.
  • system the agent system id. This is required because we use the same set of tables to record all messages from agent systems.
  • Message Table message table is used to record all inter-agent messages. It is not used to store agent state reporting messages. This table has four attributes: event-id, message-id, sender/receiver and message-type. • event-id: foreign key reference to the event table.
  • message-id message id. used by the agent system. If the agent system does not use message ids., VDR will generate a message id. for every interagent message.
  • sender/receiver agent-id. Its value depends on where the event comes from. If the event was from the message sender, it is the receiver agent id. Otherwise it is the sender agent id.
  • the agent-id of the event table and the agent-id of the message table together provide information of a message's sender and receiver.
  • message-type the type of the message. Message type is very useful information made explicit by the VDR. There are many queries which are only concerned with message types instead of message contents.
  • message-contents table is used to store raw messages. It has two attributes: message-id and message-contents. Although one inter-agent message generates two entries for the event table and message table, the raw message is only recorded once in the message contents table. • message-id: the id. of the message.
  • Tables in this category have to be defined for each agent system. The following summarises some of the state tables for a selected APMS 115, 120.
  • States of the APMS agents 172, 175 reflect the usage of resources which include services, tasks and service level agreements. Tasks have instances, and these instances have execution ids.; each execution instance has states. Services consist of tasks and can also include other services (see Figure 11 ).
  • Agent_Task Table agent_task table is used to record tasks controlled by agents. It uses a composite primary key (agent id. and task type) because many agents could perform the same tasks. Agent_Task_lnstance Table agent_task_instance table is used to record a task and its instances that are controlled by an agent. This table is necessary because instances of tasks can be deleted. Thus there are tasks which do not have any instances.
  • Task nstance Table task_instance table is used to record instance states.
  • the time associated with each state is the time at which the instance starts to be in that state. Thus only the state transition is recorded in the database.
  • agent_service Similarly there is a set of service tables: agent_service, agent_service_instance, service_instance. These service tables are analogous to the task tables above.
  • the other two tables in the second category are service_task table and agent_sla table.
  • service_task table is used to record the association between a service and tasks or other services.
  • agent_sla table records all the service level agreements.
  • An example of an agent_sla table is as follows:
  • the time column of the service_task table can only be instantiated when a service or task is actually run as this is the start time of the service.
  • This section covers the presentation screens, particularly for the "Domain View", coded by the AMS 100.
  • the Agent and Agency views are commented on above.
  • Domain view The domain view shows details about the underlying processes enacted by agents. This includes contract compliance, task and resource usage, business process execution, etc. Typical domain views are shown in Figures 18-24.
  • the contract compliance view shows the work actually carried out as bar charts and the previously agreed amount as a line.
  • the Task Utilisation Chart is in the form of a dynamic
  • a task commitment chart for the Provide_Customer_Quote service is shown.
  • Each line represents a particular task type of the service.
  • the number represents the percentage utilisation of that task type.
  • the numbers represent the task usage at a particular time interval.
  • the Task Commitment Chart shows the task usage as part of a particular service over a period of time. From the presentation of information provided by this BME tool, a manager can see the historical trend of the task usage.
  • the Task Status Chart is a pie-chart showing the relative proportion of tasks (belonging to the same task-type within a particular service) that are in one of the following states: active, idle, in- jeopardy or failed.
  • the Business Process Flow Chart is a flow chart showing the progress of each individual customer's contract.
  • the colour of each box represents the state of the task at that moment in time. Available states for business processes might be for instance: success, active, idle, in-jeopardy or failed. It allows the user to visualise the status of an execution of the overall business process for an individual customer and to drill down to a sub-business process by clicking one of the boxes.
  • sub business process views can be displayed by clicking each task box.
  • an SLA execution graph shows the actual relationship between SLAs.
  • AMS external interfaces to APMS agents are defined as a set of CORBA IDLs.
  • MIA is implemented in JAVA, Pro * C, PL/SQL.
  • VA and EA are implemented in JAVA, HTML and VRML.
  • the packages used are JDBC, DaVinci.
  • MIA also uses an Oracle database.
  • MIA is implemented in JAVA, Pro * C and PL/SQL.
  • JDBC JDBC and/or JAVA native methods.
  • JDBC all database query APIs are defined as JavaEQL class methods. These methods construct EQL queries from API parameters and then pass them to EQL parsers which are defined in JavaEQLParser class.
  • EQL parsers return SQL statements. These SQL statements are passed to JavaDatabase class where these SQL statements are converted to JDBC queries to Oracle databases.
  • Java native methods all database query APIs are defined as Java native methods. These Java native methods are implemented in C. There is one to one correspondence between API queries and C functions. Each API C function parses the query and then calls a Pro * C function to construct a PL/SQL query to access Oracle databases.
  • the service management module 310 manages all VA and EA requests.
  • VA and EA requests are process by class ThreadManagement. It uses a vector to hold a current active request queue. Methods are defined to operate this queue such as inserting a new request, removing a request, and getting request details.
  • Each request is represented by a request object which records details of the request.
  • DatabasePoller class defines methods which can feed data to VA at a given rate. In case of run-time visualisation, all data are forwarded to VA as soon as MIA receives them. If the visualisation is off-line, data are retrieved from databases and forwarded to VA at a particular rate. 6J EA implementation
  • the EA architecture is composed of
  • the information necessary for the EA 152 is loaded to the Oracle database 155 by the MIA 153.
  • MIA 153 Much of the engineering agent's work is physically carried out by the MIA providing high-level information.
  • the EA is provided with the following methods: • initMIA(user,password) connects to the database and returns a statement used as reference by all subsequent calls.
  • getBusyBody(stmt) returns agent names, number of SLAs, average time per SLA, sum of times for SLAs, minimal and maximal time for SLAs, variance of times.
  • getSLAInfo(stmt,name) returns average time per SLA, sum of times for all SLAs, minimal and maximal time per SLA for a particular agent
  • getWorkload(stmt,name) returns capacity, committed and actually carried out workload for a particular agent
  • the interface realises the methods by according views on the database.
  • the engineering agent implements the following services:
  • getAgentOverview() returns an address of a web page with general information of the analysed multi-agent system
  • get3Dtrace() returns an address of a VRML page containing a 3D animation of the multi-agent system's performance
  • get2Dcluster() returns an address of a HTML page loading an applet that animates the agents' closeness evolving over time
  • getAgent(name) returns an address of a web page with information on a particular's agent performance
  • monitorSLAexecutionO returns an address of a page containing a graph in
  • the graph represents the temporal order of SLA execution per business process.
  • Agent overview (EA.getAgentOverview ⁇ ) To give an overview over the multi-agent system, the agents are classified as good or bad workers depending on their carrying out all SLAs they committed to. Additionally, various statistical data on the SLAs is given, such as minimal and maximal time per SLA, average , sum and variance. To judge the closeness of two agents, the agent overview provides a table with the number of messages sent from one agent to another. This table allows identification of active and passive communicative agents.
  • VRML is used to visualise the communication of a multi-agent system, the Virtual Reality Markup Language.
  • VRML allows specification of three-dimensional worlds and animation of the worlds' objects. A three-dimensional visualisation is superior to a two- dimensional one if a large number of agents communicate.
  • the VRML worlds allow the observer to navigate in the world and thus he or she can fly from one clique of agents to the next without losing the overview of the scenario.
  • VRML primitives are used to specify viewpoints, agent and message nodes and clocks. Basically, for each agent and each message a node is created. The agents are located on a circle with the message at the position of the sender. Initially, all message nodes are invisible.
  • a path from the sender to the receiver of the message is specified. Additionally, for each message there is a clock. If a clock is activated, it emits events for one cycle and the message is made visible and traverses from the sender to the receiver during the clock's cycle. At the end of the cycle the message disappears again and the clock of the following message is triggered.
  • Positioning agents on a circle is only useful for a small number of agents. For large agent communities a general positioning algorithm has been developed. A technique called spring embedding is used on a distance table where distance could be inversely proportional to the number of messages exchanged between two agents or the number of interests shared by two agents, or the distance could actually mimic physical distance (which is an interesting option for mobile agents).
  • the distances are seen as gravity forces and in an iteration an agent's "gravity field" is computed and the agent is moved a small step in the corresponding direction. After a number of iterations there is a fairly good approximation to the distances specified in the distance table.
  • the clustering places the agents initially at random positions.
  • each communication between two agents links them with an edge labelled by their actual distance.
  • the labelled (and thus their distance) is decreased.
  • the label is increased.
  • a directed force is computed for every communication for each node. The force is computed by assuming that nodes if not connected repel each other, whereas connected nodes attract each other to reach exactly the distance specified by their label. Once the direction is computed, the node is moved in that direction.
  • Agent information (EA.getAgent(name))
  • a specification defines a general order in which the agents involved may execute their SLAs. For a particular instance of the business process, it is possible to view the actual execution in a graph representation.
  • Processes are specified in PIF, the process interchange format.
  • Bad performance of an agent may be process inherent. That is, if the agents underlying business process is not properly designed, it misses its targets.
  • CCS the calculus for concurrent systems, is used to analyse and verify business process.
  • a verification tool for CCS Given the translation from PIF to CCS, as defined below, and the concurrency workbench, a verification tool for CCS, it is possible to detect for instance whether a process contains deadlocks or matches a more abstract specification.
  • the algorithm treats the process as a graph and traverses it depth-first beginning with the initial activity. In case a node is visited the first time and it has other predecessors an acknowledgement is sent for all predecessor except for the parent node visited in the previous step. Next, the node's action (activity or decision) is carried out and then for each branch leaving the node the algorithm is called recursively. Depending whether the node is an activity or a decision, the results are composed by summation or parallel composition. In the case that the node has already been visited, the acknowledgement sent in the first visit is received. The algorithm is called with the current and its parent node and the set of acknowledgements to be synchronised as arguments. For the initial node no parent is given which is abbreviated as no_parent.
  • Input A set of nodes, i.e. decisions and activies, the successor and predecessor relation succ and pred, and an initial node n.
  • " + CCSSucc2 else CCSSucc CCSSucc + "+” + CCSSucc2 od return CCSAck.n. (CCSSucc)
  • Filters and translators are implemented in Proc * C and PL/SQL. They can also for instance be implemented in JAVA. Filters filter out irrelevant messages by inspecting current database table requirements. Translators extract contents of messages and transform them into Oracle types. Filters and translators are not generically applicable because different agent systems have their own contents languages and syntax. The following describes how they are implemented in Proc * C and PL/SQL.
  • Filters are simple Pro * C programs. They use a structure pointer to represent database table requirements.
  • the structure has three fields: ⁇ agent system, message type, database table ⁇ .
  • the filter program takes a message and determines which agent system the message is from. If the agent system appears in the structure, the message type is extracted. Otherwise, the message is discarded. Then it will decide whether the pair ⁇ agent system, message type> is related to any database table. If the message is related to a table, the filter program calls the translator program. Otherwise, it is discarded.
  • the translator program first determines whether the message is an inter-agent message or an intra-agent message. Then it is passed to either inter-agent message translators or to intra-agent translators according to which agent system the message comes from. Note that translators have to be written for each agent system. In translator programs, each message type is processed by a translation function which extracts relevant fields of the message, then converts them to Oracle types, and finally constructs SQL statements.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)
EP00918989A 1999-03-31 2000-03-29 Datenanalyse in einem verteilten softwaresystem Ceased EP1166219A1 (de)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP00918989A EP1166219A1 (de) 1999-03-31 2000-03-29 Datenanalyse in einem verteilten softwaresystem

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
GB9907495 1999-03-31
GBGB9907495.7A GB9907495D0 (en) 1999-03-31 1999-03-31 Distributed software system data analysis
EP99305546 1999-07-13
EP99305546 1999-07-13
EP00918989A EP1166219A1 (de) 1999-03-31 2000-03-29 Datenanalyse in einem verteilten softwaresystem
PCT/GB2000/001205 WO2000058881A1 (en) 1999-03-31 2000-03-29 Distributed software system data analysis

Publications (1)

Publication Number Publication Date
EP1166219A1 true EP1166219A1 (de) 2002-01-02

Family

ID=26153539

Family Applications (1)

Application Number Title Priority Date Filing Date
EP00918989A Ceased EP1166219A1 (de) 1999-03-31 2000-03-29 Datenanalyse in einem verteilten softwaresystem

Country Status (3)

Country Link
EP (1) EP1166219A1 (de)
AU (1) AU3975300A (de)
WO (1) WO2000058881A1 (de)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10482232B2 (en) 2017-08-16 2019-11-19 Bank Of America Corporation Robotic process automation using controller execution model

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPR464601A0 (en) * 2001-04-30 2001-05-24 Commonwealth Of Australia, The Shapes vector
GB0406401D0 (en) 2004-03-22 2004-04-21 British Telecomm Anomaly management scheme for a multi-agent system
US8489668B2 (en) 2007-11-13 2013-07-16 Intuit Inc. Open platform for managing an agent network
EP3185124A1 (de) * 2015-12-22 2017-06-28 Tata Consultancy Services Limited System und verfahren zum überwachen, einsetzen und verfolgen von autonomen softwarerobotern

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See references of WO0058881A1 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10482232B2 (en) 2017-08-16 2019-11-19 Bank Of America Corporation Robotic process automation using controller execution model
US10783229B2 (en) 2017-08-16 2020-09-22 Bank Of America Corporation Robotic process automation using controller execution model

Also Published As

Publication number Publication date
AU3975300A (en) 2000-10-16
WO2000058881A1 (en) 2000-10-05

Similar Documents

Publication Publication Date Title
US7155715B1 (en) Distributed software system visualization
US6263358B1 (en) Scheduler for a software system having means for allocating tasks
US6266805B1 (en) Visualization in a modular software system
US6314555B1 (en) Software system generation
CN101366018B (zh) 用于从事件流生成报告的方法和计算机系统
Puhlmann Why do we actually need the Pi-Calculus for Business Process Management?
US20090037240A1 (en) Joint Tracking and Tracing and Business Activity Monitoring
Ardissono et al. Fault tolerant web service orchestration by means of diagnosis
Fiadeiro et al. The Sensoria reference modelling language
Abiteboul et al. The AXML artifact model
Taveter Towards radical agent-oriented software engineering processes based on AOR modeling
US9632904B1 (en) Alerting based on service dependencies of modeled processes
US20050198614A1 (en) Management platform and evironment
Hevner et al. The flow-service-quality framework: unified engineering for large-scale, adaptive systems
EP1079320A1 (de) Visualisierung eines verteilten Sofwaresystems
WO2000058881A1 (en) Distributed software system data analysis
Wetzstein KPI-related monitoring, analysis, and adaptation of business processes
Gong et al. Business process collaboration using semantic interoperability: Review and framework
Ardagna et al. Faults and recovery actions for self-healing web services
Alonso et al. Processes in electronic commerce
Cui et al. An in-service agent monitoring and analysis system
Rouached et al. A semantical framework to engineering WSBPEL processes
Albayrak et al. JIAC—A toolkit for telecommunication applications
Akşit et al. Guideliness for Identifying Obstacles When Composing Distributed Systems from Components
Taveter A Technique and Markup Language for Business Process Automation

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 20010910

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LI LU MC NL PT SE

RBV Designated contracting states (corrected)

Designated state(s): DE FR GB

17Q First examination report despatched

Effective date: 20071214

REG Reference to a national code

Ref country code: DE

Ref legal event code: R003

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED

18R Application refused

Effective date: 20120615