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

Method and device for processing data

A processing method and technology of a processing device, which are applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of reduced system performance, short rule processing time, and frequent unlocking and unlocking processes, so as to improve system performance, reduce Password overhead, the effect of avoiding data read and write conflicts

Active Publication Date: 2015-05-20
DAWNING INFORMATION IND BEIJING +1
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] It can be seen from the above specific description that for the existing technology, the solution to resolve rule read-write conflicts by locking the hash flow table of the operation is essentially a task serialization process, so in the present In some computer environments, especially on multi-core systems, forced serialization will inevitably lead to a decrease in system performance, and the process of locking often means an increase in password overhead. Therefore, whether it is a lock implemented by the kernel or implemented in user mode All locks are a very time-consuming process. In addition, since the processing time for rule aging is very short (that is, at the millisecond level), it is obvious that the process of adding and unlocking is very frequent, which will obviously reduce system performance, and even degrade system performance to an unacceptable level
[0007] For the above-mentioned problems in related technologies, no effective solution has been proposed yet

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
  • Method and device for processing data
  • Method and device for processing data
  • Method and device for processing data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of the present invention.

[0050] According to an embodiment of the present invention, a data processing method is provided.

[0051] like image 3 As shown, the data processing method according to the embodiment of the present invention includes:

[0052] Step S301, traversing the rules in the aging time linked list according to a predetermined traversal mode, and marking the rules in the aging time linked list with a length of establishment time greater than a predetermined time threshold...

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 invention discloses a method for processing data, comprising the steps of: traversing rules in an ageing time list according to a predetermined traverse way and marking the rules with a length of a built-up time in the ageing time list being greater than a predetermined time threshold during the traversing process as invalid rules, wherein the predetermined traversing way is to traverse in the way from a short length to a long length of the built-up time; marking the rules corresponding to the rules marked as invalid rules in the ageing time list in a hash table as invalid rules as well; traversing the rules in the hash table, carrying out a rule matching on data heads received in traversing process and deleting the rules marked as invalid rules in the hash table; deleting the rules corresponding to the rules deleted in the hash table in the ageing time list. According to the method and the device disclosed by the invention, the data read-write conflict of the rule matching task and the rule ageing task can be avoided, the concurrent processing on the rule matching task and the rule ageing task is realized without locking, the password expenditures are reduced and the system performance is improved.

Description

technical field [0001] The present invention relates to the field of message processing, and in particular, to a data processing method and device. Background technique [0002] In the field of network security, network security filtering equipment needs to analyze each data packet on the network, so as to achieve transparent transmission of normal traffic, forwarding of suspicious traffic, and discarding of illegal traffic. These flows are classified, and the classification process is the matching process of data (that is, packets) and rules. [0003] like figure 1 As shown, when filtering traffic, three functional modules are generally required, namely a protocol identification module, a rule matching module and a data processing module, so as to realize the transparent transmission of normal traffic, the forwarding of suspicious traffic, and the discarding of illegal traffic. Among them, When identifying the protocol, the protocol identification module mainly analyzes t...

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 Applications(China)
IPC IPC(8): H04L12/801H04L12/26
Inventor 王东宝
Owner DAWNING INFORMATION IND BEIJING