CN104660478B - A kind of method and apparatus for realizing that data flow concatenates between tunnel - Google Patents
A kind of method and apparatus for realizing that data flow concatenates between tunnel Download PDFInfo
- Publication number
- CN104660478B CN104660478B CN201310598317.5A CN201310598317A CN104660478B CN 104660478 B CN104660478 B CN 104660478B CN 201310598317 A CN201310598317 A CN 201310598317A CN 104660478 B CN104660478 B CN 104660478B
- Authority
- CN
- China
- Prior art keywords
- tunnel
- data flow
- label
- standard agreement
- supported
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000013507 mapping Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 28
- 230000001965 increasing effect Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 4
- 238000011084 recovery Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 238000010276 construction Methods 0.000 description 5
- 238000007630 basic procedure Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000012792 core layer Substances 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000005641 tunneling Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method and apparatus for realizing that data flow concatenates between tunnel, to realize that the data flow of value-added service concatenates on existing, realize the hardware compatibility of different manufacturers.The described method includes:After tunnel edge equipment terminates the first tunnel, using the label that standard agreement is supported as the mark for the data flow for flowing through first tunnel;Establish the mark and the mapping relations in the second tunnel and first tunnel;According to the mapping relations, after the processing of value-added service equipment and the data flow of the tunnel edge equipment will be back to it is sent into second tunnel.Method provided in an embodiment of the present invention is concatenated without re-starting the data flow exploitation achieves that tunnel existing equipment, had both been eliminated the cost developed again when data flow concatenates, and had been in turn ensured the compatibility with existing equipment.
Description
Technical field
The present invention relates to network value added business scopes, and in particular to a kind of method and dress for realizing that data flow concatenates between tunnel
It puts.
Background technology
The value-added service equipment of conventional data centers network is generally deployed in convergence-level or core layer, position fix and
Configuration is static, the different demands of value-added service can not be provided according to client dynamic value-added service superposition, it is transportable and
Programmable services etc. can not also form value-added service service chaining.If necessary to increase, delete and/or change value-added service, it is necessary to
Value-added service equipment is redeployed, network topology is also required to change, so so that management and maintenance difficulties increase.In cloud computing
Epoch, the deployment way of this value-added service equipment obviously cannot meet the needs of client.
For value-added service with respect to conventional data centers network, service chaining(English:Service Chain)Value-added service
Deployment is flexible, and value-added service can be deployed in core switch, frame topcross(English:Top of Rack, abbreviation:TOR)It exchanges
Machine side or virtual machine(English:Virtual Machine, abbreviation:VM)On.Administrator can be tenant dynamic increase, delete and/
Or change value-added service(It is physics or virtual), effectively improve flexibility and resource utilization.Increase for Service Chain
Value business, tenant does not have to the specific deployed position and network topology of being concerned about value-added service equipment, also, service chaining allows tenant's root
Different value-added services is selected according to different business demands.In view of configuration and realize it is simple, industry generally using tunneling technique come
It realizes Service Chain functions, i.e., establishes point-to-point tunnel between different value-added service equipment, so as to which different increasings will be passed through
The data flow of the value-added service of value business device processing is connected in series.For example, it is used as number by defining privately owned message encapsulation format
According to traffic identifier, simple value-added service concatenation function is realized.
Since current existing value-added service equipment does not support tunnelling function very much, pass through for user's specified data stream
After the processing of value-added service equipment, there is no standard agreement supports or general method at present to identify data flow.Therefore, if pressing
Privately owned label is used according to the above-mentioned prior art(tag)Mode carry out mark data stream, so as to fulfill the data flow string of value-added service
Connect, then need to re-start existing equipment exploitation, lead to not it is compatible with existing other equipment, also result in can not with not
With the hardware compatibility of producer.
The content of the invention
The present invention provides a kind of method and apparatus for realizing data flow concatenation between tunnel, to realize increment on existing
The data flow concatenation of business realizes the hardware compatibility of different manufacturers.
In a first aspect, the present invention provides a kind of method for realizing that data flow concatenates between tunnel, including:It is set in tunnel edge
Behind the first tunnel of standby termination, using the label that standard agreement is supported as the mark for the data flow for flowing through first tunnel;
Establish the mark and the mapping relations in the second tunnel and first tunnel;
According to the mapping relations, after the processing of value-added service equipment and the institute of the tunnel edge equipment will be back to
It states data flow and is sent into second tunnel.
With reference to first aspect, in the first implementation of the first aspect, the label supported using standard agreement is made
Mark to flow through the data flow in first tunnel includes:
If message in the data flow is free of the label that the standard agreement is supported, for the report in the data flow
After text increases the label that the standard agreement is supported, the first field or the first field in the label supported using the standard agreement
With mark of second field as the data flow for flowing through first tunnel.
It is described to pass through increment industry in second of embodiment of first aspect with reference to the first above-mentioned embodiment
After business equipment processing and it is back to before data flow feeding second tunnel of the tunnel edge equipment, the method
It further includes:
Delete the label that the increased standard agreement is supported in the message in the data flow.
With reference to first aspect, in the first of first aspect the third embodiment, it is described using standard agreement support
Label includes as the mark for the data flow for flowing through first tunnel:
If the message in the data flow contains the label that the standard agreement is supported, the standard in the message is changed
After the label that agreement is supported, the first field or the first field and second in the label supported using the amended standard agreement
Mark of the field as the data flow for flowing through first tunnel.
It is described to pass through increment industry in the 4th kind of embodiment of first aspect with reference to the third above-mentioned embodiment
After business equipment processing and it is back to before data flow feeding second tunnel of the tunnel edge equipment, the method
It further includes:
The label that the amended standard agreement is supported in message in the data flow is reduced to the standard association
Discuss the label supported.
Second aspect, the present invention provides a kind of device for realizing that data flow concatenates between tunnel, described device includes:Mark
Module, for after tunnel edge equipment terminates the first tunnel, the label supported using standard agreement to be as flowing through described first
The mark of the data flow in tunnel;
Mapping block, for establishing the mark and the mapping relations in the second tunnel and first tunnel;
Forwarding module for according to the mapping relations, after the processing of value-added service equipment and will be back to the tunnel
The data flow of road edge device is sent into second tunnel.
With reference to two aspects, in the first embodiment of second aspect, the mark module includes:
First flag unit, if being free of the label of standard agreement support for the message in the data flow,
After increasing the label that the standard agreement is supported for the message in the data flow, in the label supported using the standard agreement
The mark of first field or the first field and the second field as the data flow for flowing through first tunnel.
With reference to the first embodiment of above-mentioned second aspect, in second of embodiment of second aspect, the dress
It puts and further includes:
Removing module after the processing of value-added service equipment and will be back to the tunnel edge for the forwarding module
The data flow of equipment is sent into before second tunnel, deletes the increased standard association in the message in the data flow
Discuss the label supported.
With reference to above-mentioned second aspect, in the third embodiment of the second aspect, the mark module includes:
Second identifier unit if containing the label of the standard agreement support for the message in the data flow, is repaiied
After changing the label that the standard agreement in the message is supported, the first word in the label supported using the amended standard agreement
The mark of section or the first field and the second field as the data flow for flowing through first tunnel.
It is described in the 4th embodiment of the second aspect with reference to the third embodiment of above-mentioned second aspect
Device further includes:
Recovery module after the processing of value-added service equipment and will be back to the tunnel edge for the forwarding module
The data flow of equipment is sent into before second tunnel, and the amended standard in the message in the data flow is assisted
The label that view is supported is reduced to the label that the standard agreement is supported.
In the present invention, mark of the label that standard agreement is supported as data flow is used in tunnel edge equipment, due to existing
Some tunnel edge equipment and/or value-added service equipment all support the label that standard agreement is supported, there is no need to existing equipment
Re-start exploitation achieve that between different tunnels data flow concatenation, both eliminated developed again when data flow concatenates into
This, in turn ensures the compatibility with existing equipment.
Description of the drawings
Fig. 1 be it is provided in an embodiment of the present invention realization tunnel between data flow concatenate method basic procedure schematic diagram;
Fig. 2 is VLAN frames provided in an embodiment of the present invention(802.1Q version)Format structure schematic diagram;
Fig. 3 is the device logical schematic of data flow concatenation between realization tunnel provided in an embodiment of the present invention;
Fig. 4 is increment service system structure diagram provided in an embodiment of the present invention;
Fig. 5 is the device logical construction schematic diagram of data flow concatenation between the realization tunnel that another embodiment of the present invention provides;
Fig. 6 is the device logical construction schematic diagram of data flow concatenation between the realization tunnel that another embodiment of the present invention provides;
Fig. 7 is the device logical construction schematic diagram of data flow concatenation between the realization tunnel that another embodiment of the present invention provides;
Fig. 8 is the device logical construction schematic diagram of data flow concatenation between the realization tunnel that another embodiment of the present invention provides.
Specific embodiment
The embodiment of the present invention provides a kind of method for realizing data flow concatenation between tunnel, including:It is whole in tunnel edge equipment
Behind the first tunnel of knot, using the label that standard agreement is supported as the mark for the data flow for flowing through first tunnel;Establish institute
State mark and the mapping relations in the second tunnel and first tunnel;According to the mapping relations, value-added service equipment will be passed through
After processing and it is back to the data flow of the first tunnel edge equipment and is sent into second tunnel.The embodiment of the present invention is also
The device that data flow concatenates between the corresponding realization tunnel of offer.It is described in detail individually below.
The method that data flow concatenates between the realization tunnel of the embodiment of the present invention can be applied to Service Chain value-added services
The tunnel edge equipment of system, basic procedure can refer to Fig. 1, mainly include step S101 to step S103:
S101, it is described using the label that standard agreement is supported as flowing through after tunnel edge equipment terminates the first tunnel
The mark of the data flow in the first tunnel.
Tunnel edge equipment is both the destination node in previous tunnel and the starting point in latter tunnel.In the embodiment of the present invention
In, in order to be distinguished to tunnel, data flow can be entered to the tunnel passed through before tunnel edge equipment and be known as the first tunnel,
The tunnel that the data flow is passed through after tunnel edge equipment outflow is known as the second tunnel.In general, tunnel is set in tunnel edge
After standby termination, the data flow as corresponding to the tunnel edge equipment by value-added service is sent to a value-added service equipment.The increasing
After value business device handles value-added service, tunnel edge equipment is returned it to, then by the tunnel edge equipment from another
One tunnel is sent to another tunnel edge equipment being attached thereto by another tunnel.Made with the prior art using privately owned label
Different for the mark of data flow, the present invention is the mark using the label that standard agreement is supported as the data flow for flowing through the first tunnel
Know, two kinds of situations, i.e. message in label and data flow of the message in data flow without standard agreement support can be divided into here
The label supported containing standard agreement.
As one embodiment of the invention, after tunnel edge equipment terminates the first tunnel, supported using standard agreement
Label can be as the mark for the data flow for flowing through first tunnel:If the message in data flow is free of the standard agreement
The label of support after then increasing the label that the standard agreement is supported for the message in the data flow, is assisted using the standard
Discuss the mark of the first field or the first field and the second field as the data flow for flowing through first tunnel in the label supported.
As another embodiment of the present invention, after tunnel edge equipment terminates the first tunnel, supported using standard agreement
Label can be as the mark for the data flow for flowing through first tunnel:If the message in data flow contains the standard agreement
The label of support, then after changing the label that the standard agreement in the message is supported, using the amended standard agreement branch
The mark of first field or the first field and the second field as the data flow for flowing through first tunnel in the label held.
Since existing most of equipment all support virtual LAN(Virtual Local Area Network, VLAN)
Function, the present invention are illustrated so that the label that above-described embodiment Plays agreement is supported is VLAN tag as an example.Such as 2 institute of attached drawing
Show, be VLAN frames(802.1Q version)Form schematic diagram, VLAN tag are 4 bytes(byte), including two bytes
TPID fields, 3 bits(bit)Frame priority(Priority)The VLAN ID words of field, the CFI fields of 1 bit and 12 bits
Section.Due in general, value-added service equipment will not use VLAN tag in Priority fields, which can use
It is used as the mark of data flow.Specifically, if the message in flowing through the data flow in the first tunnel is free of the mark that standard agreement is supported
Label do not contain VLAN tag, then increase VLAN tag in the message in the data flow for flowing through the first tunnel, using VLAN
The mark of VLAN id fields or VLAN id fields and Priority fields as the data flow for flowing through the first tunnel in tag, i.e.
Individually using VLAN id fields in VLAN tag as the mark for the data flow for flowing through the first tunnel or using VLAN tag
Middle VLAN id fields and Priority fields form the joint field of 15 bits(Hereinafter referred to as PVLAN id fields)As flowing through
The mark of the data flow in the first tunnel.If the label that the message in data flow contains standard agreement support contains VLAN tag,
After then changing VLAN tag, using VLAN id fields in amended VLAN tag or VLAN id fields and Priority fields
Mark as the data flow for flowing through the first tunnel, i.e. be individually used as using VLAN id fields in VLAN tag and flow through the first tunnel
The mark of the data flow in road or the joint that 15 bits are formed using VLAN id fields in VLAN tag and Priority fields
Field(Hereinafter referred to as PVLAN id fields)Mark as the data flow for flowing through the first tunnel.It should be noted that in this hair
In bright embodiment, if tunnel edge equipment and the equal supported bilayer VLAN of value-added service equipment, bilayer PVLAN id fields can be used
As the mark of data flow, mode is similar with the foregoing mark using PVLAN id fields as data flow, does not repeat.
S102 establishes the mark and the mapping relations in the second tunnel and the first tunnel.
In embodiments of the present invention, step S102 is using the label that standard agreement is supported as the data for flowing through the first tunnel
The mark of stream and the mapping relations in the second tunnel and the first tunnel show the unique of the mark and the second tunnel and the first tunnel
Correspondence.Exemplified by using PVLAN id fields as the mark of data flow, mapping relations as shown in table 1 below:
Table 1
First tunnel ID | PVLAN ID | Second tunnel ID |
99 | 10099 | 100 |
5 | 5 | 6 |
In mapping relations shown in above-mentioned table 1, it is worth PVLAN id fields and ID the first tunnels for being 99 and ID for 10099
Form unique corresponding relation for 100 the second tunnel, similarly, be worth for 5 PVLAN id fields and ID the first tunnel for being 5 and
The second tunnel that ID is 6 forms unique corresponding relation.
S103 according to mapping relations, after the processing of value-added service equipment and will be back to the data of tunnel edge equipment
It streams into the second tunnel.
As previously mentioned, after value-added service equipment handles value-added service, tunnel edge equipment is returned it to, then by
The tunnel edge equipment is sent to another tunnel edge equipment being attached thereto by another tunnel from another tunnel.In this hair
In bright embodiment, tunnel edge equipment after the processing of value-added service equipment and can will be back to tunnel according to mapping relations
The data flow of edge device is sent into the second tunnel.It is 10099 for PVLAN ID, to flow through ID in advance be 99 by taking above-mentioned table 1 as an example
Tunnel, handled using value-added service equipment after and be back to the data flow of tunnel edge equipment, can according to mapping relations,
The data flow is sent into the tunnel that ID is 100, similarly, for PVLAN ID be 5, flow through tunnel that ID is 5 in advance, using
After the processing of value-added service equipment and the data flow of tunnel edge equipment is back to, can be streamed the data according to mapping relations
Enter the tunnel that ID is 6.
If tunnel edge equipment is a series of the last one the tunnel edge equipment in tunnels, in order to allow other subsequent nets
Network equipment carries out the normal forwarding of business, in embodiments of the present invention, if being free of standard agreement corresponding to the message in data flow
The label of support, then after the message for the data flow increases the label that the standard agreement is supported, using the standard agreement
The implementation of first field or the first field and the second field as the mark for the data flow for flowing through the first tunnel in the label of support
Example after the processing of value-added service equipment and will be back to the data flow of the tunnel edge equipment and be sent into second tunnel
Before road, further include:Delete the label that the increased standard agreement is supported in the message in the data flow;If corresponding to number
Contain the label of standard agreement support according to the message in stream, then after changing the label that the standard agreement is supported, after modification
The label supported of the standard agreement in the first field or the first field and the second field as the data for flowing through the first tunnel
The embodiment of the mark of stream after the processing of value-added service equipment and will be back to the data flow of the tunnel edge equipment
It is sent into before second tunnel, further includes:The label that the amended standard agreement is supported is reduced to standard agreement branch
The label held.
It is not a series of the last one the tunnel edge equipment in tunnels, i.e. the tunnel edge equipment for tunnel edge equipment
An a series of simply centre tunnel edge device in tunnels, then in order to allow subsequent tunnel edge equipment that can normally distinguish report
Whether the label in text is the processed label of front and continued tunnel edge equipment, as a preferred embodiment of the invention, will be passed through
After the processing of value-added service equipment and it is back to before data flow feeding second tunnel of the tunnel edge equipment, it can
To delete the label that the increased standard agreement is supported in the message in the data flow, alternatively, can will be after the modification
Standard agreement support label be reduced to standard agreement support label.
Realize that the present invention is on tunnel side between tunnel it was found from the method for data flow concatenation from what the embodiments of the present invention provided
Mark of the label that standard agreement is supported as data flow is used in edge equipment, due to existing tunnel edge equipment and/or increasing
Value business device all supports the label that standard agreement is supported, there is no need to re-start exploitation to existing equipment to achieve that tunnel
Between data flow concatenation, both eliminated the cost of exploitation, and in turn ensured the compatibility with existing equipment.
The realization tunnel of the embodiment of the present invention of the method concatenated below data flow being used to perform above-mentioned realization tunnel
Between data flow concatenate device illustrate, logical construction is with reference to figure 3.For convenience of description, illustrate only and the present invention
The relevant part of embodiment.The device that data flow concatenates between the exemplary realization tunnels of Fig. 3 can be 4 exemplary value-added service of attached drawing
The function module in tunnel edge equipment or tunnel edge equipment in system.The exemplary data flow strings between realizing tunnel of Fig. 3
The device connect mainly includes mark module 301, mapping block 302 and forwarding module 303, and detailed description are as follows for each module:
Mark module 301, for after tunnel edge equipment terminates the first tunnel, the label supported using standard agreement to be made
To flow through the mark of the data flow in first tunnel;
Mapping block 302, for establishing the mark and the mapping relations in the second tunnel and first tunnel;
Forwarding module 303 for the mapping relations established according to the mapping block 302, will pass through value-added service equipment
After processing and it is back to the data flow of the tunnel edge equipment and is sent into second tunnel.
It should be noted that between the exemplary realization tunnel of the figures above 3 in the embodiment for the device that data flow concatenates, respectively
The division of function module is merely illustrative of, can be as needed in practical application, for example, the configuration requirement of corresponding hardware or
The convenient consideration of the realization of software, and above-mentioned function distribution is completed by different function modules, i.e., it will be between the realization tunnel
The internal structure of the device of data flow concatenation is divided into different function modules, to complete all or part of work(described above
Energy.Moreover, in practical application, the corresponding function module in the present embodiment can be by corresponding hardware realization, can also be by
Corresponding hardware performs corresponding software and completes, for example, foregoing mark module, can be that there is foregoing first tunnel of execution to exist
After tunnel edge equipment termination, using the label that standard agreement is supported as the mark for the data flow for flowing through first tunnel
Hardware, for example, concentrator marker or be able to carry out corresponding computer program so as to complete the general processor of foregoing function or
Other hardware devices of person;Mapping block as the aforementioned again, can be have perform it is foregoing establish it is described mark with the second tunnel and
The hardware of the mapping relations function in first tunnel, for example, mapper or be able to carry out corresponding computer program from
And complete the general processor or other hardware devices of foregoing function(Each embodiment that this specification provides can all be applied upper
State description principle).
3 exemplary mark module 301 of attached drawing can include first flag unit 501, as shown in Figure 5 another reality of the invention
Apply example offer realize tunnel between data flow concatenate device.If the message that first flag unit 501 is used in data flow is free of
The label that standard agreement is supported, then after increasing the label that the standard agreement is supported for the message in the data flow, using institute
The first field or the first field and the second field are stated in the label of standard agreement support as the data for flowing through first tunnel
The mark of stream.
The device that data flow concatenates between the exemplary realization tunnel of attached drawing 5 can also include removing module 601, such as 6 institute of attached drawing
Show another embodiment of the present invention provide realize tunnel between data flow concatenate device.Removing module 601 is used for forwarding module 303
It after the processing of value-added service equipment and the data flow of the tunnel edge equipment will be back to is sent into second tunnel
Before, the label that the increased standard agreement is supported in the message in the data flow is deleted.
3 exemplary mark module 301 of attached drawing can include second identifier unit 701, as shown in Figure 7 another reality of the invention
Apply example offer realize tunnel between data flow concatenate device.If the message that second identifier unit 701 is used in data flow contains
The label that standard agreement is supported, then after changing the label that the standard agreement in the message is supported, using amended institute
The first field or the first field and the second field are stated in the label of standard agreement support as the data for flowing through first tunnel
The mark of stream.
The device that data flow concatenates between the exemplary realization tunnel of attached drawing 7 further includes recovery module 801, as shown in Figure 8 originally
That invents that another embodiment provides realizes the device that data flow concatenates between tunnel.Recovery module 801 will be through for forwarding module 303
The data flow crossed after the processing of value-added service equipment and be back to the tunnel edge equipment is sent into before second tunnel,
The label that the amended standard agreement is supported is reduced to the label of the standard agreement support.
The embodiment of the present invention also provides a kind of tunnel edge equipment, includes input unit, output device, memory and place
Manage device, wherein, in the memory storage there are one or more than one program, the processor is for calling the memory
In described program, to realize that operations described below includes:
After tunnel edge equipment terminates the first tunnel, the label supported using standard agreement is as flowing through first tunnel
The mark of the data flow in road;
Establish the mark and the mapping relations in the second tunnel and first tunnel;
According to the mapping relations, after the processing of value-added service equipment and the institute of the tunnel edge equipment will be back to
It states data flow and is sent into second tunnel.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory, also comprising instructions for performing the following operations:
If message in the data flow is free of the label that the standard agreement is supported, for the report in the data flow
After text increases the label that the standard agreement is supported, the first field or the first field in the label supported using the standard agreement
With mark of second field as the data flow for flowing through first tunnel.
Assuming that above-mentioned is second of possible embodiment, then provided based on second of possible embodiment
The third possible embodiment in, in the memory, also comprising instructions for performing the following operations:
By by value-added service equipment processing after and be back to the tunnel edge equipment the data flow be sent into described in
Before second tunnel, the label that the increased standard agreement is supported in the message in the data flow is deleted.
Assuming that above-mentioned is the third possible embodiment, then provided based on the first possible embodiment
In 4th kind of possible embodiment, in the memory, also comprising instructions for performing the following operations:
If the message in the data flow contains the label that the standard agreement is supported, the standard in the message is changed
After the label that agreement is supported, the first field or the first field and second in the label supported using the amended standard agreement
Mark of the field as the data flow for flowing through first tunnel.
Assuming that above-mentioned is the 4th kind of possible embodiment, then provided based on the 4th kind of possible embodiment
The 5th kind of possible embodiment in, in the memory, also comprising instructions for performing the following operations:
By by value-added service equipment processing after and be back to the tunnel edge equipment the data flow be sent into described in
Before second tunnel, the label that the amended standard agreement is supported in the message in the data flow is reduced to the mark
The label that quasi- agreement is supported.
It should be noted that the contents such as information exchange, implementation procedure between each module/unit of above device, due to
The method of the present invention embodiment is based on same design, and the technique effect brought is identical with the method for the present invention embodiment, particular content
Reference can be made to the narration in the method for the present invention embodiment, details are not described herein again.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Relevant hardware to be instructed to complete by program, which can be stored in a computer readable storage medium, storage
Medium can include:Read-only memory(ROM, Read Only Memory), random access memory(RAM, Random
Access Memory), disk or CD etc..
Above the embodiment of the present invention provided it is a kind of realize tunnel data flow concatenate method and apparatus carry out
It is discussed in detail, specific case used herein is set forth the principle of the present invention and embodiment, above example
Illustrate to be only intended to help the method and its core concept for understanding the present invention;Meanwhile for those of ordinary skill in the art, according to
According to the thought of the present invention, there will be changes in specific embodiments and applications, in conclusion this specification content
It should not be construed as limiting the invention.
Claims (10)
- A kind of 1. method for realizing that data flow concatenates between tunnel, which is characterized in that the described method includes:After tunnel edge equipment terminates the first tunnel, the label supported using standard agreement is as flowing through first tunnel The mark of data flow;Establish the mark and the mapping relations in the second tunnel and first tunnel;According to the mapping relations, after the processing of value-added service equipment and the number of the tunnel edge equipment will be back to According to streaming into second tunnel;It is described using standard agreement support label as the data flow for flowing through first tunnel mark, including:If the message in the data flow contains the label that the standard agreement is supported, the standard agreement in the message is changed After the label of support, the first field or the first field and the second field in the label supported using the amended standard agreement Mark as the data flow for flowing through first tunnel.
- 2. according to the method described in claim 1, it is characterized in that, the label supported using standard agreement is as flowing through The mark of the data flow in the first tunnel is stated, including:If the message in the data flow is free of the label that the standard agreement is supported, increase for the message in the data flow After adding the label that the standard agreement is supported, the first field or the first field and the in the label supported using the standard agreement Mark of two fields as the data flow for flowing through first tunnel.
- 3. according to the method described in claim 2, it is characterized in that, it is described will by value-added service equipment processing after and be back to The data flow of the tunnel edge equipment is sent into before second tunnel, and the method further includes:Delete the label that the increased standard agreement is supported in the message in the data flow.
- 4. according to the method described in claim 1, it is characterized in that, it is described will by value-added service equipment processing after and be back to The data flow of the tunnel edge equipment is sent into before second tunnel, and the method further includes:The label that the amended standard agreement is supported in message in the data flow is reduced to the standard agreement branch The label held.
- 5. a kind of device for realizing that data flow concatenates between tunnel, which is characterized in that described device includes:Mark module, for after tunnel edge equipment terminates the first tunnel, the label supported using standard agreement to be as flowing through The mark of the data flow in first tunnel;Mapping block, for establishing the mark and the mapping relations in the second tunnel and first tunnel;Forwarding module for according to the mapping relations, after the processing of value-added service equipment and will be back to the tunnel side The data flow of edge equipment is sent into second tunnel;The mark module includes:Second identifier unit if containing the label of the standard agreement support for the message in the data flow, changes institute After stating the label that standard agreement in message is supported, in the label supported using the amended standard agreement the first field or The mark of first field and the second field as the data flow for flowing through first tunnel.
- 6. device according to claim 5, which is characterized in that the mark module includes:First flag unit, if the label that the standard agreement supports is free of for the message in the data flow, for institute After stating the label that the message in data flow increases the standard agreement support, first in the label supported using the standard agreement The mark of field or the first field and the second field as the data flow for flowing through first tunnel.
- 7. device according to claim 6, which is characterized in that described device further includes:Removing module after the processing of value-added service equipment and will be back to the tunnel edge equipment for the forwarding module The data flow be sent into before second tunnel, delete the increased standard agreement branch in the message in the data flow The label held.
- 8. device according to claim 5, which is characterized in that described device further includes:Recovery module after the processing of value-added service equipment and will be back to the tunnel edge equipment for the forwarding module The data flow be sent into before second tunnel, by the amended standard agreement branch in the message in the data flow The label held is reduced to the label that the standard agreement is supported.
- 9. a kind of tunnel edge equipment including input unit, output device, memory and processor, stores in the memory There are one or more than one program, which is characterized in that the processor is used to call described program in the memory, with It realizes such as the step of any one of Claims 1-4 the method.
- 10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In when the computer program is executed by processor the step of realization such as any one of Claims 1-4 the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310598317.5A CN104660478B (en) | 2013-11-22 | 2013-11-22 | A kind of method and apparatus for realizing that data flow concatenates between tunnel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310598317.5A CN104660478B (en) | 2013-11-22 | 2013-11-22 | A kind of method and apparatus for realizing that data flow concatenates between tunnel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104660478A CN104660478A (en) | 2015-05-27 |
CN104660478B true CN104660478B (en) | 2018-05-25 |
Family
ID=53251207
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310598317.5A Active CN104660478B (en) | 2013-11-22 | 2013-11-22 | A kind of method and apparatus for realizing that data flow concatenates between tunnel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104660478B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798405A (en) * | 2018-08-01 | 2020-02-14 | 中国电信股份有限公司 | Data tunnel exchange method, device and system |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108617008B (en) * | 2016-12-05 | 2019-09-17 | 大唐移动通信设备有限公司 | A kind of method and apparatus of business data processing |
CN113542336A (en) | 2020-04-30 | 2021-10-22 | 北京字节跳动网络技术有限公司 | Information switching sharing method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1757210A (en) * | 2003-01-15 | 2006-04-05 | 希尔纳公司 | A method and apparatus for transporting packet data over an optical network |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | Packet forwarding method and operator edge converging equipment |
CN102025586A (en) * | 2009-09-09 | 2011-04-20 | 华为技术有限公司 | Intercommunicating method, device and system for multiple protocol label switching network and Ethernet |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100765320B1 (en) * | 2005-09-14 | 2007-10-09 | 삼성전자주식회사 | MPLS Network and Method for Applying Mobile IP to MPLS Network |
-
2013
- 2013-11-22 CN CN201310598317.5A patent/CN104660478B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1757210A (en) * | 2003-01-15 | 2006-04-05 | 希尔纳公司 | A method and apparatus for transporting packet data over an optical network |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | Packet forwarding method and operator edge converging equipment |
CN102025586A (en) * | 2009-09-09 | 2011-04-20 | 华为技术有限公司 | Intercommunicating method, device and system for multiple protocol label switching network and Ethernet |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798405A (en) * | 2018-08-01 | 2020-02-14 | 中国电信股份有限公司 | Data tunnel exchange method, device and system |
Also Published As
Publication number | Publication date |
---|---|
CN104660478A (en) | 2015-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10320664B2 (en) | Cloud overlay for operations administration and management | |
CN105706043B (en) | The list handling capacity of push type link | |
CN112087461B (en) | System, method, device and equipment for data circulation of MODBUS/TCP protocol in TSN network | |
CN103607349A (en) | Method for determining route in virtual network and provider edge equipment | |
CN104301251A (en) | QoS processing method, system and device | |
CN105284080A (en) | Data center system and virtual network management method of data center | |
CN103095546A (en) | Method, device and data center network for processing messages | |
CN105991433B (en) | The method and apparatus of Layer3 Virtual Private Network access Layer 2 virtual private network | |
EP3573313A1 (en) | Networking method for data center network and data center network | |
CN104283891B (en) | By the method and apparatus of business function node access service chain network | |
CN109617995A (en) | To management system, method and the electronic equipment of tenant's cluster VPC internal container | |
CN106941437A (en) | A kind of information transferring method and device | |
CN104660478B (en) | A kind of method and apparatus for realizing that data flow concatenates between tunnel | |
CN109587059A (en) | Configuration method, equipment and the communication system of SR-BE internal layer tunnel label | |
CN107948042A (en) | A kind of message forwarding method and device | |
CN109995639A (en) | A kind of data transmission method, device, interchanger and storage medium | |
CN105450520B (en) | Message processing method and device, the method and apparatus for establishing aggregating tunnel | |
CN107979519B (en) | The difference implementation method and VTEP, PE of VXLAN business | |
CN103354520A (en) | Label processing method and device employing the same | |
CN102891789B (en) | VPN (virtual private network) exemplary configuration method and device, router and network system | |
CN104869011A (en) | Circuit dispatching method and circuit dispatching device | |
CN105763411B (en) | Method and device for establishing multicast tunnel | |
CN104219160B (en) | Generate the method and apparatus of input parameter | |
CN106936731A (en) | The method and apparatus of the message forwarding in software defined network SDN | |
CN109995636A (en) | Mixed networking method, apparatus, system, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211221 Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province Patentee after: xFusion Digital Technologies Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |