CN103458033B - Event-driven, service-oriented Internet of Things service provider system and method for work thereof - Google Patents

Event-driven, service-oriented Internet of Things service provider system and method for work thereof Download PDF

Info

Publication number
CN103458033B
CN103458033B CN201310397448.7A CN201310397448A CN103458033B CN 103458033 B CN103458033 B CN 103458033B CN 201310397448 A CN201310397448 A CN 201310397448A CN 103458033 B CN103458033 B CN 103458033B
Authority
CN
China
Prior art keywords
event
module
subscription
interface
agent
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.)
Active
Application number
CN201310397448.7A
Other languages
Chinese (zh)
Other versions
CN103458033A (en
Inventor
乔秀全
孙运雷
章洋
吴步丹
程渤
陈俊亮
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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201310397448.7A priority Critical patent/CN103458033B/en
Publication of CN103458033A publication Critical patent/CN103458033A/en
Application granted granted Critical
Publication of CN103458033B publication Critical patent/CN103458033B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

Event-driven, service-oriented Internet of Things service provider system and a method of work thereof, this system is made up of internet of things service system, access agency, unified message distributing network, Complex event processing engine, resource description model library and multiple parts of sensing system based on publish/subscribe mechanism. the invention solves current Internet of Things service provider system and can not carry out distributed treatment to extensive perception information, and cannot be for the event of physical world, different business events flow paths is realized across business domains, the difficult problems such as inter-organization effective coordination, this system is an opening, in DCE, effectively distribute perception information, support easily the distribution as required between different Internet of Things Heterogeneous service systems of various perception informations, realization event drive across business domains, inter-organization service dynamic cooperation, thereby realize the time, space and the uncoupled network service of control stream provide, flexibly, dynamically, in real time the variation of physical world is made to quick response.

Description

Event-driven, service-oriented Internet of Things service provider system and method for work thereof
Technical field
The present invention relates to the technology that provides of a kind of Internet of Things IOT (InternetofThings) service, definitelySay, relate to a kind of event-driven, service-oriented Internet of Things service provider system and method for work thereof, belong toTechnology of Internet of things field.
Background technology
Along with the high speed development of embedded calculating and New Sensing Technology, the target of Information & Communication TechnologyFrom any time, any place stage of connecting anyone and realizing communication, develop at present and can realizeAny time, anyone realization in any place is connected, completes mutual logical with the article that are positioned at any occasionThe stage of letter. People wish to calculate virtual world that facility forms and real physical world more closelyConnect each other together, computing equipment can be seamlessly dissolved in people's work and life, by realityTime the perception physical world Mobile state of going forward side by side mutual, thereby the Pervasive Service of wisdom is more provided.
Under this background, technology of Internet of things arises at the historic moment. A large amount of physical entities interconnects and is integrated intoIn information space, realize the mutual and consumption of information by network. Due to the variation of Problem Areas, with existingNetwork service or Computer Service supply a pattern and compare, and the service of Internet of Things provides and presents some new spiesPoint. Particularly, existing service (as telecommunications service or the Internet, applications) mainly solve " people-machine " and" machine-machine " mutual, that is to say, existing service is mainly towards two-dimensional problem territory, i.e. a user domainWith information space territory.
But Internet of Things service also needs the seamless integrated and dynamic interaction of solution and physical world. Therefore,The essence of Internet of Things service is the ternary Problem Areas that faces " user, information space and physical space ";Can find out: the border of internet of things service system has a very large change. Internet of things service system usually needsWant integrated multiple distributed enterprise application systems, form the large-scale complex services system place that cooperatesReason, thus realize the business objective of setting. When interested event has occurred physical world, Internet of Things serviceSystem need rapidly across business domains, even across tissue artificial, software service and physical entity are assistedAdjust. Due to related software service, operation flow, personnel and physical entity, not only type is various, andAlso, in evolution continuously and development, internet of things service system presents the feature of height dynamic change. CauseThis, internet of things service system is faced with the flow process that how to realize a large amount of Heterogeneous services and business event, Yi JiruWhat effectively works in coordination with to adapt to the challenge of dynamic change environment with physical entity.
At present, Internet of Things service provides technology to cause increasing attention and concern, existing extensive workStudy by mobile agent or middleware Technology and realized the integrated of physical world and enterprises service. But,In integrating process, being faced with a major obstacle is sensor network or the application system of having disposed in a large numberAdopted proprietary business platform and proprietary technology, these off-gauge interface protocols cause application system and sensingNetwork integrated very complicated.
In order to solve the system integration across business domains, recently, researcher should by service-oriented computing techniqueUsing Internet of Things service provides. Consider traditional service-oriented computing SOA (ServiceOrientedArchitecture) the design original intention of standard and technology is mainly the enterprise-level that solves heavyweight under internet environmentService integrated, technical staff has attempted proposing some lightweights that are suitable for resource-constrained embedded deviceWeb service agreement. In general, existing technical scheme mainly concentrates on the SOA technology or lighter that usesMagnitude serves to realize interconnecting in problem of different physical entities and enterprise application system. In fact, mutualConnection intercommunication is a major issue of Internet of Things service facing. But, another problem of the thing followed beAfter having solved the interconnecting of equipment, in the environment of how distributed at one, loose coupling, realize perception letterThe effective distribution of breath between informant and consumer, and based on physical world event and dynamicallyCoordinate relevant enterprises service and make quick response.
At present, most of Internet of Things application systems are that a kind of close coupling, enclosed service supply a pattern, alsoBe exactly the perception information that sensor network collection is relevant, and be stored in a concentrated database, relevant specificApplication system by the information in accessing database, thereby respective service is provided. This service supplies a patternGreatly limit flexibility and the autgmentability of system, be not suitable for large-scale distributed, complicated Internet of Things clothesThe structure of business system.
In order to be supported in exchange message between different service systems, traditional SOA taking " ask-reply " as masterFramework often uses centralized service orchestration mechanism by the swap data that calls of service. But, this mouldFormula has caused provider and consumer's direct interaction each other of information, and operation flow is usually compiled by some flow processsLanguage processed as BPEL BPEL (BusinessProcessExecutionLanguage) orWorkflow language is described. There is variation when application demand like this, as a new integrated service orCancelling etc. of a service, this tightly coupled system architecture must remodify flow process, lacks enough spiritsActivity is made adaptation. The existing patent documentation retrieving comprises following two:
" internet of things service system " (Chinese Patent Application No. is 201110101715.2), this patent application is depositedIn following deficiency: one, this patent application mainly lays particular emphasis on by various sensor units data message is passed throughWired or wireless Internet Transmission, to the server of connecting Internet, can find out that this internet of things service system isA kind of close coupling, enclosed service supply a pattern, the perception information that namely sensor network collection is relevant,Be stored in a concentrated server or database perception data sharing in multiple Heterogeneous service systemsBe difficult to solve with distribution. Therefore, this service supplies a pattern and has greatly limited flexibility and the expansion of systemProperty, be not suitable for structure large-scale distributed, complicated internet of things service system. Two, the thing of this patent applicationThe Internet services system can not be processed association and the polymerization of large-scale complex event, therefore, cannot form high-riseContext awareness, is difficult to support the service of wisdom more. Three, the service system of this patent application is oneThe internet of things service system of relatively simple data acquisition and collection, cannot support to enter based on the data that collectThe Internet of Things application demand of the complicated business processing of line correlation.
" a kind of Internet of Things application implementation method and system " (Chinese Patent Application No. is 201010102600.0),This patent application is for solving the fusion problem of the existing application system of Internet of Things and enterprise. This system provides thing connectionNet service interface equipment, to user, is opened Internet of Things service interface to user, to meet enterprise customer, thing is joinedNet service is integrated into the demand in existing application system. User can open according to Internet of Things service interface equipmentInterface carries out secondary development. But this patent application has the following disadvantages equally: one, this patent applicationSystem mainly lays particular emphasis on for enterprise provides open interface, for secondary development; Do not solve extensive perception numberAccording to sharing and distribution in multiple Heterogeneous service systems. Two, this system is a centralized thing substantiallyThe Internet services provides platform, therefore, and this service supply a pattern flexibility and the autgmentability of the system that limited,Be not suitable for structure large-scale distributed, complicated internet of things service system.
Summary of the invention
In view of this, the object of this invention is to provide a kind of event-driven, service-oriented Internet of Things service is carriedFor system and method for work, the Internet of Things service provider system that the present invention can solve prior art substantially allDo not consider how distributed extensive perception information is and process, and how to occur according to physical worldEvent different business events flow paths can be realized across business domains, even across the effective coordination of organizational domainsEtc. a difficult problem and defect, system of the present invention can effectively be distributed sense in an opening, distributed computing environmentKnow information, and realize the coordinated between flexible, dynamic Heterogeneous service system.
In order to achieve the above object, the invention provides a kind of event-driven, service-oriented EDSOA(Event-DrivenService-OrientedArchitecture) Internet of Things service provider system, its featureBe: described system is provided with following multiple building block: internet of things service system, access agency, based on sending outUnified message distributing network, Complex event processing engine, resource description model library and the sensing of cloth/subscribing mechanismDevice system, wherein, sensing system, internet of things service system, Complex event processing engine respectively with accessAgency is connected, so that access unified message distributing network; Access agency connect respectively with resource description model libraryMeet the event agent in unified message distributing network; In Complex event processing engine and internet of things service systemReporting system also connects historical data base; Wherein:
Internet of things service system, for comprising Database Systems, reporting system, WEB service workout system, workThis class Internet of Things service of making streaming system, Visualized Monitoring System and warning system provides on multiple in fieldLayer application system, described Database Systems are produced for image data and the processing procedure of storing various application systemsRaw business datum, the system that reporting system is added up, gathered and analyze for executing data, WEB serves volumeSystem processed is based on business procedure effective language BPEL (BusinessProcessExecutionLanguage)The business workout system of establishment automation operation flow, Workflow system is support human activity, work is dividedSolution becomes to define good task and role, then executes the task and implementation is entered according to setting rule and processThe business process system of row monitoring, Visualized Monitoring System is to present in real time monitored thing by visual meansThe state variation of reason object also realizes the system of Long-distance Control, comprises the monitoring system based on configuration software instrumentWith the monitoring system based on GIS-Geographic Information System; Warning system is to accuse for the warning information occurringThe alert application system that shows and dispose;
Access agency, as sensing system or internet of things service system and the unification based on publish/subscribe mechanismMessage adapter between message distribution network, for by the perception information of various isomeries and business event adaptationFor the event of unified standardization, this access agency is provided with: proprietary interface and publish/subscribe interface, and dataParsing/encapsulation, resource mapping, data acquisition process, simple event are processed with data notification and are processed multiple modules;
Unified message distributing network is the dividing based on publish/subscribe mechanism being made up of multiple event agentsCloth formula overlay network: multiple event agents utilize publish/subscribe mechanism to realize extensive, distributed earth distribution thingPart, and each event agent bears respectively the function of issue, subscription, notice and the route of event; These thingsPart agency composition different bunch, so that the extensibility of bunch level to be provided; And the event agent of cluster interconnects,Thereby form a large-scale distributed overlay network; In this distributed covering network, unified message is dividedSend out in network support bunch route and bunch between route; Each event agent is provided with following parts: logical between event agentLetter interface, event routing module, subscribe to synchronization module, proxy management module, issue event sets module,Topic of subscription list block, event matches module and comprise registration interface, issuing subject interface, subscriptionTheme interface, theme notification interface, quit the subscription of theme interface, cancel the publish/subscribe interface of theme interface;
Complex event processing engine, for completing mutual with event agent: will be by publish/subscribe interfaceSystem data are considered as dissimilar event, by the incidence relation between analysis event, set up different events and closeBe sequence library, recycling filtration, association and polymerization technique, so that produce advanced event by simple event, enterAnd trigger corresponding operation flow; The input of this Complex event processing engine is from event agent's real-time eventStream or the data of historical data base, then will complete complicated event after treatment and output to event agent; Be provided with:Event schema editor module, event type Registering modules, detected by event statement detecting unit and event schemaThe event checking module of unit composition, database link block, incoming event stream adaptation module, action listenerModule and outgoing event stream adaptation module;
Resource description model library, is responsible for describing Internet of Things resource, contextual information and domain knowledge, and usesLink data is expanded the semantic sensor network W3CSSN (WorldWide that comprises that WWW is organized to set upWebConsortiumSemanticSensorNetwork) resource of existing body, this resource description model libraryThe body organisational level using is sequentially divided into: Top-level Ontology, upper strata body, outer body and domain body layer;And each lower floor body can use the body that is located thereon layer, realizes resource-sharing; Its input interface connectsExisting ontological resource on various internets, also can use ontology modeling tool to generate voluntarily new body conductInput; Various resource models in resource description model library connect access agency by output interface;
Sensing system, comprises the various physical sensors that use in environment of internet of things and/or the application of sensorSystem, for the various change informations of perception and collection physical world; This sensing system at least comprises: eachClass wireless senser, intelligent mobile phone terminal, car-mounted terminal, wired sensor and information acquisition module.
In order to achieve the above object, the present invention also provides a kind of event-driven, service-oriented Internet of Things to takeBusiness provides the method for work of system, it is characterized in that: described method of work comprises following operating procedure:
(1) the various relevant parameters of sensing system perception and collection physical world, and pass by standard agreementGive access agency;
(2) access agency receives after the image data from sensing system, uses resource description model libraryThe concept of middle setting and attribute by isomery or Proprietary Information be all converted to the event of unified standardization; Then,Access proxy call event agent's publish/subscribe interface, is published to unified message distributing network by event;
(3) event agent in unified message distributing network receives after the event of issue, and check and inspection is subscribed toTopic list, by this case distribution and be routed to different event agents, then is responsible for to ordering by this event agentThe system of readding this event sends event notice;
(4) different event subscription persons receives after the event notice of subscription, carries out corresponding following book officeReason flow process or action:
If event subscription person is Complex event processing engine, Complex event processing engine is according to predefinedEvent schema and event statement detect, thus output complicated event; And be forwarded to base via access agencyUnified message distributing network in publish/subscribe mechanism carries out subsequent treatment;
If event subscription person is historical data base, historical data base carries out sampling processing to the event receiving,And complete the persistent storage of data;
If event subscription person is the various internet of things service subsystems in this Internet of Things service provider system, shouldInternet of things service system just triggers the corresponding service flow process of its subsystem and processes this event;
If event subscription person is Visualized Monitoring System, Visualized Monitoring System is by number entrained this eventAccording to or other information be shown in real time visual control interface;
If event subscription person is warning system, the alarm level that warning system carries according to this event sends phaseThe audible and visual alarm signal of answering, and carry out corresponding alarm disposal process.
Compared with prior art, the beneficial effect of Internet of Things service provider system of the present invention is: can be convenientThe as required distribution of perception information between different Internet of Things Heterogeneous service systems supported on ground, and realization event drivesMoving across business domains, even across the service dynamic cooperation of organizational domains. Thisly can realize time, space and controlThe uncoupled network service supplying method of system stream, has greatly strengthened the flexibility of system, permission system dynamically,In real time the variation of physical world is made to quick response.
Brief description of the drawings
Fig. 1 is the service-oriented Internet of Things service provider system structure composition schematic diagram of event-driven of the present invention.
Fig. 2 is the access proxy construction composition schematic diagram in system of the present invention.
Fig. 3 is the unified message distributing network structure composition schematic diagram based on publish/subscribe in system of the present invention.
Fig. 4 is the event agent's structure composition schematic diagram in system of the present invention.
Fig. 5 is the Complex event processing engine structure composition schematic diagram in system of the present invention.
Fig. 6 is the resource description model base structure composition schematic diagram in system of the present invention.
Fig. 7 is the method for work operation step of the service-oriented Internet of Things service provider system of event-driven of the present inventionRapid flow chart.
Fig. 8 is that routing procedure sequential chart subscribed in the theme of the embodiment of the present invention.
Fig. 9 is the complicated event product process sequential chart of the embodiment of the present invention.
Figure 10 is the event driven service collaboration flow process sequential chart of the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, the present invention is doneFurther describe in detail.
Referring to Fig. 1~Fig. 6, the Internet of Things service of event-driven of the present invention, service-oriented EDSOA of introducing is carriedFor the structure composition of system. This Internet of Things service provider system comprises that following multiple building block is (referring to Fig. 1Shown in): internet of things service system, access agency, unified message distributing network based on publish/subscribe mechanism,Complex event processing engine, resource description model library and sensing system. Wherein, sensing system, thing connectionNetwork service system, Complex event processing engine are connected with access agency respectively, so that access unified message is dividedHairnet network; Access agency is connected respectively the event agent in unified message distributing network with resource description model library;Complex event processing engine is also connected historical data base with the reporting system in internet of things service system. Divide belowDo not illustrate the function and characteristic of each building block:
Internet of things service system: it relates to Internet of Things service provides various common upper layer application in field to beSystem, comprises Database Systems, reporting system, WEB service workout system, Workflow system, visual prisonControl system and warning system etc. Wherein, Database Systems for store various application systems image data andThe business datum that processing procedure produces, the system that reporting system is added up, gathered and analyze for executing data,WEB service workout system is based on business procedure effective language BPEL (BusinessProcessExecutionLanguage) business workout system, for working out automation operation flow; Workflow system is backerThe business process system of work activity, it is by job analysis being become to definition good task and role, then pressesExecute the task and implementation is monitored according to setting rule and process; Visualized Monitoring System is by canPresent in real time the state variation of institute's monitors physical object depending on change mode, and realize the system of Long-distance Control, compriseMonitoring system based on configuration software instrument and the monitoring system based on GIS-Geographic Information System; Warning system is energyEnough application systems of carrying out alarm demonstration and disposal for the warning information occurring.
Access agency: as a kind of event publisher/subscriber (as various sensing systems or operation system)And message adapter between unified message distributing network based on publish/subscribe mechanism, for by various isomeriesPerception information and business event be adapted for the event of unified standardization. This access agency is provided with: proprietary interfaceWith publish/subscribe interface, and Data Analysis/encapsulation, resource mapping, data acquisition process, simple event placeReason is processed multiple modules with data notification. Referring to Fig. 2, the function of introducing its all modules is as follows:
Resource mapping module, is responsible for the data format from various professional systems and unified message distribution networksUnified standard data format in network is delivered to Data Analysis/package module after mutually changing and shining upon;
Simple event processing module, is responsible for checking whether image data exceeds setting threshold, once find this feelingsCondition, determines alarm grade according to setting rule, and informs digital sampling and processing;
Digital sampling and processing, is responsible for access agency to receive from sensing system or internet of things service systemTo image data and message be forwarded to unified message distributing network;
Data notification processing module, is responsible for the notice thing that access agency is received from unified message distributing networkPart is forwarded to sensing system or internet of things service system via Data Analysis/package module and the corresponding interface;
Data Analysis/package module, the information of being responsible for proprietary interface and publish/subscribe interface to receive is separatedAfter analysing, pass on corresponding module processing; Also to the message of preparing to send by proprietary interface and publish/subscribe interfaceAfter encapsulating, be sent to sensing system or internet of things service system;
Proprietary interface, is responsible for access agency and complex process engine, sensing system or internet of things service systemBetween message transmission;
Publish/subscribe interface, is responsible for the message transmission between event agent and unified message distributing network.
Unified message distributing network: be the dividing based on publish/subscribe mechanism being formed by multiple event agentsCloth formula overlay network (shown in Figure 3): multiple event agents utilize publish/subscribe mechanism realize extensive,Distributed earth Distribution Events, and each event agent bears respectively issue, subscription, notice and the route of eventEtc. function. These event agents form different bunches, so that the extensibility of bunch level to be provided; And, clusterEvent agent interconnects, thereby forms a large-scale distributed overlay network, can realize extensiveDistributed case distribution. In the clustering topology of this network, unified message distributing network is supported Cu Nei roadBy and bunch between route. In unified message distributing network, each bunch is provided with particular event agency,The agency by agreement of route between responsible bunch. Publisher or subscriber are connected to certain in unified message distributing networkEvent agent, and issue or subscribe to its interested event by this event agent; When this event agent receivesDuring to the subscription of client, be responsible for the agency by agreement of neighbor node and this bunch in this subscription information is forwarded to bunch,And by the agency by agreement of this bunch, this subscription information is forwarded to other bunches; Similarly, when certain event agent fromIts client, to the event of issuing, is subscribed to this event forwarding by unified message distributing network to couplingEvent agent, then, this event agent by this event delivery give interested subscriber.
Referring to Fig. 4, introduce each event agent's structure composition. It is provided with following parts: between event agentCommunication interface, event routing module, subscribe to synchronization module, proxy management module, issue event sets module,Topic of subscription list block, event matches module and comprise registration interface, issuing subject interface, subscriptionTheme interface, theme notification interface, quit the subscription of theme interface, cancel the publish/subscribe interface of theme interface. ItsIn, event matches module is respectively with publish/subscribe interface, topic of subscription list block with issue event set matched mouldsPiece is connected; Event routing module respectively the event routing interface in connection event inter-agent communication interface, orderRead topic list module, issue the theme notification interface in event sets module and publish/subscribe interface; Subscribe toSubscription sync cap and topic of subscription list mould in synchronization module difference connection event inter-agent communication interfacePiece; Proxy management module is connected with proxy management interface. The function declaration of these modules and interface is as follows:
Communication interface between event agent, is responsible for the interacting message between different event agency, is provided with three kinds of interfaces:Event routing interface, subscribe to sync cap and proxy management interface, the pipeline of corresponding information is provided respectively.
Proxy management module, is responsible for the various relevant informations of maintenance event agent node information and affiliated bunch.
Subscribe to synchronization module, responsible different event agent directly carries out the real-time synchronization of theme subscription information.
Event routing module, topic of subscription list block is consulted in the event contrast of being responsible for event agent to receive,Then carry out corresponding distribution operation.
Issue event sets module, for storing the event of up-to-date issue of related subject, each issuing subjectComprise one or more issue events.
Topic of subscription list block, for storing the up-to-date subscription information of related subject, because event agent has twoKind: event agent and agency by agreement, therefore topic of subscription list has three kinds: storage is directly registered in this event generationRegistered user's subscription table of the subscriber's of reason subscription information, stores the subscription letter of other event agents in this bunchThe neighbours of breath act on behalf of subscription table, and store bunch subscription table of other bunch of interested subscription information; Subscription tableIn every record comprise two contents: topic of subscription and subscriber address.
Event matches module, is responsible in issue event sets module and topic of subscription list block receivingEvent carry out matching inquiry.
Publish/subscribe interface, for providing local publisher/subscriber's registration and the issue of related subjectThe function of/subscribing/notifying/quitting the subscription of/cancellation.
Complex event processing engine (shown in Figure 5): for completing and event by publish/subscribe interfaceAgency's is mutual: system data is considered as to dissimilar event, closes by the association of analyzing between each eventSystem, sets up different event relation sequence libraries, and the technology such as recycling filtration, association and polymerization, so that by letterSingle event produces advanced event, and then triggers corresponding operation flow. The input of this Complex event processing engineFrom event agent's real-time event stream or the data of historical data base, then will complete complicated event after treatmentOutput to event agent, complete this Complex event processing engine and event agent's friendship by publish/subscribe interfaceMutually. Be provided with: event schema editor module, event type Registering modules, by event statement detecting unit and thingThe event checking module of part mode detection unit composition, database link block, incoming event stream adaptation module,Action listener module and outgoing event stream adaptation module. Wherein, event schema editor module connection event typeRegistering modules and event checking module, event checking module is also fitted with database link block, incoming event streamJoin module and be connected with action listener module, action listener module connects outgoing event stream adaptation module. Above-mentionedThe function of modules is as follows:
Event schema editor module, is responsible for receiving user input and generates corresponding event statement or more complicatedComprise the event schema of event rules and condition.
Event type Registering modules, the event type of being responsible for user to require is registered to Complex event processing engine,For event schema editor module generation event fast statement and event schema statement provide support.
Database link block, is responsible for receiving the information from Database Systems, delivers to event checking module.
Incoming event stream adaptation module, is responsible for receiving real-time thing by event agent from unified message distributing networkPart stream.
Event checking module, the event that responsible detection receives, checks and whether has the event sound that meets definitionBright and whether the complicated event of event schema occur; Wherein, event statement detecting unit is responsible for checking whether send outThe part of making trouble is stated described complicated event, and event schema detecting unit is responsible for checking whether event schema occursDescribed complicated event.
Action listener module, after the qualified complicated event of being responsible for that event checking module is detected is carried outContinuous processing.
Outgoing event stream adaptation module, the responsible interface of the result of action listener module being pressed to publish/subscribeRequire to send to unified message distributing network by event agent.
Resource description model library (shown in Figure 6): be responsible for describing Internet of Things resource, contextual information and neckDomain knowledge, and expand the semantic sensor network W3C that comprises that WWW is organized to set up with link dataThe resource of the existing body of SSN (WorldWideWebConsortiumSemanticSensorNetwork),The body organisational level that this resource description model library is used is sequentially divided into: Top-level Ontology, upper strata body, outsideBody and domain body layer; And each lower floor body can both use the body that is located thereon layer, realizes resourceShare; Its input interface connects the existing ontological resource on various internets, also can use ontology modeling toolGenerate voluntarily new body as input. Various resource models in resource description model library pass through output interfaceConnect access agency.
Sensing system: comprise the various physical sensors that use in environment of internet of things and/or the application of sensorSystem, for the various change informations of perception and collection physical world. This sensing system at least comprises: eachClass wireless senser, intelligent mobile phone terminal, car-mounted terminal, wired sensor and information acquisition module.
Referring to Fig. 7, introduce the service-oriented Internet of Things service provider system of event-driven of the present invention method of workConcrete operation step:
Step 1, the various relevant parameters of sensing system perception and collection physical world, and assist by standardView sends access agency to.
Step 2, access agency receives after the image data from sensing system, uses resource description modelThe concept of setting in storehouse and attribute by isomery or Proprietary Information be all converted to the event of unified standardization; Then,Access proxy call event agent's publish/subscribe interface, is published to unified message distributing network by event.
In this step 2, access agency has the flow process of two kinds of process informations, and one of them is: from sensor beSystem or other internet of things service systems receive the information collecting and send to unified message distributing network. It is concreteContent of operation is as follows:
(21) access agency receives external sensor system or other internet of things service system by proprietary interfaceThe information of the particular message structure that system sends.
(22) Data Analysis/package module of access agency is responsible for resolving the agreement of this particular message, to obtainThis Information Monitoring, and by resource mapping module, this information is converted into the event format of standard; If transformingCheng Zhong, if the situation that has the threshold value of image data to transfinite, digital sampling and processing is according to simple event placeReason module set alarm event rule judge alarm grade, and by this alarm grade packaging in event.
(23) digital sampling and processing is packaged as this event after the event format of unified standard, then by countingAccording to parsing/package module, these events are encapsulated according to the requirement of event publish/subscribe interface.
(24) access agency sends the event after encapsulation to event agent module by publish/subscribe interface.
The another kind of flow process of access agent processes information is: send to from unified message distributing network reception informationEvent subscription person. Its concrete operations the contents are as follows:
(2A) access agency receives by publish/subscribe interface the event notification message that event agent sends.
(2B) access agency's data notification processing module, by Data Analysis/package module analysis protocol, obtainsKnow this event information, and by resource mapping module, the event format of standard is converted into specific Proprietary Information.
(2C) access agency advises these events by Data Analysis/package module according to the agreement of proprietary interfaceProvisioning request encapsulates.
(2D) access agency sends this event to sensing system or other Internet of Things industry by proprietary interfaceBusiness system.
Step 3, the event agent in unified message distributing network receives after the event of issue, check and inspectionTopic of subscription list, by this case distribution and be routed to different event agents, then is responsible for by this event agentSend event notice to the system of subscribing to this event. In this step, event agent carries out following content of operation:
(31) when receiving event by the issuing subject interface of publish/subscribe interface, event agent gives out informationAfter, carry out subsequent step (32); Subscribe to/quit the subscription of when event agent receives by publish/subscribe interface/getDisappear after theme message, redirect execution step (35). ;
(32) event agent is saved in by event matches module the event receiving issue event set matched mouldsIn piece in corresponding topic list.
(33) event agent's subscription of the registered user in topic of subscription list block by event matches moduleTable, neighbours act on behalf of inquiry character in subscription table or bunch subscription table should the subscriber of event topic.
(34) event agent, will by event routing module according to the subscriber address of this theme inquiringThis event sends to subscriber: if subscriber is local registered client, by publish/subscribe interfaceTheme notification interface be directly pushed to subscriber; If subscriber is neighbours act on behalf of or bunch agency by agreement,Be transmitted to the committee of corresponding neighbours agency or this bunch by the event routing interface of communication interface between event agentHolder agency. Then, return to execution step (31).
(35) event agent judges that according to subscriber's address subscriber's is dissimilar: local registered user,Neighbours agency or bunch agency by agreement.
(36) event agent according to subscriber's type to the registered user's subscription table in topic of subscription list block,Neighbours act on behalf of in subscription table or bunch subscription table, increase or the relevant topic of subscription item of deletion by event matches module.
(37) event agent's subscription synchronization module passes through the subscription sync cap of communication interface between event agent,This subscription change information real-time synchronization in unified message distributing network with other neighbor nodes in cluster andThe agency by agreement of synchronous this bunch of subscription between being responsible for bunch. Return to again execution step (31).
Step 4, different event subscription persons receives after the event notice of subscription, carries out corresponding following predeterminedHandling process or action:
If event subscription person is Complex event processing engine, Complex event processing engine is according to predefinedEvent schema and event statement detect, thus output complicated event; And be forwarded to base via access agencyUnified message distributing network in publish/subscribe mechanism carries out subsequent treatment.
If event subscription person is historical data base, historical data base carries out sampling processing to the event receiving,And complete the persistent storage of data.
If event subscription person be various internet of things service subsystems in this Internet of Things service provider system (asWEB service workout system, Workflow system etc.), this internet of things service system just triggers its subsystemCorresponding service flow process is processed this event.
If event subscription person is Visualized Monitoring System, Visualized Monitoring System is by number entrained this eventAccording to or other information be shown in real time visual control interface.
If event subscription person is warning system, the alarm level that warning system carries according to this event sends phaseThe audible and visual alarm signal of answering, and carry out corresponding alarm disposal process.
In above-mentioned five kinds of different handling processes, the handling process of the first Complex event processing engine comprisesFollowing content of operation:
(41) event schema editor module receives event statement or the more complicated event schema of user's inputRule and condition (being event schema), for interested complicated event is filtered.
So-called event statement is to adopt special event handling E Language PL (EventProcessingLanguage)Describe the condition of variety of event, the association of event and the time window of crossing over, user can also define interestedEvent detection rules, i.e. event statement. In addition, also can define some complicated event rules identifies notSame pattern. For the generation of simplification event statement and event schema, user by visualization interface by event classType is registered in the event type Registering modules in Complex event processing engine, and event schema editor module directly makesThe event type providing with event type Registering modules, the statement of generation event fast and event schema.
(42) event statement and/or the event schema of generation are loaded into respectively event by event schema editor moduleEvent statement detecting unit and/or the event schema detecting unit of detection module.
(43) Complex event processing engine by incoming event flow adaptation module receive distribute from unified messageIn network, event agent's real-time event stream (comprises from the event of sensing system with from internet of things serviceThe business event of system), incoming event stream adaptation module is responsible for adaptation and is comprised XML or Java object etc. noSame event format, Complex event processing engine also can receive from Database Systems by database link blockData.
(44) Complex event processing engine adopts the pattern of storage event query statement and real time filtering data,Receiving after the event of input, examined by event statement detecting unit and event schema in event checking moduleMeasurement unit filters and polymerization flow of event respectively, and once qualified event occurs, just triggering shouldThis event of action listener resume module that event is corresponding.
(45) action listener module is monitored this event, and determines this event to take according to concrete application demandRespective handling.
(46) Complex event processing engine flows adaptive by the result of action listener module by outgoing eventModule is adapted for the complicated event form of standard, and by publish/subscribe interface, complicated event is outputed to unificationThe event agent of message distribution network.
In order to further describe and verify the feasibility of system of the present invention and method of work thereof, applicant entersTest is implemented in the different emulation of having gone repeatedly. Below in conjunction with the actual conditions of the embodiment of the present invention, for based onThe handling process of the unified message distributing network of publish/subscribe, polymerization generting machanism and the thing of complicated eventAssociated treatment flow process between multiple internet of things service systems that part drives is carried out concrete example explanation.
Referring to Fig. 8, this emulation embodiment is with subscriber s1 topic of subscription X and subscriber s2 topic of subscription YFor example, introduce system of the present invention as follows to entering the handling process of subscription information of unified message distributing network:
Step 1: the topic of subscription X of subscriber s1 sends to the event agent b1 of registration, makes event generationRegistered user's subscription table r1 of reason b1 increases a record: (X, subscriber s1).
Step 2: event agent b1 is forwarded to Neighbor Event by topic of subscription X and acts on behalf of b2 and agency by agreement a1,Make the neighbours of event agent b2 act on behalf of a record of subscription table n2 increase: (X, event agent b1), committeeThe neighbours that a1 is acted on behalf of in holder act on behalf of subscription table n3 also increases a record: (X, event agent b1).
Step 3: the agency by agreement a1 of bunch c1 forwards the agency by agreement a2 of topic of subscription X to bunch c2, makesThe cluster agent subscription table c2 of agency by agreement a2 increases a record: (X, agency by agreement a1).
Step 4: agency by agreement a2 is forwarded to two Neighbor Events by topic of subscription X and acts on behalf of b3 and event generationReason b4, makes the neighbours of event agent b3 act on behalf of a record of subscription table n5 increase: (X, agency by agreementA2), the neighbours of event agent b4 act on behalf of subscription table n6 increases a record: (X, agency by agreement a2).
Step 5: the event agent b4 that its topic of subscription Y is sent to registration by subscriber s2, makes eventThe registered user's subscription table r2 that acts on behalf of b4 increases a record: (Y, subscriber s2).
Step 6: event agent b4 is forwarded to its Neighbor Event by topic of subscription Y and acts on behalf of b3 and agency by agreementA2, makes the neighbours of event agent b3 act on behalf of a record of subscription table n5 increase: (Y, event agent b4),The neighbours of agency by agreement a2 act on behalf of subscription table n4 also increases a record: (Y, event agent b4).
Step 7: the agency by agreement a1 that topic of subscription Y is forwarded to bunch c1 by the agency by agreement a2 of bunch c2, makesThe cluster agent subscription table c1 that obtains agency by agreement a1 increases a record: (Y, agency by agreement a2).
Step 8: agency by agreement a2 is forwarded to Neighbor Event by topic of subscription Y and acts on behalf of b1 and event agent b2.Make the neighbours of event agent b1 act on behalf of a record of subscription table n1 increase: (Y, agency by agreement a1), thingThe neighbours that part is acted on behalf of b2 act on behalf of subscription table n2 also increases a record: (Y, agency by agreement a1).
Therefore,, in the time that event agent receives the event of its registered user's issue, will search subscription table, and turnSend out this event to relevant subscriber. This embodiment verified event in system of the present invention first bunch in route,If other bunches have also been subscribed to this event, continue bunch between route.
Referring to Fig. 9, introduce the polymerization process of complicated event ce1 and ce2, and describe complicated thing in detail with this exampleThe concrete polymerization processing procedure of part is as follows:
Step 1: sensor s1 sends perception information and acts on behalf of a1 to access, access is acted on behalf of a1 by perception events se1Send to the unified message distributing network based on publish/subscribe. Sensor s2 sends perception information to access agencyA2, access is acted on behalf of a2 perception events se2 is sent to the unified message distributing network based on publish/subscribe.
Step 2: the unified message distributing network based on publish/subscribe forwards respectively perception events se1 and se2To Complex event processing engine.
Step 3: Complex event processing engine aggregation perception events se1 and se2 are complicated event ce1, concurrentSend complicated event ce1 to the unified message distributing network based on publish/subscribe.
Step 4: the unified message distributing network based on publish/subscribe forwards complicated event ce1 to access agencya3。
Step 5: access is acted on behalf of a3 and forwarded complicated event ce1 to internet of things service system bs1.
Step 6: internet of things service system bs2 sends service message and acts on behalf of a4 to access, a4 is acted on behalf of in access willBusiness event be2 sends to the unified message distributing network based on publish/subscribe. Sensor s3 sends perceptionInformation is acted on behalf of a5 to access. Access is acted on behalf of a5 perception events se3 is sent to the unification based on publish/subscribeMessage distribution network.
Step 7: the unified message distributing network based on publish/subscribe is respectively by business event be2 and perception thingPart se3 is forwarded to Complex event processing engine.
Step 8: Complex event processing engine aggregation perception events se3, complicated event ce1 and business event be2For complicated event ce2, and send complicated event ce2 to the unified message distributing network based on publish/subscribe.
Step 9: the unified message distributing network based on publish/subscribe forwards complicated event ce2 to access agencya6。
Step 10: access is acted on behalf of a6 and forwarded complicated event ce2 to operation system bs3.
This embodiment has verified the polymerization processing capacity of Complex event processing engine to various perception informations.
Referring to Figure 10, taking the cooperation between internet of things service system bs1, bs2 and bs3 as example, this is describedThe working mechanism of the event-driven of bright system, service-oriented Internet of Things service collaboration, idiographic flow example asUnder:
Step 1: internet of things service system bs1 sends service message and acts on behalf of a1 to access, a1 is acted on behalf of in access willBusiness event be1 sends to the unified message distributing network based on publish/subscribe.
Step 2: the unified message distributing network forwarding service event be1 based on publish/subscribe is to access agencya2。
Step 3: access is acted on behalf of a2 business event be1 is forwarded to operation system bs2, operation system bs2Receive after business event be1, carry out corresponding business processing flow.
Step 4: internet of things service system bs2 sends service message and acts on behalf of a2 to access, a2 is acted on behalf of in access willBusiness event be2 sends to the unified message distributing network based on publish/subscribe.
Step 5: the unified message distributing network forwarding service event be2 based on publish/subscribe is to access agencya3。
Step 6: access is acted on behalf of a3 business event be2 is forwarded to operation system bs3, operation system bs3Receive after business event be2, carry out corresponding business processing flow.
Like this, in the time having new changes in demand, user can change by the mode of adjusting event subscription tableBusiness processing flow, changes issue and the subscription operation flow process of event. This event driven service collaborationMechanism contributes to reduce across business domains, even across the degree of coupling of the operation system of organizational domains, form one clevererInternet of Things service provider system alive, quicker.
In a word, embodiments of the invention test is successfully, has realized goal of the invention.
The foregoing is only and introduce embodiments of the invention, in order to limit the present invention, not all at thisWithin bright spirit and principle, any amendment of making, be equal to replacement, improvement etc., all should be included in thisWithin the scope of bright protection.

Claims (10)

1. an event-driven, service-oriented EDSOA (Event-DrivenService-OrientedArchitecture) Internet of Things service provider system, is characterized in that: described system is provided with following multiple groupsBecome parts: internet of things service system, access agency, unified message distributing network based on publish/subscribe mechanism,Complex event processing engine, resource description model library and sensing system, wherein, sensing system, thing connectionNetwork service system, Complex event processing engine are connected with access agency respectively, so that access unified message is dividedHairnet network; Access agency is connected respectively the event agent in unified message distributing network with resource description model library;Complex event processing engine is also connected historical data base with the reporting system in internet of things service system; Wherein:
Internet of things service system, for comprising Database Systems, reporting system, WEB service workout system, workThis class Internet of Things service of making streaming system, Visualized Monitoring System and warning system provides on multiple in fieldLayer application system, described Database Systems are produced for image data and the processing procedure of storing various application systemsRaw business datum, the system that reporting system is added up, gathered and analyze for executing data, WEB serves volumeSystem processed is based on business procedure effective language BPEL (BusinessProcessExecutionLanguage)The business workout system of establishment automation operation flow, Workflow system is support human activity, work is dividedSolution becomes to define good task and role, then executes the task and implementation is entered according to setting rule and processThe business process system of row monitoring, Visualized Monitoring System is to present in real time monitored thing by visual meansThe state variation of reason object also realizes the system of Long-distance Control, comprises the monitoring system based on configuration software instrumentWith the monitoring system based on GIS-Geographic Information System; Warning system is to accuse for the warning information occurringThe alert application system that shows and dispose;
Access agency, as sensing system or internet of things service system and the unification based on publish/subscribe mechanismMessage adapter between message distribution network, for by the perception information of various isomeries and business event adaptationFor the event of unified standardization, this access agency is provided with: proprietary interface and publish/subscribe interface, and dataParsing/encapsulation, resource mapping, data acquisition process, simple event are processed with data notification and are processed multiple modules;
Unified message distributing network is the dividing based on publish/subscribe mechanism being made up of multiple event agentsCloth formula overlay network: multiple event agents utilize publish/subscribe mechanism to realize extensive, distributed earth distribution thingPart, and each event agent bears respectively the function of issue, subscription, notice and the route of event; These thingsPart agency composition different bunch, so that the extensibility of bunch level to be provided; And the event agent of cluster interconnects,Thereby form a large-scale distributed overlay network; In this distributed covering network, unified message is dividedSend out in network support bunch route and bunch between route; Each event agent is provided with following parts: logical between event agentLetter interface, event routing module, subscribe to synchronization module, proxy management module, issue event sets module,Topic of subscription list block, event matches module and comprise registration interface, issuing subject interface, subscriptionTheme interface, theme notification interface, quit the subscription of theme interface, cancel the publish/subscribe interface of theme interface;
Complex event processing engine, for completing mutual with event agent: will be by publish/subscribe interfaceSystem data are considered as dissimilar event, by the incidence relation between analysis event, set up different events and closeBe sequence library, recycling filtration, association and polymerization technique, so that produce advanced event by simple event, enterAnd trigger corresponding operation flow; The input of this Complex event processing engine is from event agent's real-time eventStream or the data of historical data base, then will complete complicated event after treatment and output to event agent; Be provided with:Event schema editor module, event type Registering modules, detected by event statement detecting unit and event schemaThe event checking module of unit composition, database link block, incoming event stream adaptation module, action listenerModule and outgoing event stream adaptation module;
Resource description model library, is responsible for describing Internet of Things resource, contextual information and domain knowledge, and usesLink data is expanded the semantic sensor network W3CSSN (WorldWide that comprises that WWW is organized to set upWebConsortiumSemanticSensorNetwork) resource of existing body, this resource description model libraryThe body organisational level using is sequentially divided into: Top-level Ontology, upper strata body, outer body and domain body layer;And each lower floor body can use the body that is located thereon layer, realizes resource-sharing; Its input interface connectsExisting ontological resource on various internets, also can use ontology modeling tool to generate voluntarily new body conductInput; Various resource models in resource description model library connect access agency by output interface;
Sensing system, comprises the various physical sensors that use in environment of internet of things and/or the application of sensorSystem, for the various change informations of perception and collection physical world; This sensing system at least comprises: eachClass wireless senser, intelligent mobile phone terminal, car-mounted terminal, wired sensor and information acquisition module.
2. Internet of Things service provider system according to claim 1, is characterized in that: described based on sending outIn the unified message distributing network of cloth/subscribing mechanism, each bunch is provided with a particular event agency, is responsible forThe agency by agreement of route between bunch; Publisher or subscriber are connected to certain event in unified message distributing networkAgency, and issue or subscribe to its interested event by this event agent; When receiving, this event agent ordersThe person of readding is during to the subscription information of its events of interest, in being responsible for this subscription information to be forwarded to bunch neighbor node andThe agency by agreement of this bunch, and by the agency by agreement of this bunch, this subscription information is forwarded to other bunches; Similarly,When certain event agent from its client to issue event, by unified message distributing network by this thingPart is forwarded to the event agent that coupling is subscribed to, and then, this event delivery is given interested ordering by this event agentThe person of readding.
3. Internet of Things service provider system according to claim 1, is characterized in that: described event generationEvent matches module in reason is respectively with publish/subscribe interface, topic of subscription list block with issue event setsModule is connected; Event routing module respectively the event routing interface in connection event inter-agent communication interface,Theme notification interface in topic of subscription list block, issue event sets module and publish/subscribe interface; OrderRead subscription sync cap and topic of subscription list mould in synchronization module difference connection event inter-agent communication interfacePiece; Proxy management module is connected with proxy management interface; The function of these parts is as follows:
Communication interface between event agent, is responsible for the interacting message between different event agency, is provided with three kinds of interfaces:Event routing interface, subscribe to sync cap and proxy management interface, the pipeline of corresponding information is provided respectively;
Proxy management module, is responsible for the various relevant informations of maintenance event agent node information and affiliated bunch;
Subscribe to synchronization module, responsible different event agent directly carries out the real-time synchronization of theme subscription information;
Event routing module, topic of subscription list block is consulted in the event contrast of being responsible for event agent to receive,Then carry out corresponding distribution operation;
Issue event sets module, for storing the event of up-to-date issue of related subject, each issuing subjectComprise one or more issue events;
Topic of subscription list block, for storing the up-to-date subscription information of related subject, because event agent has twoKind: event agent and agency by agreement, therefore topic of subscription list has three kinds: storage is directly registered in this event generationRegistered user's subscription table of the subscriber's of reason subscription information, stores the subscription letter of other event agents in this bunchThe neighbours of breath act on behalf of subscription table, and store bunch subscription table of other bunch of interested subscription information; Subscription tableIn every record comprise two contents: topic of subscription and subscriber address;
Event matches module, is responsible in issue event sets module and topic of subscription list block receivingEvent carry out matching inquiry;
Publish/subscribe interface, for providing local publisher/subscriber's registration and the issue of related subjectThe function of/subscribing/notifying/quitting the subscription of/cancellation.
4. Internet of Things service provider system according to claim 1, is characterized in that; Described access generationThe function of reason all modules is as follows:
Resource mapping module, is responsible for the data format from various professional systems and unified message distribution networksUnified standard data format in network is delivered to Data Analysis/package module after mutually changing and shining upon;
Simple event processing module, is responsible for checking whether image data exceeds setting threshold, once find this feelingsCondition, determines alarm grade according to setting rule, and informs digital sampling and processing;
Digital sampling and processing, is responsible for access agency to receive from sensing system or internet of things service systemTo message be forwarded to unified message distributing network;
Data notification processing module, is responsible for the notice thing that access agency is received from unified message distributing networkPart is forwarded to sensing system or internet of things service system via Data Analysis/package module and the corresponding interface;
Data Analysis/package module, the information of being responsible for proprietary interface and publish/subscribe interface to receive is separatedAfter analysing, pass on corresponding module processing; Also to the message of preparing to send by proprietary interface and publish/subscribe interfaceAfter encapsulating, be sent to sensing system or internet of things service system;
Proprietary interface, is responsible for access agency and complex process engine, sensing system or internet of things service systemBetween message transmission;
Publish/subscribe interface, is responsible for the message transmission between event agent and unified message distributing network.
5. Internet of Things service provider system according to claim 1, is characterized in that: described complicated thingEvent schema editor module connection event type Registering modules and event checking module in part processing engine, thingPart detection module is also connected with action listener module with database link block, incoming event stream adaptation module;Action listener module connects outgoing event stream adaptation module; The function of above-mentioned modules is as follows:
Event schema editor module, is responsible for receiving user input and generates corresponding event statement or more complicatedComprise the event schema of event rules and condition;
Event type Registering modules, the event type of being responsible for user to require is registered to Complex event processing engine,For event schema editor module generation event fast statement and event schema statement provide support;
Database link block, is responsible for receiving the input message from Database Systems, delivers to event checking module;
Incoming event stream adaptation module, is responsible for receiving real-time thing by event agent from unified message distributing networkPart stream;
Event checking module, the event that responsible detection receives, checks and whether has the event sound that meets definitionBright and whether the complicated event of event schema occur; Wherein, event statement detecting unit is responsible for checking whether send outThe part of making trouble is stated described complicated event, and event schema detecting unit is responsible for checking whether event schema occursDescribed complicated event;
Action listener module, after the qualified complicated event of being responsible for that event checking module is detected is carried outContinuous processing;
Outgoing event stream adaptation module, the responsible interface of the result of action listener module being pressed to publish/subscribeRequire to send to unified message distributing network by event agent.
6. one kind adopts the Internet of Things service of event-driven claimed in claim 1, service-oriented EDSOAThe method of work that system is provided, is characterized in that: described method of work comprises following operating procedure:
(1) the various relevant parameters of sensing system perception and collection physical world, and pass by standard agreementGive access agency;
(2) access agency receives after the image data from sensing system, uses resource description model libraryThe concept of middle setting and attribute by isomery or Proprietary Information be all converted to the event of unified standardization; Then,Access proxy call event agent's publish/subscribe interface, is published to unified message distributing network by event;
(3) event agent in unified message distributing network receives after the event of issue, and check and inspection is subscribed toTopic list, by this case distribution and be routed to different event agents, then is responsible for to ordering by this event agentThe system of readding this event sends event notice;
(4) different event subscription persons receives after the event notice of subscription, carries out corresponding following book officeReason flow process or action:
If event subscription person is Complex event processing engine, Complex event processing engine is according to predefinedEvent schema and event statement detect, thus output complicated event; And be forwarded to base via access agencyUnified message distributing network in publish/subscribe mechanism carries out subsequent treatment;
If event subscription person is historical data base, historical data base carries out sampling processing to the event receiving,And complete the persistent storage of data;
If event subscription person is the various internet of things service subsystems in this Internet of Things service provider system, shouldInternet of things service system just triggers the corresponding service flow process of its subsystem and processes this event;
If event subscription person is Visualized Monitoring System, Visualized Monitoring System is by number entrained this eventAccording to or other information be shown in real time visual control interface;
If event subscription person is warning system, the alarm level that warning system carries according to this event sends phaseThe audible and visual alarm signal of answering, and carry out corresponding alarm disposal process.
7. method according to claim 6, is characterized in that: in described step (2), and access generationA kind of flow process of reason process information is: collect from sensing system or the reception of other internet of things service systemsInformation sends to unified message distributing network; Its concrete operations the contents are as follows:
(21) access agency receives external sensor system or other internet of things service system by proprietary interfaceThe information of the particular message structure that system sends;
(22) Data Analysis/package module of access agency is responsible for resolving the agreement of this particular message, to obtainThis Information Monitoring, and by resource mapping module, this information is converted into the event format of standard; If transformingIn process, if the situation that has the threshold value of image data to transfinite, digital sampling and processing is according to simple thingThe alarm event rule that part processing module is set is judged alarm grade, and this alarm grade packaging is arrived to eventIn;
(23) digital sampling and processing is packaged as this event after the event format of unified standard, then by countingAccording to parsing/package module, these events are encapsulated according to the requirement of event publish/subscribe interface;
(24) access agency sends the event after encapsulation to event agent module by publish/subscribe interface.
8. method according to claim 6, is characterized in that: in described step (2), and access generationThe another kind of flow process of reason process information is: send to event subscription person from unified message distributing network reception information;Its concrete operations the contents are as follows:
(2A) access agency receives by publish/subscribe interface the event notification message that event agent sends;
(2B) access agency's data notification processing module, by Data Analysis/package module analysis protocol, obtainsKnow this event information, and by resource mapping module, the event format of standard is converted into specific Proprietary Information;
(2C) access agency advises these events by Data Analysis/package module according to the agreement of proprietary interfaceProvisioning request encapsulates;
(2D) access agency sends this event to sensing system or other Internet of Things industry by proprietary interfaceBusiness system.
9. method according to claim 6, is characterized in that: described step (3) comprises following behaviourMake content:
(31) when receiving event by the issuing subject interface of publish/subscribe interface, event agent gives out informationAfter, carry out subsequent step (32); Subscribe to/quit the subscription of when event agent receives by publish/subscribe interface/getDisappear after theme message, redirect execution step (35);
(32) event agent is saved in by event matches module the event receiving issue event set matched mouldsIn piece in corresponding topic list;
(33) event agent's subscription of the registered user in topic of subscription list block by event matches moduleTable, neighbours act on behalf of inquiry character in subscription table or bunch subscription table should the subscriber of event topic;
(34) event agent, will by event routing module according to the subscriber address of this theme inquiringThis event sends to subscriber; If subscriber is local registered client, by publish/subscribe interfaceTheme notification interface be directly pushed to subscriber; If subscriber is neighbours act on behalf of or bunch agency by agreement,Be transmitted to the committee of corresponding neighbours agency or this bunch by the event routing interface of communication interface between event agentHolder agency; Return to again step (31);
(35) event agent judges that according to subscriber's address subscriber's is dissimilar: local registered user,Neighbours agency or bunch agency by agreement;
(36) event agent according to subscriber's type to the registered user's subscription table in topic of subscription list block,Neighbours act on behalf of in subscription table or bunch subscription table, increase or the relevant topic of subscription item of deletion by event matches module;
(37) event agent's subscription synchronization module passes through the subscription sync cap of communication interface between event agent,This subscription change information real-time synchronization in unified message distributing network with other neighbor nodes in cluster andThe agency by agreement of synchronous this bunch of subscription between being responsible for bunch; Return to again step (31).
10. method according to claim 6, is characterized in that: in described step (4), and complicated thingThe handling process of part processing engine comprises following content of operation:
(41) event schema editor module receive the event statement of user input or the rule of event schema andCondition, for filtering interested complicated event;
Described event statement is to adopt special event handling E Language PL (EventProcessingLanguage)Describe the condition of variety of event, the association of event and the time window of crossing over, user can also define interestedEvent detection rules, i.e. statement; In addition, also can define some complicated event rules identifies differentPattern; For the generation of the statement of simplification event and event schema, user notes event type by visualization interfaceThe event type Registering modules of volume in Complex event processing engine, event schema editor module directly makes to actThe event type that part type Registering modules provides, the statement of generation event fast and event schema;
(42) event statement and/or the event schema of generation are loaded into respectively event by event schema editor moduleEvent statement detecting unit and/or the event schema detecting unit of detection module;
(43) Complex event processing engine by incoming event flow adaptation module receive distribute from unified messageEvent agent's real-time event stream in network: comprise from the event of sensing system with from internet of things serviceThe business event of system, incoming event stream adaptation module is responsible for the difference that adaptation comprises XML or Java objectEvent format, Complex event processing engine also can receive from Database Systems by database link blockData;
(44) Complex event processing engine adopts the pattern of storage event query statement and real time filtering data,Receiving after the event of input, examined by event statement detecting unit and event schema in event checking moduleMeasurement unit filters and polymerization flow of event respectively, and once qualified event occurs, just triggering shouldThis event of action listener resume module that event is corresponding;
(45) action listener module is monitored this event, and determines this event to take according to concrete application demandRespective handling;
(46) Complex event processing engine flows adaptive by the result of action listener module by outgoing eventModule is adapted for the complicated event form of standard, and by publish/subscribe interface, complicated event is outputed to unificationThe event agent of message distribution network.
CN201310397448.7A 2013-09-04 2013-09-04 Event-driven, service-oriented Internet of Things service provider system and method for work thereof Active CN103458033B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310397448.7A CN103458033B (en) 2013-09-04 2013-09-04 Event-driven, service-oriented Internet of Things service provider system and method for work thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310397448.7A CN103458033B (en) 2013-09-04 2013-09-04 Event-driven, service-oriented Internet of Things service provider system and method for work thereof

Publications (2)

Publication Number Publication Date
CN103458033A CN103458033A (en) 2013-12-18
CN103458033B true CN103458033B (en) 2016-05-11

Family

ID=49739975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310397448.7A Active CN103458033B (en) 2013-09-04 2013-09-04 Event-driven, service-oriented Internet of Things service provider system and method for work thereof

Country Status (1)

Country Link
CN (1) CN103458033B (en)

Families Citing this family (88)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103780678B (en) * 2013-12-27 2017-03-22 北京天融信软件有限公司 Event flow control method in network audit and system thereof
CN103702384B (en) * 2014-01-14 2017-01-25 北京航空航天大学 Application-oriented clustering routing method of wireless sensor network
CN103702385B (en) * 2014-01-14 2016-10-26 北京航空航天大学 The task diffusion allocation algorithm that wireless sensor network semanteme is sensitive
CN103778000A (en) * 2014-01-26 2014-05-07 北京仿真中心 Semantic description method for simulation service based on body
CN104917802A (en) * 2014-03-12 2015-09-16 国家电网公司 Multi-sensor data source processing method and device
CN104050920B (en) * 2014-06-20 2016-05-11 西安诺瓦电子科技有限公司 LED display control system and asynchronous control card
CN104156798B (en) * 2014-07-08 2017-12-01 四川中电启明星信息技术有限公司 Enterprise authority source system data real time propelling movement method
CN105376288A (en) * 2014-08-29 2016-03-02 上海丰进信息科技有限公司 Visual monitoring method and system of Internet of Things node
CN104268702B (en) * 2014-09-29 2018-04-27 成都西山居互动娱乐科技有限公司 A kind of task distribution mechanisms subscribed to based on active in the workflow of website
CN105678436B (en) * 2014-11-21 2019-05-10 中国科学院上海高等研究院 A kind of Internet of Things collaborative management method and system based on cloud service platform
US9699627B2 (en) * 2014-12-10 2017-07-04 Pismo Labs Technology Limited Methods and systems for processing messages at a network node
CN104506596A (en) * 2014-12-15 2015-04-08 活点信息技术有限公司 Internet of things operation system based on event driving mechanism
CN104572859B (en) * 2014-12-17 2018-01-09 北京邮电大学 A kind of distributed complex event handling system
CN105760397B (en) * 2014-12-18 2020-11-03 中兴通讯股份有限公司 Internet of things ontology model processing method and device
CN104517189B (en) * 2014-12-26 2017-10-20 北京邮电大学 A kind of system and method cooperated between workflow based on event
CN104636211B (en) * 2015-03-10 2018-10-16 中国农业银行股份有限公司 Information interacting method and middleware system between a kind of software systems
US9632846B2 (en) * 2015-04-02 2017-04-25 Microsoft Technology Licensing, Llc Complex event processor for historic/live/replayed data
CN106209946A (en) * 2015-05-07 2016-12-07 阿里巴巴集团控股有限公司 The propelling movement of object job information, acquisition methods and system
US10334406B2 (en) * 2015-05-20 2019-06-25 Convida Wireless, Llc Methods and apparatus for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency
CN105099882B (en) * 2015-07-09 2018-07-10 杭州电子科技大学 A kind of cloud method for pushing and system based on MQTT
CN105138385A (en) * 2015-08-25 2015-12-09 北京邮电大学 Complex event processing method for Internet of Things
US9910668B2 (en) * 2015-09-10 2018-03-06 International Business Machines Corporation Sensor-driven eventing and two stage notification
CN105337778A (en) * 2015-11-27 2016-02-17 北京邮电大学 Internet of Things event-driven service management system
CN105868395A (en) * 2016-04-19 2016-08-17 武汉邮电科学研究院 Event driven based smart city big data system and processing method
CN107515864B (en) * 2016-06-15 2021-06-22 阿里巴巴集团控股有限公司 Method and equipment for monitoring workflow
CN106155680B (en) * 2016-06-27 2019-08-02 上海波汇科技有限公司 A kind of distribution High Availabitity, expansible, portable software framework
US10338796B2 (en) * 2016-07-27 2019-07-02 Sap Se Event services modeling framework for computer systems
EP3352116A1 (en) * 2017-01-24 2018-07-25 Siemens Aktiengesellschaft Method for generating software architectures for managing data
CN107066366B (en) * 2017-03-17 2020-08-18 华南理工大学 Complex event processing engine state monitoring and disaster recovery method for Internet of things
CN107040411B (en) * 2017-03-31 2020-11-13 台州市吉吉知识产权运营有限公司 Intelligent gateway management method and system based on event-driven model
CN107066341B (en) * 2017-04-12 2020-08-04 武汉斗鱼网络科技有限公司 Event routing framework and method between software modules
CN107147639B (en) * 2017-05-08 2018-07-24 国家电网公司 A kind of actual time safety method for early warning based on Complex event processing
AU2018280266B2 (en) * 2017-06-09 2020-09-10 Equinix, Inc. Near real-time messaging service for data center infrastructure monitoring data
CN111049749B (en) * 2017-06-21 2023-06-06 深圳市盛路物联通讯技术有限公司 Control and system for data reporting frequency of Internet of things of terminal equipment
CN107689888B (en) * 2017-08-23 2020-07-03 广州优亿信息科技有限公司 Multi-path aggregated NB (NB) equipment access server system
CN111886846B (en) * 2018-03-26 2023-01-13 西门子股份公司 Method for event-controlled calling of process data
US10681164B2 (en) * 2018-05-03 2020-06-09 Microsoft Technology Licensing, Llc Input and output schema mappings
CN108763534B (en) * 2018-05-31 2019-10-18 北京百度网讯科技有限公司 Method and apparatus for handling information
CN108924183B (en) * 2018-05-31 2022-01-11 北京百度网讯科技有限公司 Method and device for processing information
CN108833510B (en) * 2018-05-31 2020-02-14 北京百度网讯科技有限公司 Message processing method and device
CN108809972B (en) * 2018-06-01 2021-04-02 南京邮电大学 Internet of things comprehensive experiment and application development platform based on open source ecosystem
CN108989093A (en) * 2018-06-27 2018-12-11 安徽国讯芯微科技有限公司 A kind of Internet of Things multidimensional physical modeling system
CN112422666A (en) * 2018-09-06 2021-02-26 广州知弘科技有限公司 Internet of vehicles platform
CN110971639B (en) * 2018-09-30 2023-02-03 广州虎牙信息科技有限公司 Message distribution method, message management system, server, and computer storage medium
CN109547545A (en) * 2018-11-21 2019-03-29 中国联合网络通信集团有限公司 A kind of management method and equipment, communication system of shared Internet resources
CN109962968A (en) * 2018-11-21 2019-07-02 东莞市云创网络科技有限公司 With city information publication and distribution system
CN111221630B (en) * 2018-11-27 2023-12-15 台达电子工业股份有限公司 Business process processing method, device, equipment, readable storage medium and system
CN109582476B (en) * 2018-11-29 2024-01-16 创新先进技术有限公司 Data processing method, device and system
CN109451035A (en) * 2018-12-04 2019-03-08 宁波耘瑞智能科技有限公司 A kind of method, apparatus and system of separate type collection group agent and service
CN109614413B (en) * 2018-12-12 2023-03-24 上海金融期货信息技术有限公司 Memory flow type computing platform system
CN109450786B (en) * 2018-12-25 2021-03-23 上海上实龙创智慧能源科技股份有限公司 Edge gateway based on rule engine
CN109547334B (en) * 2018-12-26 2021-10-08 苏州宏软信息技术有限公司 Service system for machine networking message communication and implementation method thereof
CN109711479A (en) * 2018-12-30 2019-05-03 中国电子科技集团公司信息科学研究院 A kind of data processing and fusion method and its application
CN109818883B (en) * 2019-03-07 2020-11-17 中国电子科技集团公司第十四研究所 Distributed publishing and subscribing transmission method based on appointed source multicast
CN110008088A (en) * 2019-04-10 2019-07-12 苏州浪潮智能科技有限公司 A kind of transmission system of sensor information, method, equipment and storage medium
CN110278249B (en) * 2019-05-30 2022-03-25 王静逸 Distributed group intelligent system
CN110189039B (en) * 2019-06-04 2023-04-25 湖南智慧畅行交通科技有限公司 Charging pile event processing engine based on distribution
CN110460526B (en) * 2019-06-29 2021-08-10 天津大学 Communication method for content-oriented networking data acquisition and distribution of Internet of things
EP3767404A1 (en) * 2019-07-18 2021-01-20 Siemens Aktiengesellschaft Implementing event rules for maintenance relevant events in a multitude of machines
CN110457368B (en) * 2019-07-26 2023-07-21 广州市广百物流有限公司 Visualization method, system and storage medium for supply chain
CN110798452B (en) * 2019-10-16 2021-01-05 北京邮电大学 Lightweight Internet of things service generation system and method
CN111061579B (en) * 2019-12-31 2024-02-02 安徽智恒信科技股份有限公司 Method and system for multi-state machine event driven intelligent cabinet circulation information
CN111324469A (en) * 2020-01-20 2020-06-23 天津美腾科技股份有限公司 Method and system for distributed event center with biased application structure optimization
CN111475140B (en) * 2020-03-20 2023-09-22 湖南快乐阳光互动娱乐传媒有限公司 App componentization method based on event-driven architecture and event-driven architecture
CN111596898B (en) * 2020-05-08 2024-01-30 湖南智领通信科技有限公司 SCA component based on CORBA component and server
CN111787049A (en) * 2020-05-09 2020-10-16 苏州中科中霖电子科技有限公司 Internet of things equipment management method and system based on equipment object
CN111708645A (en) * 2020-06-12 2020-09-25 北京思特奇信息技术股份有限公司 Event processing method and system based on stream processing
CN111835584A (en) * 2020-06-19 2020-10-27 深圳奇迹智慧网络有限公司 Inspection method and device for products of Internet of things, computer equipment and storage medium
CN113992741B (en) * 2020-07-10 2023-06-20 华为技术有限公司 Method and device for indexing release data
CN111935241B (en) * 2020-07-16 2022-03-04 桂林电子科技大学 Edge service intelligent cooperation method based on data distribution network
CN112330090B (en) * 2020-09-25 2022-09-23 江苏方天电力技术有限公司 Low-voltage distribution network data driving service method
CN112291313A (en) * 2020-10-15 2021-01-29 长春创世麒麟科技有限公司 Event-driven data transfer system and method
CN114637502B (en) * 2020-12-16 2023-08-04 广州云徙科技有限公司 Method and system for realizing flexible assembly of service function package
CN112637347B (en) * 2020-12-24 2023-04-18 北京源清慧虹信息科技有限公司 General thing networking collection system
CN112911531B (en) * 2021-01-11 2022-12-30 国网江苏省电力有限公司常州供电分公司 Sensing data transmission system and method for high-voltage switch and readable storage medium
CN112769624B (en) * 2021-01-21 2021-10-08 奇秦科技(北京)股份有限公司 Point table-based industrial Internet of things gateway design method
CN112911012B (en) * 2021-02-07 2023-05-05 珠海一微半导体股份有限公司 Distribution and subscription system of robot sensor data, chip and robot
CN113296917B (en) * 2021-07-26 2021-11-02 北京元知创智科技有限公司 Multi-service system service event subscription scheduling method, electronic device and storage medium
CN113641139B (en) * 2021-08-05 2022-11-25 珠海格力电器股份有限公司 System, controller, control system and storage medium capable of realizing asynchronous programming
CN113805867B (en) * 2021-08-24 2024-03-19 中通服咨询设计研究院有限公司 Internet of things platform based on visual static script engine
CN114598719A (en) * 2021-09-06 2022-06-07 广东东华发思特软件有限公司 Smart city Internet of things event management method, device and readable medium
CN114003788B (en) * 2021-11-02 2023-06-06 广州新科佳都科技有限公司 Visual analysis system for dynamic event
CN114374708B (en) * 2021-12-07 2022-09-30 上海交通大学 Intelligent factory data automatic subscription method based on collaborative filtering and MQTT
CN114900523A (en) * 2022-05-09 2022-08-12 重庆标能瑞源储能技术研究院有限公司 Directional load balancing data flow processing method under Internet of things architecture
CN115150226A (en) * 2022-06-20 2022-10-04 武汉虹信技术服务有限责任公司 Intelligent gateway adaptation system based on object model and operation method thereof
CN115913983B (en) * 2022-12-20 2023-05-23 东方空间技术(北京)有限公司 Construction method and device of ground measurement and control network topology structure of carrier rocket
CN117156097B (en) * 2023-11-01 2024-02-20 方图智能(深圳)科技集团股份有限公司 Intelligent conference audio data processing method and system based on Internet of things perception
CN117811833B (en) * 2024-02-23 2024-05-10 山东华翼微电子技术股份有限公司 Unified network crypto-engine management system and method based on publishing and subscribing mode

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158554A (en) * 2011-04-02 2011-08-17 南京邮电大学 Mobile agent-based Internet of things middleware development method
CN102831513A (en) * 2012-07-20 2012-12-19 大连理工大学 Container logistics field oriented IoT (Internet of Things) application-layer middleware and information fusion integration method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8996666B2 (en) * 2011-12-20 2015-03-31 Cisco Technology, Inc. Quality of service (QoS) configuration in low-power and lossy networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158554A (en) * 2011-04-02 2011-08-17 南京邮电大学 Mobile agent-based Internet of things middleware development method
CN102831513A (en) * 2012-07-20 2012-12-19 大连理工大学 Container logistics field oriented IoT (Internet of Things) application-layer middleware and information fusion integration method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
EDSOA服务平台中发布订阅网络基础服务的设计;石瑞生;《计算机集成制造系统》;20120830;全文 *
Towards a Flexible Event-Driven SOA Based Approach for Collaborating Interactive Business Processes;Da Zhu;《Services Computing(SCC),2011 IEEE International Conference on》;20110709;全文 *

Also Published As

Publication number Publication date
CN103458033A (en) 2013-12-18

Similar Documents

Publication Publication Date Title
CN103458033B (en) Event-driven, service-oriented Internet of Things service provider system and method for work thereof
CN110549336B (en) Transformer substation patrols and examines robot centralized control main website system
CN105917690B (en) (NFV) system of intermodule communication, method and computer program in a network is virtualized based on network function
CN102902536B (en) A kind of Internet of Things computer system
Tan et al. Spatio-temporal event model for cyber-physical systems
Cheng et al. Lightweight service mashup middleware with REST style architecture for IoT applications
CN102346685B (en) Integrated adapter management system and method
CN104049575B (en) It is collected in Process Control System and delivers data to big data machine
CN105809356A (en) Information system resource management method based on application integrated cloud platform
CN106571960A (en) Log collection and management system and log collection and management method
CN106027671A (en) Cloud computing based industrial data bus and data service system
CN104967686B (en) A kind of structure face type 3S intelligent service shops system and its design method
CN103973815A (en) Method for unified monitoring of storage environment across data centers
D'Elia et al. Smart applications for the maintenance of large buildings: How to achieve ontology-based interoperability at the information level
CN106980547A (en) Expansible assets class in the monitoring system with common platform
CN104517189B (en) A kind of system and method cooperated between workflow based on event
Alcarria et al. Resolving coordination challenges in distributed mobile service executions
Neagu et al. Next generation IoT and its influence on decision-making. An illustrative case study
Seydoux et al. Capturing the contributions of the semantic web to the IoT: a unifying vision
TWI651667B (en) Interface system of virtual and physical integrated network with resources topology
WO2008056656A1 (en) Workflow tracking system, integration management apparatus, method, program and information recording medium having recorded it
CN108540302A (en) A kind of method and apparatus of big data processing
Fernández-Llatas et al. Semantic Process Choreography for Distributed Sensor Management.
Merino et al. Impact of data quality in real-time big data systems
Cheng et al. A distributed event-centric collaborative workflows development system for IoT application

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