CN106899475A - A kind of method of the method for integrating tunnel resource, device and treatment message - Google Patents
A kind of method of the method for integrating tunnel resource, device and treatment message Download PDFInfo
- Publication number
- CN106899475A CN106899475A CN201611121380.XA CN201611121380A CN106899475A CN 106899475 A CN106899475 A CN 106899475A CN 201611121380 A CN201611121380 A CN 201611121380A CN 106899475 A CN106899475 A CN 106899475A
- Authority
- CN
- China
- Prior art keywords
- tunnel
- shared
- network equipment
- network identifier
- edge network
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4645—Details on frame tagging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4675—Dynamic sharing of VLAN information amongst network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application provides a kind of method and apparatus for integrating tunnel resource, methods described is applied to the first edge network equipment, including:The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel;The notification message in the shared tunnel is sent to the second edge network equipment, the second edge network equipment is set to process the data message received by the shared tunnel, so as to solve because the tunnel resource and hardware resource of edge network equipment are limited, when the tunnel quantity for creating exceedes certain amount, tunnel then cannot be again created, and then have impact on the problem of Business Processing.
Description
Technical field
The application is related to mechanics of communication, more particularly to a kind of method for integrating tunnel resource, device and treatment message
Method.
Background technology
EVPN (Ethernet Virtual Private Network, Ethernet VPN) is a kind of two layers
VPN technologies, EVPN can be based on existing service provider or enterprise IP network, for scattered physical site provides two layers of interconnection
Function.
In EVPN networks, when edge network equipment receives routing iinformation, edge network equipment can be according to routing iinformation
Tunnel is created, when the expansion of EVPN network sizes, it is necessary to more edge network equipment are used as access device, edge network equipment connects
When receiving the routing iinformation of other edge network equipment, then need to create more tunnels, due to the tunnel of edge network equipment
Resource and hardware resource are limited, when the tunnel quantity for creating exceedes certain amount, then cannot again create tunnel, and then have impact on
The treatment of business.
The content of the invention
It is existing to solve this application provides a kind of method of method for integrating tunnel resource, device and treatment message
Tunnel resource and hardware resource in technology due to edge network equipment is limited, when the tunnel quantity for creating exceedes certain amount
When, then tunnel cannot be again created, and then have impact on the problem of Business Processing.
In order to solve the above problems, this application discloses a kind of method for integrating tunnel resource, methods described is applied to the
One edge network equipment, including:
The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel;
The notification message in the shared tunnel is sent to the second edge network equipment, makes the second edge network equipment
Data message to being received by the shared tunnel is processed.
Preferably, methods described also includes:
It is the shared shared network identifier of tunnel generation;
Set up the mapping relations of the shared network identifier and the network identifier in a plurality of tunnel.
Preferably, it is described for the shared shared network identifier of tunnel generation includes:
The state of network identifier is determined before the shared network identifier of generation, if the network identifier is unallocated shape
State, then using the network identifier of unallocated state as shared network identifier;
Network identifier to the unallocated state sets status indication.
Preferably, the notification message by the shared tunnel is sent to the second edge network equipment and includes:
The shared network identifier in the shared tunnel and tunnel convergence mark are sent to the second edge network equipment;
Or, the network identifier in the shared tunnel is led to the mapping relations of the network identifier in a plurality of tunnel
Accuse to the second edge network equipment.
Preferably, it is described to include a plurality of tunnel convergence into a shared tunnel:
Tunnel convergence is triggered by static configuration control command, by a plurality of tunnel convergence into a shared tunnel;Or institute
The resource occupation of the first edge network equipment is stated more than pre-conditioned, then tunnel convergence is triggered, by a plurality of tunnel convergence into
Shared tunnel.
Preferably, the resource occupation of the first edge network equipment exceed it is pre-conditioned including:
Tunnel quantity is not less than predetermined threshold value;Or, the memory usage of the first edge network equipment is not less than in
Deposit threshold value.
In order to solve the above problems, disclosed herein as well is a kind of method for processing message, methods described is applied to first
Edge network equipment, including:
Data message is packaged, the notification message in shared tunnel is carried in the data message;
The notification message in the shared tunnel is sent to the second edge network equipment by shared tunnel, makes described second
The encapsulation of data message that edge network equipment interconnection is received is processed.
In order to solve the above problems, disclosed herein as well is a kind of device for integrating tunnel resource, described device is applied to
The first edge network equipment, including:
Polymerized unit, a plurality of tunnel for obtaining local record, by a plurality of tunnel convergence into a shared tunnel;
First transmitting element, for the notification message in the shared tunnel to be sent into the second edge network equipment, makes institute
The second edge network equipment is stated to process the data message received by the shared tunnel.
Preferably, described device also includes:
Generation unit, for being the shared shared network identifier of tunnel generation;
Unit is set up, is closed with the mapping of the network identifier in a plurality of tunnel for setting up the shared network identifier
System.
Preferably, described device also includes setting unit;
The generation unit, the state for determining network identifier before generating shared network identifier, if the net
Network identifier is unallocated state, then using the network identifier of unallocated state as shared network identifier;
The setting unit, status indication is set for the network identifier to the unallocated state.
Preferably, first transmitting element, for by the shared network identifier and tunnel convergence in the shared tunnel
Mark is sent to the second edge network equipment;
Or, the network identifier in the shared tunnel is led to the mapping relations of the network identifier in a plurality of tunnel
Accuse to the second edge network equipment.
Preferably, the polymerized unit is used to trigger tunnel convergence by static configuration control command, and a plurality of tunnel is gathered
One shared tunnel of synthesis;
Or the resource occupation of the first edge network equipment then triggers tunnel convergence more than pre-conditioned, will be a plurality of
Tunnel convergence is into a shared tunnel.
Preferably, the polymerized unit be used for the first edge network equipment resource occupation exceed it is pre-conditioned including:
Tunnel quantity is not less than predetermined threshold value;Or, the memory usage of the first edge network equipment is not less than in
Deposit threshold value.
In order to solve the above problems, disclosed herein as well is a kind of device for processing message, described device is applied to first
Edge network equipment, including:
Data packaging unit, the notice in shared tunnel is carried for being packaged to data message, in the data message
Message;
Second transmitting element, for the notification message in the shared tunnel to be sent into second edge net by shared tunnel
Network equipment, processes encapsulation of data message of the second edge network equipment to receiving.
Compared with prior art, the application includes advantages below:
The application, first, a plurality of tunnel convergence into a shared tunnel sends the notification message in the shared tunnel
The second edge network equipment is given, makes the second edge network equipment at the data message that is received by the shared tunnel
Reason, by by a plurality of tunnel convergence into a shared tunnel, saving the tunnel resource of edge network equipment, and will be described shared
The notification message in tunnel is sent to the second edge network equipment, and because the content that notification message is carried is few, the space of occupancy is very
It is small, edge network device memory resource is saved, and then improve the resource utilization of edge network equipment.
Secondly, the application by a plurality of tunnel convergence into a shared tunnel, and is shared by triggering tunnel convergence for described
Tunnel sets shared network identifier, sets up the mapping relations of shared network identifier and the network identifier in a plurality of tunnel,
When sending message, message can be sent to by destination by shared tunnel, so as to save edge net according to the mapping relations
The tunnel resource of network equipment.
Certainly, any product for implementing the application is not necessarily required to while reaching all the above advantage.
Brief description of the drawings
Fig. 1 is to realize a kind of herein described networking schematic diagram for integrating tunnel resource method;
Fig. 2 is a kind of flow chart for integrating tunnel resource method described in the embodiment of the present application;
Fig. 3 is a kind of flow chart for integrating tunnel resource method described in another embodiment of the application;
Fig. 4 is a kind of flow chart for integrating tunnel resource method described in another embodiment of the application
Fig. 5 is a kind of flow chart for processing message method of the application;
Fig. 6 is a kind of structured flowchart for integrating tunnel resource device described in the embodiment of the present application;
Fig. 7 is a kind of structured flowchart for integrating tunnel resource device described in another embodiment of the application;
Fig. 8 is a kind of structured flowchart for integrating tunnel resource device described in the embodiment of the present application.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable above-mentioned purpose, the feature and advantage of the application more obvious understandable
Mode is applied to be described in further detail the application.
Referring to Fig. 1, a kind of herein described networking schematic diagram for integrating tunnel resource method is shown, specifically included:It is empty
Plan machine (VM1-VM3), edge network equipment VTEP1-VTEP3 and core network.
VTEP (VXLAN Tunnel End Point, VXLAN endpoint of a tunnel) belongs to the edge network equipment of EVPN networks,
Carry out Business Processing.
The logical tunnel that data-message transmission is carried out between two VTEP is referred to as expansible Virtual Local Area Network VXLAN tunnels
Road, data message is transmitted by VXLAN tunnels between two VTEP.
Under the networking mode, prior art VTEP1 needs to set up neighborhood with VTEP2 and VTEP3 respectively,
VTEP1 receives the synchronous routing iinformations of VTEP2 and VTEP3, for example:Routing iinformation be 2 class routing iinformations, 3 class routing iinformations or
The class routing iinformation of person 5, VTEP2 and 2 synchronous class routing iinformations of VTEP3,3 class routing iinformations or 5 classes that VTEP1 will be received
Routing iinformation is stored in VETP1, now needs VTEP1 to be created to the VXLAN tunnels up to VTEP2 and VTEP3, when EVPN networks rule
Mould expands, it is necessary to more VTEP equipment is as access device, then VTEP1 needs to create more VXLAN tunnels, for example:When
When there is more than 1000 VTEP equipment in network, VTEP1 may need to create more than 1000 VXLAN tunnel, and VTEP1 equipment
Tunnel resource and hardware resource are limited, when more than certain amount, then cannot again create VXLAN tunnels, and then have impact on part
The problem of Business Processing.
Regarding to the issue above, the embodiment of the present application proposes a kind of integration tunnel resource method, obtains a plurality of of local record
Tunnel, by a plurality of tunnel convergence into a shared tunnel, second edge network is sent to by the notification message in the shared tunnel
Equipment, makes the second edge network equipment process the data message received by the shared tunnel, wherein, the notice disappears
Cease for making the second edge network equipment know that its own has the shared tunnel with first edge LA Management Room, and then can be with
The second edge network equipment is set to process the message received from the shared tunnel.It can thus be seen that by will be many
Bar tunnel convergence saves the tunnel resource and edge network device memory resource of edge network equipment into a shared tunnel.
Reference picture 2, shows a kind of flow chart of integration tunnel resource method of the one of embodiment of the application.At this
In embodiment, methods described is applied to the first edge network equipment, and the method is specifically included:
Step 201:The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel.
In the following manner by a plurality of tunnel convergence into a shared tunnel:
A kind of mode is:The first edge network equipment according to local record a plurality of tunnel network identifier (VXLAN
Network Identifier, VNI) by a plurality of tunnel convergence into a shared tunnel.
Another way is:Tunnel convergence is triggered by static configuration control command, a plurality of tunnel convergence is common into one
Enjoy tunnel.
Another way is:The resource occupation of the first edge network equipment then triggers tunnel and gathers more than pre-conditioned
Close, by a plurality of tunnel convergence into a shared tunnel.
For example:Amount to 4 tunnels, the network identity in tunnel between the first edge network equipment and the second edge network equipment
It is 100-103 to accord with, specifically as shown in Table 1.
Table one:
VNI | VXLAN tunnels |
100 | Tunnel1 |
101 | Tunnel2 |
102 | Tunnel3 |
103 | Tunnel4 |
By with upper type, by a plurality of tunnel convergence into behind a shared tunnel, as shown in Table 2.
Table two:
Shared network identity | Merge tunnel |
16000000 | Tunnel0 |
Step 202:The notification message in the shared tunnel is sent to the second edge network equipment, makes second edge network
Equipment is processed the data message received by the shared tunnel.
The present embodiment, be sent to for the notification message in the shared tunnel by a plurality of tunnel convergence into a shared tunnel
The second edge network equipment, makes the second edge network equipment process the data message received by the shared tunnel,
By by a plurality of tunnel convergence into a shared tunnel, saving the tunnel resource of edge network equipment.
Reference picture 3, shows a kind of flow chart of integration tunnel resource method of the one of embodiment of the application.At this
In embodiment, methods described is applied to the first edge network equipment, and the method is specifically included:
Step 301:The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel.
When the resource occupation of the first edge network equipment is more than pre-conditioned, then tunnel convergence is triggered, by a plurality of tunnel
Road aggregates into a shared tunnel.
This it is pre-conditioned including:Tunnel quantity is not less than predetermined threshold value;Or, the internal memory of the first edge network equipment
Utilization rate is not less than internal memory threshold value.
Tunnel quantity is not less than predetermined threshold value, then trigger tunnel convergence, by a plurality of tunnel convergence into a shared tunnel, i.e.,
Tunnel quantity is more than or equal to predetermined threshold value, then trigger tunnel convergence by a plurality of tunnel convergence into a shared tunnel.
Likewise, the memory usage of the first edge network equipment then triggers tunnel not less than internal memory threshold value gathering
Close, by a plurality of tunnel convergence into a shared tunnel.
Wherein, the setting of predetermined threshold value can be set by those skilled in the art using any appropriate ways, such as may be used
To use artificial experience given threshold, or for network demand given threshold, can also be set using lower other modes, this Shen
Please this is not restricted.
Wherein, the setting of internal memory threshold value can be set by those skilled in the art using any appropriate ways, such as
Threshold value can be set using artificial experience, or for the difference value setting threshold value of historical data, other can also be used
Mode sets, and the application is not restricted to this.
Step 302:The notification message in the shared tunnel is sent to the second edge network equipment, makes second edge network
Equipment is processed the data message received by the shared tunnel.
Wherein, notification message includes the shared network identifier in shared tunnel and tunnel convergence mark, or described shared
The mapping relations of the network identifier in tunnel and the network identifier in a plurality of tunnel.
As one of which implementation, when notification message includes the shared network identifier and tunnel convergence in shared tunnel
During mark, the notification message by the shared tunnel is sent to the second edge network equipment to be included:
The shared network identifier in the shared tunnel and tunnel convergence mark are sent to the second edge network equipment.
The shared network identity and tunnel convergence mark are sent to the second edge network equipment, thus the second network sets
The standby data message to being sent by sharing tunnel is processed, and will according to the network identifier in the tunnel of second network equipment
Data message be sent to down hang it is standby.
The second edge network equipment judges that data message is sent by shared tunnel according to shared network identity, the
Two edge network equipment can be sent to the first edge network equipment data message by shared tunnel, it is also possible to by second
The unshared tunnel of edge network equipment sends to the first edge network equipment data message.The present embodiment, first, by touching
Hair tunnel convergence, by a plurality of tunnel convergence into a shared tunnel, saves the tunnel resource of edge network equipment, and will be shared
The notification message in tunnel is sent to the second edge network equipment by shared tunnel, because the content that notification message is carried is shared
Network identifier and cohesive markup, usual several K or tens K, the space of occupancy are very small, save edge network device memory
Resource, and then improve the resource utilization of edge network equipment.
Secondly, tunnel convergence is triggered by static configuration control command, by a plurality of tunnel convergence into a shared tunnel;Or
When tunnel quantity described in person is not less than predetermined threshold value, then by a plurality of tunnel convergence into a shared tunnel triggering tunnel convergence;Or
When the memory usage of person's first edge network equipment is not less than internal memory threshold value, by a plurality of tunnel convergence into a shared tunnel
Triggering tunnel convergence, so as to save tunnel resource.
Reference picture 4, shows a kind of flow chart of integration tunnel resource method of the application other in which embodiment.
In the present embodiment, methods described is applied to the first edge network equipment, and the method is specifically included:
Step 401:The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel.
Step 402:The notification message in the shared tunnel is sent to the second edge network equipment, makes second edge network
Equipment is processed the data message received by the shared tunnel.As wherein another implementation, when notice disappears
It is described by institute when breath includes the mapping relations of the network identifier in the shared tunnel and the network identifier in a plurality of tunnel
The notification message for stating shared tunnel is sent to the second edge network equipment and includes:
By the network identifier in the shared tunnel and the mapping relations of the network identifier in a plurality of tunnel notice to
The second edge network equipment.
It is in the following manner the shared shared network identifier of tunnel generation:
When a plurality of tunnel convergence is into a shared tunnel, while being the shared shared network identifier of tunnel generation.Or
It is being the shared shared network identifier of tunnel generation in a plurality of tunnel convergence into after a shared tunnel.
Used as one of which implementation, the shared shared network identifier of tunnel generation is specifically included:
The state of network identifier is determined before the shared network identifier of generation.
The state of network identifier includes allocated network identifier and unappropriated network identifier, will be unappropriated
Network identifier sets status indication as shared network identifier to the network identifier of the unallocated state, it is to avoid
The allocated network identifier is dispensed again, the conflict of shared network identifier is caused.
Set up the mapping relations of the shared network identifier and the network identifier in a plurality of tunnel.
According to the mapping relations that table one and table two are generated, as shown in Table 3.
Table three:
VNI | Shared tunnel | Shared identifier |
100 | Tunnel0 | 1600000 |
101 | Tunnel0 | 1600000 |
102 | Tunnel0 | 1600000 |
103 | Tunnel0 | 1600000 |
It should be noted that table one, table two and table three are only to illustrate, it is not to the specific limitation of the application, in reality
Table one, table two and table three can be adjusted in the application of border.
By carrying the network identifier in shared tunnel and the network mark in a plurality of tunnel in extending boundary gateway protocol
Know the mapping relations of symbol, the mapping relations are sent to the second edge network equipment, second edge network by shared tunnel
Equipment forwarded the packet to the second edge network equipment according to the mapping relations hang it is standby.
The second edge network equipment is selective by number according to the corresponding relation that tunnel and a plurality of tunnel are shared in mapping relations
Sent to the first edge network equipment by shared tunnel or unshared tunnel according to message.
It should be noted that the first edge network equipment and the second edge network equipment can be an independent physics setting
It is standby, it is also possible to positioned in the server where virtual machine, or other settings, this application is not particularly limited.
The present embodiment, by a plurality of tunnel convergence into a shared tunnel, and is the shared tunnel by triggering tunnel convergence first
Shared network identifier is set, the mapping relations of shared network identifier and the network identifier in a plurality of tunnel are set up, is being sent
During message, message can be sent to by destination by shared tunnel according to the mapping relations, be set so as to save edge network
Standby tunnel resource, and mapping relations are sent to the second edge network equipment by shared tunnel, because mapping relations are usual
Several K or tens K, the space of occupancy is very small, saves edge network device memory resource, and then improves edge network and sets
Standby resource utilization.
Secondly, the state of network identifier was determined before the shared network identifier of generation, if the network identifier is
Unallocated state, then using the network identifier of unallocated state as shared network identifier, to the net of the unallocated state
Network identifier sets status indication, and the shared network identifier of so generation has not been used, so as to prevent shared net
The collision problem of network identifier.
Reference picture 5, shows a kind of flow chart of the method for the treatment of message of the one of embodiment of the application.In this reality
Apply in example, methods described is applied to the first edge network equipment, the method is specifically included:
Step 501:Data message is packaged, the notification message in shared tunnel is carried in the data message.
Before the first edge network equipment sends datagram, data message is packaged, wherein, application target ground
Location, shared network identifier and tunnel convergence mark are packaged to the data message, and the tunnel convergence is marked and is used for
The data-message transmission for indicating the data message to be sent using shared tunnel.
Step 502:The notification message in the shared tunnel is sent to the second edge network equipment by shared tunnel, is made
The second edge network equipment is processed the encapsulation of data message for receiving.
The notification message that shared tunnel is carried in the data message includes:Shared network identifier and tunnel convergence mark
Or the mapping relations of the network identifier in shared tunnel and the network identifier in a plurality of tunnel.
It is the shared shared network identifier of tunnel generation, and set up described shared as one of which implementation
The mapping relations of network identifier and the network identifier in a plurality of tunnel
As one of which implementation, the notification message in the shared tunnel is sent to the second side by shared tunnel
The edge network equipment includes:
The shared network identifier in the shared tunnel and tunnel convergence mark are sent to the second edge network equipment.
Or, the network identifier in the shared tunnel is led to the mapping relations of the network identifier in a plurality of tunnel
Accuse to the second edge network equipment.
The second edge network equipment is decapsulated to the data message after encapsulation, identifies shared network identifier and tunnel
Road cohesive markup, the mapping relations of the second edge network equipment are searched according to shared network identifier, according to the mapping relations, will
Data message forwarding is standby to hanging under corresponding.
The present embodiment, is packaged to data message, and the notification message in shared tunnel is carried in the data message;By institute
The notification message for stating shared tunnel is sent to the second edge network equipment, makes the second edge network equipment to by the shared tunnel
The data message that road is received is processed, by by a plurality of tunnel convergence into a shared tunnel, saving edge network equipment
Tunnel resource, and the notification message in the shared tunnel is sent to the second edge network equipment, because notification message is carried
Content it is few, the space of occupancy is very small, saves edge network device memory resource, and then improve edge network equipment
Resource utilization.
It should be noted that for foregoing embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, and the application is not limited by described sequence of movement, because according to
According to the application, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art should also know,
Embodiment described in this description belongs to preferred embodiment, necessary to involved action not necessarily the application.
Based on the explanation of above method embodiment, above-mentioned side is realized present invention also provides corresponding device embodiment
Content described in method embodiment.
Reference picture 6, shows a kind of device of integration tunnel resource of the one of embodiment of the application.In the present embodiment
In, described device is applied to the first edge network equipment, and the device is specifically included:
Polymerized unit 601, a plurality of tunnel for obtaining local record, by a plurality of tunnel convergence into a shared tunnel.
First transmitting element 602, for the notification message in the shared tunnel to be sent into the second edge network equipment, makes
The second edge network equipment is processed the data message received by the shared tunnel.
The present embodiment, by by a plurality of tunnel convergence into a shared tunnel, the notification message in the shared tunnel being sent out
The second edge network equipment is given, makes the second edge network equipment at the data message that is received by the shared tunnel
Reason, by by a plurality of tunnel convergence into a shared tunnel, saving the tunnel resource of edge network equipment, and will be described shared
The notification message in tunnel is sent to the second edge network equipment, and because the content that notification message is carried is few, the space of occupancy is very
It is small, edge network device memory resource is saved, and then improve the resource utilization of edge network equipment.
Reference picture 6, shows a kind of device of integration tunnel resource of the application other in which embodiment.In this implementation
In example, described device is applied to the first edge network equipment, and the device is specifically included:
Polymerized unit 601, a plurality of tunnel for obtaining local record, by a plurality of tunnel convergence into a shared tunnel.
Used as one of which implementation, the polymerized unit is used to gather by static configuration control command triggering tunnel
Close, by a plurality of tunnel convergence into a shared tunnel;
Or the resource occupation of the first edge network equipment then triggers tunnel convergence more than pre-conditioned, will be a plurality of
Tunnel convergence is into a shared tunnel.
Preferably, the polymerized unit be used for the first edge network equipment resource occupation exceed it is pre-conditioned including:
Tunnel quantity is not less than predetermined threshold value;Or, the memory usage of the first edge network equipment is not less than in
Deposit threshold value.
First transmitting element 602, for the shared network identifier in the shared tunnel and tunnel convergence to be marked
The second edge network equipment is sent to, makes the second edge network equipment to the data message by the shared tunnel reception
Processed.
The present embodiment, first, by triggering tunnel convergence, by a plurality of tunnel convergence into a shared tunnel, saves side
The tunnel resource of the edge network equipment, and the notification message in shared tunnel is sent to second edge network by shared tunnel sets
It is standby, because the content that notification message is carried is shared network identifier and cohesive markup, usual several K or tens K, the sky of occupancy
Between it is very small, save edge network device memory resource, and then improve the resource utilization of edge network equipment.
Secondly, tunnel convergence is triggered by static configuration control command, by a plurality of tunnel convergence into a shared tunnel;Or
When tunnel quantity described in person is not less than predetermined threshold value, then by a plurality of tunnel convergence into a shared tunnel triggering tunnel convergence;Or
When the memory usage of person's first edge network equipment is not less than internal memory threshold value, by a plurality of tunnel convergence into a shared tunnel
Triggering tunnel convergence, so as to save tunnel resource.
Reference picture 7, shows a kind of device of integration tunnel resource of the application other in which embodiment.In this implementation
In example, described device is applied to the first edge network equipment, and the device is specifically included:
Polymerized unit 701, a plurality of tunnel for obtaining local record, by a plurality of tunnel convergence into a shared tunnel.
First transmitting element 702, for by the net in the network identifier in the shared tunnel and a plurality of tunnel
The mapping relations of network identifier are noticed to the second edge network equipment, make the second edge network equipment to by described shared
The data message that tunnel is received is processed.
Generation unit 703, for being the shared shared network identifier of tunnel generation.
Used as one of which implementation, the generation unit before the shared network identifier of generation specifically for determining net
The state of network identifier, if the network identifier is unallocated state, using the network identifier of unallocated state as altogether
Enjoy network identifier.
Unit 704 is set up, for setting up reflecting for the shared network identifier and the network identifier in a plurality of tunnel
Penetrate relation.
The setting unit 705, status indication is set for the network identifier to the unallocated state.
The present embodiment, first, by triggering tunnel convergence, by a plurality of tunnel convergence into a shared tunnel, and for described
Shared tunnel sets shared network identifier, sets up shared network identifier and is closed with the mapping of the network identifier in a plurality of tunnel
System, when message is sent, can be sent to destination by shared tunnel according to the mapping relations by message, save edge
The tunnel resource of the network equipment, and mapping relations are sent to the second edge network equipment by shared tunnel, because mapping is closed
System generally several K or tens K, the space of occupancy is very small, saves edge network device memory resource, and then improve edge
The resource utilization of the network equipment.
Secondly, the state of network identifier was determined before the shared network identifier of generation, if the network identifier is
Unallocated state, then using the network identifier of unallocated state as shared network identifier, to the net of the unallocated state
Network identifier sets status indication, and the shared network identifier of so generation has not been used, so as to prevent shared net
The collision problem of network identifier.
Reference picture 8, shows a kind of device for the treatment of message of the one of embodiment of the application.In the present embodiment,
Described device is applied to the first edge network equipment, and the device is specifically included:
Data packaging unit 801, the logical of shared tunnel is carried for being packaged to data message, in the data message
Know message
Second transmitting element 802, for the notification message in the shared tunnel to be sent into the second side by shared tunnel
The edge network equipment, processes encapsulation of data message of the second edge network equipment to receiving.
Present embodiment, a plurality of tunnel convergence into a shared tunnel sends the notification message in the shared tunnel
The second edge network equipment is given, makes the second edge network equipment at the data message that is received by the shared tunnel
Reason, by by a plurality of tunnel convergence into a shared tunnel, saving the tunnel resource of edge network equipment, and will be described shared
The notification message in tunnel is sent to the second edge network equipment, and because the content that notification message leads to carrying is few, the space of occupancy is non-
It is often small, edge network device memory resource is saved, and then improve the resource utilization of edge network equipment.
For said apparatus embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple,
Related part is illustrated referring to the part of shown embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It would have readily occurred to a person skilled in the art that be:Any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all the embodiment of the application, but this specification exists as space is limited,
This is not just detailed one by one.
The embodiment of the present application can be embodied in it is any support graphics process, internet content capture and render device (or
Multiple devices) on.These devices include but is not limited to personal computer, cluster server, mobile phone, work station, embedded
System, game machine, TV, Set Top Box, or any other computing device for supporting computer graphical and content to show.These devices
The device of the one or more processors and memory that perform and store instruction can be included but is not limited to possess.These devices can
With including software, firmware and hardware.Software can include one or more application programs and operating system.Hardware can include but
It is not limited to processor, memory and display.
The application can be used in numerous general or special purpose computing system environments or configuration.For example:Personal computer, service
Device computer, handheld device or portable set, laptop device, multicomputer system, the system based on microprocessor, top set
Box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, including any of the above system or equipment
DCE etc..
The application can be described in the general context of computer executable instructions, such as program
Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type
Part, data structure etc..The application can also be in a distributed computing environment put into practice, in these DCEs, by
Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with
In local and remote computer-readable storage medium including including storage device.
In this application, " component ", " device ", " system " etc. refer to and be applied to the related entities of computer, such as hardware, hard
The combination of part and software, software or executory software etc..In detail, for example, component can with but be not limited to run on place
Manage process, processor, object, executable component, execution thread, program and/or the computer of device.Further, server is run on
On application program or shell script, server can be component.One or more assemblies can be in the process and/or line for performing
Cheng Zhong, and component can on one computer localize and/or be distributed between two or multiple stage computers, it is possible to by
Various computer-readable medium operations.Component can also be according to the signal with one or more packets, for example, coming from one
Handed over by signal and other systems with another component interaction in local system, distributed system, and/or network in internet
The signal of mutual data is communicated by locally and/or remotely process.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by
One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation
Between there is any this actual relation or order.And, term " including ", "comprising", not only including those key elements, and
And also include other key elements being not expressly set out, or also include for this process, method, article or equipment institute are intrinsic
Key element.In the absence of more restrictions, the key element limited by sentence " including ... ", it is not excluded that including it is described will
Also there is other identical element in process, method, article or the equipment of element.
And, "and/or" above represent and both contained herein " and " relation, also contains the relation of "or", its
In:If option A and option b be " and " relation, then it represents that can simultaneously include option A and option b in certain embodiment;If
Option A and the relation that option b is "or", then it represents that can individually include option A in certain embodiment, or individually include option b.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, system or computer program
Product.Therefore, the application can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.And, the application can be used and wherein include the computer of computer usable program code at one or more
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) is produced
The form of product.
The application is the flow with reference to method, equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided
The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices
The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy
In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger
Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Although having been described for the preferred embodiment of the application, those skilled in the art once know basic creation
Property concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to include excellent
Select embodiment and fall into having altered and changing for the application scope.
The method of method, device and treatment message above to a kind of integration tunnel resource provided herein, is carried out
It is discussed in detail, specific case used herein is set forth to the principle and implementation method of the application, above example
Explanation be only intended to help and understand the present processes and its core concept;Simultaneously for those of ordinary skill in the art,
According to the thought of the application, will change in specific embodiments and applications, in sum, in this specification
Appearance should not be construed as the limitation to the application.
Claims (14)
1. a kind of method for integrating tunnel resource, methods described is applied to the first edge network equipment, it is characterised in that including:
The a plurality of tunnel of local record is obtained, by a plurality of tunnel convergence into a shared tunnel;
The notification message in the shared tunnel is sent to the second edge network equipment, makes the second edge network equipment to logical
The data message for crossing the shared tunnel reception is processed.
2. method according to claim 1, it is characterised in that methods described also includes:
It is the shared shared network identifier of tunnel generation;
Set up the mapping relations of the shared network identifier and the network identifier in a plurality of tunnel.
3. method according to claim 2, it is characterised in that described is the shared shared network identifier of tunnel generation
Including:
The state of network identifier is determined before the shared network identifier of generation, if the network identifier is unallocated state,
Then using the network identifier of unallocated state as shared network identifier;
Network identifier to the unallocated state sets status indication.
4. the method according to claim any one of 1-3, it is characterised in that the notification message by the shared tunnel
Being sent to the second edge network equipment includes:
The shared network identifier in the shared tunnel and tunnel convergence mark are sent to the second edge network equipment;
Or, the network identifier in the shared tunnel is sent to the mapping relations of the network identifier in a plurality of tunnel
The second edge network equipment.
5. the method according to claim any one of 1-4, it is characterised in that described that a plurality of tunnel convergence is shared into
Tunnel includes:
Tunnel convergence is triggered by static configuration control command, by a plurality of tunnel convergence into a shared tunnel;
Or the resource occupation of the first edge network equipment then triggers tunnel convergence, by a plurality of tunnel more than pre-conditioned
Aggregate into a shared tunnel.
6. method according to claim 5, it is characterised in that the resource occupation of the first edge network equipment exceedes pre-
If condition includes:
Tunnel quantity is not less than predetermined threshold value;Or, the memory usage of the first edge network equipment is not less than internal memory door
Limit value.
7. a kind of method for processing message, methods described is applied to the first edge network equipment, it is characterised in that including:
Data message is packaged, the notification message in shared tunnel is carried in the data message;
The notification message in the shared tunnel is sent to the second edge network equipment by shared tunnel, makes the second edge
The network equipment is processed the encapsulation of data message for receiving.
8. a kind of device for integrating tunnel resource, described device is applied to the first edge network equipment, it is characterised in that including:
Polymerized unit, a plurality of tunnel for obtaining local record, by a plurality of tunnel convergence into a shared tunnel;
First transmitting element, for the notification message in the shared tunnel to be sent into the second edge network equipment, makes described
Two edge network equipment are processed the data message received by the shared tunnel.
9. device according to claim 8, it is characterised in that described device also includes:
Generation unit, for being the shared shared network identifier of tunnel generation;
Unit is set up, the mapping relations for setting up the shared network identifier and the network identifier in a plurality of tunnel.
10. device according to claim 8, it is characterised in that described device also includes setting unit;
The generation unit, the state for determining network identifier before generating shared network identifier, if the network mark
It is unallocated state to know symbol, then using the network identifier of unallocated state as shared network identifier;
The setting unit, status indication is set for the network identifier to the unallocated state.
11. device according to claim any one of 8-10, it is characterised in that first transmitting element, for by institute
Shared network identifier and the tunnel convergence mark for stating shared tunnel are sent to the second edge network equipment;
Or, the network identifier in the shared tunnel is sent to the mapping relations of the network identifier in a plurality of tunnel
The second edge network equipment.
12. device according to claim any one of 8-11, it is characterised in that the polymerized unit is used to match somebody with somebody by static state
Control command triggering tunnel convergence is put, by a plurality of tunnel convergence into a shared tunnel;
Or the resource occupation of the first edge network equipment then triggers tunnel convergence, by a plurality of tunnel more than pre-conditioned
Aggregate into a shared tunnel.
13. devices according to claim 12, it is characterised in that the polymerized unit is used for the first edge network equipment
Resource occupation exceed it is pre-conditioned including:
Tunnel quantity is not less than predetermined threshold value;Or, the memory usage of the first edge network equipment is not less than internal memory door
Limit value.
A kind of 14. devices for processing message, described device is applied to the first edge network equipment, it is characterised in that including:
Data packaging unit, the notification message in shared tunnel is carried for being packaged to data message, in the data message;
Second transmitting element, sets for the notification message in the shared tunnel to be sent into second edge network by shared tunnel
It is standby, process encapsulation of data message of the second edge network equipment to receiving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121380.XA CN106899475B (en) | 2016-12-07 | 2016-12-07 | Method and device for integrating tunnel resources and method for processing message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611121380.XA CN106899475B (en) | 2016-12-07 | 2016-12-07 | Method and device for integrating tunnel resources and method for processing message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106899475A true CN106899475A (en) | 2017-06-27 |
CN106899475B CN106899475B (en) | 2020-09-25 |
Family
ID=59197815
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611121380.XA Active CN106899475B (en) | 2016-12-07 | 2016-12-07 | Method and device for integrating tunnel resources and method for processing message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106899475B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107645433A (en) * | 2017-08-31 | 2018-01-30 | 新华三技术有限公司 | Message forwarding method and device |
CN110891325A (en) * | 2019-12-10 | 2020-03-17 | 新华三大数据技术有限公司 | Tunnel establishment method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778032A (en) * | 2009-01-14 | 2010-07-14 | 宋非 | Internet access method realized by aggregating tunnel links |
CN103843396A (en) * | 2011-09-30 | 2014-06-04 | 日本电气株式会社 | Communication system and method and device |
US9356866B1 (en) * | 2014-01-10 | 2016-05-31 | Juniper Networks, Inc. | Receive packet steering for virtual networks |
-
2016
- 2016-12-07 CN CN201611121380.XA patent/CN106899475B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101778032A (en) * | 2009-01-14 | 2010-07-14 | 宋非 | Internet access method realized by aggregating tunnel links |
CN103843396A (en) * | 2011-09-30 | 2014-06-04 | 日本电气株式会社 | Communication system and method and device |
US9356866B1 (en) * | 2014-01-10 | 2016-05-31 | Juniper Networks, Inc. | Receive packet steering for virtual networks |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107645433A (en) * | 2017-08-31 | 2018-01-30 | 新华三技术有限公司 | Message forwarding method and device |
CN107645433B (en) * | 2017-08-31 | 2021-03-30 | 新华三技术有限公司 | Message forwarding method and device |
CN110891325A (en) * | 2019-12-10 | 2020-03-17 | 新华三大数据技术有限公司 | Tunnel establishment method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106899475B (en) | 2020-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11115466B2 (en) | Distributed network services | |
US11588708B1 (en) | Inter-application workload network traffic monitoring and visuailization | |
US10187410B2 (en) | Automatically preventing and remediating network abuse | |
CN104243265B (en) | A kind of gateway control method, apparatus and system based on virtual machine (vm) migration | |
CN106134141B (en) | A kind of method and device updating network service describing device NSD | |
US9253061B2 (en) | Tunnel health check mechanism in overlay network | |
CN106712988B (en) | A kind of virtual network management method and device | |
CN109981493B (en) | Method and device for configuring virtual machine network | |
US10944641B1 (en) | Systems and methods for application traffic simulation using captured flows | |
TW201337626A (en) | Non-intrusive method and apparatus for automatically dispatching security rules in cloud environment | |
CN106789432A (en) | Test system based on autonomous controllable cloud platform technology | |
CN105978817B (en) | It is used for transmission method, memory and the network adapter of data | |
CN110808857B (en) | Network intercommunication method, device, equipment and storage medium for realizing Kubernetes cluster | |
EP3528472B1 (en) | Method for managing hardware resource, method for querying location of hardware resource, and related apparatus | |
CN111181850B (en) | Data packet flooding suppression method, device and equipment and computer storage medium | |
CN106921578A (en) | The generation method and device of a kind of forwarding-table item | |
CN106453625A (en) | Information synchronization method and high-availability cluster system | |
CN103581325A (en) | Cloud computing resource pool system and implement method thereof | |
CN106899474A (en) | A kind of method and apparatus of message forwarding | |
CN106155264A (en) | The computer approach of the power consumption of management storage subsystem and computer system | |
CN108206764A (en) | Configuration method, server and the computer-readable medium of configuring information of network appliance | |
CN114124740A (en) | VNF instantiation method and device | |
CN106899475A (en) | A kind of method of the method for integrating tunnel resource, device and treatment message | |
CN109587063A (en) | A kind of drainage method and device of data | |
WO2023036617A1 (en) | Rlc channel management for low memory 5g devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for 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: 20230627 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |