CN1913495A - Data conversion method and device - Google Patents

Data conversion method and device Download PDF

Info

Publication number
CN1913495A
CN1913495A CNA200610111948XA CN200610111948A CN1913495A CN 1913495 A CN1913495 A CN 1913495A CN A200610111948X A CNA200610111948X A CN A200610111948XA CN 200610111948 A CN200610111948 A CN 200610111948A CN 1913495 A CN1913495 A CN 1913495A
Authority
CN
China
Prior art keywords
list item
host
address information
module
stream
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.)
Granted
Application number
CNA200610111948XA
Other languages
Chinese (zh)
Other versions
CN100452774C (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou Huawei 3Com Technology 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 Huawei 3Com Technology Co Ltd filed Critical Hangzhou Huawei 3Com Technology Co Ltd
Priority to CNB200610111948XA priority Critical patent/CN100452774C/en
Publication of CN1913495A publication Critical patent/CN1913495A/en
Application granted granted Critical
Publication of CN100452774C publication Critical patent/CN100452774C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

This invention discloses a data transmission method including: a network transmission device receives a message and finds out item ID and its address information corresponding to the flow ID of said message and finds out the list according to the address information, when the ID found out according to the flow ID and that based on the address information are the same, it transmits the message based on the content in the item in terms of the address information. This invention discloses a data transmission device including: a host item set-up module, a residual item set-up module and a message transmission module.

Description

Data forwarding method and device
Technical field
The present invention relates to data communication technology field, be specifically related to a kind of data forwarding method and device.
Background technology
It is the key link that improves network equipment forwarding speed that the spent time of list item is searched in shortening, and the common at present mode that adopts foundation stream to quicken list item shortens searches the spent time of list item.Its basic principle is: when the message with certain stream feature passes through network forwarding equipment for the first time, message is carried out common table lookup operation, and this message forwarding information stores quickened in the list item to stream, the stream characteristic information that network forwarding equipment writes down this message quickens the corresponding relation that list item identifies (ID) with stream, during when the message second time or for the second time later on through this network forwarding equipment with same stream feature, network forwarding equipment directly according to the stream characteristic information of this message, is directly transmitted this message by searching stream acceleration list item.
Quickening list item with forwarding information base (FIB) stream is example, rapid data is transmitted describe, and as shown in Figure 1, its concrete steps are as follows:
Step 101: network forwarding equipment receives the IP message.
Step 102: network forwarding equipment judges that according to the stream characteristic information of this message the FIB stream of self whether having preserved this message quickens list item, if, execution in step 103; Otherwise, execution in step 104.
Step 103: network forwarding equipment sends the outgoing interface of this message from correspondence according to the outgoing interface information that writes down in this FIB stream acceleration list item, and this flow process finishes.
Step 104: network forwarding equipment finds corresponding fib table item according to the purpose IP address of this message, finds the outgoing interface information of this message in this fib table item, and the outgoing interface of this message from correspondence sent; And set up FIB stream and quicken list item, writing down the outgoing interface information of this message, and preserve the stream characteristic information of this message and the corresponding relation of this FIB stream acceleration list item ID.
The stream characteristic information of message comprises: source IP address information, source port number, protocol number, purpose IP address information, destination slogan etc.
As can be seen from the above description, FIB stream quickens list item and depends on the fib table item, and FIB stream is quickened the parasitic list item that list item is called the fib table item, and the fib table item is called host's list item that FIB stream quickens list item.Host's list item may corresponding more than one parasitic list item.When change takes place in host's list item for example: number change of the outbound port in the outgoing interface information, must change information corresponding in the parasitic list item this moment simultaneously; Simultaneously, when the host table entry deletion, also must delete corresponding parasitic list item simultaneously, otherwise can cause finding wrong outgoing interface information, cause message retransmission failure or message to transmit mistake.
At present, when host's list item is modified or deletes, network forwarding equipment is according to the parasitic list item ID corresponding with this host's list item of record, change or delete parasitic list item one by one, the problem of Chan Shenging is like this: because all corresponding usually a plurality of parasitic list items of host's list item, therefore, change or delete parasitic list item and need a period of time, cause so probably: host's list item is changed or is deleted, but corresponding parasitic list item also is not able to do in time when change or deletion, network forwarding equipment receives the message that the parasitic list item that can change or delete by not having enough time is transmitted, and the result makes this message retransmission failure or transmit mistake.
Summary of the invention
The invention provides a kind of data forwarding method and device, transmit success rate to improve message.
Technical scheme of the present invention is achieved in that
A kind of data forwarding method comprises:
Network forwarding equipment receives message, stream ID according to this message finds corresponding list item ID and list item address information, find list item according to this list item address information,, E-Packet according to the list item ID that finds of stream ID when consistent when described according to the contents in table in the described list item that finds according to the list item address information with the list item ID in the described list item that finds according to the list item address information.
Described method further comprises: network forwarding equipment is set up in advance and is comprised: the parasitic list item of stream ID, host's list item ID and host's list item address information, and foundation comprises: host's list item of host's list item ID and host's contents in table;
Described network forwarding equipment finds corresponding list item ID and list item address information according to the stream ID of message: network forwarding equipment finds host's list item ID and host's list item address information according to the stream ID of message in parasitic list item;
Described network forwarding equipment finds list item according to the list item address information and comprises: network forwarding equipment finds host's list item according to the host's list item address information in the parasitic list item.
Described list item is the fib table item.
Described method further comprises: when network forwarding equipment need be changed contents in table in the list item, directly change this contents in table.
Described method further comprises: when network forwarding equipment needs contents in table in the remove entries, directly delete this contents in table, change the list item ID in this list item simultaneously; Perhaps, directly delete the list item at this contents in table place.
Described method further comprises: network forwarding equipment receives message, stream ID according to this message finds corresponding list item ID and list item address information, find list item according to this list item address information, when described according to the stream list item ID that finds of ID and the list item ID in the described list item that finds according to the list item address information when inconsistent, destination address information according to message is searched list item, E-Packet according to the contents in table in this list item, and set up stream ID, the list item ID in the list item of this message and the corresponding relation of list item address information.
Described method further comprises: network forwarding equipment receives message, stream ID according to this message does not find corresponding list item ID and list item address information, then the destination address information according to message finds list item, E-Packet according to the contents in table in this list item, and set up stream ID, the list item ID in the list item of this message and the corresponding relation of list item address information.
Described host's list item is stored in the space that is specifically designed to reservoir host's list item.
Described host's list item is stored in the space of the non-reservoir host's of being specifically designed to list item, and described host's list item ID comprises: the ID that is used to identify the ID of host's list item type and is used for unique identification host contents in table.
A kind of data forwarding device comprises: host's list item is set up module, parasitic list item is set up module and packet forwarding module, wherein:
Host's list item is set up module, is used for according to request, and host's list item ID, the host's contents in table of self preserving sent to packet forwarding module;
Parasitic list item is set up module, is used to set up and preserve the corresponding relation of stream ID and host's list item ID, host's list item address information, according to request, will with flow ID corresponding host list item address information, host's list item ID send to packet forwarding module;
Packet forwarding module, be used to determine the stream ID of the message that receives, set up the module request to host's list item address information and host's list item ID according to this stream ID to parasitic list item, set up the module request to host's list item ID according to this host's list item address information to host's list item, when the two host's list item ID that ask are identical, according to set up from host's list item the module request to host's contents in table E-Packet.
Described host's list item is set up module and is further used for, and when needs change host contents in table, directly changes this host's contents in table.
Described host's list item is set up module and is further used for, and when needs deletion host contents in table, deletes this host's contents in table, and change and this host's contents in table corresponding host list item ID; Or directly delete host's list item at this host's contents in table place.
Described packet forwarding module is further used for, when set up from parasitic list item module and host's list item set up the module request to two host's list item ID not simultaneously, from host's list item set up the module request to the address information of destination address information corresponding host list item and this host's list item of message, E-Packet according to the host's contents in table in this host's list item, and with the stream ID of message, send to parasitic list item with destination address information corresponding host list item ID and host's list item address information and set up module;
Described parasitic list item is set up module and is further used for, stream ID, the host's list item ID that the preservation packet forwarding module is sent and the corresponding relation of host's list item address information.
Described packet forwarding module is further used for, when setting up module from parasitic list item and not asking host's list item address information and host's list item ID, from host's list item set up the module request to the address information of destination address information corresponding host list item and this host's list item of message, E-Packet according to the host's contents in table in this host's list item, and with the stream ID of message, send to parasitic list item with destination address information corresponding host list item ID and host's list item address information and set up module;
Described parasitic list item is set up module and is further used for, stream ID, the host's list item ID that the preservation packet forwarding module is sent and the corresponding relation of host's list item address information.
Compared with prior art, the present invention finds corresponding list item address information and list item ID according to the stream ID of message, find list item according to this list item address information, when described according to the list item ID that finds of stream ID when consistent with the list item ID in the described list item that finds according to the list item address information, E-Packet according to the contents in table in the described list item that finds according to the list item address information, the present invention need not to preserve in addition contents in table again outside list item, and only need preserve the corresponding relation of stream ID and list item ID and list item address information, when needs change contents in table, the contents in table that only needs directly to change in the list item gets final product, when need remove entries content, only need direct remove entries content and change list item ID, or directly the whole list item at remove entries content place gets final product, avoid the generation of the situation of the change of contents in table or forwarding mistake that deletion causes or retransmission failure, improved the forwarding success rate.
Description of drawings
To quicken list item with FIB stream be example to Fig. 1 for existing, carries out the flow chart that rapid data is transmitted;
Fig. 2 is the flow chart that carries out data forwarding provided by the invention;
The flow chart that carries out data forwarding that Fig. 3 embodiment of the invention one provides;
The FIB stream that Fig. 4 provides for the embodiment of the invention one quickens the schematic diagram that concerns of list item and fib table item;
The flow chart that carries out data forwarding that Fig. 5 provides for the embodiment of the invention two;
The composition schematic diagram of the data forwarding device that Fig. 6 provides for the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 2 is the flow chart that carries out data forwarding provided by the invention, and as shown in Figure 2, its concrete steps are as follows:
Step 201: network forwarding equipment is set up host's list item according to transmitting successful message, comprising: host's list item ID and host's contents in table.
Host's list item ID is used for identifying uniquely host's contents in table.
Step 202: network forwarding equipment is set up the parasitic list item corresponding with this host's list item according to transmitting successful message by host's contents in table, comprising: stream ID, host's list item ID and host's list item address information.
Stream ID is used to identify the stream feature of message, homogeneous turbulence characteristic information correspondence homogeneous turbulence ID not, and the stream characteristic information comprises: source IP address information, source port number, protocol information are as protocol number, purpose IP address information, destination slogan etc.; Host's list item ID in the parasitic list item is identical with the host's list item ID in the corresponding host list item.
Step 203: network forwarding equipment is received message, determines the stream ID of this message to find host's list item address information and host's list item ID in the parasitic list item corresponding with this stream ID according to the stream feature of this message.
Network forwarding equipment is preserved stream characteristic information and the corresponding relation that flows ID, according to this corresponding relation, can determine the stream ID of the stream characteristic information correspondence of message.
If network forwarding equipment does not find host's list item address information and host's list item ID in the corresponding parasitic list item according to the stream ID of message, then execution in step 207.
Step 204: network forwarding equipment finds host's list item according to the host's list item address information in the parasitic list item.
Step 205: network forwarding equipment judges whether the host's list item ID in the parasitic list item is identical with host's list item ID in host's list item, if, execution in step 206; Otherwise, execution in step 207.
Step 206: network forwarding equipment is transmitted this message according to the host's contents in table in this host's list item, goes to step 208.
Step 207: network forwarding equipment arrives the corresponding host list item according to the purpose IP address search of this message, transmits this message according to the host's contents in table in this host's list item; And foundation comprises the stream ID of this message, the address information of this host's list item and the new parasitic list item of the host's list item ID in this host's list item.
Step 208: network forwarding equipment need to determine change host contents in table, then directly changes this host's contents in table in host's list item.
Step 209: network forwarding equipment need to determine deletion host contents in table, then directly deletes this host's contents in table, and changes this host's contents in table corresponding host list item ID.
In this step, network forwarding equipment also can directly be deleted host's list item at this host's contents in table place.
Among the present invention,, the corresponding relation that flows ID and host's list item ID, host's list item address information is stored in the parasitic list item for the convenience of storing; In concrete the application, network forwarding equipment also can be safeguarded the corresponding relation of stream ID and host's list item ID respectively, and the corresponding relation of stream ID and host's list item address information.
Particularly, network forwarding equipment can be by dual mode reservoir host list item: a kind ofly be, with host's list item be stored in pre-first to file to the space that is specifically designed to reservoir host's list item in, in a single day this space is applied and is used for reservoir host's list item, no longer discharges to use it for anything else; Another kind is, host's list item is stored in the space of the non-reservoir host's of being specifically designed to list item, that is: do not need to apply for memory space in advance for host's list item specially, and this space can use it for anything else after discharging.Below with host's list item be fib table item, parasitic list item be FIB stream to quicken list item be example, the data forwarding under this dual mode is described.
The flow chart that carries out data forwarding that Fig. 3 provides for the embodiment of the invention one, as shown in Figure 3, its concrete steps are as follows:
Step 301: network forwarding equipment is a fib table item application memory space.
When network forwarding equipment detects the memory space of having applied for and is about to use up, can apply for new memory space again.
Step 302: network forwarding equipment is set up the fib table item according to transmitting successful message in the memory space of applying for, comprising: fib table item sequence number and fib table item content.
Network forwarding equipment is provided with a unique fib table item sequence number for each fib table item content.
Step 303: network forwarding equipment is set up the FIB stream corresponding with each fib table item and is quickened list item according to transmitting successful message by the fib table item, comprising: stream ID, fib table item sequence number, fib table item pointer.
The implication of stream ID in this step is identical with the implication of stream ID in the step 202; FIB stream quicken in the list item fib table item sequence number promptly: FIB stream quickens the fib table item sequence number in the fib table item of list item correspondence; Fib table item pointed FIB stream quickens the memory address of the fib table item of list item correspondence.
As shown in Figure 4, a fib table item can quicken list item by corresponding one or more FIB streams, for example: the FIB stream acceleration list item of stream ID2 sign is corresponding with the fib table item of fib table item sequence number 1 sign, and all the fib table item with fib table item sequence number 2 signs is corresponding and the FIB stream that stream ID1 and stream ID3 identify quickens list item.
Step 304: network forwarding equipment is received message, according to the stream feature of this message, determines the stream ID of this message.
Step 305: network forwarding equipment self is being searched the FIB stream acceleration list item corresponding with this stream ID.
If network forwarding equipment self is not finding the FIB stream acceleration list item corresponding with this stream ID, then execution in step 309~310.
Step 306: network forwarding equipment quickens fib table item pointer in list item according to this FIB stream, pre-first to file to the space that is used for storing the fib table item, find the fib table item of this fib table item pointed.
Step 307: network forwarding equipment judges whether the fib table item sequence number in the fib table item is consistent with the fib table item sequence number that FIB stream quickens in the list item, if, execution in step 308; Otherwise, execution in step 309.
Step 308: network forwarding equipment is transmitted this message according to the fib table item content in this fib table item, goes to step 311.
Step 309: network forwarding equipment, is searched and the corresponding fib table item in this purpose IP address in all fib table items of self preserving according to the purpose IP address of this message.
Step 310: network forwarding equipment is transmitted this message according to the fib table item content in the fib table item that finds, and set up the stream ID that comprises this message, the new FIB stream of the fib table item sequence number of pointing to the fib table item pointer of this fib table item that finds and the fib table item that this finds quickens list item.
Step 311: network forwarding equipment determines to change the fib table item content in the fib table item, then directly changes this fib table item content.
Step 312: network forwarding equipment determines to delete the fib table item content in the fib table item, and then delete this fib table item content, and change the fib table item sequence number in this fib table item, as: fib table item sequence number is added 1.
In this step, when deletion fib table item content, only the fib table item sequence number of this fib table item content correspondence of fib table Xiang Zhongyu is changed, do not quickened the fib table item sequence number corresponding in the list item with this fib table item content and do not change FIB stream.Simultaneously, when deletion fib table item content, the memory space with the fib table item at this fib table item content place does not discharge, but the fib table item sequence number in this fib table item is added 1, and the memory space of the fib table item content that has emptied can be stored newly-established fib table item content.
The flow chart that carries out data forwarding that Fig. 5 provides for the embodiment of the invention two, as shown in Figure 5, its concrete steps are as follows:
Step 501: network forwarding equipment is set up the fib table item according to transmitting successful message in the memory space of self, comprising: FIB type identification, fib table item sequence number and fib table item content.
The FIB type identification is used to identify this section space and is used to store the fib table item, and therefore, the FIB type identification in all fib table items is identical, and network forwarding equipment is provided with a unique fib table item sequence number for each fib table item.
Step 502: network forwarding equipment is set up the FIB stream corresponding with each fib table item and is quickened list item according to transmitting successful message by the fib table item, comprising: stream ID, fib table item sequence number, fib table item pointer.
Wherein, the implication of stream ID, fib table item sequence number, fib table item pointer is identical with step 302.
Step 503: network forwarding equipment is received message, according to the stream feature of this message, determines the stream ID of this message.
Step 504: network forwarding equipment self is finding the FIB stream acceleration list item corresponding with this stream ID.
If network forwarding equipment self is not finding the FIB stream acceleration list item corresponding with this stream ID, then execution in step 509~510.
Step 505: network forwarding equipment is according to the fib table item pointer in this FIB stream acceleration list item, at the memory space that self finds this fib table item pointed.
Step 506: network forwarding equipment judges in the memory space that finds whether comprise the FIB type identification, if, execution in step 507; Otherwise, execution in step 508.
Step 507: network forwarding equipment determines that this memory space is a fib table item memory space, judges whether the fib table item sequence number that FIB stream quickens in the list item is identical with fib table item sequence number in this fib table item, if, execution in step 508; Otherwise, execution in step 509.
Step 508: network forwarding equipment is transmitted this message according to the fib table item content in this fib table item, goes to step 511.
Step 509: network forwarding equipment is judged the deleted or change of fib table item, according to the purpose IP address of this message, in all fib table items of self preserving, searches and the corresponding fib table item in this purpose IP address.
Step 510: network forwarding equipment is transmitted this message according to the fib table item content in this fib table item, and in the memory space of self, set up the stream ID comprise this message, the new FIB stream of the fib table item sequence number of pointing to the fib table item pointer of this fib table item that finds and the fib table item that this finds quickens list item.
Step 511: network forwarding equipment determines to change the fib table item content in the fib table item, then directly changes this fib table item content.
Step 512: network forwarding equipment determines to delete the fib table item content in the fib table item, then delete the fib table item at this fib table item content place, that is: not only delete this fib table item content, also delete fib table item sequence number and the FIB type identification corresponding with this fib table item content.
In the present embodiment, deletion fib table item content means that promptly the memory space with the fib table item at this fib table item content place all empties and discharges, and uses for it.
The composition schematic diagram of the data forwarding device that Fig. 6 provides for the embodiment of the invention, as shown in Figure 6, it mainly comprises: host's list item is set up module 61, parasitic list item is set up module 62 and packet forwarding module 63, wherein:
Host's list item is set up module 61: be used for foundation and preserve comprising: host's list item of the corresponding relation of host's list item ID and host's contents in table, the request of carrying host's list item address information according to packet forwarding module 63 is sent will send to packet forwarding module 63 with this host's list item address information corresponding host list item.
Host's list item is set up module 61 and is further used for, and when needs change host contents in table, directly changes this host's contents in table.
Host's list item is set up module 61 and is further used for, when needs deletion host contents in table, and change and this host's contents in table corresponding host list item ID, and delete this host's contents in table; Perhaps, directly delete host's list item at this host's contents in table place.
Parasitic list item is set up module 62: be used for setting up and preserving comprising: the parasitic list item of the corresponding relation of stream ID, host's list item address information and host's list item ID, the request of carrying stream ID according to packet forwarding module 63 is sent will send to packet forwarding module 63 with this host's list item address information, host's list item ID that flows in the corresponding parasitic list item of ID; The stream ID, host's list item address information and the host's list item ID that send according to packet forwarding module 63 set up new parasitic list item.
Packet forwarding module 63: be used to preserve stream characteristic information and the corresponding relation that flows ID, when receiving the message of sending the outside, determine the stream ID of this message according to the stream feature of this message, setting up module 62 to parasitic list item sends the parasitic list item that carries this stream ID and obtains request, receive parasitic list item and set up the parasitic list item that module 62 is returned, host's list item address information in this parasitism list item is carried at host's list item ID to be obtained and sends to host's list item in the request and set up module 61, judge whether host's list item is set up host's list item ID that module 61 returns identical with host's list item ID in the parasitic list item, if, to host's list item set up module 61 send carry host's list item ID obtain host's list item content requests, set up host's contents in table that module 61 returns according to host's list item and transmit this message; Otherwise, obtain host's list item and the request of host's list item address information to what host's list item set up that module 61 sends the purpose IP address information of carrying message, transmit this message according to host's contents in table that host's list item is set up in host's list item that module 61 returns, simultaneously, stream ID, host's list item of message being set up host's list item address information that module 61 returns and the host's list item ID in host's list item sends to parasitic list item and sets up module 62.
Further, packet forwarding module is used for, after setting up module 62 to parasitic list item and sending the parasitic list item that carries this stream ID and obtain request, do not receive parasitic list item and set up the parasitic list item that module 62 is returned, then obtain host's list item and the request of host's list item address information to what host's list item set up that module 61 sends the purpose IP address information of carrying message, transmit this message according to host's contents in table that host's list item is set up in host's list item that module 61 returns, simultaneously, with the stream ID of message, host's list item is set up host's list item address information that module 61 returns and the host's list item ID in host's list item and is sent to parasitic list item and set up module 62.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1, a kind of data forwarding method is characterized in that, comprising:
Network forwarding equipment receives message, traffic identifier ID according to this message finds corresponding list item ID and list item address information, find list item according to this list item address information,, E-Packet according to the list item ID that finds of stream ID when consistent when described according to the contents in table in the described list item that finds according to the list item address information with the list item ID in the described list item that finds according to the list item address information.
2, the method for claim 1, it is characterized in that, described method further comprises: network forwarding equipment is set up in advance and is comprised: the parasitic list item of stream ID, host's list item ID and host's list item address information, and foundation comprises: host's list item of host's list item ID and host's contents in table;
Described network forwarding equipment finds corresponding list item ID and list item address information according to the stream ID of message: network forwarding equipment finds host's list item ID and host's list item address information according to the stream ID of message in parasitic list item;
Described network forwarding equipment finds list item according to the list item address information and comprises: network forwarding equipment finds host's list item according to the host's list item address information in the parasitic list item.
3, method as claimed in claim 1 or 2 is characterized in that, described list item is a forwarding information base fib table item.
4, data forwarding method as claimed in claim 1 or 2 is characterized in that, described method further comprises: when network forwarding equipment need be changed contents in table in the list item, directly change this contents in table.
5, data forwarding method as claimed in claim 1 or 2 is characterized in that, described method further comprises: when network forwarding equipment needs contents in table in the remove entries, directly delete this contents in table, change the list item ID in this list item simultaneously; Perhaps, directly delete the list item at this contents in table place.
6, data forwarding method as claimed in claim 1 or 2, it is characterized in that, described method further comprises: network forwarding equipment receives message, stream ID according to this message finds corresponding list item ID and list item address information, find list item according to this list item address information, when described according to the stream list item ID that finds of ID and the list item ID in the described list item that finds according to the list item address information when inconsistent, destination address information according to message is searched list item, E-Packet according to the contents in table in this list item, and set up the stream ID of this message, the list item ID in the list item and the corresponding relation of list item address information.
7, data forwarding method as claimed in claim 1 or 2, it is characterized in that, described method further comprises: network forwarding equipment receives message, stream ID according to this message does not find corresponding list item ID and list item address information, then the destination address information according to message finds list item, E-Packet according to the contents in table in this list item, and set up stream ID, the list item ID in the list item of this message and the corresponding relation of list item address information.
8, data forwarding method as claimed in claim 2 is characterized in that, described host's list item is stored in the space that is specifically designed to reservoir host's list item.
9, data forwarding method as claimed in claim 2, it is characterized in that, described host's list item is stored in the space of the non-reservoir host's of being specifically designed to list item, and described host's list item ID comprises: the ID that is used to identify the ID of host's list item type and is used for unique identification host contents in table.
10, a kind of data forwarding device is characterized in that, comprising: host's list item is set up module, parasitic list item is set up module and packet forwarding module, wherein:
Host's list item is set up module, is used for according to request, and host's list item ID, the host's contents in table of self preserving sent to packet forwarding module;
Parasitic list item is set up module, is used to set up and preserve the corresponding relation of stream ID and host's list item ID, host's list item address information, according to request, will with flow ID corresponding host list item address information, host's list item ID send to packet forwarding module;
Packet forwarding module, be used to determine the stream ID of the message that receives, set up the module request to host's list item address information and host's list item ID according to this stream ID to parasitic list item, set up the module request to host's list item ID according to this host's list item address information to host's list item, when the two host's list item ID that ask are identical, according to set up from host's list item the module request to host's contents in table E-Packet.
11, data forwarding device as claimed in claim 10 is characterized in that, described host's list item is set up module and is further used for, and when needs change host contents in table, directly changes this host's contents in table.
12, data forwarding device as claimed in claim 10, it is characterized in that described host's list item is set up module and is further used for, when needs deletion host contents in table, delete this host's contents in table, and change and this host's contents in table corresponding host list item ID; Or directly delete host's list item at this host's contents in table place.
13, data forwarding device as claimed in claim 10, it is characterized in that, described packet forwarding module is further used for, when set up from parasitic list item module and host's list item set up the module request to two host's list item ID not simultaneously, from host's list item set up the module request to the address information of destination address information corresponding host list item and this host's list item of message, E-Packet according to the host's contents in table in this host's list item, and with the stream ID of message, send to parasitic list item with destination address information corresponding host list item ID and host's list item address information and set up module;
Described parasitic list item is set up module and is further used for, stream ID, the host's list item ID that the preservation packet forwarding module is sent and the corresponding relation of host's list item address information.
14, data forwarding device as claimed in claim 10, it is characterized in that, described packet forwarding module is further used for, when setting up module from parasitic list item and not asking host's list item address information and host's list item ID, from host's list item set up the module request to the address information of destination address information corresponding host list item and this host's list item of message, E-Packet according to the host's contents in table in this host's list item, and with the stream ID of message, send to parasitic list item with destination address information corresponding host list item ID and host's list item address information and set up module;
Described parasitic list item is set up module and is further used for, stream ID, the host's list item ID that the preservation packet forwarding module is sent and the corresponding relation of host's list item address information.
CNB200610111948XA 2006-08-28 2006-08-28 Data conversion method and device Expired - Fee Related CN100452774C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200610111948XA CN100452774C (en) 2006-08-28 2006-08-28 Data conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200610111948XA CN100452774C (en) 2006-08-28 2006-08-28 Data conversion method and device

Publications (2)

Publication Number Publication Date
CN1913495A true CN1913495A (en) 2007-02-14
CN100452774C CN100452774C (en) 2009-01-14

Family

ID=37722268

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200610111948XA Expired - Fee Related CN100452774C (en) 2006-08-28 2006-08-28 Data conversion method and device

Country Status (1)

Country Link
CN (1) CN100452774C (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106529B (en) * 2007-08-02 2010-07-21 杭州华三通信技术有限公司 Packet forwarding method and system based on secure service
CN101472279B (en) * 2007-12-25 2010-11-10 中国移动通信集团公司 Method, equipment and system for data interchange
CN102308539A (en) * 2011-07-08 2012-01-04 华为技术有限公司 Method and device of fast shift of forwarding port
US8316432B2 (en) 2007-08-02 2012-11-20 Hangzhou H3C Technologies Co., Ltd. Method for implementing security-related processing on packet and network security device
CN102833114A (en) * 2012-09-04 2012-12-19 华为技术有限公司 Method, equipment and system for deleting information
CN114006868A (en) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 Flow screening method and device
CN114006868B (en) * 2021-10-30 2024-04-26 杭州迪普信息技术有限公司 Flow screening method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5892922A (en) * 1997-02-28 1999-04-06 3Com Corporation Virtual local area network memory access system
KR100612315B1 (en) * 2003-02-20 2006-08-16 삼성전자주식회사 Distributed router with ping-pong preventing function and ping-pong preventing method using the same
US7515588B2 (en) * 2004-03-18 2009-04-07 Intel Corporation Method and apparatus to support a large internet protocol forwarding information base
CN1816002A (en) * 2005-02-06 2006-08-09 华为技术有限公司 Method for realizing home town-agent retransmission message in mobile IP network

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101106529B (en) * 2007-08-02 2010-07-21 杭州华三通信技术有限公司 Packet forwarding method and system based on secure service
US8316432B2 (en) 2007-08-02 2012-11-20 Hangzhou H3C Technologies Co., Ltd. Method for implementing security-related processing on packet and network security device
CN101472279B (en) * 2007-12-25 2010-11-10 中国移动通信集团公司 Method, equipment and system for data interchange
CN102308539A (en) * 2011-07-08 2012-01-04 华为技术有限公司 Method and device of fast shift of forwarding port
CN102833114A (en) * 2012-09-04 2012-12-19 华为技术有限公司 Method, equipment and system for deleting information
CN102833114B (en) * 2012-09-04 2015-03-18 华为技术有限公司 Method, equipment and system for deleting information
CN114006868A (en) * 2021-10-30 2022-02-01 杭州迪普信息技术有限公司 Flow screening method and device
CN114006868B (en) * 2021-10-30 2024-04-26 杭州迪普信息技术有限公司 Flow screening method and device

Also Published As

Publication number Publication date
CN100452774C (en) 2009-01-14

Similar Documents

Publication Publication Date Title
CN1870569A (en) Network system and its management method, communication terminal and file transmitting method
CN1132347C (en) Method for maintaining routing between selected network station and mobile station
CN1878139A (en) Three-layer forwarding method, device and ARP information table updating method
CN101068212A (en) Network address switching retransmitting device and method
CN1787537A (en) Mobile-unit-dedicated data delivery assistance method
CN1922826A (en) Tunneling service method and system
CN1913495A (en) Data conversion method and device
CN1829345A (en) Method and system for realizing data share between mobile terminals
CN1866971A (en) Method and apparatus of data segmentation in a mobile communications system
CN1992667A (en) ISATAP router for tunneling packets and method thereof
CN1581818A (en) Method for supporting multi-port virtual LAN by multi-protocol label swtich
CN1956386A (en) Method for set-up blogger and immediate communication of the blogger based on reciprocity mode
CN101056275A (en) A setting method for group message receiving mode in the instant communication system
CN1505344A (en) Relay apparatus, method of controlling content delivery, and content delivery system
CN1859037A (en) Transmitting and receiving method for high speed medium cut-in control grouping data unit
CN1929447A (en) Method and device for searching address prefixion and message transfer method and system
CN1949776A (en) 4 over 6 tunnel packing and depacking method for extending boundary gateway protocol
CN1929497A (en) Method and system for obtaining moving nodes local proxy information
CN1852261A (en) Method for maintenance of neighbor entry
CN1625155A (en) Inter connected network protocol packet error processing equipment and its method and computer readable medium
CN1719786A (en) Automatic testing system and method for command of command line interface of data communication apparatus
CN1516386A (en) Network communication safe processor and its data processing method
CN1291341C (en) Method and apparatus for realizing Ethernet passive optical network system dynamic filtration data base
CN1960277A (en) Method for managing linkman at client end, and client end
CN1863139A (en) L2TP message processing method

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
CP03 Change of name, title or address

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

Patentee after: Xinhua three Technology 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: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090114

Termination date: 20200828