Movatterモバイル変換


[0]ホーム

URL:


CN104778042A - Stream data processing method based on event stream processing and plug-in type development framework - Google Patents

Stream data processing method based on event stream processing and plug-in type development framework
Download PDF

Info

Publication number
CN104778042A
CN104778042ACN201510146187.0ACN201510146187ACN104778042ACN 104778042 ACN104778042 ACN 104778042ACN 201510146187 ACN201510146187 ACN 201510146187ACN 104778042 ACN104778042 ACN 104778042A
Authority
CN
China
Prior art keywords
event
data
plug
unit
stream processing
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.)
Granted
Application number
CN201510146187.0A
Other languages
Chinese (zh)
Other versions
CN104778042B (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.)
Zhong Tong clothing consulting and Design Research Institute Co., Ltd.
Original Assignee
Jiangsu Posts and Telecommunications Planning and Designing Institute Co Ltd
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 Jiangsu Posts and Telecommunications Planning and Designing Institute Co LtdfiledCriticalJiangsu Posts and Telecommunications Planning and Designing Institute Co Ltd
Priority to CN201510146187.0ApriorityCriticalpatent/CN104778042B/en
Publication of CN104778042ApublicationCriticalpatent/CN104778042A/en
Application grantedgrantedCritical
Publication of CN104778042BpublicationCriticalpatent/CN104778042B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a stream data processing method based on event stream processing and a plug-in type development framework. The stream data processing method comprises the following steps: step 1, establishing a plug-in host program; step 2, defining an interface specification between the plug-in host program and a plug-in; step 3, aiming at data acquisition protocols of different outer field sensing equipment, generating corresponding data acquisition plug-ins; step 4, establishing an event stream processing engine; step 5, defining a time window or a length window for the event stream processing engine; step 6, aiming at the data acquisition protocols of the different outer field sensing equipment, realizing corresponding data processing rules; step 7, defining and registering events; step 8, correlating the registered events with the data processing rules in the step 6 respectively; step 9, setting event processing conditions; step 10, establishing a source data queue and a target queue; step 11, establishing a consumption thread; step 12, leading target data to a destination; and step 13, establishing a daemon process.

Description

A kind of stream data processing method based on event stream processing and plug-in type Development Framework
Technical field
The present invention relates to the real-time data acquisition disposal route of the outfield perception sensing equipments such as electric power, traffic, energy-conserving and environment-protective, new forms of energy, particularly a kind of stream data processing method based on event stream processing and plug-in type Development Framework.
Background technology
At present when carrying out the data acquisition process of outfield awareness apparatus, usually to dock different outfield awareness apparatus simultaneously.Because its communication protocol of different awareness apparatus is different, the even difference had is very large, and traditional way is all generally usually carry out special exploitation for the data acquisition of different outfield awareness apparatus.
The data volume gathered when sensing equipment is more is larger, and the real-time of data processing is difficult to ensure.Even if the temporary cache using message-oriented middleware to carry out data also can exist the situation of multiple treatment progress contention message-oriented middleware, now message-oriented middleware becomes the bottleneck that real-time promotes.
The data acquisition treatment method of traditional outfield awareness apparatus is often coupled the collection of data, process and analysis, and then result in the decline of data processing overall performance.
Summary of the invention
Goal of the invention: technical matters to be solved by this invention is for the deficiencies in the prior art, provides a kind of stream data processing method based on event stream processing and plug-in type Development Framework.
In order to solve the problems of the technologies described above, the invention discloses a kind of stream data processing method based on event stream processing and plug-in type Development Framework, comprising the following steps:
Step 1, creates plug-in unit host program;
Step 2, the interface specification between definition plug-in unit host program and plug-in unit;
Step 3, according to the interface specification in step 2, for the data acquisition protocol of various different outfield awareness apparatus, generates the data acquisition plug-in unit corresponding with various data acquisition protocol;
Step 4, creates event stream processing engine based on Esper framework, and as real-time event driver framework, when there being event treatment conditions to occur in flow of event, event stream processing engine triggers custom action;
Step 5 is event stream processing engine definitions time window or length window, the data within the scope of time window definition certain hour or in any one time period, the data of length window definition several events nearest;
Step 6, the data acquisition protocol for various different outfield awareness apparatus realizes the data processing rule corresponding with each data acquisition protocol;
Step 7, definition is registered events also, and define various event for various different outfield awareness apparatus, each class outfield awareness apparatus is defined as an event, and by various event registration in event stream processing engine;
Step 8, is associated with the various data processing rules realized in step 6 respectively by the event of registration in step 7, can automatically trigger relevant custom action when occurring for corresponding event;
Step 9, arranges event handling condition;
Step 10, creates source data queue PackageMessageQueue, deposits the raw data that various different outfield awareness apparatus sends over, and object queue RecordMessageQueue, is used for depositing the target data after processing of decoding;
Step 11, creates source data consuming thread ConsumePackage and target data consuming thread ConsumeRecord:
(1) source data consuming thread ConsumePackage constantly takes out data from source data queue PackageMessageQueue, and according to the type of data, this packet is dressed up the event object of corresponding types, and send to event stream processing engine, trigger corresponding data processing rule when reaching the event handling condition that step 9 is arranged to process, the data obtained after process put into the object queue RecordMessageQueue of step 10;
(2) target data consuming thread ConsumeRecord constantly takes out target data from object queue RecordMessageQueue;
Step 12, target data step 11 obtained exports to destination, such as can export in database, file or message-oriented middleware;
Step 13, creates finger daemon, and finger daemon is responsible for the duty detecting the process of eventstream data engine, initiatively closes flow data handling procedure and restart when the duty of flow data handling procedure occurs exception or quits work.
In the present invention, further, the plug-in unit host program described in step 1 comprises following functions:
(1a) registered plug-ins: plug-in unit is registered before the use in host program, for locating plug-in unit path; What after only succeeding in registration, ability was correct finds plug-in unit path;
(2) anti-registered plug-ins: can register plug-in unit is counter when host program no longer needs to use this plug-in unit time, thus make it no longer become a part for host program;
(3) plug-in unit is enabled: chartered plug-in unit can be enabled;
(4) plug-in unit is forbidden: when not re-using certain plug-in unit, the plug-in unit run can be forbidden.
The function of the data acquisition plug-in unit in step 3 can be realized by dynamic link library technology.
The constructive process of the event stream processing engine described in step 4 is as follows:
(4a) pre-define the corresponding event of various awareness apparatus according to various outfields awareness apparatus, then various event type is registered in configuration surroundings, generate relevant configuration object;
(4b) to configure object for parameter establishment event stream processing engine instance, as the container environment of event handling;
(4c) create or import event handling rule;
(4d) create audiomonitor object, and audiomonitor object is associated with event handling rule;
(4e) event stream processing engine creates the execution environment object of event stream processing, receives flow of event, carries out logic mate in engine with event handling condition;
(4f) execution environment object is responsible for monitoring all events of coming, and triggers corresponding audiomonitor carry out process to outfield awareness apparatus event and obtain target data when the event handling condition that event matches presets.
Data processing rule described in step 6 refers to receive the data of outfield awareness apparatus and decode, to decoded data according to user's request process according to the acquisition protocols of awareness apparatus.
Event described in step 7 is tlv triple <id, attrs, a time>, and wherein id is the unique identification of this event; Attrs represents the attribute of this event, for the event of the different attribute of the data packaging of different outfield awareness apparatus generations, use attrs attribute to identify various different outfield awareness apparatus, event stream processing engine selects corresponding data processing rule by attrs attribute; The time that time presentation of events occurs, identify the time of the data acquisition of various different outfield awareness apparatus, and as a condition entry of event stream processing.
The present invention, by event stream processing and plug-in type Development Framework being combined, provides one more efficient real-time streaming data disposal route more flexibly.Compared with prior art, the beneficial effect had is:
(1) plug-in type Development Framework is incorporated into Data processing by the present invention, and make to have been come by the mode of loading of plug-in the adaptation of various outfields awareness apparatus host-host protocol, more flexibly, extendability is strong.
(2) the present invention adopts the mechanism based on event stream processing, data processing is carried out based on flow of event, be event the data abstraction that will analyze, when can obtain the result of event after event stream processing engine accepts to dependent event according to the input of event and the transaction module of first registers, make data-handling efficiency higher.
By introducing the mechanism of event stream processing, make traditional data processing platform really possess the feature of flow data process, no longer the storage of focused data, but while data flow through event stream processing engine, get the data of user's care.
(3) process owing to converting data to event, statistical study can be carried out to event information according to predefined time window or length window, thus the abnormal data that can find fast to collect (such as become suddenly and diminish etc. greatly, suddenly) responding, operation system is accomplished from controlling self feed back.
(4) by introducing finger daemon, complete the management work of process self, when occur quitting work or duty exception when can restart flow data process software, ensure that flow data process software " is never shut down ".
Accompanying drawing explanation
To do the present invention below in conjunction with the drawings and specific embodiments and further illustrate, above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is the implementation procedure of the stream data processing method that the present invention is based on event stream processing and plug-in type Development Framework.
Fig. 2 is the architecture of typical plug-in type Development Framework.
Fig. 3 is the process flow diagram of host program management plug-in unit.
Fig. 4 is the constructive process of event stream processing engine.
Fig. 5 is the implementation of event stream processing engine.
Fig. 6 is the processing window schematic diagram of event stream processing engine.
Fig. 7 is the class figure of certain Sensor Events.
Embodiment
Fig. 1 is the implementation procedure of the stream data processing method based on event stream processing and plug-in type Development Framework, wherein need to carry out real-time data acquisition process to various different outfield awareness apparatus 1, equipment 2..., equipment N, the data acquisition of various different sensing equipment is responsible for by data acquisition plug-in unit, different outfield awareness apparatus is docked according to different outfield awareness apparatus Data Transport Protocols, image data, the corresponding relation of data acquisition plug-in unit and equipment reads configuration file to obtain by configuration information interface, the raw data collected is put in source data queue, consuming thread A constantly takes out data and according to the type of data, packet is dressed up the event object of corresponding types from source data queue, send to event stream processing engine, event stream processing engine can mate different event handling rules according to various different event type and process event, obtain target data and put in object queue, consuming thread B is responsible for from object queue, taking out target data and inputing to derivation module, derive module, according to no use scenes, target data is exported to different data layouts.
Step 1, creates plug-in unit host program, and host is the environment of carrying plug-in component operation, for the operation of plug-in unit provides the most basic service, receives the service that plug-in unit provides simultaneously.
Plug-in part technology itself is a kind of component technology, this technology is simpler than component technologys such as com, be more prone to when constructing local application system realize, divided by the summation function that needs software in the design and R&D process of software, make program be divided into two major parts: host program and plug-in unit.The functional requirement on basis design in host program, in addition, host program also provides the interface with plug-in unit, enables corresponding plug-in unit carry out exchanges data according to certain rule, thus realizing some functions, Fig. 2 is the architecture of typical plug-in type Development Framework; Plug-in unit is then the assembly realizing partial function one by one, is adjusted the function of software, because plug-in type is relatively independent part, can independently edit by increase and decrease plug-in unit or amendment plug-in unit built-in function.Thus realize the expansion of software function and update.
The major function of host program manages plug-in unit, and major function comprises:
(1) registered plug-ins: plug-in unit must be registered before the use in host program, what after only succeeding in registration, ability was correct finds plug-in unit path.
(2) anti-registered plug-ins: can register plug-in unit is counter when host program no longer needs to use this plug-in unit time, thus make it no longer become a part for host program.
(3) plug-in unit is enabled: chartered plug-in unit can be enabled.
(4) plug-in unit is forbidden: when not re-using certain plug-in unit, the plug-in unit run can be forbidden.
Fig. 3 is the process flow diagram of host program management plug-in unit, carries out initialization operation when the plug-in unit that host program finds current loading is new plug-in unit to this plug-in unit, then will start plug-in unit in plug-in registration to host frame; Loaded before the plug-in unit of the current loading of host program and first first can forbid plug-in unit, and then plug-in unit had been upgraded, after update of plug-in completes, restart plug-in unit.
Step 2, the interface specification between definition plug-in unit host program and plug-in unit.
Host program and plug-in unit can combine work, and set of rule and agreement must be had to operate to make these Program Coordinations of separate sources.Interface specification as a rule between host program and plug-in unit all adopts the mode of abstraction interface to realize.
(1) interface between data acquisition plug-in unit and host program:
Module effect● unified data acquisition interface is provided
Module characteristicAbstract class, for being inherited
Class name (object name)Communicater
Primary interfacevirtual void run_collect(void)=0;
By this interface, the collection plug-in unit of various sensor can be linked in host program, calls corresponding plug-in unit according to the type of sensor.
(2) interface between demoder plug-in unit and host program:
Module effect● unified decoding interface is provided
Module characteristicAbstract class, for being inherited
Class name (object name)Decoder
Primary interfacevirtual intdecode_package(ACE_Message_Block*&mb)=0;
By this interface, can decode to gathering the sensor raw data of coming, calling corresponding plug-in unit according to the type of sensor.
Step 3, according to the interface specification in step 2, agreement for different outfield awareness apparatus data acquisitions is different, such as agreement 1, agreement 2 ..., agreement N, generating various data acquisition plug-in unit by realizing various acquisition protocols, such as gathering plug-in unit 1, gather plug-in unit 2 ..., gather plug-in unit N.
Illustrate different outfield awareness apparatus and the data acquisition protocol of correspondence thereof below:
Gather plug-in unit and be used for the collecting work of adaptive various different outfields awareness apparatus, according to the exploitation of concrete data acquisition protocol, be mounted in host program by the interface between data acquisition plug-in unit and host program.
Gathering the concrete function of plug-in unit is in communication process, obtain the data that various outfields awareness apparatus sends.Plug-in unit needs to be loaded by host program and managed by host program and control, can dynamic insertion in host program, strengthen the function of original program.The realization of plug-in unit generally has two schemes: the Component Object Model and dynamic link library.Dynamic link library technology is adopted to carry out practical function plug-in unit in the present invention, dynamic link library (DLL) be certain function can executive software module, itself can not independent operating, can only output variable, function or class, the program (host program) of independent operatings can call the function of its inside by other.
Step 4, create event stream processing engine based on Esper framework, Esper is an event stream processing framework, and when there being event condition to occur in flow of event, event stream processing engine can trigger custom action.
Fig. 4 is the constructive process of event stream processing engine, comprises the steps:
(1) process of event stream processing engine is in units of event, so need pre-defined various event in event stream processing engine, the corresponding event of various awareness apparatus is pre-defined in the present invention according to various outfields awareness apparatus, then various event type is registered in configuration surroundings, generates relevant configuration object;
(2) to configure object for parameter establishment event stream processing engine instance, as the container environment of event handling;
(3) create or import event handling rule, event handling rule carries out for the data of various different outfields awareness apparatus the method that processes, different outfield awareness apparatus data processing method methods is different, (such as, under scene based on fixed cycle collecting device data, the processing rule of event is exactly a task of timer, the mean value such as calculating in 5 minutes the ammeter data received, the peak value etc. of ammeter data received in nearest a day), the good post-registration of rule creation is in event stream processing engine.
(4) create audiomonitor object, and audiomonitor object is associated with event handling rule.
(5) event stream processing engine creates the execution environment object of event stream processing, receives flow of event, carries out logic mate in engine with event handling condition.
(6) execution environment object is responsible for monitoring all events of coming, just can trigger corresponding audiomonitor to carry out process to outfield awareness apparatus event obtain target data when the condition that event matches presets, target data is flushed to buffer memory in time, and is persisted to database.Fig. 5 is the implementation of event stream processing engine, event stream processing engine accepts carries out Condition Matching to flow of event to event, can be distributed to different event handling rules process event when condition meets the requirement preset according to different event types.
Step 5 is event stream processing engine definitions time window or length window, and time window is used for the data defined within the scope of certain hour or in certain time period and processes; The data that length window is used for defining nearest how many events process.
Fig. 6 is the processing window schematic diagram of event stream processing engine, by definition length window and event window, statistical study can be carried out to event information according to predefined time window or length window, thus the abnormal data that can find fast to collect (such as become suddenly and diminish etc. greatly, suddenly) responding, operation system is accomplished from controlling self feed back.
Step 6, to agreement 1, agreement 2 ..., agreement N, realizes the data processing method of each agreement, data processing rule 1, data processing rule 2 ..., data processing rule N.
The outfield perception sensing data received carries out decoding the process of line correlation of going forward side by side by the major function of data processing rule.
Step 7, definition is registered events also, various event is defined for various different outfield awareness apparatus, each class outfield awareness apparatus is defined as an event, such as define event 1, event 2 ..., event N respectively for sensing equipment 1, sensing equipment 2 ..., sensing equipment N, and various event type is registered in event stream processing engine.
Event is a tlv triple E=(id, attrs, time), wherein id is the mark of this event, each event has a unique mark, attrs represents the attribute of this event, data for different outfield awareness apparatus generations are packaged into the event of different attribute, this property value is used to be used for identifying various different outfield awareness apparatus, event stream processing engine selects corresponding processing rule by this property value, the time that time presentation of events occurs, the time of the collection of identification data, can as of an event stream processing condition entry.
The event object of public class device//certain equipment
{
String DeviceName; // device name
IntEventId; // event id
public String getDeviceName( )
{returnDeviceName;}
publicintgetEventId( )
{returnEventId}
}
An epimere coded representation device events object the simplest, is assigned different marks for different equipment DeviceName, and EventId is used for the id of identified event, and each event has different No. id.
Step 8, is associated with the various data rule methods realized in preceding step 6 respectively by the event of registration in step 7.So that corresponding event can trigger relevant custom action when occurring automatically.
Step 9, arranges event handling condition.
Step 10, creates source data queue PackageMessageQueue (depositing the raw data that each outfield awareness apparatus sends over) and object queue RecordMessageQueue (being used for depositing the target data after processing of decoding).
Step 11, creates consuming thread.Create source event consuming thread ConsumePackage and target data consuming thread ConsumeRecord.
(1) source event consuming thread ConsumePackage constantly can take out data from source data queue PackageMessageQueue, and according to the type of data, packet is dressed up the event object of corresponding types, and send to event stream processing engine, can trigger corresponding data processing rule when reaching certain predefine condition to process, the data obtained after process put into the object queue RecordMessageQueue of step 10.
(2) target data consuming thread ConsumeRecord constantly can take out data from object queue RecordMessageQueue.
Step 12, the target data that step 11 obtains can export to different destinations according to service needed, such as, by statistical conversion to database, by statistical conversion to file, by statistical conversion to message-oriented middleware.
Step 13, creates finger daemon, and finger daemon is responsible for the heartbeat and the duty that detect flow data treatment progress, can initiatively close residual process and start new process when the duty of flow data treatment progress occurs exception or quits work.
Finger daemon mainly contains 3 functions: (1) stream data handling procedure manages, and comprises and starts/shutoff operation to it; (2) current operating state of flow data handling procedure is obtained; (3) heartbeat message of flow data handling procedure can be obtained.
Embodiment
Below Windows to operate to example explanation.
Step 1, starts host program CollectService;
Step 2, the interface specification between definition plug-in unit host program and plug-in unit; Concrete interface specification is as follows:
(1) interface between data acquisition plug-in unit and host program:
Module effect● unified data acquisition interface is provided
Module characteristicAbstract class, for being inherited
Class name (object name)Communicater
Primary interfacevirtual void run_collect(void)=0;
(2) interface between demoder plug-in unit and host program:
Module effect● unified decoding interface is provided
Module characteristicAbstract class, for being inherited
Class name (object name)Decoder
Primary interfacevirtual intdecode_package(ACE_Message_Block*&mb)=0;
Step 3, according to the information that configuration load-on module provides, host program determines that the data acquisition plug-in unit that this time operation needs load is: Eda9033.dll, Eda9033.dll, Eda9033.dll, wherein Eda9033.dll plug-in unit uses NODBUS-RTU/DLT645-1997/DLT645-2007 agreement; Eda9033A.dll plug-in unit uses DL/T645-97 agreement; Ex8-33.dll plug-in unit uses DLT645-1997/DLT645-2007 agreement; Ex8.dll plug-in unit uses MODBUS-RTU agreement.Call the run_collect () method of each plug-in unit successively, start the service of collection; The decode_package (ACE_Message_Block* & mb) calling corresponding sensing equipment to the raw data of the sensor collected carries out the decoding of raw data.
Step 4, creates event stream processing engine, as the container environment of event stream processing based on Esper framework.
Step 5, for event stream processing engine definitions time window or length window, time window or length window are the conditions of event stream processing, event stream processing engine reads all event ids in event queue according to this condition and processes event, each event is a tlv triple, comprise (ammeter id, ammeter and corresponding collector attribute attrs, current time time).Attrs represents the attribute of this event, comprises collector IP (ip), port numbers (port), the numbering of ammeter in collector (collectid), decoder number (decodeid), ammeter data (data) etc.If such as need to carry out statistical study to certain outfield awareness apparatus data event of nearest a day, need time window to be set to one day.
Step 6, arranges event handling rule according to different event types (corresponding with the type of outfield awareness apparatus), and event handling rule is realized by EPL language.Such as calculate the mean value of the ammeter data of certain outfield awareness apparatus every day:
selectavg(data)fromSensorEventevery1day.
The mean value of certain sensor data event of above-mentioned Rule (SensorEvent) ammeter data of nearest a day (Data);
Step 7, definition is registered events also, and define various event for various different outfield awareness apparatus, each class outfield awareness apparatus is defined as an event, and by various event registration in event stream processing engine;
Event exists in the form of classes, and the attribute of event is member variable corresponding in class.Fig. 7 is the class figure of certain Sensor Events.Wherein Id is event id, the uniqueness (with outfield perception sensing equipment type association) of presentation of events; CollectTime is the raw data acquisition time; SourceIp is the IP address of the sensing equipment of Data Source; SourcePort is the port of the sensing equipment of Data Source; The ID of CollectId to be the ID of corresponding collection plug-in unit, DecodeId be corresponding decoding plug-in, Data is the ammeter data that actual acquisition obtains.
Step 8, is associated with the various data processing rules in step 6 respectively by the event of registration in step 7, automatically triggers relevant custom action when occurring for corresponding event;
Step 9, arranges event handling condition;
The treatment conditions of event are exactly the value of certain member variable in event class, such as the event in step 7, if the time window arranging event handling is one day, so need when writing processing rule, the span of CollectTime to be set in the scope of nearest a day; If need the data to certain IP collects to process, only need IP to be set to corresponding numerical value.
Step 10, creates source data queue PackageMessageQueue, for depositing the raw data that various different outfield awareness apparatus sends over, and object queue RecordMessageQueue, for depositing the target data after decoding process;
Step 11, creates source data consuming thread ConsumePackage and target data consuming thread ConsumeRecord:
(11a) source data consuming thread ConsumePackage constantly takes out data from source data queue PackageMessageQueue, and according to the type of data, this packet is dressed up the event object of corresponding types, and send to event stream processing engine.
Module effect● unified event packaging interface is provided
Module characteristicAbstract class, for being inherited
Class name (object name)EventWrap
Primary interfacevirtual intEvent_Wrap(ACE_Message_Block*&mb)=0;
The raw sensory data collected are created event instance by the constructed fuction calling event class by interface Event_Wrap (ACE_Message_Block* & mb) by ConsumePackage, thus are certain concrete event by raw data packaging.
Trigger corresponding data processing rule when reaching the event handling condition that step 9 is arranged to process, the data obtained after process put into the object queue RecordMessageQueue of step 10;
(11b) target data consuming thread ConsumeRecord constantly takes out target data from object queue RecordMessageQueue;
Step 12, target data step 11 obtained exports to destination;
Step 13, creates finger daemon, and finger daemon is responsible for the duty detecting flow data handling procedure, initiatively closes flow data handling procedure and restart when the duty of flow data handling procedure occurs exception or quits work.
The invention provides a kind of stream data processing method based on event stream processing and plug-in type Development Framework; the method and access of this technical scheme of specific implementation is a lot; the above is only the preferred embodiment of the present invention; should be understood that; for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.The all available prior art of each ingredient not clear and definite in the present embodiment is realized.

Claims (7)

6. a kind of stream data processing method based on event stream processing and plug-in type Development Framework as claimed in claim 5, it is characterized in that, the event described in step 7 is tlv triple <id, an attrs, time>, wherein id is the unique identification of this event; Attrs represents the attribute of this event, for the event of the different attribute of the data packaging of different outfield awareness apparatus generations, use attrs attribute to identify various different outfield awareness apparatus, event stream processing engine selects corresponding data processing rule by attrs attribute; The time that time presentation of events occurs, identify the time of the data acquisition of various different outfield awareness apparatus, and as a condition entry of event stream processing.
CN201510146187.0A2015-03-302015-03-30A kind of stream data processing method based on event stream processing and plug-in type Development FrameworkActiveCN104778042B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201510146187.0ACN104778042B (en)2015-03-302015-03-30A kind of stream data processing method based on event stream processing and plug-in type Development Framework

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201510146187.0ACN104778042B (en)2015-03-302015-03-30A kind of stream data processing method based on event stream processing and plug-in type Development Framework

Publications (2)

Publication NumberPublication Date
CN104778042Atrue CN104778042A (en)2015-07-15
CN104778042B CN104778042B (en)2017-09-19

Family

ID=53619528

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201510146187.0AActiveCN104778042B (en)2015-03-302015-03-30A kind of stream data processing method based on event stream processing and plug-in type Development Framework

