[go: up one dir, main page]

CN101170517B - A method for aging the control session table - Google Patents

A method for aging the control session table Download PDF

Info

Publication number
CN101170517B
CN101170517B CN2007101987082A CN200710198708A CN101170517B CN 101170517 B CN101170517 B CN 101170517B CN 2007101987082 A CN2007101987082 A CN 2007101987082A CN 200710198708 A CN200710198708 A CN 200710198708A CN 101170517 B CN101170517 B CN 101170517B
Authority
CN
China
Prior art keywords
control
session
data
entry
session entry
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.)
Active
Application number
CN2007101987082A
Other languages
Chinese (zh)
Other versions
CN101170517A (en
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.)
Ziguang Communication Technology (Yueyang) Co.,Ltd.
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN2007101987082A priority Critical patent/CN101170517B/en
Publication of CN101170517A publication Critical patent/CN101170517A/en
Application granted granted Critical
Publication of CN101170517B publication Critical patent/CN101170517B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种对控制会话表进行老化的方法,包括:为控制会话表项分配唯一的控制标识,并为所述控制标识设置老化时间;若所述控制会话表项控制的业务数据中断持续时间达到所述老化时间,则删除所述控制会话表项。本发明各数据会话表项老化时不需要CPU的干预,可以大大减轻CPU老化消息的处理量,降低CPU处理负荷。与上述方法相对应,本发明还提供一种对控制会话表进行老化的装置。

Figure 200710198708

The invention discloses a method for aging a control session table, comprising: allocating a unique control identifier for the control session entry, and setting an aging time for the control identifier; if the service data controlled by the control session entry is interrupted If the duration reaches the aging time, delete the control session entry. The present invention does not require CPU intervention when each data session table item is aging, which can greatly reduce the processing amount of CPU aging messages and reduce the CPU processing load. Corresponding to the above method, the present invention also provides a device for aging the control session table.

Figure 200710198708

Description

对控制会话表进行老化的方法 A method for aging the control session table

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种对控制会话表进行老化的方法及装置。The invention relates to the field of communication technology, in particular to a method and device for aging a control session table.

背景技术Background technique

很多网络应用都存在多个关联连接的情况,一个主连接控制多个子连接,例如H.232、FTP(File Transfer Protocol,文件传输协议)等,一个控制连接关联多个数据业务连接。以FTP连接为例,首先会建立一个FTP控制通道,用来传输FTP的控制信息,然后建立数据通道并进行数据业务传输。如果控制连接中断,则所有关联数据连接也都中断。Many network applications have multiple associated connections. One main connection controls multiple sub-connections, such as H.232, FTP (File Transfer Protocol, File Transfer Protocol), etc., and one control connection is associated with multiple data service connections. Taking an FTP connection as an example, an FTP control channel is first established to transmit FTP control information, and then a data channel is established to transmit data services. If the control connection is lost, all associated data connections are lost as well.

NAT(Network Address Translation,网络地址转换)是在局域网内部使用内部地址,而当内部节点要与外部网络通信时,将内部地址替换成全局地址,从而在外部公网(Internet)上正常访问的一种技术。对某网络应用(例如FTP)的数据流作NAT时,需要建立控制会话表和数据会话表,以及控制会话表和数据会话表之间的关联表,其中,所谓NAT会话表(包括控制会话表和数据会话表)是指为了记录一个数据流的NAT变换关系,建立一个正反方向的流表,只要符合这个会话表项的正反数据就按一定的方式进行地址转换,一个NAT会话表项可以由转换前的IP五元组(或部分IP五元组)和转换后的IP五元组(或部分IP五元组)构成。在对数据流进行NAT之前,判断是何种连接,如果是控制连接,查找控制会话表并进行相关控制信令的操作;如果是数据联机,则查找数据会话表,如果匹配到数据会话表项,说明该数据包不是首个进行NAT的该类数据包,则按照会话表项进行NAT,如果没有匹配到数据会话表项,说明该数据包是首个进行NAT的该类数据包,则查找按照控制会话表建立的关联表,进行NAT后建立相关数据会话表项,以便后续该类数据包直接匹配数据会话表即可进行NAT。NAT (Network Address Translation, Network Address Translation) is to use the internal address inside the LAN, and when the internal node wants to communicate with the external network, replace the internal address with the global address, so that it can be accessed normally on the external public network (Internet). technology. When doing NAT to the data stream of certain network application (such as FTP), need to set up control session table and data session table, and the association table between control session table and data session table, wherein, so-called NAT session table (comprising control session table and data session table) refers to the establishment of a positive and negative flow table in order to record the NAT transformation relationship of a data flow. It may be composed of IP quintuples (or part of IP quintuples) before conversion and converted IP quintuples (or part of IP quintuples). Before performing NAT on the data flow, determine what kind of connection it is. If it is a control connection, look up the control session table and perform related control signaling operations; if it is a data connection, look up the data session table. If the data session table item is matched , indicating that the data packet is not the first type of data packet to be NATed, perform NAT according to the session entry, if no data session entry is matched, indicating that the data packet is the first type of data packet to be NATed, then search According to the association table established by the control session table, after NAT is performed, relevant data session table items are established, so that subsequent data packets of this type can directly match the data session table to perform NAT.

为了充分利用资源,对于控制会话表和数据会话表都支持自动老化,即当一段时间某会话表项没有被查找(刷新),该表项就会被删除。通常情况下,控制会话通过的数据很少,数据会话通过的数据较多,因此,在对两个会话表设置相同老化时间的情况下,会出现控制会话表先于数据会话表被老化掉,如前所述,如果控制连接中断,则所有关联的数据连接也都中断,因此这样会导致数据业务的中断,影响正常网络应用的进行。上面仅是以NAT为例进行说明,对于其他基于连接和状态的应用,都存在上述控制会话表先于数据会话表老化的问题,例如防火墙应用等。防火墙应用与NAT应用的区别仅在于会话表项不同,在防火墙应用中,如果数据流匹配上会话表项,则转发数据流,否则,对该数据流进行屏蔽,从而保证网络安全。对于本发明所涉及的控制会话表先于数据会话表老化的问题以及解决方案,同样存在或适用于NAT应用和防火墙应用中。In order to make full use of resources, both the control session table and the data session table support automatic aging, that is, when a certain session entry is not looked up (refreshed) for a period of time, the entry will be deleted. Usually, the control session passes little data, and the data session passes more data. Therefore, when the same aging time is set for the two session tables, the control session table will be aged out before the data session table. As mentioned above, if the control connection is interrupted, all associated data connections will also be interrupted, which will cause interruption of data services and affect normal network applications. The above only uses NAT as an example for illustration. For other connection-based and state-based applications, the above-mentioned problem that the control session table ages before the data session table exists, such as firewall applications. The only difference between a firewall application and a NAT application is that the session entry is different. In the firewall application, if the data flow matches the session entry, the data flow is forwarded; otherwise, the data flow is shielded to ensure network security. The problem and solution to the problem of aging of the control session table before the aging of the data session table involved in the present invention also exist or are applicable to NAT applications and firewall applications.

为了解决上述控制会话表先于数据会话表老化的问题,可以采用CPU软件统一协调的方式,具体是,在建立和删除控制会话表项以及数据会话表项时都通知CPU软件,由CPU软件来维护二者之间的关系。这种方式过多依赖CPU软件,无论控制通道或是数据通道的建流和删流都通知CPU软件,由于软件的处理能力远低于硬件,这会大大影响网络应用的处理速度,导致性能降低。In order to solve the above-mentioned problem that the control session table is aging before the data session table, a unified coordination method of the CPU software can be adopted. Specifically, the CPU software is notified when the control session table entry and the data session table entry are established and deleted, and the CPU software performs the task. maintain the relationship between the two. This method relies too much on the CPU software, and the CPU software is notified of the flow creation and deletion of the control channel or the data channel. Since the processing capability of the software is far lower than that of the hardware, this will greatly affect the processing speed of network applications, resulting in performance degradation. .

另外,也可以通过将控制会话表的老化时间设置成大于数据会话表老化时间的方式,来解决控制会话表先于数据会话表老化的问题。然而,这种控制通道和数据通道各自设置没有关联的老化时间的方式存在两个明显的缺点:一是无法界定控制会话表的老化时间具体设置多长,例如设置24小时,但是如果一个FTP数据很大24小时仍没有传输完成,也只能被迫中断;二是容易受到攻击,实际中,有可能数据连接已经建立完成,而由于控制会话表老化时间设置的很长,仍保持控制连接,由于控制通道长时间占用,很容易遭受非法攻击者的攻击,给网络应用带来安全隐患。采用这种方式,在数据会话表项都老化时,不会及时老化控制会话表项,造成资源长时期占用。In addition, it is also possible to solve the problem that the control session table ages earlier than the data session table by setting the aging time of the control session table to be greater than the aging time of the data session table. However, there are two obvious disadvantages in this method of separately setting the aging time of the control channel and the data channel: one is that it is impossible to define how long the aging time of the control session table is specifically set, such as setting 24 hours, but if an FTP data The transmission is still not completed within 24 hours, and it can only be interrupted; second, it is vulnerable to attacks. In practice, it is possible that the data connection has been established, but the control connection is still maintained due to the long aging time of the control session table. Because the control channel is occupied for a long time, it is easy to be attacked by illegal attackers, which brings security risks to network applications. In this way, when the data session entries are all aging, the control session entries will not be aged in time, resulting in resource occupation for a long time.

发明内容Contents of the invention

有鉴于此,本发明提供一种对控制会话表进行老化的方法及装置,以克服现有解决方案存在的性能低或不易实现及存在安全隐患的问题。In view of this, the present invention provides a method and device for aging the control session table, so as to overcome the problems of low performance or difficult implementation and potential safety hazards in existing solutions.

为此,本发明实施例采用如下技术方案:For this reason, the embodiment of the present invention adopts following technical scheme:

一种对控制会话表进行老化的方法,包括:为控制会话表项分配唯一的控制标识,并为所述控制标识设置老化时间;若所述控制会话表项控制的业务数据中断持续时间达到所述老化时间,则删除所述控制会话表项;A method for aging a control session table, comprising: assigning a unique control identifier to a control session entry, and setting an aging time for the control identifier; if the service data interruption duration controlled by the control session entry reaches the specified If the aging time is set, delete the control session entry;

还包括:为控制会话表项分配唯一的控制标识,该控制会话表项控制的所有数据会话表项都与该控制标识对应;当所述控制会话表项的业务数据输入时,查找数据会话表,并对匹配的数据会话表项对应的控制标识进行刷新;所述控制会话表项控制的业务数据中断时间达到所述老化时间,是指,所述控制标识没有被刷新的时间超过预置的控制标识老化时间时。It also includes: assigning a unique control identifier to the control session entry, and all data session entries controlled by the control session entry correspond to the control identifier; when the business data of the control session entry is input, search the data session table , and refresh the control identifier corresponding to the matching data session entry; the service data interruption time controlled by the control session entry reaches the aging time, which means that the time that the control identifier has not been refreshed exceeds the preset When controlling the identification aging time.

通过以下步骤实现所述所有数据会话表项与所述控制标识相对应:在为控制会话表项分配控制标识后,将所述控制标识写入关联表中;当首个数据包到达时,查找所述关联表,获取所述控制标识;建立数据会话表项,并将所述控制标识写入该建立的数据会话表项中。Realize that all the data session entries correspond to the control identifiers through the following steps: after the control identifier is assigned to the control session entry, write the control identifier into the association table; when the first data packet arrives, search The association table obtains the control identifier; establishes a data session entry, and writes the control identifier into the established data session entry.

通过以下步骤实现对所述控制标识刷新:在为控制会话表项分配控制标识后,为所述控制标识建立控制标识表;在查找数据会话表后,通过匹配的数据会话表项中的控制标识确定控制标识表;对所确定的控制标识表进行刷新。Refreshing the control identifier is achieved through the following steps: after the control identifier is allocated to the control session entry, a control identifier table is established for the control identifier; after the data session table is searched, the control identifier in the matched data session entry is used Determine the control identification table; refresh the determined control identification table.

所述控制标识老化时间大于所述数据会话表项的老化时间。The aging time of the control identifier is greater than the aging time of the data session entry.

仅在所述控制标识没有被刷新的时间超过预置的控制标识老化时间时,才向CPU上报删除所述控制会话表项的请求。The request to delete the control session entry is reported to the CPU only when the control identifier has not been refreshed for longer than the preset control identifier aging time.

一种对控制会话表进行老化的方法,包括:为控制会话表项分配唯一的控制标识,该控制会话表项控制的所有数据会话表项都与该控制标识对应;为所述控制标识设置默认值为0的计数器;在为所述控制会话表项每新建一个数据会话表项时,对所述计数器加1,在为所述控制会话表项每删除一个数据会话表项时,对所述计数器减1;若所述计数器非初次变为0时,删除所述控制会话表项。A method for aging a control session table, comprising: assigning a unique control identifier to a control session entry, and all data session entries controlled by the control session entry correspond to the control identifier; setting a default for the control identifier A counter with a value of 0; when a new data session entry is created for the control session entry, 1 is added to the counter, and when a data session entry is deleted for the control session entry, the The counter is decremented by 1; if the counter does not become 0 for the first time, delete the control session entry.

通过以下步骤实现所述所有数据会话表项与所述控制标识相对应:在为控制会话表项分配控制标识后,将所述控制标识写入关联表中;当首个数据包到达时,查找所述关联表,获取所述控制标识;建立数据会话表项,并将所述控制标识写入该建立的数据会话表项中。Realize that all the data session entries correspond to the control identifiers through the following steps: after the control identifier is assigned to the control session entry, write the control identifier into the association table; when the first data packet arrives, search The association table obtains the control identifier; establishes a data session entry, and writes the control identifier into the established data session entry.

一种对控制会话表进行老化的装置,包括数据接口单元、控制会话表、关联表及数据会话表,还包括:标识配置单元,用于为控制会话表项配置唯一的控制标识;标识对应单元,用于设置所述控制会话表项通过所述关联表关联的所有数据会话表项都与所述控制标识相对应;控制标识表,用于保存所述控制标识,该控制标识具有大于数据会话表项的标识老化时间;中心控制单元,用于在对业务数据匹配上所述数据会话表项时,对所述控制标识表刷新,在所述控制标识表在所述标识老化时间内没有刷新时,控制对所述控制会话表项进行删除。A device for aging a control session table, including a data interface unit, a control session table, an association table, and a data session table, and also includes: an identification configuration unit configured to configure a unique control identification for a control session entry; an identification corresponding unit All the data session entries associated with the control session entry through the association table correspond to the control identifier; the control identifier table is used to save the control identifier, and the control identifier has a value greater than that of the data session The identification aging time of the entry; the central control unit is used to refresh the control identification table when the business data matches the data session entry, and the control identification table is not refreshed within the identification aging time , the control deletes the control session entry.

该装置是指NAT设备或是防火墙设备,或者,该装置是指存在于NAT设备或是防火墙设备中的独立的功能实体。The device refers to a NAT device or a firewall device, or, the device refers to an independent functional entity existing in the NAT device or the firewall device.

一种对控制会话表进行老化的装置,包括数据接口模块、控制会话表、关联表及数据会话表,还包括:标识配置模块,用于为控制会话表项配置唯一的控制标识;标识对应模块,用于设置所述控制会话表项通过所述关联表关联的所有数据会话表项都与所述控制标识相对应;标识计数器,该计数器默认值为0;中心控制模块,用于在为所述控制会话表项每新建一个数据会话表项时,对所述计数器加1,在为所述控制会话表项每删除一个数据会话表项时,对所述计数器减1;并在所述计数器非初次变为0时,控制对所述控制会话表项进行删除。A device for aging a control session table, including a data interface module, a control session table, an association table, and a data session table, and also includes: an identification configuration module configured to configure a unique control identification for a control session entry; an identification corresponding module All the data session entries associated with the control session entry through the association table are corresponding to the control identifier; the counter is identified, and the default value of the counter is 0; the central control module is used for all the data session entries associated with the association table When the control session entry creates a new data session entry, add 1 to the counter, and when deleting a data session entry for the control session entry, decrement the counter by 1; and in the counter When the non-initial value becomes 0, the control deletes the control session entry.

本发明通过引入控制标识,通过控制标识的老化确定所有关联的数据会话表项都已老化,此时即对控制会话表项进行老化,一方面有效解决了控制会话表先于数据会话表老化的问题,同时又都由硬件完成,各数据会话表项老化时不需要CPU的干预,可以大大减轻CPU老化消息的处理量,降低CPU处理负荷;而且,本发明仅在原有会话表基础上增加控制标识字段,简单易行,在所有数据会话表项老化的第一时间对控制会话表项删除,可避免占用控制通道资源,又消除了控制通道被攻击的隐患。The present invention introduces the control identification and determines that all associated data session entries have aged through the aging of the control identification, and at this time, the control session entry is aged. On the one hand, it effectively solves the problem that the control session table is older than the data session table. Problem, all is finished by hardware simultaneously again, does not need the intervention of CPU when each data session table item ages, can alleviate the processing capacity of CPU aging message greatly, reduces CPU processing load; And, the present invention only increases control on the basis of original session table The identification field is simple and easy to perform. The control session entry is deleted at the first time when all data session entries are aging, which can avoid occupying control channel resources and eliminate the hidden danger of control channel being attacked.

附图说明Description of drawings

图1为本发明方法流程图;Fig. 1 is a flow chart of the method of the present invention;

图2为本发明实施例一控制连接的处理流程图;Fig. 2 is a processing flow chart of a control connection according to Embodiment 1 of the present invention;

图3为本发明实施例一数据连接的处理流程图;Fig. 3 is a processing flowchart of a data connection according to Embodiment 1 of the present invention;

图4为本发明实施例一示意图;Fig. 4 is a schematic diagram of Embodiment 1 of the present invention;

图5为本发明实施例二流程图;Fig. 5 is a flowchart of Embodiment 2 of the present invention;

图6为本发明装置结构示意图。Fig. 6 is a schematic structural diagram of the device of the present invention.

具体实施方式Detailed ways

本发明核心在于,为各个控制连接配置唯一的控制标识,通过控制标识确定某个控制连接的所有数据连接都老化后,对该个控制连接的控制会话表进行老化。The core of the present invention is that a unique control identifier is configured for each control connection, and after the control identifier determines that all data connections of a certain control connection are aged, the control session table of the control connection is aged.

概括而言,本发明方法包括以下步骤:Generally speaking, the inventive method comprises the following steps:

1、为控制会话表项分配唯一的控制标识;1. Assign a unique control identifier to the control session entry;

2、为所述控制标识设置老化时间;2. Set the aging time for the control identification;

3、若所述控制会话表项控制的业务数据中断持续时间达到所述老化时间,则删除所述控制会话表项。3. If the service data interruption duration controlled by the control session entry reaches the aging time, delete the control session entry.

参见图1,为本发明方法实施例一流程图,包括:Referring to Fig. 1, it is a flowchart of a method embodiment of the present invention, including:

