Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rule base upgrading method and communication equipment

A technology of communication equipment and rules, applied in the field of communication, can solve problems such as service interruption and inability to detect packets, and achieve the effect of improving reliability

Active Publication Date: 2011-07-06
HUAWEI TEHCHNOLOGIES CO LTD
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Since the DPI function needs to be turned off when upgrading the rule base, the packets during this period cannot be detected, resulting in service interruption

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
  • Rule base upgrading method and communication equipment
  • Rule base upgrading method and communication equipment
  • Rule base upgrading method and communication equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The first embodiment of the present invention provides a rule library upgrade method, which is used to detect messages during the upgrade process, so as not to cause service interruption.

[0033] See figure 1 , The embodiment of the present invention includes the following steps:

[0034] S101. Receive a rule base upgrade command;

[0035] S102. Load the new rule library to the storage unit according to the upgrade command.

[0036] Before this step, it is also possible to first check whether the capacity of the storage unit is sufficient, and if it is, load the new rule base to the storage unit; if not, no upgrade is performed.

[0037] S103: Stop the matching unit from using the old rule library to match the new flow;

[0038] The matching unit here refers to the unit used to match packets in the flow, and the new flow refers to the flow that has not been matched after loading the new rule base. In the embodiment of the present invention, the matching unit stops using the old f...

Embodiment 2

[0049] The embodiment of the present invention provides a rule library upgrade method, which is used to detect messages during the upgrade process so as not to cause service interruption.

[0050] See figure 2 In the embodiment of the present invention, the matching unit and the rule base are statically bound, that is, each matching unit corresponds to a rule base. For example, matching unit 0 and matching unit 1 correspond to rule base 0, and matching unit 2 corresponds to For rule base 1, matching unit n corresponds to rule base n.

[0051] The matching unit here can be understood as a unit module that can complete the matching of the characteristic information in the message. In specific implementation, it can be a thread during processor processing, or a core when a multi-core processor is used, or it has an independent The processor for processing functions, or other hardware processing units, is not limited in its specific implementation.

[0052] The rule base is located in ...

Embodiment 3

[0088] The embodiment of the present invention provides a method for upgrading a rule base, which is used to detect messages during the upgrading process so as not to cause service interruption.

[0089] In the embodiment of the present invention, the matching unit and the rule base are dynamically bound, that is, the corresponding relationship between the matching unit and the rule base is not determined in advance. When a message comes, the scheduling algorithm selects one of the matching units for matching;

[0090] When the dynamic binding method is adopted, the matching unit does not need to wait until the old flow matched by the old rule base is terminated before completely using the new rule base to match the new flow, but can immediately use the new rule base to perform the new flow. The old flow that matches but is not terminated is still matched with the old rule base. At this time, the matching unit respectively has a corresponding relationship with the old and new rule ...

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 a rule base upgrading method and communication equipment. The rule base upgrading method comprises the following steps of: receiving a rule base upgrading command; loading a new rule base into a storage unit according to the upgrading command; stopping a matching unit from matching new streams by using an old rule base; and before the matching unit matches the new streams completely by using the new rule base, using the old rule base to match un-terminated old streams by using the matching unit. In rule base upgrading, before matching the new steams completely by using the new rule base, the matching unit matches the un-terminated old streams still by using the old rule base, so either the new streams or the old streams can be detected. Therefore, the embodiment of the invention may not cause the interruption of services, and improves the reliability of a system.

Description

Technical field [0001] The present invention relates to the field of communication technology, and in particular to a method for upgrading a rule library and communication equipment. Background technique [0002] DPI (Deep Packet Inspection, deep packet inspection) is a packet (message) inspection technology, in addition to the source IP address, destination IP address, source port, destination port, session information in the IP packet (IP packet layer 4 In addition to the detection and analysis of the following data) information, it also conducts in-depth analysis of the payload (application layer data) in the IP packet, so that various applications on the network can be identified more efficiently. At present, DPI technology has been widely used in fields such as flow control, content billing, and network security. [0003] In the application of DPI technology, the DPI device will match the characteristic information in the received message with the local rule base, determine 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
IPC IPC(8): H04L12/56H04L12/26H04L29/06
Inventor 周远清熊强
Owner HUAWEI TEHCHNOLOGIES CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products