Unlock instant, AI-driven research and patent intelligence for your innovation.

A host and server

A server and host technology, applied in the field of communication, can solve the problems of low event processing efficiency and large resource consumption

Active Publication Date: 2021-10-15
HUAWEI TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The number of events in the event stream that do not match the filter conditions in the rule executor is large, that is, there are a large number of events in the event stream that do not match the filter conditions in the rule executor, so the rule executor needs to consume a lot of resources To filter and filter the event flow according to the filter conditions, resulting in low efficiency of subsequent event processing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A host and server
  • A host and server
  • A host and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] see figure 1 , the embodiment of the present application provides an event stream processing system, the processing system includes:

[0041] The server 1 and the host cluster 2, the host cluster 2 includes a first host 21, a second host 22, and so on. The number of the second host 22 may be greater than or equal to one. A network connection is established between the server 1 and the first host 21 , a network connection is established between the server 1 and each second host 22 , and a network connection is established between the first host 21 and each second host 22 .

[0042] At least one association rule is stored in the server 1. In order to distinguish it from the modified association rule or the newly added association rule acquired by the server from outside, the association rule stored in the server 1 is called the second association rule. Each second association rule includes a rule identifier, at least one filtering condition, at least one counting associ...

Embodiment 2

[0063] The second association rule stored in the server 1 can be modified, and for the convenience of description, the modified association rule is referred to as the first association rule. At this time, the server 1 needs to process the filter in the first host 21 and / or the rule executor in the second host 22 . The detailed implementation is as follows:

[0064] The server 1 is configured to obtain a first association rule, the first association rule includes at least one filtering condition and / or at least one counting association condition, and the server 1 stores a second association rule corresponding to a rule identifier of the first association rule.

[0065] The server 1 is also used to compare the first association rule with the second association rule, and when it is found that the filter conditions included in the first association rule are different from the filter conditions included in the second association rule, the first host 21 The filter corresponding to ...

Embodiment 3

[0114] A technician may add a new association rule in the server 1. For the convenience of description, the new association rule is referred to as the third association rule. The server 1 does not store the second association rule corresponding to the rule identifier of the third association rule.

[0115] Server 1 may acquire the third association rule, compare the rule identifier of the third association rule with the saved rule identifier of each second association rule, and find out that the rule identifier of the third association rule is different from the rule identifier of each second association rule , indicating that the third association rule is an association rule newly added by the technician. At this time, the server 1 selects a second host 21, and generates a rule executor corresponding to the third association rule in the second host 21, and the rule executor corresponding to the third association rule includes the count association condition in the third associ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The application discloses a host and a server, which belong to the communication field. The server includes a processor: the processor is configured to obtain a first association rule, the server stores a second association rule corresponding to a rule identifier of the first association rule, and the first host in the host cluster Run the filter corresponding to the second association rule in the host cluster, run the rule executor corresponding to the second association rule in the second host in the host cluster; the processor is configured to execute the first association rule When the included filter condition is different from the filter condition included in the second association rule, process the filter corresponding to the second association rule and generate the filter corresponding to the first association rule in the first host , the filter corresponding to the first association rule saves the filter condition in the first association rule and the identifier of the rule executor. The application can improve the efficiency of event processing.

Description

technical field [0001] The present application relates to the communication field, in particular to a host and a server. Background technique [0002] Event flow refers to the event sequence formed by the aggregation of many events in a sequential, large, rapid, and continuous manner. Considering the large amount of data in event streams, high requirements for processing timeliness, and individual needs of users, the existing technology uses a host cluster as the execution body for event stream processing, and the host cluster is composed of multiple hosts. [0003] The event bus module and at least one rule executor can be deployed in the hosts of the host cluster, and each rule executor includes filtering conditions and processing logic for processing events. The event bus module is responsible for receiving data sent by at least one data source, normalizing each received data into an event in a unified format, and then composing the normalized events into an event stream...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08G06F9/54
CPCH04L67/10G06F9/546G06F9/542H04L67/566H04L67/60
Inventor 徐建辉
Owner HUAWEI TECH CO LTD