步骤101:为控制会话表项分配唯一的控制标识(session ID),该控制会话表项控制的所有数据会话表项都与该控制标识对应;Step 101: assigning a unique control identifier (session ID) to the control session entry, and all data session entries controlled by the control session entry correspond to the control identifier;

步骤102:当所述控制会话表项的业务数据输入时,查找数据会话表,并对匹配的数据会话表项对应的控制标识进行刷新;Step 102: When the business data of the control session entry is input, search the data session table, and refresh the control identifier corresponding to the matched data session entry;

步骤103:若所述控制标识没有被刷新的时间超过预置的控制标识老化时间时,删除所述控制会话表项。Step 103: If the control identifier has not been refreshed for longer than the preset control identifier aging time, delete the control session entry.

为了解决控制会话表先于数据会话表老化的问题,本发明为各个控制连接配置唯一的session ID,属于各控制连接的数据会话表项在建立时即和该session ID设定关联,在业务数据到达时,查找会话表后,会对该session ID进行刷新,也就是说对session ID刷新时,说明该控制连接的业务数据正在传输,如果通过监控,确定一段时间内没有对该session ID进行刷新的操作,则可确定已没有该控制连接的业务数据进行传输,也就是该控制连接的所有数据会话表项都已删除,此时,对该控制连接的控制会话表项进行老化删除。In order to solve the problem that the control session table is older than the data session table, the present invention configures a unique session ID for each control connection, and the data session table items belonging to each control connection are associated with the session ID when they are established. When it arrives, after searching the session table, the session ID will be refreshed, that is to say, when the session ID is refreshed, it means that the business data of the control connection is being transmitted. If it is monitored, it is determined that the session ID has not been refreshed for a period of time It can be determined that no business data of the control connection has been transmitted, that is, all data session entries of the control connection have been deleted. At this time, the control session entries of the control connection are aged and deleted.

由此,可在数据会话表老化后,对控制连接进行删除,以节约系统资源,通过session ID建立起了控制连接老化和数据连接老化的关联,可保证在数据会话表项删除的第一时间也对控制连接老化,从而尽可能减少资源的无谓占用,同时也减少了控制连接被攻击的概率,提高安全性。Therefore, after the data session table is aged, the control connection can be deleted to save system resources. The association between the control connection aging and the data connection aging is established through the session ID, which can ensure that the data session table entry is deleted at the first time. It also ages the control connection, so as to reduce the unnecessary occupation of resources as much as possible, and also reduces the probability of the control connection being attacked, improving security.

在具体实施时,可以为每个控制连接构建一个session ID表,并为该session ID表设置一个标识老化时间,该标识老化时间略大于数据会话表老化时间,该session ID表仅是以session ID为关键字,并无其他内容,在查找会话表项匹配上该session ID时,刷新该session ID表,如果在标识老化时间内无刷新session ID表的操作,则认为所有该控制连接的数据会话表项均已被老化,此时,可向CPU软件发送控制连接老化通知,进行控制会话表项的删除。由此,在每个数据会话表项老化时,不需要通知CPU软件,仅在确定所有数据会话表项都老化掉、需要对控制会话表项进行老化时,才通知CPU软件,也就是说,本发明大部分操作都是在硬件部分完成,不需要CPU软件的过多干预,在减轻CPU软件负担的基础上,也提供了响应速度,提高系统整体性能。In specific implementation, a session ID table can be constructed for each control connection, and an identification aging time can be set for the session ID table. The identification aging time is slightly longer than the data session table aging time. The session ID table is only based on the session ID It is a keyword and has no other content. When searching for a session entry matching the session ID, the session ID table is refreshed. If there is no operation to refresh the session ID table within the identification aging time, all data sessions of the control connection are considered All table entries have been aged. At this time, a control connection aging notification can be sent to the CPU software to delete the control session table entries. Therefore, when each data session entry ages, the CPU software does not need to be notified, and only when it is determined that all data session entries have aged out and the control session entry needs to be aged, the CPU software is notified, that is, Most of the operations of the present invention are completed in the hardware part without excessive intervention of CPU software, and on the basis of reducing the burden of CPU software, it also provides response speed and improves the overall performance of the system.

参见图2,为实施例一控制连接的处理流程图,包括:Referring to Fig. 2, it is a flow chart of the processing of the control connection in Embodiment 1, including:

步骤201:接收建立控制连接请求;Step 201: Receive a request to establish a control connection;

步骤202:建立控制会话表项;Step 202: Establish a control session entry;

步骤203:CPU为新建立的会话表项分配唯一的session ID;Step 203: the CPU assigns a unique session ID to the newly established session entry;

步骤204:建立session ID表;Step 204: create a session ID table;

步骤205:在该控制会话表项的关联表中增加session ID。Step 205: Add the session ID in the association table of the control session entry.

其中,步骤204和步骤205执行顺序可颠倒。Wherein, the execution sequence of step 204 and step 205 may be reversed.

如前已述,以NAT实现为例,包括控制会话表、数据会话表和关联表,在建立控制连接时,是查询控制会话表;在建立数据连接时,是查找数据会话表,如果匹配成功,则按照匹配的数据会话表项进行NAT,如果没有匹配成功,则查找关联表,判断该数据连接是否合法,如果合法,按照关联表进行NAT,同时建立数据会话表项。可见,对于数据连接的处理,是数据会话表和关联表共同完成的,其中,对于首包,是先通过关联表进行NAT再建立数据会话表项,对于后续数据包,则直接按照已建立的数据会话表项进行NAT即可。因此,在上述步骤205中,在关联表中保存session ID,就是为后续建立与session ID对应的数据会话表项提供基础。As mentioned above, taking NAT implementation as an example, it includes control session table, data session table and association table. When establishing a control connection, query the control session table; when establishing a data connection, search the data session table. If the match is successful , NAT is performed according to the matching data session entry. If no match is successful, the association table is searched to determine whether the data connection is legal. If it is legal, NAT is performed according to the association table, and a data session entry is established at the same time. It can be seen that the data connection processing is completed jointly by the data session table and the association table. For the first packet, NAT is first performed through the association table and then the data session entry is established. For subsequent data packets, the established data session table is directly followed. The data session entry can be NATed. Therefore, in the above step 205, storing the session ID in the association table is to provide a basis for subsequent establishment of a data session entry corresponding to the session ID.

参见图3,为实施例一数据连接的处理流程图,包括:Referring to Fig. 3, it is a processing flow diagram of a data connection in Embodiment 1, including:

