Expression analysis processing method and device

A parsing and expression technology, applied in the field of network security, can solve the problems of high memory consumption and high time complexity, and achieve the effect of reducing consumption and saving parsing time

Active Publication Date: 2019-08-09
BEIJING QIANXIN TECH
View PDF10 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The event processing language contains a large number of expressions. When parsing the event processing language in the prior art, the expressions are parsed one by one, which has high time complexity and consumes too much memory.

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
  • Expression analysis processing method and device
  • Expression analysis processing method and device
  • Expression analysis processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The specific embodiments of the present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0026] figure 1 It shows a schematic flowchart of an expression analysis processing method provided by this embodiment, including:

[0027] S101. Make statistics on all the expressions of the event processing language in the current network security rule engine, obtain the statistical quantity of each expression, and determine a common expression according to the statistical quantity of each expression.

[0028] Wherein, the statistical quantity is the number of times each expression appears in the event processing language.

[0029] The common expression is an expression whose occurrence times is greater than 1 in the event processing language.

[0030] Specifical...

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 embodiment of the invention discloses an expression analysis processing method and device, and the method comprises the steps: carrying out the statistics of all expressions of an event processinglanguage in a current network security rule engine, obtaining the statistical number of each expression, and determining a common expression according to the statistical number of each expression; when the target expression of the event processing language is analyzed, if it is judged that the target expression is a common expression, determining whether the target common expression correspondingto the target expression is analyzed or not; and if the target common expression is analyzed, obtaining an analysis result of the target expression according to an analysis result of the target common expression. According to the embodiment of the invention, the public expression of the event processing language is determined, and the analyzed public expression is directly used as the analysis result in the analysis process of the expression, so that the analysis time is greatly saved, and meanwhile, the consumption of a memory is reduced.

Description

technical field [0001] Embodiments of the present invention relate to the field of network security technologies, and in particular to a method and device for parsing and processing expressions. Background technique [0002] EPL (Event Process Language, Event Processing Language) is widely used in DSL (Domain Specified Language, Domain Specified Language) writing of network security rule engine. [0003] The event processing language contains a large number of expressions. When parsing the event processing language in the prior art, the expressions are parsed one by one, which has high time complexity and consumes too much memory. Contents of the invention [0004] Since the above-mentioned problems exist in the existing methods, the embodiments of the present invention propose a method and device for parsing and processing expressions. [0005] In the first aspect, the embodiment of the present invention proposes an expression analysis processing method, including: [0...

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
IPC IPC(8): G06F8/41
CPCG06F8/427
Inventor 程诗尧覃永靖王彬
Owner BEIJING QIANXIN TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products