CN101222394B - Scene perceptive service application layer system facing intelligent household surroundings - Google Patents
Scene perceptive service application layer system facing intelligent household surroundings Download PDFInfo
- Publication number
- CN101222394B CN101222394B CN2007101909365A CN200710190936A CN101222394B CN 101222394 B CN101222394 B CN 101222394B CN 2007101909365 A CN2007101909365 A CN 2007101909365A CN 200710190936 A CN200710190936 A CN 200710190936A CN 101222394 B CN101222394 B CN 101222394B
- Authority
- CN
- China
- Prior art keywords
- agent
- layer
- scheduling server
- service
- user
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The invention discloses a context-awareness service application layer system facing to intelligent family environment, which uses a sensor to acquire environmental information and adopts Agent technology to manage the own control information of a computer node; the control information and the environmental information are combined to context information which is collected to an intelligent scheduling server termly. With the help of the ontological technology, the intelligent scheduling server can build a model for the collected context information. When a user request is reached, according tothe model of the context information, the intelligent scheduling server infers, selects and schedules the best Agent aggregation. The system uses Web Services technology to provide a uniform and openservice releasing and transferring interface with good expandability; any service which is realized according to a Web Services standard can be seamlessly integrated to the system to expand the functions of the system in order that the system has context-awareness capacity and good openness, expandability and efficiency.
Description
Technical field
The present invention relates to serve the application layer system, particularly a kind of towards the wired home environment, possess the context aware function, and open, extensibility favorable service application layer system.
Background technology
The wired home environment is to be platform with the dwelling house place, utilize network technology as transmission medium, mainly merged artificial intelligence, communication protocol, wireless and mobile technology, service is integrated and the theory and technology in each field such as equipment automatization energy, tries hard to build comfortable, safe a, intelligent dwelling environment easily.On software view, the wired home environment is made up of network layer and service application layer, and the present invention is primarily aimed at the service application layer.Existing service application layer system towards the wired home environment all exists weak point aspect open, extensibility and efficient.
Web service is based on an Internet technical standard network access interface that set up, that function of application is provided.Its effect is equivalent to a level of abstraction, has shielded such as the application platform details relevant with programming language.In other words, Web service offer unification of higher layer applications, transparent and convenient expansion interface---any individuals and organizations can issue and call on any platform Web service.
Certainly, the function of single Web service is limited after all.With the Web service of each organizations and individuals issue combining and scheduling effectively, the energy and the potentiality of Web service could have really been given play to.The method of manual combining and scheduling Web service is difficult to adapt to dynamic environment.Therefore, need dynamic, an adaptive service combination and scheduling mode.
Agent (ageng) is a kind of software entity of surviving in execution environment.It has the perception of environmental change and adaptability to changes, and can communicate with other Agent in the environment and cooperate.Agent is the representative of user or computer node, and it plays a part control and Management Calculation resource (such as service and contextual information etc.) simultaneously.
Context aware is the basis of general fit calculation.The calculating node that general fit calculation is faced is isomery often, and be arranged in dynamically, distribution and mobile environment (the wired home environment is exactly a good example).For suitable service is provided in such environment, at first to understand such as information relevant such as peripheral user, equipment with computing environment and interaction mode, this is a context information.And system needs the ability of context information being carried out reasoning, and then improves the adaptive ability of service behavior, with the dynamic change that conforms.Context aware be to context information gather, modeling, reasoning and adaptive a series of process.
Ontology be a kind of can be on semantic and knowledge hierarchy the modeling tool of descriptor system concept model.The target of ontology is to obtain, describe and represent the knowledge of association area, and the common understanding to this domain knowledge is provided, and provides the clearly definition of correlation between these vocabulary from the formalization pattern of different levels.At present, W3C (World Wide Web Consortium) has formulated the body standard modeling language OWL towards Web, describes the context information that has semanteme with ontology and is undoubtedly most suitable.
Each tool advantage of above-mentioned technology should merge well, forms the application service layer system of a hierarchy type.
Summary of the invention
Technical problem to be solved by this invention is: at serving the application layer system in the existing wired home environment in the deficiency aspect opening, extensibility and the efficient, a kind of service application layer system that has the context aware function in the wired home environment with realization that the general fit calculation technology is applied to is proposed, make it when having the context aware ability, have good opening, extensibility and efficient.
The service application layer system of the context aware towards the wired home environment of the present invention comprises:
(1) network and sensor layer: this layer is positioned at the bottom of whole system, constitute by computer node and sensor node, sensor node is monitored environment incessantly, and monitoring result sent to Agent under it as environmental information, communicating to connect between the computer node constituted the network layer of wired home environment;
(2) Web service layer: be positioned on the network layer, this layer is made up of the Web service that is positioned on each computer node, the user only need follow Web Services standard, can on any computer node, issue the service of oneself, meanwhile, the user also can seamlessly add the system of entering with Web service, with the function of expanding system to the Agent registration service on this computer node;
(3) Agent layer: the Agent in the Agent layer is positioned on each computer node, and Agent management and control are distributed on each Web service on the local computer machine node; And collect context information in its place computer node certain limit, and mainly provide by transducer, also comprise control informations such as the load of this computer node self and QoS, and gather to the intelligent scheduling server termly; In addition, Agent has the ability that intercoms mutually and cooperate, and can work in coordination with the task of finishing appointment;
(4) intelligent scheduling server: the intelligent scheduling server is the core of whole system, it is responsible for gathering and safeguarding the context information of each node, and use ontology that it is packed, make the richer semanteme of context information, when the user asked to arrive, the intelligent scheduling server was dynamically selected the best Agent that can a finish the work set according to the context information model, Agent in this set cooperates mutually finishing the work, and the result is returned to the user; Intelligent scheduling server record and the Web service distribution situation of safeguarding whole system, it is by mutual with the Agent layer, by Agent scheduling and management Web service;
(5) user's requesting layer: user's request shows as the form of a user Agent at this layer, this user Agent representative of consumer is submitted user's request to the intelligent scheduling server, finish user's task requests by the Agent in the intelligent scheduling server scheduling Agent layer, and return final result.
The present invention uses the sensor acquisition environmental information, the control information of adopting the Agent technology to come supervisory computer node itself, with sensor acquisition to environmental information form the context information of this Agent compass of competency, and gather to the intelligent scheduling server termly.The intelligent scheduling server carries out modeling by ontology to the context information that gathers.When the user asked to arrive, the intelligent scheduling server carried out reasoning according to the context information model, selected and dispatch the best Agent set that can finish the work.The Agent that is scheduled gathers spontaneously, finishes the work synergistically, and result of calculation is returned to user Agent.Simultaneously, system uses Web Services technology, provides a unification, open, extensibility favorable service issue and calling interface, any service that realizes according to Web Services standard, can seamlessly add the system of entering, with the function of expanding system.(comprising record and scheduling etc.) controlled and managed to Web service on each computer node by the Agent that is positioned at this node, and the intelligent scheduling server is safeguarding dynamically that then one " Agent-service " is to tabulation.That is, each Agent writes down the service scenario of its place node, and the service distribution situation of the intelligent scheduling server record overall situation.
Description of drawings
Fig. 1 is the structure chart towards the service application layer system of the context aware of wired home environment;
Fig. 2 is the schematic diagram that Agent of the present invention collected and gathered context information;
Fig. 3 is the intelligent scheduling server among the present invention carries out maintenance and management to context information a schematic diagram;
Fig. 4 is in the present invention, a new service is added the flow chart of the service issue of the system that enters;
Fig. 5 is the workflow diagram of a simple application example of the present invention.
Embodiment
As shown in Figure 1, service application layer provided by the invention system comprises following part:
(1) network and sensor layer: this layer is positioned at the bottom of whole system, is made of computer node and sensor node.Sensor node is monitored environment (such as temperature, humidity etc.) incessantly, and monitoring result is sent to Agent under it as environmental information.Communicating to connect between the computer node constituted the network layer of wired home environment, and this is a LAN system.Certainly, this local area network (LAN) links to each other with the wide area network (as Internet) of outside;
(2) Web service layer: be positioned on the network layer, this layer is made up of the Web service that is positioned on each computer node, has good opening and extensibility.Any tissue or individual only need follow Web Services standard, just can issue the service of oneself on any computer node.Meanwhile, the user also can seamlessly add the system of entering with Web service, with the function of expanding system to the Agent registration service on this computer node;
(3) Agent layer: the Agent in the Agent layer is positioned on each computer node, and they have the function and the responsibility of many aspects.At first, each Web service that Agent manages and control (comprise and call and register or the like) is issued on local computer nodes; Secondly, Agent collects the context information in its place computer node certain limit, is mainly provided by transducer, also comprises control informations such as the load of this computer node self and QoS, and gathers to the intelligent scheduling server termly; In addition, Agent has the ability that intercoms mutually and cooperate, and can work in coordination with the task of finishing appointment;
(4) the intelligent scheduling server of realization context aware: the intelligent scheduling server is the core of whole system, and it is responsible for gathering and safeguarding the context information of each node, and uses ontology that it is packed, and makes the richer semanteme of context information.When the user asked to arrive, the intelligent scheduling server was according to the context information model, dynamically selected the best Agent that can a finish the work set, and the Agent in this set finishing the work, and returns to the user with the result by mutual cooperation.Intelligent scheduling server record and the Web service distribution situation of safeguarding whole system.But its is direct called Web service, but by mutual with the Agent layer, dispatches Web service on its place node by the Agent in the Agent layer, to finish the work.
Since the present invention towards be the wired home environment, so selected the intelligent scheduling server of a centralized realization.
(5) user's requesting layer: user's request shows as the form of a user Agent at this layer, this user Agent representative of consumer is submitted user's request to the intelligent scheduling server, finish user's task requests by the Agent in the intelligent scheduling server scheduling Agent layer, and return final result.
Fig. 2 has showed that the Agent among the present invention collects and gather the process of context information.Each Agent is responsible for administering all the sensors and the computer node itself in its place computer node certain area coverage.Transducer is gathered environmental information (as temperature, humidity or the like) without interruption, and sends to Agent place computer node.Agent receives these environmental informations, it is carried out certain processing, and be temporarily stored on the local computer nodes.Meanwhile, Agent is responsible for collecting control informations such as the load, QoS of its place computer node, is temporarily stored in this locality equally.The control information of environmental information and computer node self constitutes total context information.Agent sends to the intelligent scheduling server with temporary context information termly.By intelligent server gather, modeling, and carry out reasoning and scheduling.
In Fig. 3, described the intelligent scheduling server to context information gather, modeling, and the process of dispatching.The intelligent scheduling server Agent from each computer node termly receives context information in its compass of competency, and the context information that all Agent are provided gathers.The context information that gathers is with the form storage and the tissue of simple table.Then, the intelligent scheduling server uses ontology that the context information that gathers is packed and modeling, makes up standardized, as to be rich in a semantic information ontology model.When user's task requests arrived, the intelligent scheduling server carried out reasoning and deduction to the ontology model of context information, the best Agent set that selection can be finished the work.Here " best " is a comprehensive evaluation result, comprises the comprehensive expectation of the context information of service function, link-quality, load and environment of living in and linguistic context to the place node.And the Agent set of selecting at last often is not the minimum Agent set that can finish the work, but has considered such as failure condition and fault-tolerant processing such as node damages.Selected Agent set forms a self-organizing group that finishes the work, and finishes appointed task spontaneously, collaboratively, and final result of calculation is returned to user Agent.
Fig. 4 has shown the service issuing process that a new Web service (Web service 4 among the figure) interpolation is entered system.Service is at first with Web Serviees standard pack and structure.Then, this service is issued on some computer nodes in system, and this needs the process of a registration.That is, the Agent on the notice local computer nodes has new service to add, and allows the service distribution of the intelligent scheduling server update overall situation tabulate.This process is as follows: at first, serve the publisher registers information on services (step 1) from its issue to Agent; After local Agent receives register requirement, upgrade the local service situation tabulation that it is safeguarded, the details of new service are added come in (step 2); Then, this Agent sends register requirement to the intelligent scheduling server, and the service list after will upgrading sends to intelligent scheduling server (step 3); At last, the intelligent scheduling server upgrades the Web service tabulation (step 4) of this Agent place computer node in the system service distribution situation table that it is safeguarded.
Fig. 5 is a simple example of using of the present invention.The user proposes a task requests (step 1) that the bmp file is converted in batches to the jpeg file to the intelligent scheduling server.This task need be called 6 sub-Web services and finish (reading file service: rdbmp service, color gamut conversion service: rgb2ycc service, quantised samples service: down service, discrete cosine transform service: dct service, huffman coding service: huffman service and written document service: write service).After the intelligent scheduling server carries out reasoning to the ontology model of context information, 6 best Agent (being respectively Agent 1, Agent 2, Agent 3, Agent 4, Agent 5 and Agent 6) of this task have been selected to finish.Subsequently, the intelligent scheduling server sends the bmp file in this Agent set first Agent:Agent 1 (step 2); Agent 1 calls the Web service rdbmp (step 3,4) on its place computer node, and result of calculation is sent to the input (step 5) of next Agent:Agent 2 as its calculating; Agent 2 calls the Web service rgb2ycc (step 6,7) on its place computer node, then result of calculation is sent to next Agent ... said process carries out successively, to the last the jpeg file that Agent:Agent6 obtains converting behind the Web service write (step 18,19) that calls on its machine node.At last, Agent 6 returns the Agent to the user with this jpeg file.
Notice that the intelligent scheduling server only communicates with mutual with the Agent layer, and directly do not call the Web service on certain computer node.Agent on each node manages and calls the Web service on its place computer node, finishes its required function.
In addition, it is simple for what illustrate that this uses example, fault-tolerant processing do not taken into account.Selected Agent set only is the minimal set that can finish the work.In real system, the selected Agent set of dispatch server should be the superset (redundant Agent is as alternative Agent) of minimal set of can finishing the work, to consider the failure condition of computer node.
Claims (3)
1. service application layer system towards the context aware of wired home environment, its feature comprises:
(1) network and sensor layer: this layer is positioned at the bottom of whole system, constitute by computer node and sensor node, sensor node is monitored environment incessantly, and monitoring result sent to Agent under it as environmental information, communicating to connect between the computer node constituted the network layer of wired home environment;
(2) Web service layer: be positioned on the network layer, this layer is made up of the Web service that is positioned on each computer node, the user follows the service of Web Services standard issue oneself on optional computer node, meanwhile, the Agent registration service of user on this computer node, the system of entering is seamlessly added in Web service, with the function of expanding system;
(3) Agent layer: the Agent in the Agent layer is positioned on each computer node, and Agent management and control are distributed on each Web service on the local computer nodes; And collect the interior context information of its place computer node certain limit, and mainly provide by transducer, also comprise the load and the QoS control information of this computer node self, and gather to the intelligent scheduling server termly; In addition, Agent has the ability that intercoms mutually and cooperate, and can work in coordination with the task of finishing appointment;
(4) intelligent scheduling server: the intelligent scheduling server is the core of whole system, it is responsible for gathering and safeguarding the context information of each node, and use ontology that it is packed, make the richer semanteme of context information, when the user asked to arrive, the intelligent scheduling server was dynamically selected the Agent set that can finish the work according to the context information model, Agent in this set cooperates mutually finishing the work, and the result is returned to the user; Intelligent scheduling server record and the Web service distribution situation of safeguarding whole system, it is by mutual with the Agent layer, by Agent scheduling and management Web service;
(5) user's requesting layer: user's request shows as the form of a user Agent at this layer, this user Agent representative of consumer is submitted user's request to the intelligent scheduling server, finish user's task requests by the Agent in the intelligent scheduling server scheduling Agent layer, and return final result.
2. the service application layer system of the described context aware towards the wired home environment of claim 1, it is characterized in that: the network layer in network and the sensor layer is a LAN system, and links to each other with the wide area network of outside.
3. the service application layer system of claim 1 or 2 described context aware towards the wired home environment, it is characterized in that: the intelligent scheduling server is the intelligent scheduling server of a centralized realization.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101909365A CN101222394B (en) | 2007-12-03 | 2007-12-03 | Scene perceptive service application layer system facing intelligent household surroundings |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101909365A CN101222394B (en) | 2007-12-03 | 2007-12-03 | Scene perceptive service application layer system facing intelligent household surroundings |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101222394A CN101222394A (en) | 2008-07-16 |
CN101222394B true CN101222394B (en) | 2010-06-02 |
Family
ID=39631984
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101909365A Expired - Fee Related CN101222394B (en) | 2007-12-03 | 2007-12-03 | Scene perceptive service application layer system facing intelligent household surroundings |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101222394B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101452079B (en) * | 2008-12-26 | 2012-01-04 | 东南大学 | Nuclear monitoring system and method based on confounding sensor network |
CN102750276A (en) * | 2011-04-18 | 2012-10-24 | 华东师范大学 | Scene-driven inference engine, inferer and inference control method |
US8838516B2 (en) * | 2012-03-06 | 2014-09-16 | Samsung Electronics Co., Ltd. | Near real-time analysis of dynamic social and sensor data to interpret user situation |
CN102915518A (en) * | 2012-08-29 | 2013-02-06 | 太原理工大学 | Context-awareness system for smart campus services |
CN103118128A (en) * | 2013-02-22 | 2013-05-22 | 浪潮电子信息产业股份有限公司 | Ontology based semantic sensor network system |
CN104050564B (en) * | 2014-06-13 | 2017-11-14 | 中国民航信息网络股份有限公司 | high concurrent universal payment method |
CN104483851B (en) * | 2014-10-30 | 2017-03-15 | 深圳创维-Rgb电子有限公司 | A kind of context aware control device, system and method |
CN104462331A (en) * | 2014-12-04 | 2015-03-25 | 广东工业大学 | Semantic collaborative computing method for Internet of Things in manufacturing industry and node |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2583728Y (en) * | 2002-08-28 | 2003-10-29 | 沈阳天雄信息技术开发工程有限公司 | Intelligent family terminal device |
-
2007
- 2007-12-03 CN CN2007101909365A patent/CN101222394B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2583728Y (en) * | 2002-08-28 | 2003-10-29 | 沈阳天雄信息技术开发工程有限公司 | Intelligent family terminal device |
Non-Patent Citations (4)
Title |
---|
戚玉松, 钱柱中,是湘全.基于Agent的Web服务组合研究.南京理工大学学报(自然科学版)30 3.2006,32(9),全文. |
戚玉松,钱柱中,是湘全.基于Agent的Web服务组合研究.南京理工大学学报(自然科学版)30 3.2006,32(9),全文. * |
钱柱中,谢立.基于XML网络管理的SNMP/XML翻译网关的开发.计算机科学32 9.2005,32(9),全文. |
钱柱中,谢立.基于XML网络管理的SNMP/XML翻译网关的开发.计算机科学32 9.2005,32(9),全文. * |
Also Published As
Publication number | Publication date |
---|---|
CN101222394A (en) | 2008-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101222394B (en) | Scene perceptive service application layer system facing intelligent household surroundings | |
Reinisch et al. | ThinkHome: A smart home as digital ecosystem | |
Baldauf et al. | A survey on context-aware systems | |
US20060282498A1 (en) | Sensor network system, method for data processing of a sensor network system | |
Abdulrazak et al. | Macro and micro context-awareness for autonomic pervasive computing | |
CN101442562B (en) | Context perception method based on mobile proxy | |
Cicirelli et al. | A metamodel framework for edge-based smart environments | |
Blair | Complex distributed systems: The need for fresh perspectives | |
Hamzi et al. | Multi-agent architecture for the design of WSN applications | |
Martín et al. | Automatic context data life cycle management framework | |
Kabir et al. | Modeling and coordinating social interactions in pervasive environments | |
CN101661588A (en) | Equipment maintenance intelligent coordinated decision system and method based on multi-Agent | |
Kamberov et al. | Sociology paradigms for dynamic integration of devices into a context-aware system | |
Broxvall | A middleware for ecologies of robotic devices | |
Taherkordi et al. | A self-adaptive context processing framework for wireless sensor networks | |
CN103064688A (en) | Workflow universal service method and system | |
Obaidat et al. | Context-aware middleware architectural framework for intelligent smart grid data management | |
KR100907985B1 (en) | Contextual Information Management System | |
Jih et al. | A multi-agent context-aware service platform in a smart space | |
CN102929605A (en) | Cloud-computing-based open interface of data mining system | |
Lo et al. | Dynamic data driven smart home system based on a service component architecture | |
Roy et al. | A distributed architecture for micro context-aware agents | |
Dibley et al. | Software agent reasoning supporting non-intrusive building space usage monitoring | |
Mangina et al. | Agent-based context-aware service in a smart space | |
Jih et al. | A context-aware service platform in a smart space |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100602 Termination date: 20101203 |