CN102014071A - Method or implementing synchronous deletion of message classification rules in software and hardware - Google Patents

Method or implementing synchronous deletion of message classification rules in software and hardware Download PDF

Info

Publication number
CN102014071A
CN102014071A CN2010105977895A CN201010597789A CN102014071A CN 102014071 A CN102014071 A CN 102014071A CN 2010105977895 A CN2010105977895 A CN 2010105977895A CN 201010597789 A CN201010597789 A CN 201010597789A CN 102014071 A CN102014071 A CN 102014071A
Authority
CN
China
Prior art keywords
hardware
rule
software
deletion
message classification
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.)
Pending
Application number
CN2010105977895A
Other languages
Chinese (zh)
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.)
TIANJIN SUGON COMPUTER INDUSTRY Co Ltd
Original Assignee
TIANJIN SUGON COMPUTER INDUSTRY 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 TIANJIN SUGON COMPUTER INDUSTRY Co Ltd filed Critical TIANJIN SUGON COMPUTER INDUSTRY Co Ltd
Priority to CN2010105977895A priority Critical patent/CN102014071A/en
Publication of CN102014071A publication Critical patent/CN102014071A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a method for implementing synchronous deletion of message classification rules in software and hardware. When the rules need deletion, the hardware sends a rule invalidity request to the software, and the software responds to the rule invalidity request of the hardware by starting a background thread at an application interface library to synchronously delete the rules in the software and the hardware so as to ensure the consistency of message classification rule tables of the software and the hardware.

Description

A kind of method that realizes that message classification rule is deleted synchronously in the software and hardware
Technical field
The present invention relates to the network data management field, be specifically related to a kind of method that realizes message classification regular and synchronized deletion in the software and hardware.
Background technology
In hardware message classification system, hardware according to the message received, is dynamically deleted the message classification rule sometimes, if the rule list in the hardware is safeguarded that by software the direct deletion rule of hardware can cause the asynchronous of rule list in the software and hardware so.
In network environment, the different pieces of information bag adheres to separately different classes of according to some principles, and these principle of classification are exactly message classification rule.Some exists with static mode these rules in system, and this rule is generally permanently effective according to meeting, and also having some rules is DPs, and this rule is along with system requirements, real-time dynamic increase, deletion.
In traditional approach, software maintenance hardware rule, hardware is dynamically deleted message classification rule according to the message of receiving.But after the hardware deletion rule, owing to there be in time notice be responsible for the software that rule is safeguarded, perhaps notify not prompt enoughly, often cause the regular inconsistent of the rule of software end maintenance and hardware store.So after needing a kind of hardware deletion rule, in time notify software, guarantee the uniformity of software and hardware message classification rule table.
Realize the hardware deletion rule, the conventional method of software maintenance rule is, opens up a zone in software program, preserves a backup of hardware store rule, and when message arrived, the hardware deletion was corresponding regular.The then periodic scanning hardware of software is obtained up-to-date regular data.
Development along with application demand, the inconsistent shortcoming of soft or hard rule has appearred in the prior art scheme, because during the hardware deletion rule, the rule that software is failed to upgrade in time and safeguarded, if guarantee the rule and the hardware rule consistency of software, common mode is the rule of periodic scanning hardware, copies the storage area of software to.In the existing technical scheme, the scanning hardware of software cycle, the copy rule can't solve the inconsistent problem of software and hardware rule.
Summary of the invention
The objective of the invention is to solve the shortcoming of above-mentioned prior art scheme, by the hardware dynamic deletion rule, software is responsible for maintenance regulation.
A kind of method that realizes message classification regular and synchronized deletion in the software and hardware may further comprise the steps:
A, initialization internal memory, software application memory headroom, and return hardware regular domain pointer by the mmap function;
B, hardware are responsible for receiving network packet, if when having request to require dynamic deletion rule, then emit regular invalidation request to the backstage interface routine;
C, the formation of background program real time scan rule invalidation request after the discovery invalidation request, according to the invalidation request item, are searched rule corresponding to hash table, delete simultaneously the rule in the software and hardware.
A kind of optimal technical scheme of the present invention is: the memory headroom of applying in the described steps A is used for the hash list item of storage rule and this rule correspondence.
The present invention separates regular invalidation request and redundant rule elimination operation, how hardware need not to be concerned about specifically deletion rule, when message arrives, hardware dynamic sends regular invalidation request, background program is according to regular invalidation request formation, rule in deletion software, the hardware has guaranteed the uniformity of software, hardware rule.
Description of drawings
Fig. 1 is a work schematic diagram of the present invention
Embodiment
The present invention by hardware when the needs deletion rule, send regular invalidation request to software, by starting background thread in application interface library, by the regular invalidation request of software responses hardware, delete synchronously the rule in the software and hardware, guaranteed the uniformity of software and hardware message classification rule table.
Concrete scheme is as follows:
(1) when initialization, opens up an internal memory, respectively as the hash list item of storage rule and this rule list correspondence.And, return hardware regular domain pointer by the mmap function.
(2) hardware is received network packet, as requested, when needing dynamic deletion rule, sends a regular invalidation request to interface routine position, backstage.
(3) background program real time scan rule invalidation request formation according to invalid rule request item, is searched rule corresponding to hash table, the rule in the deletion software, and the rule in the hardware.
The present invention uses in the network security private server of dawn production, proves to realize that hardware sends regular invalidation request to the software background thread, and the rule by in the software deletion hardware guarantees the rule list uniformity.