Country Status (1)

CountryLink
CN (1)CN104778042B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106095535A (en)*2016-06-082016-11-09东华大学A kind of thread management system supporting Data Stream Processing under multi-core platform
CN107133324A (en)*2017-05-042017-09-05山东浪潮云服务信息科技有限公司The processing engine and method of flow data based on domestic CPU and operating system
CN107368334A (en)*2017-07-242017-11-21北京奇艺世纪科技有限公司A kind of business plug-in unit interactive system and method
CN107545186A (en)*2017-09-062018-01-05杭州安恒信息技术有限公司It is quick to solve the idle method, apparatus of engine and system
CN108614820A (en)*2016-12-092018-10-02腾讯科技(深圳)有限公司The method and apparatus for realizing the parsing of streaming source data
CN109284098A (en)*2018-09-252019-01-29四川长虹电器股份有限公司Method based on RxJava building event bus RxBus
CN109344170A (en)*2018-09-042019-02-15阿里巴巴集团控股有限公司Stream data processing method, system, electronic equipment and readable storage medium storing program for executing
CN110415518A (en)*2019-07-252019-11-05民航成都信息技术有限公司A kind of monitoring and early warning method, apparatus, equipment and the medium of passenger flow and transport power
CN110457250A (en)*2019-08-292019-11-15苏州德姆斯信息技术有限公司Embedded data acquisition processing terminal and data acquisition treatment method
CN110492907A (en)*2018-05-152019-11-22华为技术有限公司The method and device of archives is established for ammeter
CN114691235A (en)*2022-03-222022-07-01上海智殷自动化科技有限公司Method for supporting free data interaction between plug-ins
CN116860353A (en)*2023-06-302023-10-10北京百度网讯科技有限公司Data processing method, device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101685466A (en)*2009-07-222010-03-31中兴通讯股份有限公司Event handling method and event handling equipment
US20120311562A1 (en)*2011-06-012012-12-06Yanlin WangExtendable event processing
CN102955841A (en)*2011-08-152013-03-06德商赛克公司Systems and/or methods for forecasting future behavior of event streams in complex event processing (cep) environments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101685466A (en)*2009-07-222010-03-31中兴通讯股份有限公司Event handling method and event handling equipment
US20120311562A1 (en)*2011-06-012012-12-06Yanlin WangExtendable event processing
CN102955841A (en)*2011-08-152013-03-06德商赛克公司Systems and/or methods for forecasting future behavior of event streams in complex event processing (cep) environments

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姜昌华: "插件技术及其应用", 《计算机应用与软件》*
张潇毅,邓波,丁鲲: "一种基于事件流处理引擎的企业服务总线平台", 《解放军理工大学学报(自然科学版)》*

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106095535A (en)*2016-06-082016-11-09东华大学A kind of thread management system supporting Data Stream Processing under multi-core platform
CN106095535B (en)*2016-06-082019-11-08东华大学 A thread management system that supports data stream processing on a multi-core platform
CN108614820A (en)*2016-12-092018-10-02腾讯科技(深圳)有限公司The method and apparatus for realizing the parsing of streaming source data
CN108614820B (en)*2016-12-092021-01-15腾讯科技(深圳)有限公司Method and device for realizing streaming source data analysis
CN107133324B (en)*2017-05-042020-03-20浪潮云信息技术有限公司Processing engine and method for streaming data based on domestic CPU and operating system
CN107133324A (en)*2017-05-042017-09-05山东浪潮云服务信息科技有限公司The processing engine and method of flow data based on domestic CPU and operating system
CN107368334A (en)*2017-07-242017-11-21北京奇艺世纪科技有限公司A kind of business plug-in unit interactive system and method
CN107368334B (en)*2017-07-242020-08-28北京奇艺世纪科技有限公司Business plug-in interaction system and method
CN107545186A (en)*2017-09-062018-01-05杭州安恒信息技术有限公司It is quick to solve the idle method, apparatus of engine and system
CN107545186B (en)*2017-09-062020-03-17杭州安恒信息技术股份有限公司Method, device and system for rapidly solving problem of engine non-work
CN110492907B (en)*2018-05-152023-01-06华为技术有限公司Method and device for establishing archive for ammeter
CN110492907A (en)*2018-05-152019-11-22华为技术有限公司The method and device of archives is established for ammeter
CN109344170B (en)*2018-09-042022-04-12创新先进技术有限公司Stream data processing method, system, electronic device and readable storage medium
CN109344170A (en)*2018-09-042019-02-15阿里巴巴集团控股有限公司Stream data processing method, system, electronic equipment and readable storage medium storing program for executing
CN109284098A (en)*2018-09-252019-01-29四川长虹电器股份有限公司Method based on RxJava building event bus RxBus
CN110415518A (en)*2019-07-252019-11-05民航成都信息技术有限公司A kind of monitoring and early warning method, apparatus, equipment and the medium of passenger flow and transport power
CN110457250A (en)*2019-08-292019-11-15苏州德姆斯信息技术有限公司Embedded data acquisition processing terminal and data acquisition treatment method
CN110457250B (en)*2019-08-292023-04-07苏州德姆斯信息技术有限公司Embedded data acquisition processing terminal and data acquisition processing method
CN114691235A (en)*2022-03-222022-07-01上海智殷自动化科技有限公司Method for supporting free data interaction between plug-ins
CN114691235B (en)*2022-03-222024-03-22上海智殷自动化科技有限公司Method for supporting free interaction of data between plugins
CN116860353A (en)*2023-06-302023-10-10北京百度网讯科技有限公司Data processing method, device, electronic equipment and storage medium
CN116860353B (en)*2023-06-302024-07-02北京百度网讯科技有限公司Data processing method, device, electronic equipment and storage medium

