Abstract
In ambient intelligence, systems should interact intelligently with users and assist them in integrated and almost transparent way. Hence, planning and context awareness is crucial for building such systems. To cope with the high dynamics and the openness of ambient intelligence environments, representation formalism allowing a run-time analysis and monitoring of plans is required. In this paper, we focus on context awareness and planning ability on ambient environments. First, we outline a formal modeling approach for context-aware planning based upon a hierarchical colored Petri nets formalism. The approach enables the specification of plans through many levels of abstractions. Second, we address the problem of assigning tasks to groups of agents; we describe the use of resulted model in conjunction with contract net protocol to form the collaborative agent networks. Again we show how the formal foundation of this framework allows plan verification and execution monitoring. Finally, we highlight the main aspects of the approach through an assisted healthcare system case study.
Introduction
Ambient intelligence describes situations in which computing and communication ability is spread ubiquitously, among almost every object in our environment. The main desired benefits of this paradigm are; increase our quality of life by promoting safety and comfort, and facilitate our daily activities by creating smart environments. In short, ambient intelligence is a vision about the future when the Artificial Intelligence (AI) will become ambient. However, realizing such vision is very challenging issues; part of the challenge is the need to combine expertise from a multitude of disciplines. From computer science discipline, ambient intelligence combines features and adopts solutions of many researches areas, such as; distributed artificial intelligence, robotics, machine learning, mobile computing, context-aware computing, semantic web, etc.
To anticipate the user’s needs and to provide them with suitable services in integrated and transparent way, ambient intelligence-based systems need to be context-aware. Several definitions of the context have been suggested in the literature. Xin et al. explore the main proposed definitions of this concept [20]. In this paper, we hold the definition given by Dey [9] which looks the more general. Dey et al. define the context as “the set of suitable environmental states and settings concerning a user, which are relevant for a situation sensitive application in the process of adapting the services and information offered to the user”. So context is any information considered relevant to describe the situation of an entity (a person, a place or an object) [10]. A system is context-aware if it uses context to provide relevant services to the user [20].
Apart from being context awareness, ambient intelligence based systems are distributed, embedded with our daily environments and must react in proactive and adaptive way to meet users’ needs. Considering agents and multi-agents characteristics, MAS paradigm is predominantly appropriate to meet ambient intelligence requirements. In fact, an agent has four properties: autonomy, reactivity, pro-activeness and social ability [18]. A multi-agent system is a federation of agents interacting in a shared environment that cooperate and coordinate their actions to achieve their own goals or the global system goals. A MAS design can be beneficial in many domains, particularly when a system is composed of several entities that are distributed or spatially functionally [12].
Planning is an important ability in the design of any intelligent system; it consists of selecting and organizing a set of actions to achieve some goal. Planning is a desired feature in ambient intelligence systems in order to achieve a goal-oriented behavior. In fact, context-aware planning is particularly required to meet ambient intelligence requirements; e.g., allowing systems interacting intelligently, proactively and unobtrusively. Undoubtedly, ambient intelligence can find proper solutions in the adoption of a Multi-Agent planning; where a team of agents cooperates by combining their knowledge, information, and capabilities in order to complete activities they are not able to accomplish individually.
Certainly, the efficiency of planning systems is strongly dependent on the representation of planning problem. When focusing on planning in ambient intelligent environments, a number of issues need to be addressed, among them; i) First, it concerns context modeling given that context must be a part of planning problem representation. Though Context modeling is a key factor in building context-aware and a variety of modeling approaches have been proposed, it is still an open and challenging issue, ii) ambient intelligence are typically very dynamic and open systems, thus, agents have to be able to perform a run-time plans analysis and must be able to monitor theirs execution, iii) When considering ambient intelligence environments contextual planning for multiple agents requires efficient reasoning approach to deal with complex situation that need to plan at a higher level first, then refine after.
In this paper, we focus on context awareness and planning issue on smart environments. We contribute with a context-aware multi-agent planning approach. In this approach we exploit the use of multi-agent systems in ambient intelligence environment and we focus on representing plans using abstraction and decomposition form, by adopting hierarchical task networks (HTN). HTN planning representations [11] allow a distributed planning agent to successively refine its plans as it has more information (about the environment, or about other agents’ plans). Planning is split up into several levels. For each level of abstraction (refinement) the planner generates a plan for a set of cooperative agents. Using this approach, the plan is iteratively constructed by the refinement of a very general plan to a very specific one. Indeed, HTN is suitable for ambient intelligence systems; it offers a natural and flexible way of representation and reasoning to deal with complex situations and incomplete information. We also exploit the capabilities of Petri nets as modeling and analyzing approach for both context–aware systems and multi-agent planning problem. Hence, we outline a formal modeling approach for context-aware planning based upon a hierarchical colored Petri nets formalism. This approach allows a run-time analysis and monitoring of plans. Furthermore, we address the problem of assigning tasks to groups of agents; we describe the use of proposed plan model in conjunction with contract net protocol to form the collaborative agent networks.
The main reasons behind the use of hierarchical colored Petri nets formalism are summarized as follows: First of all, it offers an explicit description of both states and actions. Their semantics are clearly very close to set-theoretic planning domain, where states and actions are the basic ingredients [24]. Secondly, the main advantage of hierarchical colored Petri nets over the other Petri Nets is the possibility to attach data values to tokens, called colors. So that, each token can be associated with attributes. As contextual information is often represented by collection of attributes, by analogy, the adoption of such representation by hierarchical colored Petri nets will be very intuitive using color notion. Furthermore, hierarchical colored Petri nets formal definition of the execution semantics allows the monitoring of the global/local plan and the extraction of relevant information about plan evolution. Plan execution is monitored through tracking the net marking and interprets it (e.g. blocked situation, successful termination). Finally, HTN approach is simply applied through the use of abstract and elementary transitions to represent abstract and primitive tasks.
The remaining part of this paper is organized as follows: the following section briefly discusses main relevant works which are related to our topic. In Section 3, we highlight our modeling and reasoning approach. In Section 4, we demonstrate and highlight the main aspects of the approach through an assisted healthcare system scenario. Section 5 describes the validation and the analysis of implemented case study with CPN tools. Finally, we recapitulate the main arguments and present some outline of our future work.
Literature review
In this section we briefly present relevant works which are related to our focus. We are interested particularly in works on Petri Net-based context modeling and planning for ambient intelligence systems.
Given that, ambient intelligence is multidisciplinary and a new computing paradigm, it has attracted the intention of a large range of researches. However, only few works were interested explicitly on planning ability for ambient intelligence systems. Planning is essential for building any intelligent system. Amigoni and al in have proposed the first solution for planning in ambient intelligence[2]. They have proposed the D-HTN (Distributed Hierarchical Task Network) planner as the most appropriate planner for ambient intelligence systems. The planning is carried by a single agent. They argue that centralized planning is suitable since devices usually have low computational capabilities. Really, for the required flexibility of the system and the number of devices involved, it is obvious that centralized control is not viable.
Ferrando et al. in [25] have presented Context-Aware Multi-Agent Planning (CAMAP) an approach for multi-agent planning based upon an argumentation-based defeasible logic. CAMAP is applied to ambient intelligence environment in the field of healthcare to get the most appropriate course of action based on the contextual information distributed among the agents. This approach is considered as distributed planning since each agent act as planning agent that hold different beliefs written in the form of defeasible facts and rules, and capabilities presented as planning actions. In CAMAP approach, context and ambient intelligence environment is represented based on a state variable representation. Bidot and Biundo in [5] propose an approach for the composition of services for ambient intelligence environments. They introduce the Planning Agent (PA) which encapsulates a search engine for hybrid planning i.e.combination of hierarchical task network planning and partial-order causal-link planning. The ontology is used to describe the smart environment. Like these works [9, 25, 5], we focus on planning ability for ambient intelligence environment. In [5], they focus on using artificial intelligence planning in the context of a distributed, ontology-based framework with a service-oriented architecture approach. In [25], they use the argumentative logic; Again, all the above-mentioned approaches don’t address the plan verification and monitoring problem.
Context modeling and reasoning approaches are required to realize context-aware systems. Over the years, a variety of context modeling approaches have been proposed, the most popular and surveyed ones are; Key-Value Models [27], Graphical Models such as the Unified Modeling Language (UML) [3], Object Oriented Models [28]. Logic Based Models [22] and Ontology Based Models [31]. Each of them has its advantages and also presents certain limitations [30, 4]. Key-value pairs were widely used in many research and distributed services frameworks; this is due to their simplicity and ease of use. However, it lacks capabilities for sophisticated structuring for enabling efficient context retrieval algorithms. Unlike, Key-value pair’s models, concepts and diagrams enabled by Unified Modeling Language (UML) and Object Oriented Models are able to specify relationships. Compared to all these cited approaches, Logic based context models offer a high degree of formality. In this model, context is defined as facts, expressions and rules. It may be composed distributed, but it remains the least used, this is due to the difficulty to maintain partial validation and to the high level of formality. In summary, each of these context modeling approaches has its advantages and also presents certain limitations [30, 4]. From our point of view, contextual information are no more than environmental information which are often called world state or belief state in set-theoretic planning domain [24]. Consequently, when considering planning problem, the Key-value pairs seems to be the closer approach for modeling contextual information.
Recently further emerging approaches using Petri Nets were proposed and they have been recognized as promising context modeling approaches [15]. This is due mainly to both formal and graphical nature, expressiveness, and analytical property of Petri Nets. Modeling with Petri Nets inherently satisfies the requirements of context model, especially the usability of modeling formalisms and representation of relationships among context information [15].
Kwon in [7] have proposed Amended CPN, an extension of Colored Petri Net [19] to model and to analyze the context-aware systems. In this work the system is decomposed into several subsystems as a pattern. Amended CPNs consist on multiple CPNs. Haiouni and Maamri [14] adopt the Colored Petri nets for context aware systems. The formalism was adopted to avoid conflict that can occur among resources sharing. Another Petri nets based approach was proposed by Wang and Zeng [32]. They have also concentrated on resource in context-aware systems. The approach allows the estimation of the minimum and maximum duration time of each activity when the model is built. Petri nets have been adopted in [26] to built context-aware interfaces. Riahi and Moussa proposed a formal approach based on Petri Net to model Human-Computer interactions [26]. Both context and the user’s task are modeled through Petri Net. All these networks supposed to be exploited for the specification of accurate interfaces. The Petri Net used in this approach is the Interpreted Petri Nets. Although these researches [7, 14, 32, 26] have proposed promising Petri net based context modeling approaches, none of these works used the resulted model to tackle the problem of execution monitoring nor tasks allocation among a group of ambient agents.
A part of being a proposing approach for context aware systems, Petri Nets has already been proven useful in more and more domains. Petri Nets come with a set of extensions; with powerful modeling capability and a strong mathematical foundation. It has proven to be effective as modeling and analysis tool for multi-agent systems, e.g. for plan modeling and verification [6], for agent cooperation and resource allocation [17], for modeling the behavior of agents and their interactions [21], …etc. In dynamically changing environments, it is necessary to adopt continual planning approaches in which the activities of planning and execution are interleaved. Thus, to cope with the high dynamics and the openness of ambient intelligence environments, representation formalism allowing a run-time analysis and monitoring of plans is required. Given these raised facts, we believe that formal method based on Petri nets formalism can be beneficial for context aware planning field.
Plan modeling and monitoring approach
Adopting a plans models having hierarchical structure shows promise and flexible way of representation and reasoning. It produces a natural representation for many real-world domains. In addition, as the complexity of planning applications increases, we think that, adopting such structure is more and more needed. Consequently, our plan model used in this paper is based on the hierarchical task network (HTN) approach [7]. In HTN planning, tasks can be either compound or primitive. The plan is represented through many level of abstraction.
Each level contains sub plans or compound tasks to be refined. The lower level contains only primitive tasks which can be executed directly by using planning operators. Higher and intermediate levels contain at least one compound task to be decomposed into predefined sub plans using decomposition methods. As shown in Fig. 1, planning is split up into several levels. For each level of abstraction (refinement) the planner generates a plan for a set of cooperative agents. Using this approach, plan is iteratively constructed by the refinement of a very general plan to a very specific one.
HTN multi-agent planning.
The original Petri Nets proposed by Carl Adam Petri [23] is a directed bipartite graph with two types of nodes places nodes and transitions nodes. Directed arcs are used to connect places to transitions and vice versa. Places represent pre-condition and post-conditions whereas transitions are used to represent actions. Places my contain tokens represented by black dots. The state of the PN is determined by its marking which represent the number of tokens in each place. The modeling with PN offers many advantages such as the possibility to validate certain properties likes vivacity, re-initialization, freedom from deadlock, etc. Tokens are used to define the execution of a net.
There are several extensions of Petri Net where Colored Petri Net [19] is one of Petri net extensions. In contrast to ordinary PN, in which a token are uniform, CPNs can carry complex information by allowing data typing (color sets) and sets of values for each place. The notion of data associated to tokens, offers more natural, flexible and compact description to model many complex systems such as context-aware systems. In the other hand, adding the hierarchical aspect to PN allows complex systems to be naturally represented in a hierarchical manner as a set of sub-modules.
In this paper, we propose an approach based on Hierarchical Colored Petri Net formalism to model and monitor tasks plan. A Plan is a sequence of actions that refer to contextual situation. The planning problem representation is formed by a description of the world, a description of the goal and a description of the possible actions [8]. We define a Context-Aware Task Plan Net
Hierarchical net.
To enable the context-aware planning, the first step is to present the planning domain. Presenting context is crucial in any context-aware planning. As it was mentioned in [16], we argue that contextual information are no more than environmental information often called world state or belief stat (contextual information). Consequently, we present context information in terms of context variables. In what follow, we give some important representations and concepts definition used in our approach. We consider the planning problem as relation between states and actions, so some of the following definitions are adopted from a set-theoretic planning domain [24] which is basically based on two notions, belief states and actions.
Our representation of context is equivalent to a classical planning representation [24]. So the context is represented as a set of variables mapping to a finite domain of values. With the flexibility of token definition, we argue that CPN is a suitable model to represent context and to reason about. Hence a context is a finite and non-empty set of data types, modeled as color sets or colors, this set is noted by
The environment is a collection of context which is modeled as a set of discrete variables. Each variable is a tuple (Vi, Val) such as:
TYPE
Val takes values in its domain:
The sequence of agent tasks in multi-agent systems is described by plans. Based on Colored Petri Nets formal definition [19], we define the Task Plan-Net as a connected acyclic graph having the following structure
P: A finite set of places denote the states within a plan.
CF: Is a color set function. It assigns a color type (set) to each place: E: A
where
The initial configuration is modeled by one or more sources places
The goal configuration is modeled by one (or more) end place (s)
Each task plan
A task modeled by a transition
Enabled task: (a) elementary transition, (b) abstract transition.
An elementary transition fires if:
It is enabled, The task
Task allocation problem in dynamic systems such as ambient intelligent ones, is the problem of assigning a set of tasks to a set of agents, where the agents can enter and leave the system over the time. The contract net protocol is suitable to deal with this opening and dynamic. In this section, we describe the use of resulted model in conjunction with contract net protocol to form the collaborative agent networks.
Contract net protocol [29] enables dynamic and recursive distribution of tasks and resources in an open network of agents and determining their organizational structure. Agents in contract net protocol may play two roles: manager or bidder. For each task the manager searches for bidders to do it. A bidder tables bids to the manager. The manager after evaluating all received bids chooses the most suitable bidder and awards the contract to it.
The contract net protocol is a broadly applicable mechanism and it is one of the important paradigms developed in distributed artificial intelligence for decentralized task allocation. This algorithm has the advantages of conceptual simplicity and proven effectiveness in many real-world applications. However it lacks a formal model for performing bidding and awarding decision. To cover this shortfall, the adoption of Petri nets formalism seems a suitable solution [17].
In applying contract net protocol, we consider that each tasks has to be allocated to only one agent, however an agent can carried out more than one task of tasks plan model. We note that each task and all proposals submitted by agents are also modeled with colored Petri nets.
Call for proposals and bidder’s proposal models
We assume that each proposal concern one task (Fig. 4a). Proposal net and bidder’s proposals net have the following structure: an initial state
Call for proposals and bidder’s proposal models; (a) BPN: bidder’s proposal net, (b) call for proposal.
The Collaborative Tasks Plan model (Fig. 5c) is obtained by merging all selected bidder’s proposals nets (Fig. 5a) and the tasks plan net (Fig. 5b). The Collaborative Tasks Plan net is no more than tasks plan net having additional coordination places (
We obtain the Collaborative Tasks Plan model by merging i) all transitions having the same label into one transition, and ii) all the places having the same label into one place whose marking is equal to the sum of markings of these places. We use the operator to denote the merging of two or more Petri net models;
Merging tasks plan model and proposal models; (a) selected bid’s net, (b) tasks plan net, (c) collaborative tasks plan net.
The proposed Task Plan Net is appropriate to handle the following assumptions, usually needed in many multi-agent societies:
Each agent has incomplete information about the world, Data and capabilities are distributed over agents composing the whole system, Since each agent has a limited point of view and limited capabilities, they must collaborate to achieve a global goal, There is no global system control.
Having represented the plan into an equivalent Task Plan Net model, we now discuss how to use the obtained net to monitor plan execution.
The state of the plan is given by the marking of the plan net. The marking of places is updated by monitoring the environment conditions, and/or by firing transitions (means tasks execution).
Each agent monitors a sub plan modeled by a sub net, including a set of tasks for which it is responsible for (no global system control). Plan execution monitoring is realized by controlling the sequences of firing via token passing over the net. State of sub plan execution is communicated with the direct supervisor agent in the hierarchy (Fig. 6 step 2). Obviously, to communicate with appropriate agent, each agent maintains knowledge about a part of its organization.
Using task plan net to model and monitor plan.
The monitoring consists of the following repeated cycle:
Create an instance of Task Plan net. Put appropriate tokens in start places if necessary. Fire the Petri net until no more transitions are enabled. Examine the Petri nets and interpret the current result.
Abstract transitions represent composed tasks, or tasks assigned to other agents. Abstract transition fires if: 1) it is enabled, 2) the tasks T is successfully being accomplished by the executor agent. This latter condition is modeled by the reception of the event (confirmation message) from the executor agent to confirm that a task has successfully been executed.
Firing an enabled transition
Ambient intelligence can be applied in any dynamic environment where there is a need to manage tasks and automate services (e.g., hospitals, schools, homes, offices). Home is one of the ideal places to apply ambient intelligence vision. Smart homes represent the ideal solution for individuals with different needs and abilities (e.g. child, old, blind, People with reduced mobility). One of the main expected benefits of this technology can be Increasing safety, e.g., by automating specific tasks that old persons or individuals with disabilities can’t perform them, offering a permanent peoples monitoring, and so on. In this section we try to illustrate our approach through smart home healthcare systems, a simple typical example that requires a context aware multi-agent planning and highlight the essential points proposed in our approach.
Scenario
Let us consider the following situation; Adam, the owner of the home, is an elderly person living alone and suffering from many chronic diseases. The home is equipped with smart devices and sensors forming an ambient intelligence system embedded to monitor the health state of this person. The system detects the following anomaly information: the person is hypoglycemic (i.e., the glucose level is too low). This critical situation claim an automated planning process, that: i) call an emergency center (this task is represented by a transition T2 ii) inform the closest family member or friend (represented by transition T1), iii) the Emergency medical personnel staff offers an emergency pre-hospital medical care services and move the patient to the hospital if necessary (represented by transition T3). As we can see, this situation needs the intervention of many entities, each one has a limited point of view and limited capabilities; accordingly they must collaborate to achieve a global goal. However, all collaborated agents must communicate to direct supervisor agent some relevant information about their partial plan in which they are responsible. Planning agent has to collaborate with other agents to accomplish the tasks T1, T2 and T3. T1, T2, T3 are represented by abstract transitions, since they will be allocated to other agents having the required knowledge and capacities to carry out these sub-goals. Two synchronization transitions T0, T4 are added to denote the starting and the terminating events of plan. The transitions of Fig. 8 are listed in Table 1.
Plan modeling
Figure 10a shows the initial Task Plan model (first level of abstraction) of the above described situation (created and simulated using CPN Tools1). This net is defined as follows:
Transitions meaning
Transitions meaning
Selected bid’s nets.
To achieve tasks denoting by the abstract transitions T1, T2 and T3, planning agent tries to map from a set of these tasks to the set of agents. Applying the contract net protocol, the planning agent plays the role of a manager and searches for bidders to do each composed task. A bidder tables bids to the manager. The manager, after evaluating all received bids chooses the most suitable bidder and awards the contract to it. Three agents; Ag2, Ag3, Ag4 have been selected to execute respectively T1, T2 and T3. Figure 9 illustrates the three selected bids using colored Petri nets.
The places P’2a, P’3a and P’4a encapsulate information about an agent who will refine or execute the abstract transition. This information is represented as token containing agent identification, task identification; The marking of these places is given as follows:
We are now forming the collaborative task plan by merging the three proposed bids in Fig. 7 with the task plan of Fig. 8a. The obtained net will be verified and analysis before awarding contract agents Ag2, Ag3 and Ag4. The obtained net is given in Fig. 8b.
Task plan model (first level of abstraction); (a) the task plan net, (b) the collaborative task plan, (c) the corresponding declarations in CPNTools.
Task plan model: second level of abstraction.
After creation of the Task Plan model, planning (Ag1) puts the current contextual information as a token into a start place of CPN model (initialize the net). Ag2, Ag3 and Ag4, in their turn, create their local plans net. Each local plan model contains details about how accomplishing T1, T2 and T3 (Fig. 9b, c, d).
Note that each task plan has one ready state, one finished state and several processing states. For example, the Petri net model for step 1 consists of one ready state (P1); one finished state (P7) and following processing states (P2, P3, P4, P5, P6).
Each agent maintains and monitors just its local plan which represents a part of global one. The monitoring consists of interpreting the current marking net. All plan models now are generated, the execution is triggered. The beginning of the execution is denoted by putting tokens in starting places.
The marking of starting stats is: M (P1,P2, Pa2, Pd2, P3, Pa3, Pd3, P4, Pa4, Pd4, P5, P6, P7)
Discussion
One of the major strengths of Petri nets is that allows analysis of many properties of modeled systems. Analysis permit to prove that certain required properties are satisfied (e.g liveness, reachability of a specific marking) or some undesired ones are absent (e.g., deadlocks). Based on their formal representation, it is possible to check at run-time the soundness property. The plan net is sound if: i) all generated tasks remain executable starting from initial state; ii) the plan is finite and iii) the plan is feasible.
The first requirement is guaranteed by verifying liveness property of the net. A net is said to be 1-live if every transition can become enabled and fired from the initial marking
Summary of the related work
Summary of the related work
An extract from CPN tools state space report.
These properties can be verified using state space method [19]. The generated state space report under CPN tools shows that the obtained model satisfy the required properties, indeed, the model is bounded, reachable, and no “dead transition is detected. An extract from a state space report is shown on Fig. 10.
This paper demonstrates how to use Petri nets for context-aware multi-agent planning. Context-awareness refers to an application’s ability to adapt to changing circumstances and respond based on the context of use. In the existing literature, different methodologies for the design of context-aware systems have been proposed. Although some works like [7, 14, 32, 26] have already proposed Petri net based context modeling approach, our work is differentiated from them. In this work we focus on planning ability and we address different and/or additional issues, e.g. task allocation among agents or plan monitoring.
A highly dynamic and open system necessitates run-time analysis, validation and monitoring of systems behaviors. The major benefits of our approach lie in the formal foundation of Petri nets. The formal definition of the execution semantics allows the monitoring of the global/local plans. By using Petri nets, plan execution is monitored through tracking the net marking and interpreting it. Similar to our approach, [2, 25, 5]focused on planning ability for ambient intelligence environment. However, we note that none of them has addressed the plan verification or monitoring problem.
Furthermore, unlike these approaches[2, 25, 5] our approach offers the possibility of using the resulted models in allocating tasks to agents and forming the collaborative agent networks. Similar to our proposed approach, [17] combined the capability of collaboration and coordination offered by contract net protocol with the advantages of Petri net theory in the modeling and analysis concurrent, synchronous and/or asynchronous activities. The aim of the work presented in [17] was to augment the contract net framework with a cooperation mechanism. Hence, they focused only on cooperation mechanism for manufacturing systems instead of planning. Finally, we point out that the formal foundation of our approach make the extension possible to address others issues, e.g. how to efficiently use the available agents and their resources (such as energy reserves) when allocation tasks to agents.
Table 2 summarizes the common axes between our work and the works explored in this section and including others mentioned in Section 2. To the best of our knowledge, none of the existing approaches considered all of these topics. The novelty of this work is the combination of all the topics into the same framework. In this paper, we focus on planning ability; we define a Task Plan Net based on hierarchical colored Petri nets modeling language to model and monitor plans. We show how the proposed scheme allows agents to cooperate to achieve a global plan in agent-based ambient systems. Then we use the resulted plan model in conjunction with contract nets protocol to form the collaborative tasks plan net. This latter allows planner agent to verify the main properties of the plan, and to talk relevant information about its evolution and about a set of agents involved on.
Supporting users in their daily lives by creating digital environment that react in smart, proactive and transparent manner is becoming more and more important in our days. Collecting and representing contextual information and reasoning techniques are important to build such systems. In this paper, we have proposed a context multi-agent planning approach for ambient intelligence environments. We have defined a Task Plan Net based to model contextual information and reason about. Hierarchical aspect of plan allows a dynamic decomposition of a global plan in a distributed manner through many levels of abstraction and among several collaborative agents. By this way, we allow the planning agent, running in partially known environments, to built incomplete plans now, and searching for other agents to be responsible of part of planning problem. To find these agents, contract net protocol has been adopted in this work. The contract net protocol has proven to be effective in a wide range of real-world applications. It enables dynamic and recursive distribution of tasks and resources in an open network of agents. So we think that it is a suitable technique that can deal with the openness of ambient intelligence systems, where the number and type of agents (devices) can change continuously in the system.
Petri Net formalism and its extensions have also been successfully used for modeling and analysis behavior of various complex dynamic systems. Adopting such formal formalism for plan modeling is suitable, since it allows the verification of some interesting properties of the generated plan. Other benefit is the possibility to monitor plan evolution. Plan monitoring is needed in open and dynamically changing environments such as those proposed by the ambient intelligence paradigm. Execution monitoring is so needed to deal with new discovered information providing conflicts between planning decisions and environmental reality.
In this paper we have focused on how representing and monitoring plan. There are some issues that need further consideration. One of the challenging issues is how to expend the proposed approach to deal with the challenges represented by dynamic changes in contextual information. How the planner computes the relevant changes of the environment regarding the current plan to decide whether a plan net repair is needed [13], and how a plan net repair process can be addressed, are still open problems.
Footnotes
CPN Tools:
Authors’ Bios