Claims (2)

1. method that realizes the deletion of message classification regular and synchronized in the software and hardware is characterized in that: may further comprise the steps:
A, initialization internal memory, software application memory headroom, and return hardware regular domain pointer by the mmap function;
B, hardware are responsible for receiving network packet, if when having request to require dynamic deletion rule, then emit regular invalidation request to the backstage interface routine;
C, the formation of background program real time scan rule invalidation request after the discovery invalidation request, according to the invalidation request item, are searched rule corresponding to hash table, delete simultaneously the rule in the software and hardware.
2. a kind of synchronously method of deletion of message classification rule in the software and hardware that realizes as claimed in claim 1 is characterized in that: the memory headroom of applying in the described steps A is used for the hash list item of storage rule and this rule correspondence.
CN2010105977895A 2010-12-17 2010-12-17 Method or implementing synchronous deletion of message classification rules in software and hardware Pending CN102014071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105977895A CN102014071A (en) 2010-12-17 2010-12-17 Method or implementing synchronous deletion of message classification rules in software and hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105977895A CN102014071A (en) 2010-12-17 2010-12-17 Method or implementing synchronous deletion of message classification rules in software and hardware

Publications (1)

Publication Number Publication Date
CN102014071A true CN102014071A (en) 2011-04-13

Family

ID=43844092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105977895A Pending CN102014071A (en) 2010-12-17 2010-12-17 Method or implementing synchronous deletion of message classification rules in software and hardware

Country Status (1)

Country Link
CN (1) CN102014071A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120644B1 (en) * 2002-03-26 2006-10-10 Software Engineering Corporation Digital image storage and management system
CN101115017A (en) * 2007-09-10 2008-01-30 杭州华三通信技术有限公司 Method and device for deleting MAC address
CN101232447A (en) * 2008-02-28 2008-07-30 中兴通讯股份有限公司 Method for controlling learning MAC address preaging
CN101309216A (en) * 2008-07-03 2008-11-19 中国科学院计算技术研究所 IP packet classification method and apparatus
CN101588299A (en) * 2009-07-07 2009-11-25 杭州华三通信技术有限公司 The veneer of the message forwarding method of distributed apparatus and distributed apparatus and this equipment
CN101616194A (en) * 2009-07-23 2009-12-30 中国科学技术大学 The optimizing host network performance system and method
CN101702726A (en) * 2009-11-13 2010-05-05 曙光信息产业(北京)有限公司 Method and device for updating quintuple rules for IP packet sorting device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120644B1 (en) * 2002-03-26 2006-10-10 Software Engineering Corporation Digital image storage and management system
CN101115017A (en) * 2007-09-10 2008-01-30 杭州华三通信技术有限公司 Method and device for deleting MAC address
CN101232447A (en) * 2008-02-28 2008-07-30 中兴通讯股份有限公司 Method for controlling learning MAC address preaging
CN101309216A (en) * 2008-07-03 2008-11-19 中国科学院计算技术研究所 IP packet classification method and apparatus
CN101588299A (en) * 2009-07-07 2009-11-25 杭州华三通信技术有限公司 The veneer of the message forwarding method of distributed apparatus and distributed apparatus and this equipment
CN101616194A (en) * 2009-07-23 2009-12-30 中国科学技术大学 The optimizing host network performance system and method
CN101702726A (en) * 2009-11-13 2010-05-05 曙光信息产业(北京)有限公司 Method and device for updating quintuple rules for IP packet sorting device

Similar Documents

Publication Publication Date Title
US11294855B2 (en) Cloud-aware snapshot difference determination
WO2017167171A1 (en) Data operation method, server, and storage system
CN103473277B (en) The Snapshot Method and device of file system
CN102411637B (en) Metadata management method of distributed file system
EP2821925B1 (en) Distributed data processing method and apparatus
CN102999522B (en) A kind of date storage method and device
CN105868343B (en) Database migration method and system
US20070067354A1 (en) Productivity suite to line of business synchronization mechanism
TWI671643B (en) Configuration change method, device and system
TWI609277B (en) Location independent files
US11023433B1 (en) Systems and methods for bi-directional replication of cloud tiered data across incompatible clusters
CN104537119B (en) A kind of data cached update method, data use end and system
CN109118358A (en) The synchronization based on component of digital asset
CN106503158B (en) Data synchronization method and device
JP5724735B2 (en) Database update control device, database management system, and database update control program
US9002906B1 (en) System and method for handling large transactions in a storage virtualization system
US20060129616A1 (en) System and method for synchronizing computer files between a local computer and a remote server
CN104113587A (en) Client metadata buffer optimization method of distributed file system
US10152493B1 (en) Dynamic ephemeral point-in-time snapshots for consistent reads to HDFS clients
CN102081603B (en) Method for address resolution protocol (ARP) query optimization under multinuclear environment
US20210149759A1 (en) Application crash analysis techniques when memory dump and debug symbols are not co-located
CN108399047A (en) A kind of flash memory file system and its data managing method
CN105630571A (en) Virtual machine creating method and device
US20170068700A1 (en) System And Method Of A Dynamic Shared Memory Hash Table With Notifications
CN102508740A (en) Remote replication method of file system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110413