步骤301:业务数据输入;Step 301: business data input;

步骤302:查询数据会话表,如果没有匹配的数据会话表项,说明是首个数据包,执行步骤303,否则,说明并非首个数据包,执行步骤306;Step 302: Query the data session table, if there is no matching data session entry, it means it is the first data packet, go to step 303, otherwise, it means it is not the first data packet, go to step 306;

步骤303:查找关联表;Step 303: look up the association table;

步骤304:获取关联表中的session ID;Step 304: Obtain the session ID in the association table;

步骤305:建立新的数据会话表项,并建立该数据会话表项与该session ID的对应关系,然后转到步骤308;Step 305: Create a new data session entry, and establish the corresponding relationship between the data session entry and the session ID, and then go to step 308;

其中,步骤305中的建立数据会话表项与session ID的对应关系,最简单的一种方式是在数据会话表项的结果中增加一个字段,用来记录该session ID。Wherein, the establishment of the corresponding relationship between the data session entry and the session ID in step 305, the simplest way is to add a field in the result of the data session entry to record the session ID.

步骤306:提取匹配数据会话表项对应的session ID;Step 306: Extract the session ID corresponding to the matching data session entry;

步骤307:利用步骤306的提取的session ID,查找到session ID表,并对该session ID表进行刷新;Step 307: Utilize the extracted session ID of step 306 to find the session ID table, and refresh the session ID table;

步骤308:转发数据。Step 308: forward the data.

如果是NAT应用,则在上述步骤308中,首先对数据流按照匹配的数据会话表项或者规则表进行NAT后,进行数据转发,如果是防火墙应用,则在匹配数据会话表项或规则表后进行数据转发,否则,将数据过滤。If it is a NAT application, then in the above step 308, first perform NAT on the data flow according to the matching data session entry or rule table, and then perform data forwarding; if it is a firewall application, after matching the data session entry or rule table Perform data forwarding, otherwise, filter the data.

参见图4,为实施例一示意图,表示出了以session ID为纽带的控制会话表、关联表、数据会话表和session ID表之间的关系。图中,步骤①表示对某个控制会话表项(对应一个控制连接)分配一个session D,步骤②表示为该session ID建立session ID表,步骤③表示将该session ID写入关联表,步骤④表示该控制连接的首个业务数据包通过查找关联表进行NAT或防火墙应用,步骤⑤表示将匹配关联表的session ID写入新建的数据会话表项,步骤⑥表示后续数据包通过匹配数据会话表项建立NAT或防火墙应用,步骤⑦表示在每匹配成功一次数据会话表项时,都对该session ID表进行一次刷新,步骤⑧表示在标识老化时间内没有对session ID表刷新的情况下,对控制会话表项进行老化。Referring to Fig. 4, it is a schematic diagram of embodiment one, showing the relationship between the control session table, association table, data session table and session ID table with session ID as a link. In the figure, step ① means assigning a session D to a control session entry (corresponding to a control connection), step ② means creating a session ID table for the session ID, step ③ means writing the session ID into the association table, and step ④ Indicates that the first business data packet of the control connection is applied by NAT or firewall by looking up the association table. Step ⑤ indicates that the session ID matching the association table is written into the newly created data session entry. Step ⑥ indicates that subsequent data packets pass the matching data session table item to establish a NAT or firewall application, step ⑦ indicates that the session ID table is refreshed every time a data session entry is successfully matched, and step ⑧ indicates that the session ID table is not refreshed within the identification aging time. Control session entry aging.

下面以一个FTP的NAT应用为例对实施例一进行说明。假设源设备A地址为:10.10.0.1,以FTP协议形式访问地址为6.0.0.1:21的设备B,并假设经NAT转换后的公网地址为163.10.0.1。Embodiment 1 will be described below by taking an FTP NAT application as an example. Assume that the address of the source device A is: 10.10.0.1, access the device B with the address 6.0.0.1:21 in the form of FTP protocol, and assume that the public network address after NAT conversion is 163.10.0.1.

首先,FTP的控制通道会将数据发送给CPU软件进行分析处理,这时CPU软件会分配session ID1到硬件的session ID表中,参见表1,为session ID表实例。在实际配置中,可以将不同控制连接的session ID配置在一张session ID表中,也可以为每个session ID各配置一张session ID表。First, the FTP control channel will send the data to the CPU software for analysis and processing. At this time, the CPU software will assign session ID1 to the session ID table of the hardware. See Table 1 for an example of the session ID table. In actual configuration, session IDs of different control connections can be configured in a session ID table, or a session ID table can be configured for each session ID.

表1Table 1

    Session ID1Session ID1

假设10.10.0.1上打开10000端口用于控制连接,此时会在硬件数据会话表中建立如表2所示的第i控制会话表项。Assuming that port 10000 is opened on 10.10.0.1 for the control connection, the i-th control session entry shown in Table 2 will be established in the hardware data session table.

表2Table 2

控制会话表项control session entry     NAT转换前Before NAT conversion     NAT转换后After NAT conversion ii     正向Forward     10.10.0.1:10000-->     6.0.0.1:2110.10.0.1:10000--> 6.0.0.1:21     163.10.0.1:10000-->     6.0.0.1:21+session ID1  163.10.0.1:10000--> 6.0.0.1:21+session ID1     反向reverse     6.10.0.1:21-->     163.10.0.1:100006.10.0.1:21--> 163.10.0.1:10000     6.10.0.1:21-->    10.10.0.1:10000+session ID16.10.0.1:21--> 10.10.0.1:10000+session ID1

如果FTP应用执行PORT操作,在10.10.0.1上打开10001端口用于数据连接,CPU会下发关联表,参见表3,为关联表实例。If the FTP application executes the PORT operation and opens port 10001 on 10.10.0.1 for data connection, the CPU will deliver the association table. See Table 3 for an example of the association table.

表3table 3

    163.10.0.1:10001-->10.10.0.1:10001+session ID1  163.10.0.1:10001-->10.10.0.1:10001+session ID1

这时如果设备B向163.10.0.1:10001发起数据连接,会命中关联表,得到转换后的10.10.0.1:10001+session ID1,此时,硬件直接建立数据会话表项,假设建立如表4中第j个数据会话表项,并假设表4中第m、n的数据会话表项中也包含session ID1,也即第m、n的数据会话表项也受控于第i控制会话表项。At this time, if device B initiates a data connection to 163.10.0.1:10001, it will hit the association table and obtain the converted 10.10.0.1:10001+session ID1. At this time, the hardware directly establishes a data session entry, assuming that it is established as shown in Table 4 The jth data session entry, and assume that the m and nth data session entries in Table 4 also contain session ID1, that is, the m and nth data session entries are also controlled by the i control session entry.