Also Published As

Publication numberPublication date
CN104778042B (en)2017-09-19

Similar Documents

PublicationPublication DateTitle
CN104778042A (en)Stream data processing method based on event stream processing and plug-in type development framework
RU2419986C2 (en)Combining multiline protocol accesses
US8730819B2 (en)Flexible network measurement
CN1875585B (en)Dynamic unknown L2 flooding control with MAC limits
CN109639754B (en) A method for realizing data auditing of grid dispatching service gateway
CN113364624B (en)Mixed cloud flow acquisition method and system based on edge computing
CN104378264B (en)A kind of virtual machine process flux monitoring method based on sFlow
US20130195457A1 (en)Method and system for performing distributed deep-packet inspection
CN112583797B (en)Multi-protocol data processing method, device, equipment and computer readable storage medium
CN110806921B (en)OVS (optical virtual system) abnormity alarm monitoring system and method
US20200296624A1 (en)Frame aggregation method, network setting frame sending method, and device
CN104022922B (en)Mobile terminal, heartbeat forwarding server and heartbeat message sending method and system
CN110912782B (en)Data acquisition method, device and storage medium
CN106612199A (en)Network monitoring data collection and analysis system and method
CN111970386A (en)Internet of things communication data processing method of intelligent lamp pole
CN112822213A (en)Attack evidence obtaining and tracing method for power monitoring system
CN106533832A (en)Distributed-deployment-based network flow detection system
CN103401930A (en)Web Service-based industrial monitoring method and device
CN105007175A (en)Openflow-based flow depth correlation analysis method and system
CN112818064A (en)Multi-system data synchronization method, device, equipment and storage medium
CN107070766A (en)The virtual network construction method of language is may be programmed based on software definition datum plane
US20240022507A1 (en)Information flow recognition method, network chip, and network device
CN113076231A (en)Server application scene setting method, system, terminal and storage medium
WO2024149297A1 (en)Container network packet capture processing method, apparatus and device, and readable storage medium
CN101510843B (en)Method for real time separation of P2P flow based on NetFlow flow

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
EXSBDecision made by sipo to initiate substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP01Change in the name or title of a patent holder
CP01Change in the name or title of a patent holder

Address after:210000 Tianyuan East Road, Jiangning District, Nanjing, Jiangsu Province, No. 1

Patentee after:Zhong Tong clothing consulting and Design Research Institute Co., Ltd.

Address before:210000 Tianyuan East Road, Jiangning District, Nanjing, Jiangsu Province, No. 1

Patentee before:Jiangsu Posts & Telecommunications Planning and Designing Institute Co., Ltd.

CP02Change in the address of a patent holder
CP02Change in the address of a patent holder

Address after:The Jianye District of Nanjing City, Jiangsu province 210000 Jiangdong Street No. 58

Patentee after:CHINA INFORMATION CONSULTING & DESIGNING INSTITUTE Co.,Ltd.

Address before:210000 No. 1 East Tianyuan Road, Jiangning District, Jiangsu, Nanjing

Patentee before:CHINA INFORMATION CONSULTING & DESIGNING INSTITUTE Co.,Ltd.


[8]ページ先頭

©2009-2025 Movatter.jp