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

Data processing method and device

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

Active Publication Date: 2018-03-23
DAWNING INFORMATION IND BEIJING +1
View PDF3 Cites 0 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
  • Data processing method and device
  • Data processing method and device
  • Data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

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

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

[0052] Step S301, traverse the rules in the aging time linked list according to a predetermined traversal method, and mark as invalid the rules in the aging time linked list whose establishment time is greater than the predetermined time threshold during the traversal p...

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 data processing method. The method includes: 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 whose establishment time is greater than the predetermined time threshold during the traversal process is invalid, wherein, the predetermined traversal method is to traverse according to the length of the establishment time from short to long; the rules in the hash table corresponding to the rules marked as invalid in the aging time linked list are also marked as invalid; the hash table During the traversal process, the received data headers are rule-matched and the rules marked as invalid in the hash table are deleted; the rules corresponding to the rules deleted in the hash table are deleted in the aging time list. The invention can avoid data reading and writing conflicts between the rule matching task and the rule aging task, realize parallel processing of the rule matching task and the rule aging task without locking, reduce password overhead, and improve system performance.

Description

technical field [0001] The present invention relates to the field of message processing, 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 realize the transparent transmission of normal traffic, the forwarding of suspicious traffic, and the discarding of illegal traffic. In order to realize the above processing of traffic, it is necessary to These flows are classified, and the classification process is the matching process of data (that is, packets) and rules. [0003] Such as figure 1 As shown, when filtering traffic, generally three functional modules are required, namely the protocol identification module, the rule matching module and the data processing module, so as to realize transparent transmission of normal traffic, forwarding of suspicious traffic, and discarding of illegal traffic. Among them, When id...

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