表4Table 4

数据会话表项data session entry     NAT转换前Before NAT conversion     NAT转换后After NAT conversion     mm     ......     ......     nn     ......     ......     jj     正向Forward     10.10.0.1:10001-->     6.0.0.1:2010.10.0.1:10001--> 6.0.0.1:20     163.10.0.1:10001-->     6.0.0.1:20+session ID1  163.10.0.1:10001--> 6.0.0.1:20+session ID1     反向reverse     6.10.0.1:20-->     163.0.0.1:100016.10.0.1:20--> 163.0.0.1:10001     6.10.0.1:21-->    10.10.0.1:10001+session ID16.10.0.1:21--> 10.10.0.1:10001+session ID1

后续该数据连接的数据包都会匹配上上述表4中的第j表项,从而得到session ID1,此时,会查询到表1的session ID表,对表1进行刷新。Subsequent data packets of this data connection will match the jth entry in the above table 4, so as to obtain session ID1. At this time, the session ID table in table 1 will be queried, and table 1 will be refreshed.

如果长时间没有数据传输,表4中的会话表项就会被老化,只要表2中第i控制会话表项的所有数据会话表项(包括第m、n和第j数据会话表项)都被老化时,才不会刷新表1,此时,需要上报CPU,对第i控制会话表项进行删除。If there is no data transmission for a long time, the session entry in Table 4 will be aged, as long as all data session entries (including the m, n and j data session entries) of the i-th control session entry in Table 2 are all When it is aged, table 1 will not be refreshed. At this time, it is necessary to report to the CPU to delete the i-th control session entry.

可见,在某个数据会话表项老化时,例如仅第m数据会话表项老化而第n和第j数据会话表项没有老化时,是不会通知CPU的,仅在对应session ID1的所有数据会话表项都被老化时,才会上报CPU,从而,减少了上报CPU的次数,减轻CPU处理负担,更主要的是,上述查找会话表、刷新session ID表的一系列操作都可由硬件完成,而硬件处理速度明显高于软件,从而可以大大提高处理速度,提高整个系统性能。It can be seen that when a data session entry is aging, for example, only the mth data session entry is aging but the nth and jth data session entries are not aging, the CPU will not be notified, only when all the data of the corresponding session ID1 The CPU will be reported only when the session entries are aged out, thereby reducing the number of reporting to the CPU and reducing the processing burden on the CPU. More importantly, the above-mentioned series of operations of searching the session table and refreshing the session ID table can be completed by hardware. The processing speed of hardware is obviously higher than that of software, which can greatly increase the processing speed and improve the performance of the whole system.

此外,除了上述采用session ID表、通过判断该表是否被刷新以确定是否老化控制会话表项外,在本发明的实施例二中,还可通过为session ID设置计数器、通过监控计数器值来确定是否需要对控制会话表项进行老化的方式实现。In addition, in addition to the above-mentioned use of the session ID table and determining whether the aging control session entry is determined by judging whether the table is refreshed, in Embodiment 2 of the present invention, it can also be determined by setting a counter for the session ID and monitoring the value of the counter Whether it is necessary to implement the aging control session entry.

参见图5,为实施例二流程图,包括:Referring to Fig. 5, it is a flow chart of embodiment two, including:

步骤501:为某个控制会话表项(对应某个控制连接)分配一个session ID;Step 501: assigning a session ID to a certain control session entry (corresponding to a certain control connection);

步骤502:为该session ID建立计数器;Step 502: Create a counter for the session ID;

步骤503:将该session ID写入关联表;Step 503: write the session ID into the association table;

步骤504:该控制连接的首个业务数据包通过查找关联表进行相关应用处理;Step 504: The first service data packet of the control connection is processed by searching the association table;

步骤505:将匹配关联表的session ID写入新建的数据会话表项,在每建立一个新的数据会话表项时,对计数器加1;Step 505: write the session ID of the matching association table into the newly-created data session entry, and add 1 to the counter every time a new data session entry is established;

步骤506:后续数据包通过匹配数据会话表项建立相关应用;Step 506: Subsequent data packets establish related applications by matching data session entries;

步骤507:在每删除一个对应该session ID的数据会话表项时,都对计数器减1;Step 507: decrement the counter by 1 each time a data session entry corresponding to the session ID is deleted;

步骤508:在计数器值为0时,可确定session ID对应的所有数据会话表项都已被老化,此时,可对控制会话表项进行老化。Step 508: When the counter value is 0, it can be determined that all data session entries corresponding to the session ID have been aged out, and at this time, the control session entry can be aged out.

需要说明的是,在上述步骤505和步骤507中,需要通过监控建流(建立数据会话表项)和删流(删除数据会话表项)来对计数器进行增加或减少,这就要求识别建流和删流,当然这种识别可由CPU软件来完成,当然也可以有具有这种功能的硬件来完成。It should be noted that, in the above steps 505 and 507, it is necessary to increase or decrease the counter by monitoring the flow creation (establishing the data session entry) and deleting the flow (deleting the data session entry), which requires identification of the flow establishment And delete stream, of course, this identification can be done by CPU software, of course, it can also be done by hardware with this function.

采用实施例二的方案,可在计数器为0时立即老化控制会话表项,无时延,可进一步避免控制通道资源的占用。By adopting the solution of the second embodiment, the control session entry can be aged immediately when the counter is 0, without delay, and the occupation of control channel resources can be further avoided.

与上述方法实施例一相对应,本发明还提供一种对控制会话表进行老化的装置,该装置可以是NAT设备或是防火墙设备,或者,该装置可以是存在于NAT设备或是防火墙设备中的独立的功能实体。Corresponding to Embodiment 1 of the above method, the present invention also provides a device for aging the control session table, the device may be a NAT device or a firewall device, or the device may exist in a NAT device or a firewall device independent functional entity.

参见图6,为该装置结构示意图,包括数据接口单元601、控制会话表602、关联表603、数据会话表604、标识配置单元605、标识对应单元606、控制标识表607及中心控制单元608。Referring to FIG. 6 , it is a schematic structural diagram of the device, including a data interface unit 601, a control session table 602, an association table 603, a data session table 604, an identification configuration unit 605, an identification correspondence unit 606, a control identification table 607, and a central control unit 608.

其中,标识配置单元605主要用于为控制会话表项配置唯一的控制标识;标识对应单元606用于设置所述控制会话表项通过所述关联表关联的所有数据会话表项都与所述控制标识相对应;控制标识表607用于保存所述控制标识,该控制标识具有大于数据会话表项的标识老化时间;中心控制单元608是该装置的核心单元,用于在对业务数据匹配上所述数据会话表项时,对所述控制标识表607进行刷新,在所述控制标识表607在所述标识老化时间内没有刷新时,控制对所述控制会话表项进行删除。Among them, the identification configuration unit 605 is mainly used to configure a unique control identification for the control session entry; the identification corresponding unit 606 is used to set all the data session entries associated with the control session entry through the association table with the control session entry. corresponding to the identification; the control identification table 607 is used to save the control identification, and the control identification has an identification aging time greater than that of the data session entry; the central control unit 608 is the core unit of the device, and is used for matching the business data When the data session entry is selected, the control identification table 607 is refreshed, and when the control identification table 607 is not refreshed within the identification aging time, the control session entry is deleted.

对于方法实施例二对应的装置,结构与图6所示的类似,其中不同在于用标识计数器替代控制标识表607,以及中心控制模块的处理不同。For the device corresponding to the second method embodiment, the structure is similar to that shown in FIG. 6 , the difference lies in that the identification counter is used instead of the control identification table 607, and the processing of the central control module is different.

具体地,此时的装置包括数据接口模块、控制会话表、关联表及数据会话表、标识配置模块、标识对应模块、标识计数器及中心控制模块。Specifically, the device at this time includes a data interface module, a control session table, an association table and a data session table, an identification configuration module, an identification corresponding module, an identification counter and a central control module.

其中,标识配置模块用于为控制会话表项配置唯一的控制标识;标识对应模块用于设置所述控制会话表项通过所述关联表关联的所有数据会话表项都与所述控制标识相对应;标识计数器的默认值为0;中心控制模块是该装置的核心模块,用于在为所述控制会话表项每新建一个数据会话表项时,对所述计数器加1,在为所述控制会话表项每删除一个数据会话表项时,对所述计数器减1;并在所述计数器非初次变为0时,控制对所述控制会话表项进行删除。Wherein, the identification configuration module is used to configure a unique control identification for the control session entry; the identification corresponding module is used to set the control session entry through the associated table. All data session entries are corresponding to the control identification ; The default value of the identification counter is 0; the central control module is the core module of the device, and is used to add 1 to the counter when each new data session entry is created for the control session entry. Each time a session entry deletes a data session entry, the counter is decremented by 1; and when the counter becomes 0 for a non-initial time, the control session entry is deleted.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.

Claims (5)

1.一种对控制会话表进行老化的方法,其特征在于,包括:1. A method for aging the control session table, characterized in that, comprising: 为控制会话表项分配唯一的控制标识,并为所述控制标识设置老化时间;Assigning a unique control identifier to the control session entry, and setting an aging time for the control identifier; 若所述控制会话表项控制的业务数据中断持续时间达到所述老化时间,则删除所述控制会话表项;If the service data interruption duration controlled by the control session entry reaches the aging time, then delete the control session entry; 还包括:Also includes: 设置所述控制会话表项控制的所有数据会话表项与所述控制标识对应;Set all the data session entries controlled by the control session entry to correspond to the control identifier; 当所述控制会话表项的业务数据输入时,查找数据会话表,并对匹配的数据会话表项对应的控制标识进行刷新;When the business data of the control session entry is input, search the data session table, and refresh the control identifier corresponding to the matching data session entry; 所述控制会话表项控制的业务数据中断持续时间达到所述老化时间,是指,所述控制标识没有被刷新的时间超过预置的控制标识老化时间。The interruption duration of the service data controlled by the control session entry reaches the aging time, which means that the time during which the control identifier is not refreshed exceeds the preset aging time of the control identifier. 2.根据权利要求1所述方法,其特征在于,通过以下步骤实现所述所有数据会话表项与所述控制标识相对应:2. The method according to claim 1, wherein the correspondence between all data session entries and the control identifier is realized by the following steps: 在为控制会话表项分配控制标识后,将所述控制标识写入关联表中;After allocating the control identifier to the control session entry, writing the control identifier into the association table; 当首个数据包到达时,查找所述关联表,获取所述控制标识;When the first data packet arrives, search the association table to obtain the control identifier; 建立数据会话表项,并将所述控制标识写入该建立的数据会话表项中。A data session entry is established, and the control identifier is written into the established data session entry. 3.根据权利要求1所述方法,其特征在于,通过以下步骤实现对所述控制标识刷新:3. The method according to claim 1, characterized in that the control identification is refreshed through the following steps: 在为控制会话表项分配控制标识后,为所述控制标识建立控制标识表;After allocating the control identifier to the control session entry, establishing a control identifier table for the control identifier; 在查找数据会话表后,通过匹配的数据会话表项中的控制标识确定控制标识表;After searching the data session table, determine the control identification table through the control identification in the matched data session entry; 对所确定的控制标识表进行刷新。The determined control identification table is refreshed. 4.根据权利要求1、2或3所述方法,其特征在于,所述控制标识老化时间大于所述数据会话表项的老化时间。4. The method according to claim 1, 2 or 3, wherein the aging time of the control identifier is greater than the aging time of the data session entry. 5.根据权利要求4所述方法,其特征在于,仅在所述控制标识没有被刷新的时间超过预置的控制标识老化时间时,才向CPU上报删除所述控制会话表项的请求。5 . The method according to claim 4 , wherein the request to delete the control session entry is reported to the CPU only when the control identifier has not been refreshed for a period exceeding a preset control identifier aging time. 5 .
CN2007101987082A 2007-12-06 2007-12-06 A method for aging the control session table Active CN101170517B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101987082A CN101170517B (en) 2007-12-06 2007-12-06 A method for aging the control session table

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101987082A CN101170517B (en) 2007-12-06 2007-12-06 A method for aging the control session table

Publications (2)

Publication Number Publication Date
CN101170517A CN101170517A (en) 2008-04-30
CN101170517B true CN101170517B (en) 2010-09-22

Family

ID=39390990

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101987082A Active CN101170517B (en) 2007-12-06 2007-12-06 A method for aging the control session table

Country Status (1)

Country Link
CN (1) CN101170517B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101355570B (en) * 2008-09-19 2011-08-10 杭州华三通信技术有限公司 Control method and control device for reporting aging information
CN101370016B (en) * 2008-10-17 2011-10-26 成都市华为赛门铁克科技有限公司 Aging method, apparatus and system for data stream list
CN101741807B (en) * 2008-11-19 2012-12-05 中兴通讯股份有限公司 Method for consulting updating time in SIP session refreshing process
CN101635639B (en) * 2008-11-28 2011-08-31 北京网康科技有限公司 Network connection tracing method and system thereof
CN102185723A (en) * 2011-05-27 2011-09-14 杭州迪普科技有限公司 Session management method and device
CN102325016A (en) * 2011-10-18 2012-01-18 深圳市融创天下科技股份有限公司 Data channel establishment requesting and responding method, system and terminal equipment
CN103095665A (en) * 2011-11-07 2013-05-08 中兴通讯股份有限公司 Method and device of improving firewall processing performance
CN103384280B (en) * 2012-05-02 2016-12-14 中兴通讯股份有限公司 A kind of network address conversion port method for managing resource and system
CN104618152B (en) * 2015-01-19 2018-04-27 迈普通信技术股份有限公司 A kind of conversational list aging method and system
CN105991552B (en) * 2015-02-03 2018-11-30 阿里巴巴集团控股有限公司 The method and apparatus that aging is carried out to flow table and NAT conversational list
CN106850568B (en) * 2016-12-29 2020-01-03 杭州迪普科技股份有限公司 Session aging method and device of multi-channel protocol
CN107547618B (en) * 2017-06-09 2020-11-06 新华三技术有限公司 Session dismantling method and device
CN107547503B (en) * 2017-06-12 2020-12-25 新华三信息安全技术有限公司 Session table item processing method and device, firewall equipment and storage medium
CN107800652A (en) * 2017-10-20 2018-03-13 深圳市楠菲微电子有限公司 The protocol access method and device used in a switch
CN108234615B (en) * 2017-12-25 2021-05-07 新华三技术有限公司 Table item processing method, mainboard and main network equipment
CN112217909A (en) * 2019-07-11 2021-01-12 奇安信科技集团股份有限公司 Data forwarding method and data forwarding device based on session
CN111935060B (en) * 2019-12-26 2021-05-07 长扬科技(北京)有限公司 Method for aggregating network communication session
CN114006809B (en) * 2021-10-09 2023-11-28 北京天融信网络安全技术有限公司 Method, device, equipment and storage medium for adjusting industrial control firewall data transmission

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1451215A (en) * 2000-03-06 2003-10-22 先进微装置公司 Selective address table aging in a network switch
US20060029083A1 (en) * 2004-08-04 2006-02-09 Paul Kettlewell Network management across a NAT or firewall
CN1787656A (en) * 2004-12-06 2006-06-14 LG-Nortel株式会社 Aging processing apparatus and method in communications system
CN1946062A (en) * 2006-10-10 2007-04-11 华为数字技术有限公司 Method and system for keep-alive conversation table in NAT device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1451215A (en) * 2000-03-06 2003-10-22 先进微装置公司 Selective address table aging in a network switch
US20060029083A1 (en) * 2004-08-04 2006-02-09 Paul Kettlewell Network management across a NAT or firewall
CN1787656A (en) * 2004-12-06 2006-06-14 LG-Nortel株式会社 Aging processing apparatus and method in communications system
CN1946062A (en) * 2006-10-10 2007-04-11 华为数字技术有限公司 Method and system for keep-alive conversation table in NAT device

Also Published As

Publication number Publication date
CN101170517A (en) 2008-04-30

Similar Documents

Publication Publication Date Title
CN101170517B (en) A method for aging the control session table
CN101409685B (en) Forwarding method and access device based on virtual local area network mapping
CN104901958B (en) A kind of SDN centralized access control method of user's driving
JP7634561B2 (en) MESSAGE PROCESSING METHOD AND APPARATUS, NOTIFICATION METHOD AND APPARATUS, NETWORK BRIDGE NODE, SOURCE DEVICE, STORAGE MEDIUM AND MESSAGE PROCESSING SYSTEM
CN102946354B (en) Method, device and the network equipment that a kind of message forwards
WO2014101777A1 (en) Flow table matching method and device, and switch
CN104486589B (en) Access method and device in video monitoring system based on GVRP
WO2018082592A1 (en) Message processing method and network device
CN101977245A (en) Method, network equipment and system for detecting IP (Internet Protocol) address conflict
CN101267331A (en) A method and device for searching a multicast forwarding table
CN107196776A (en) A kind of method and apparatus of message forwarding
WO2020062268A1 (en) Method and device for load balancing and message reordering in network
WO2020043200A1 (en) Establishment of fast forwarding table
WO2021098425A1 (en) Qos policy method, device, and computing device for service configuration
WO2021208529A1 (en) Port resource reservation method, electronic device, and storage medium
CN112866435A (en) MAC address aging processing method and equipment
US9742881B2 (en) Network virtualization using just-in-time distributed capability for classification encoding
CN101114989B (en) Method for processing three-layer ethernet switchboard direct connection host computer routing
CN115865802B (en) Traffic mirroring method, device, virtual machine platform and storage medium of virtual instance
WO2014067055A1 (en) Method and device for refreshing flow table
CN101115001B (en) Host computer of ADSL router and PVC dynamic binding method
CN113206791B (en) Message forwarding method and device
WO2011097859A1 (en) Method and device for realizing flexible qinq
CN114363902A (en) 5G private network service security assurance method, device, equipment and storage medium
CN102394816A (en) User service quality control method and equipment for virtual private network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: NEW H3C TECHNOLOGIES Co.,Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: HANGZHOU H3C TECHNOLOGIES Co.,Ltd.

CP03 Change of name, title or address
TR01 Transfer of patent right

Effective date of registration: 20230808

Address after: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee after: Beijing Ziguang Communication Technology Group Co.,Ltd.

Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466

Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20241127

Address after: Room 867, Building B, Lingang High tech Industrial Park, Yongji Avenue, Hunan Chenglingji New Port Area, Yueyang City, Hunan Province 414000

Patentee after: Ziguang Communication Technology (Yueyang) Co.,Ltd.

Country or region after: China

Address before: 24th Floor, Block B, Zhizhen Building, No. 7 Zhichun Road, Haidian District, Beijing, 100088

Patentee before: Beijing Ziguang Communication Technology Group Co.,Ltd.

Country or region before: China

TR01 Transfer of patent right