CN107733801A - Receive and send the method and apparatus of message - Google Patents

Receive and send the method and apparatus of message Download PDF

Info

Publication number
CN107733801A
CN107733801A CN201610658763.4A CN201610658763A CN107733801A CN 107733801 A CN107733801 A CN 107733801A CN 201610658763 A CN201610658763 A CN 201610658763A CN 107733801 A CN107733801 A CN 107733801A
Authority
CN
China
Prior art keywords
interface
router
vnf
route
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610658763.4A
Other languages
Chinese (zh)
Other versions
CN107733801B (en
Inventor
郭锋
熊怡
张继东
宋玉金
宋宝华
王彦辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610658763.4A priority Critical patent/CN107733801B/en
Priority to PCT/CN2017/096603 priority patent/WO2018028592A1/en
Publication of CN107733801A publication Critical patent/CN107733801A/en
Application granted granted Critical
Publication of CN107733801B publication Critical patent/CN107733801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering

Abstract

The application is related to the method and apparatus that message is received and sent in the communications field, more particularly to a kind of network.Virtualization network function VNF equipment is connected by router with backbone network, and the VNF equipment includes control unit, the first virtual machine VM and the 2nd VM.Wherein, the first VM first interface, the 2nd VM second interface and the 3rd interface of router have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment.The VNF equipment establishes Routing Protocol neighbours with the router interface respectively by the first interface and the second interface, and then the VNF equipment is issued to router by the Routing Protocol neighbours and route.Then, the message of the router transmission is received successively by the first VM and the 2nd VM by the VNF equipment.By such scheme, the VNF equipment need not can on the router re-create interface when increasing VM interfaces, be advantageous to the management and maintenance of network by the message of multiple VM interfaces successively receiving router transmission.

Description

Receive and send the method and apparatus of message
Technical field
The application is related to the method and apparatus that message is received and sent in the communications field, more particularly to a kind of network.
Background technology
User accesses internet if desired, connects base station by terminal device first, then forwarded the data to by base station Router, then router, which is forwarded to user data, virtualizes network function (English:Virtual ized Network Function, referred to as:VNF) in equipment, the network equipment that finally data forwarding to user is accessed by VNF equipment.
, typically can be in router and VNF in order to improve data transmission efficiency when user's access internet data amount is very big Ospf (English is configured between equipment:Open Shortest Path First, abbreviation OSPF) neighbours Load balancing route is issued, to realize that the multipath load that message forwards between router and VNF equipment is shared.It is but existing Technology is realizing that router E-Packets during load balancing, often increases an ospf neighbor and is required for creating on the router An interface is built, and configures the iso-ip Internetworking protocol ISO-IP (English of interface:Internet Protocol, referred to as:IP) address, lead The increase of configuration of routers workload is caused, is unfavorable for the management and maintenance of network.
The content of the invention
The embodiment of the present application provides the method and apparatus that message is sent and received in a kind of network, for solving existing skill In art when the multipath load for realizing that message forwards between router and VNF equipment is shared, caused configuration of routers amount increases Add, in turn result in network management and technical problem difficult in maintenance.
In a first aspect, the embodiment of the present application provides a kind of method that message is received in network, the network is set including VNF Standby, the VNF equipment is connected by router with backbone network, and the VNF equipment includes the first virtual machine (English:Virtual Machine, referred to as:VM), the 2nd VM and control unit, the first VM include first interface, and the 2nd VM connects comprising second Mouthful, the router includes the 3rd interface, and the first interface, the second interface and the 3rd interface have phase same network segment IP address, methods described includes:
Described control unit by the first interface and the 3rd interface and the router establish the first via by Protocol neighbors;
Described control unit establishes secondary route by the second interface and the 3rd interface with the router Protocol neighbors;
Described control unit is by the first via from protocol neighbors and the secondary route protocol neighbors to the route Device issue route;
First VM receives the first service message of the router transmission by the first interface;
2nd VM receives the second service message of the router transmission, first industry by the second interface Business message and second service message are the service message of the corresponding route.
In such scheme, the 3rd interface tool of the first VM first interface, the 2nd VM second interface and router is set There is the IP address of phase same network segment, the control unit of VNF equipment can be connect by the first VM first interface and the second of the 2nd VM Mouth establishes Routing Protocol neighbours with router respectively.Then, control unit is sent corresponding by Routing Protocol neighbours to router Route, router generate route table items according to the route, and router is according to the route table items to the first interface and institute State second interface and send message, these service messages are received in turn by the first interface and the second interface.In this process Middle router can establish two Routing Protocol neighbours by same interface and the VNF equipment, can not only realize described VNF equipment receives the load balancing of message, while avoids the new interface of configuration of routers, reduces the workload of configuration of routers, Be advantageous to the management and maintenance of network.
In a kind of possible embodiment, the route that the VNF equipment is issued to the router includes:
The VNF equipment issues the route of the network equipment of the data center belonging to the corresponding VNF to the router.
In a kind of possible embodiment, connect in the VNF equipment by the first interface and the second interface After receiving the service message that the router is sent, methods described also includes:
The net of the VNF equipment by first service message and second service message to the data center Network equipment is sent.
In such scheme, after VNF equipment issues the route of affiliated data center network apparatus to router, route Device generates route table items according to above-mentioned route, and message then is sent into map network equipment according to the route table items of generation, with Realize access of the user to the network equipment data.
In a kind of possible embodiment, the first VM and the 2nd VM pass through Layer 2 switch and the route Device connects, and the VNF equipment receives the service message of the router transmission by the first interface and the second interface Including:
The VNF equipment receives coming from for the Layer 2 switch forwarding by the first interface and the second interface The service message of the router.
In such scheme, VNF equipment is established by Layer 2 switch and router and connected, and wherein Layer 2 switch can be real Existing router is established by the interface of multiple virtual machines in same interface and VNF equipment and connected, and helps to realize the router The multipath load that message forwards between the VNF equipment is shared.
In a kind of possible embodiment, the Routing Protocol is ospf ospf protocol or centre System is (English to intermediate system:Intermediate System-to-Intermediate System, referred to as:IS-IS) assist View.
In such scheme, router is established with same interface and the VM interfaces of VNF equipment the first and the 2nd VM interfaces to be connected Connect, E-Packeted between router and VNF by ospf protocol or Intermediate System to Intermediate System to realize between router and VNF equipment Multipath load share.
In a kind of possible embodiment, the VNF equipment also includes the 3rd VM, and the 3rd VM connects comprising the 4th Mouth, the 4th interface and the 3rd interface have the IP address of phase same network segment, and methods described includes:
Described control unit passes through the 3rd interface of the 4th interface and the router and the router Establish the 3rd Routing Protocol neighbours;
The control unit is issued to the router by the 3rd Routing Protocol neighbours and route;
The 3rd service message that the VNF equipment is sent by router described in the 4th interface, the described 3rd Service message is the service message of the corresponding route.
In such scheme, dilatation is being carried out to the VNF equipment, when increasing by the 3rd VM interfaces, is configuring the 3rd VM's The interface of interface and the router has the IP address of phase same network segment, and establishes Routing Protocol neighbour by the 3rd VM and router Occupy.The path that VNF equipment can be so received message expands to three road load balancings by two-way load balancing, not only can be real The multipath load sharing that the existing router is forwarded by message between same interface and the VNF equipment is born, and need not New interface is created on the router, the configuration work to router is reduced while message forward efficiency is improved Amount, is advantageous to the management and maintenance of network.
Second aspect, there is provided a kind of method that message is sent in network, the network include router and VNF equipment, The VNF equipment is connected by the router with backbone network, and the VNF equipment includes the first VM and the second machine VM, and described One VM includes first interface, and the 2nd VM includes second interface, and the router includes the 3rd interface, the first interface, The second interface and the 3rd interface have the IP address of phase same network segment, and methods described includes:
The router establishes the by the 3rd interface and the first VM first interface and the VNF One route protocol neighbors;
The router establishes the by the 3rd interface and the 2nd VM second interface and the VNF Two Routing Protocol neighbours;
The router receives described first by the first via by protocol neighbors and the secondary route neighbor protocol The route of VM and the 2nd VM issues, and route table items are generated, two routes, two roads are included in the route table items By destination address it is identical, outgoing interface is identical, and next-hop is different;
The router to the VNF according to the route table items by sending service message.
In such scheme, router establishes two Routing Protocol neighborhoods by same interface and VNF equipment, and passes through The Routing Protocol neighbours receive the route that VNF equipment is issued by the first VM and the 2nd VM respectively.Then router is according to institute Route generation route table items are stated, the route table items that wherein router generates include two, and destination address is identical but next-hop is different Route, router can send message to the first interface and the second interface simultaneously by its 3rd interface, to realize E-Packet load balancing between router and VNF equipment, improves the flexibility of network.
In a kind of possible embodiment, the router passes through Layer 2 switch and the first VM and described second VM connections, the router sends service message according to the route table items to the VNF to be included:
The router sends the service message by the Layer 2 switch to the VNF.
In such scheme, router is established with two VM interfaces and connected respectively by Layer 2 switch, wherein Layer2 switching Machine can realize that router is established by the interface of multiple VM in same interface and VNF equipment and connect.
The third aspect, there is provided the VNF equipment of message is received in a kind of network, the VNF equipment passes through router and bone Dry net connection, the VNF equipment include:First virtual machine VM, the second virtual machine VM and control unit, the first VM include the One interface, the 2nd VM include second interface, and the router includes the 3rd interface, and the first interface, described second connect Mouth and the 3rd interface have the IP address of phase same network segment.
Described control unit, for establishing first with the router by the first interface and the 3rd interface Routing Protocol neighbours, and secondary route agreement is established with the router by the second interface and the 3rd interface Neighbours;
Described control unit, it is additionally operable to by the first via from protocol neighbors and the secondary route protocol neighbors to institute State router issue route;
First VM, for receiving the first service message of the router transmission by the first interface;
2nd VM, it is described for receiving the second service message of the router transmission by the second interface First service message and second service message are the service message of the corresponding route.
In such scheme, the 3rd interface tool of the first VM first interface, the 2nd VM second interface and router is set There is an IP address of phase same network segment, the control unit in VNF equipment can establish first by the first interface and router Routing Protocol neighbours, while secondary route protocol neighbors are established by the second interface and router.Control unit passes through One route protocol neighbors and secondary route protocol neighbors are issued to router respectively to be route, and router is according to the route generation road By list item, router sends message with same interface according to route table items to the first VM of VNF equipment and the 2nd VM.The VNF Equipment receives message successively by the first VM and the 2nd VM, so can not only realize that the VNF equipment receives the load of message Share, and new interface need not be created on the router, be advantageous to network management and maintenance.
In a kind of possible embodiment, described control unit is by the first via by protocol neighbors and described second Routing Protocol neighbours include to router issue route:
Described control unit is by the first via from protocol neighbors and the secondary route protocol neighbors to the route The route of the network equipment of data center belonging to the corresponding VNF of device issue.
In a kind of possible embodiment, the VNF equipment also includes:
Transmitting element, for first service message and first service message to be sent to the network equipment.
Fourth aspect, this application provides the router that message is sent in a kind of network, the router connects with VNF equipment Connect, the router includes processing unit, memory cell and Transmit-Receive Unit, and the VNF equipment includes the first virtual machine VM and the Two VM, the first VM include first interface, and the 2nd VM includes second interface, and the router includes the 3rd interface, institute Stating first interface, the second interface and the 3rd interface has the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, wherein,
The processing unit, for the first interface by the 3rd interface and the first VM with it is described VNF equipment establishes the first via by protocol neighbors;
The processing unit, for the second interface by the 3rd interface and the 2nd VM with it is described VNF equipment establishes secondary route protocol neighbors;
The processing unit, it is additionally operable to handle the route that Transmit-Receive Unit receives, and generates route table items, the routing table Comprising two routes in, the destination address of two routes is identical, and outgoing interface is identical, and next-hop is different;
The memory cell, the route for receiving the Transmit-Receive Unit for storing the router and receiving;
The Transmit-Receive Unit, sent by the first interface and the second interface for receiving the VNF equipment Route;
The Transmit-Receive Unit, it is additionally operable to send service message to the VNF equipment according to the route table items of generation.
In the above method, router establishes Routing Protocol neighborhood by processing unit and the VNF, then receives institute State the route of VNF equipment issue.Memory cell stores to the route received.Processing unit generates routing table according to route , identical comprising two destination addresses in route table items, outgoing interface is identical, but the route that next-hop is different, and router can be used Same interface sends message to the first VM and the 2nd VM simultaneously, new interface is created without router, favorably In the management and maintenance of network.
5th aspect, this application provides the VNF equipment that message is received in another network, the VNF equipment includes:First VM, the 2nd VM, processor and memory, it is connected between the processor and memory by bus, the processor is used for The code in the memory is performed, when the code is performed so that the above-mentioned first aspect of computing device and first Method in any possible embodiment of aspect.The VNF equipment pass through the first VM first interface and the 2nd VM The message that two interface routers are sent.
6th aspect, this application provides the router that message is sent in another network, the router includes:Transmitting-receiving connects Mouth, processor and memory, are connected between the processor and memory by bus, and the processor is described for performing Code in memory, when the code is performed so that times of the above-mentioned second aspect of computing device and second aspect Method in one possible embodiment.
Brief description of the drawings
In order to illustrate more clearly of the technical scheme in the embodiment of the present application, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present application, for this For the those of ordinary skill of field, without having to pay creative labor, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of prior art schematic diagram of a scenario that the embodiment of the present application provides;
Fig. 2 is a kind of possible application scenarios schematic diagram that the embodiment of the present application provides;
Fig. 3 is the method flow schematic diagram to be E-Packeted in a kind of network that the embodiment of the present application provides;
Fig. 4 is a kind of possible application scenarios schematic diagram that the embodiment of the present application provides;
Fig. 5 is a kind of alternatively possible application scenarios schematic diagram that the embodiment of the present application provides;
Fig. 6 provides the method flow schematic diagram that message is received in a kind of network for the embodiment of the present application;
Fig. 7 is the method flow schematic diagram that message is sent in a kind of network that the embodiment of the present application provides;
Fig. 8 is a kind of VNF device structure schematic diagrams that the embodiment of the present application provides;
Fig. 9 is another VNF device structure schematic diagrams that the embodiment of the present application provides;
Figure 10 is a kind of router topology schematic diagram that the embodiment of the present application provides;
Figure 11 is another router topology schematic diagram that the embodiment of the present application provides.
Embodiment
The embodiment of the present application description application scenarios be in order to more clearly explanation the embodiment of the present application technical scheme, The restriction of the technical scheme provided for the embodiment of the present application is not formed, those of ordinary skill in the art understand, with network The differentiation of framework and the appearance of new business scene, the technical scheme that the embodiment of the present application provides is for similar technical problem, together Sample is applicable.
In the embodiment of the present application, " virtualization network function (English:Virtualized network function) " be Refer to the control particular network functions module run in one or more virtual machines of hardware net infrastructure device top, including Router feature, switch function, server capability, cloud computing system function etc..VNF can provide what is only found within hardware Network function, it needs application program, operation flow and the system infrastructure that can be integrated and adjusted to combine.
In the embodiment of the present application, " virtual machine (Virtual Machine) " refers to have completely firmly by what software was simulated Part systemic-function, the complete computer that operates in a completely isolated environment.Into after virtual system, all operations All it is to be carried out inside this brand-new independent virtual system, can preserves data with independently installed runs software, possess oneself Independent table, any influence will not be produced on real system.
In the embodiment of the present application, " connection " relation between equipment room or interface, " communication " relation can also be replaced with.
In the embodiment of the present application, terminal device can refer to user equipment (English:User Equipment, referred to as:UE), than As terminal device can be include the various handheld devices with radio communication function, mobile unit, wearable device, calculating are set Other processing equipments that are standby or being connected to radio modem.
Fig. 1 is a kind of prior art application scenarios schematic diagram that the embodiment of the present application provides.VNF equipment 101 includes control Unit 102, the first VM103 and the 2nd VM104.Wherein the first VM103 includes first interface 106, and the 2nd VM104 includes second Interface 107.Router includes the 3rd interface 109 and the 5th interface 111, the first interface 106 and second interface of VNF equipment 101 107 are connected with the 3rd interface 109 of router 108 and the 5th interface 111 respectively.
Base station 105 provides wirelessly access for the terminal device in certain area.For example, when user passes through terminal device During 110 access internet, terminal device 110 provides the regional access network network of wirelessly access in base station 105.Terminal device 110 user data that will be sent are sent to base station 105 in a manner of wireless signal, then are changed wireless signal by base station 105 Into wire signal, then the wire signal is sent to router 108, the interface 109 and the 5th of router 108 the 3rd by base station 105 Second interface 1107 of the interface 111 respectively with the first VM103 VM104 of first interface 106 and the 2nd is connected, and router 108 divides VNF equipment 101 is not forwarded the message to by the 3rd interface 109 and the 5th interface 111, VNF equipment passes through first interface respectively 106 and second interface 107 distinguish receiving router 108 send message.
Below so that terminal device 110 is mobile phone as an example, the message forwarding scheme to current generally use is introduced.When with When family will access internet data, terminal device 110 accesses network by base station 105, and base station 105 sends terminal device 110 Wireless signal be converted into wire signal.Then, the wire signal is sent to router 108 by base station 105.Router 108 is logical Two port is crossed to be connected with the first VM in VNF equipment and the 2nd VM respectively, wherein, the He of the 3rd interface 109 on router 108 5th interface 111 has an IP address of different segment, and the VM interfaces with being each connected respectively of two ports on router 108 3rd interface 109 of the IP address with phase same network segment, i.e. router 108 has identical with the first VM103 first interface 106 The IP address of the network segment, the 5th interface 111 of router 108 is with IP of the 2nd VM104 second interface 107 with phase same network segment Location.Router 108 is E-Packeted by two paths being connected with VNF equipment.VNF equipment will report after handling the message Text is transmitted to destination network device, and destination network device feeds back to data with reverse path the mobile terminal of user, final real Current family passes through access of the mobile terminal device to internet data.
Problems be present in such scheme:
When a large number of users occur and accessing internet data using mobile terminal device, router is to VNF device forwards reports The workload of text will accordingly increase.In order to alleviate the pressure that router E-Packets, prior art typically can be in VNF equipment Multiple VM are configured, the message sent by multiple VM interfaces routers, are reported so as to realize between router and VNF equipment The multipath load of text forwarding is shared.But often increase a VM in VNF equipment and be used for that to establish Routing Protocol adjacent with router Occupy, it is necessary to which router enters one interface of configuration again, can thus increase the configuration work amount of router, be unfavorable for network Management and maintenance.
In order to solve the above-mentioned technical problem, such as Fig. 2, in the application scenarios that the embodiment of the present application provides, configuration first VM103 first interface 106, the 2nd VM104 second interface 107 have phase same network segment IP address, further set router The 3rd interface 109 and first interface 106, second interface 107 have phase same network segment IP address.
3rd interface 109 of router 108 passes through the second network and the first VM103 VM104 of first interface 106 and the 2nd Second interface 107 connect, router 108 passes through its 3rd interface 109 and the first interface 106 and the VNF equipment 101 The first via is established to be set by its 3rd interface 109 and the second interface 107 and the VNF by protocol neighbors, router 108 Standby 101 establish secondary route protocol neighbors.Router 108 is distinguished by the first via by protocol neighbors and secondary route protocol neighbors Corresponding route is issued to VNF equipment 101, router 108 generates route table items according to route.VNF equipment passes through the first VM103's The VM104 of first interface 106 and the 2nd second interface 107 message that the interface 109 of receiving router 108 the 3rd is sent successively.
Fig. 3 shows the method flow schematic diagram to be E-Packeted in a kind of network that the embodiment of the present application provides.The side Method can apply in the application scenarios shown in Fig. 2.The router in method shown in Fig. 3 can be the route shown in Fig. 2 Device 108.VNF equipment in method shown in Fig. 3, can be the virtualization network function VNF equipment 101 shown in Fig. 2.It is described VNF equipment is connected by router with backbone network, and the VNF equipment includes the first VM, the 2nd VM and control unit, and described first VM includes first interface, and the 2nd VM includes second interface, and the router includes the 3rd interface, the first interface, institute Stating second interface and the 3rd interface has the IP address of phase same network segment.It the described method comprises the following steps:
S301, described control unit establish the first via by protocol neighbors, institute by the first VM first interface with router State control unit and secondary route protocol neighbors are established with the router by the 2nd VM second interface.
S302, described control unit are sent out by the first via from protocol neighbors and secondary route protocol neighbors to the router Send route.
S303, the router receive VNF equipment by protocol neighbors and secondary route protocol neighbors by the first via and sent Route, and generate route table items, the route table items include two routes that destination address is identical and next-hop is different.
S304, the router send service message according to the route table items of generation to VNF equipment.
The first service message that S305, the first VM of the VNF equipment are sent by first interface receiving router, it is described The second service message that 2nd VM of VNF equipment is sent by second interface receiving router.First service message and institute State the service message that the second service message sends for the corresponding router to VNF equipment.
Alternatively, the service message of the corresponding route is specially:The destination address of service message is the route.
Fig. 4 shows a kind of possible application scenarios schematic diagram that the embodiment of the present application provides.The VNF equipment 402 to The route that the router 404 is issued is the route of the network equipment 401 of the corresponding affiliated database hubs of VNF.This In the case of, VNF equipment 402 is an equipment of data center 401.Router 404 is received in data belonging to VNF equipment 402 Route table items are generated after the route of heart equipment 401.Router 404 is according to route table items forwarding service message to VNF equipment 402. The service message received is forwarded to the network equipment 403 of data center by VNF equipment 402.The network equipment 403 can be to described Service message carries out the operation such as traffic statistics, realizes access of the user to data center.
Fig. 5 is the alternatively possible application scenarios schematic diagram that the embodiment of the present application provides.VNF equipment 501 is to router 502 issue routes.The route can be the route of the Customer Premises Network equipment 503 of corresponding connection VNF equipment 501.The route Device 502 generates routing table after receiving the route, and is E-Packeted according to route table items to the VNF equipment 501.VNF is set Standby 501 pairs of messages are handled, and are then again forwarded the message to Customer Premises Network equipment 503, so as to realize network The mutual access of middle user.
Optionally, in one embodiment, the VNF equipment is connected by Layer 2 switch with the router, described VNF equipment by the first interface and the second interface receive that the Layer 2 switch forwards from the router Service message.Layer 2 switch can realize that router is established by the interface of multiple virtual machines in same interface and VNF equipment Connection.
Optionally, the VNF equipment can also be connected by double layer network with the router, be included in the double layer network Multiple Layer 2 switch, this multiple Layer2 switching are connected with each other, and creation is connected with multiple VM interfaces with same interface for router Condition, to realize that connecting the multipath load that message forwards between the VNF equipment and the router shares.
For example, the router is connected by a Layer 2 switch with the VNF equipment, so described router Can is established with two interfaces of the first VM in same interface and the VNF equipment and the 2nd VM and connected, and router can is led to Cross an interface and send message to the first VM and the 2nd VM simultaneously, the VNF equipment can also pass through the first VM first interface Service message is received successively with the 2nd VM second interface, can thus realize that message forwards between router and VNF equipment Multipath load share.
Optionally, in one embodiment, control unit passes through the first interface and the second interface and institute respectively State router and establish Routing Protocol neighbours, the Routing Protocol is ospf protocol or Intermediate System to Intermediate System.
For example, the VNF equipment is issued to the router by ospf protocol or Intermediate System to Intermediate System and route, described Router generates route table items according to the route.The router sends business report according to the route table items to VNF equipment Text, the VNF equipment receive what the router was sent successively by the first VM first interface and the 2nd VM second interface Message, it is possible to achieve the router is shared with the multipath load that message forwarding is realized between same interface and VNF equipment.
Optionally, in one embodiment, the VNF also includes the 3rd VM, and the 3rd VM includes the 4th interface, described 3rd interface of the 4th interface and the router has the IP address of phase same network segment.Described control unit passes through the 4th VM The 4th interface and the router establish the 3rd Routing Protocol neighbours.Described control unit by the 3rd Routing Protocol neighbours to The corresponding route of router issue.The router generates route table items according to the route, and according to the route table items Service message is sent to the VNF equipment.
For example, dilatation is being carried out to the VNF equipment, it is necessary to by the 3rd VM's when increasing by three VM 4th interface is arranged to the IP address for having phase same network segment with the first interface, second interface and the 3rd interface.Then Router establishes three Routing Protocol neighbours with the VNF equipment respectively by same interface, and then the VNF equipment can lead to Cross the first interface, the second interface and the 4th interface and receive the service message that the router is sent successively.This Outside, when needing to be lifted the VNF equipment to the disposal ability of service message, a VM need to only be increased in the VNF equipment, And newly-increased VM interface and the 3rd interface of the first VM first interface, the 2nd VM second interface and router is set to have The IP address of standby phase same network segment, you can realize that the router establishes three Routing Protocol neighbours by an interface and VNF equipment, So while not needing router to reset interface, it is possible to achieve message forwards more between router and VNF equipment Path load is shared, and improves receiving ability of the VNF equipment to message.
Fig. 6 shows the method flow schematic diagram that message is received in a kind of network that the embodiment of the present application provides.The side Method can apply in the application scenarios shown in Fig. 2.The VNF equipment in method shown in Fig. 6 can be shown in Fig. 2 VNF equipment 101, the router mentioned in Fig. 6 can be the routers 108 described in Fig. 2.
S601, VNF equipment establish the first via by protocol neighbors by the first VM first interface and router, and pass through Two VM second interface establishes secondary route protocol neighbors with router.
S602, VNF equipment are sent out to router respectively by the first via from protocol neighbors and secondary route protocol neighbors Cloth is route.
S603, VNF equipment receive road successively by the first interface of the first VM and the second interface of the 2nd VM The service message sent by device.
In such scheme, there is the IP of phase same network segment in the first interface, the second interface and the 3rd interface In the case of address, the VNF equipment establishes route association with router respectively by the first interface and the second interface Neighbours are discussed, the VNF equipment is issued by the Routing Protocol neighbours to the router and route.Then router is according to institute Route generation route table items are stated, router sends business with first interface from same interface to the VNF equipment and second interface Message, the message are received successively by the first interface and the second interface of the VNF equipment, can not only realize institute State VNF equipment and receive the load balancing of message, while the workload of configuration of routers new interface can also be reduced.
Fig. 7 is shown as the embodiment of the present application and provides the method flow schematic diagram that message is sent in a kind of network.Methods described It can apply in the application scenarios shown in Fig. 2.The router in method shown in Fig. 7 can be the road shown in Fig. 2 By device 108.VNF equipment in method shown in Fig. 7, can be the VNF equipment 101 shown in Fig. 2.VNF equipment passes through router It is connected with backbone network, the VNF equipment includes the first VM and the 2nd VM, and the first VM includes first interface, the 2nd VM Comprising second interface, the router includes the 3rd interface, the first interface, the second interface and the 3rd interface tool There is the IP address of phase same network segment, the described method comprises the following steps.
S701, the router are established by the 3rd interface and the first VM first interface and the VNF equipment The first via passes through the 3rd interface and the 2nd VM second interface and the VNF by protocol neighbors, the router Equipment establishes secondary route protocol neighbors.
S702, the router are received respectively by the first via by protocol neighbors and the secondary route protocol neighbors The route of first VM and the 2nd VM issues, and route table items are generated, two routes, two roads are included in the route table items By destination address it is identical, outgoing interface is different, and next-hop is different.
S703, the router send service message by the route table items to the VNF equipment.
Optionally, the router can send the service message by Layer 2 switch to the VNF equipment, its In, the router is connected by Layer 2 switch with the first VM and the 2nd VM.
In such scheme, first VM and twoth VM of the router interface by Layer 2 switch to the VNF equipment Message is sent, the Layer 2 switch is router same interface and the first interface and second of the VM of VNF equipment the first VM second interface is established connection and created conditions, to realize router with same interface to the first VM of the VNF equipment and Two VM send service message.
Fig. 8 is the VNF equipment that message is received in a kind of network that the embodiment of the present application provides.The VNF that the present embodiment provides Equipment can be the VNF equipment in Fig. 2 to embodiment illustrated in fig. 7.The VNF equipment 801 includes the first VM803, the 2nd VM804 With control unit 802, the first VM803 includes first interface 806, and the 2nd VM804 includes second interface 805, wherein, The first interface 806, the second interface 805 and router interface have the IP address of phase same network segment.
Described control unit 802, for being established by the first interface 806 and router interface with the router The first via establishes secondary route by protocol neighbors, and by the second interface 805 and router interface with the router Protocol neighbors.
Described control unit 802, it is additionally operable to by the first via from protocol neighbors and secondary route protocol neighbors to institute State router issue route.
First VM803, for receiving the first business report of the router transmission by the first interface 806 Text.
2nd VM804, for receiving the second business report of the router transmission by the second interface 805 Text.First service message and second service message are the service message of the corresponding route.
Optionally, described control unit 802 by the first via by protocol neighbors and the secondary route protocol neighbors To the route of the network equipment of the data center belonging to the corresponding VNF equipment of router issue.
Optionally, the VNF equipment also includes transmitting element, the transmitting element be used for will first service message with First service message is sent to the network equipment.
Fig. 9 is another VNF device structure schematic diagrams that the embodiment of the present application provides.The VNF equipment 901 includes:Storage Device 901, processor 902, the first VM903 and the 2nd VM904.The VNF equipment 901 that the present embodiment provides can be Fig. 2 to Fig. 7 institutes Show the VNF equipment in embodiment.It is connected between the processor 902 and memory 901 by bus, the processor 902 For performing the code in the memory 901.The first interface 905 and second that the VNF equipment passes through the first VM903 VM904 second interface 906 distinguishes the message that receiving router is sent.The memory 901 is used to store the first VM903 The message received with the 2nd VM904.
Figure 10 is a kind of router topology schematic diagram that the embodiment of the present application provides.The structural representation can apply to In scene shown in Fig. 2.It can be router in Fig. 2 to embodiment illustrated in fig. 7 that router shown in Figure 11, which can be, 108.The router 1008 is connected with VNF equipment, and the router 1008 includes processing unit 1001, the and of memory cell 1002 Transmit-Receive Unit 1003.The router 1008 is connected with VNF equipment, and the VNF equipment includes the first virtual machine VM and the 2nd VM, First VM includes first interface, and the 2nd VM includes second interface, the first interface, the second interface and described 3rd interface has the IP address of phase same network segment.
The processing unit 1001, for being established by its 3rd interface and the first interface with the VNF equipment The first via is established secondary route with the VNF equipment by its 3rd interface and the second interface and assisted by protocol neighbors Discuss neighbours.The processing unit 1001 is additionally operable to handle the route that Transmit-Receive Unit 1003 receives, and generates route table items, described Comprising two routes in route table items, the destination address of two routes is identical, and outgoing interface is identical, and next-hop is different.It is described Memory cell 1002 is used to store the route that the router reception Transmit-Receive Unit receives.The Transmit-Receive Unit 1003 is used In receiving the VNF equipment by the first interface and the route of second interface transmission, the road according to generation is additionally operable to Service message is sent from list item to the VNF equipment.
Figure 11 is another router topology schematic diagram that the embodiment of the present application provides.The router 1108 includes transmitting-receiving Interface 1102, processor 1101 and memory 1103, wherein by total between the processor 1101 and the holder 1103 Line is connected.The processor 1101 is used to perform the code in the memory 1103.The transceiver interface 1102 is used to receive The route and send service message to VNF equipment that VNF equipment is issued.The memory 1103 is used to store the router 1108 routes received.
The various pieces of this specification are described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment introduced is and other embodiment difference.Especially for device and it is For embodiment of uniting, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is real referring to method Apply the explanation of example part.
It should be understood that in the various embodiments of the application, the size of the sequence number of above-mentioned each method is not meant to perform suitable The priority of sequence, the execution sequence of each method should be determined with its function and internal logic, without the implementation of reply the embodiment of the present application Process forms any restriction.
Those of ordinary skill in the art are it is to be appreciated that the electricity of each example described with reference to the embodiments described herein Road and method and step, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This A little functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specially Industry technical staff can realize described function using distinct methods to each specific application, but this realization is not It is considered as exceeding scope of the present application.
Finally, it is necessary to which explanation is:The preferred embodiment of technical scheme is the foregoing is only, is not intended to Limit the protection domain of the application.Obviously, those skilled in the art can carry out various changes and modification without de- to the application From scope of the present application.If these modifications and variations of the application belong to the scope of the application claim and its equivalent technologies Within, then any modification, equivalent substitution and improvements made etc., it should be included within the protection domain of the application.

Claims (12)

1. the method for message being received in a kind of network, it is characterised in that the network includes virtualization network function VNF equipment, The VNF equipment is connected by router with backbone network, and the VNF equipment includes the first virtual machine VM, the 2nd VM and control is single Member, the first VM include first interface, and the 2nd VM includes second interface, and the router includes the 3rd interface, described First interface, the second interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, methods described Including:
Described control unit establishes the first Routing Protocol by the first interface and the 3rd interface with the router Neighbours;
Described control unit establishes secondary route agreement by the second interface and the 3rd interface with the router Neighbours;
Described control unit is sent out by the first via from protocol neighbors and the secondary route protocol neighbors to the router Cloth is route;
First VM receives the first service message of the router transmission by the first interface;
2nd VM receives the second service message of the router transmission, the first business report by the second interface Literary and described second service message is the service message of the corresponding route.
2. according to the method for claim 1, it is characterised in that the route bag that the VNF equipment is issued to the router Include:
The VNF equipment issues the route of the network equipment of the data center belonging to the corresponding VNF to the router.
3. method according to claim 1 or 2, it is characterised in that pass through the first interface and institute in the VNF equipment After stating the service message that second interface receives the router transmission, methods described also includes:
The VNF equipment sets first service message and second service message to the network of the data center Preparation is sent.
4. according to the method described in claims 1 to 3 any claim, it is characterised in that the first VM and described second VM is connected by Layer 2 switch with the router, and the VNF equipment is connect by the first interface and the second interface Receiving the service message that the router is sent includes:
The VNF equipment by the first interface and the second interface receive that the Layer 2 switch forwards from described The service message of router.
5. according to the method described in Claims 1-4 any claim, it is characterised in that the Routing Protocol is open SPF ospf protocol or Intermediate System-to-Intermediate System Intermediate System to Intermediate System.
6. according to the method described in claim 1 to 5 any claim, it is characterised in that the VNF equipment also includes the 3rd VM, the 3rd VM include the 4th interface, and the 4th interface and the 3rd interface have the IP address of phase same network segment, described Method also includes:
Described control unit establishes the 3rd Routing Protocol by the 4th interface and the 3rd interface with the router Neighbours;
Described control unit issues the route by the 3rd Routing Protocol neighbours to the router;
The 3rd service message that 3rd VM is sent by router described in the 4th interface, the 3rd business report Text is the service message of the corresponding route.
7. the method for message is sent in a kind of network, it is characterised in that the network includes router and virtualization network function VNF equipment, the VNF equipment are connected by the router with backbone network, and the VNF equipment includes the first virtual machine VM, the Two VM and control unit, the first VM include first interface, and the 2nd VM includes second interface, and the router includes the Three interfaces, the first interface, the second interface and the 3rd interface are with having the iso-ip Internetworking protocol ISO-IP IP of phase same network segment Location, methods described include:
The router establishes the first via by the 3rd interface and the first VM first interface and the VNF By protocol neighbors;
The router establishes the second tunnel by the 3rd interface and the 2nd VM second interface and the VNF By protocol neighbors;
The router receives the VNF issues by the first via by protocol neighbors and the secondary route neighbor protocol Route, and route table items are generated, comprising two routes in the route table items, the destination address of two routes is identical, goes out Interface is identical, and next-hop is different;
The router sends service message according to the route table items to the VNF equipment.
8. according to the method for claim 7, it is characterised in that the router passes through Layer 2 switch and the first VM Connected with the 2nd VM, the service message that the router is sent according to the route table items to the VNF equipment includes:
The router sends the service message by the Layer 2 switch to the VNF equipment.
9. the virtualization network function VNF equipment of message is received in a kind of network, it is characterised in that the VNF equipment passes through road It is connected by device with backbone network, the VNF equipment includes:First virtual machine VM, the 2nd VM and control unit, the first VM are included First interface, the 2nd VM include second interface, and the router includes the 3rd interface, the first interface, described second Interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, wherein,
Described control unit, for by the first interface and the 3rd interface and the router establish the first via by Protocol neighbors, and secondary route agreement neighbour is established with the router by the second interface and the 3rd interface Occupy;
Described control unit, it is additionally operable to by the first via from protocol neighbors and the secondary route protocol neighbors to the road Issued and route by device;
First VM, for receiving the first service message of the router transmission by the first interface;
2nd VM, for receiving the second service message of the router transmission by the second interface;Described first Service message and second service message are the service message of the corresponding route.
10. VNF equipment according to claim 9, it is characterised in that described control unit passes through first Routing Protocol Neighbours and the secondary route protocol neighbors include to router issue route:
Described control unit is sent out by the first via from protocol neighbors and the secondary route protocol neighbors to the router Cloth corresponds to the route of the network equipment of the data center belonging to the VNF.
11. VNF equipment according to claim 9, it is characterised in that the VNF equipment also includes:
Transmitting element, for first service message and first service message to be sent to the network equipment.
12. the router of message is sent in a kind of network, it is characterised in that the router is set with virtualization network function VNF Standby connection, the router include processing unit, memory cell and Transmit-Receive Unit, and the VNF equipment includes the first virtual machine VM First interface is included with the 2nd VM, the first VM, the 2nd VM includes second interface, and the router connects comprising the 3rd Mouthful, the first interface, the second interface and the 3rd interface have the iso-ip Internetworking protocol ISO-IP IP address of phase same network segment, its In,
The processing unit, for being set by the first interface of the 3rd interface and the first VM with the VNF It is standby to establish the first via by protocol neighbors;
The processing unit, for being set by the second interface of the 3rd interface and the 2nd VM with the VNF It is standby to establish secondary route protocol neighbors;
The processing unit, it is additionally operable to handle the route that Transmit-Receive Unit receives, and generates route table items, in the route table items Comprising two routes, the destination address of two routes is identical, and outgoing interface is identical, and next-hop is different;
The memory cell, the route for receiving the Transmit-Receive Unit for storing the router and receiving;
The Transmit-Receive Unit, the route sent for receiving the VNF equipment by the first interface and the second interface;
The Transmit-Receive Unit, it is additionally operable to send service message to the VNF equipment according to the route table items of generation.
CN201610658763.4A 2016-08-11 2016-08-11 Method and equipment for receiving and sending message Active CN107733801B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610658763.4A CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message
PCT/CN2017/096603 WO2018028592A1 (en) 2016-08-11 2017-08-09 Method and device for receiving and sending messages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610658763.4A CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message

Publications (2)

Publication Number Publication Date
CN107733801A true CN107733801A (en) 2018-02-23
CN107733801B CN107733801B (en) 2021-01-29

Family

ID=61161736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610658763.4A Active CN107733801B (en) 2016-08-11 2016-08-11 Method and equipment for receiving and sending message

Country Status (2)

Country Link
CN (1) CN107733801B (en)
WO (1) WO2018028592A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093958A1 (en) * 2018-11-08 2020-05-14 华为技术有限公司 Route processing method, apparatus, and device
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Method, equipment and system for publishing route in BGP network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868619A (en) * 2012-09-10 2013-01-09 杭州华三通信技术有限公司 Transmitting method and device of LSA (Link State Advertisement)
CN103516782A (en) * 2012-06-26 2014-01-15 丛林网络公司 Distributed processing of network device tasks
CN105391636A (en) * 2015-10-16 2016-03-09 东南大学 Interconnection mechanism between software defined network (SDN) subnet and IP subnet in autonomous system
US20160156543A1 (en) * 2013-03-01 2016-06-02 Skytap Distributed service routing protocol suitable for virtual networks
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518935B (en) * 2013-09-27 2018-05-25 华为技术有限公司 Realize the methods, devices and systems of virtual network communication
US9866408B2 (en) * 2014-12-12 2018-01-09 Oracle International Corporation Methods, systems, and computer readable media for configuring a flow interface on a network routing element
CN104734931B (en) * 2015-03-31 2018-06-05 华为技术有限公司 Link establishing method and device between a kind of virtual network function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103516782A (en) * 2012-06-26 2014-01-15 丛林网络公司 Distributed processing of network device tasks
CN102868619A (en) * 2012-09-10 2013-01-09 杭州华三通信技术有限公司 Transmitting method and device of LSA (Link State Advertisement)
US20160156543A1 (en) * 2013-03-01 2016-06-02 Skytap Distributed service routing protocol suitable for virtual networks
CN105391636A (en) * 2015-10-16 2016-03-09 东南大学 Interconnection mechanism between software defined network (SDN) subnet and IP subnet in autonomous system
CN105847142A (en) * 2016-03-22 2016-08-10 华为技术有限公司 Message transmission method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
潘楠等: "基于OSPF协议的网络拓扑发现算法", 《计算机工程与设计》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020093958A1 (en) * 2018-11-08 2020-05-14 华为技术有限公司 Route processing method, apparatus, and device
CN111835635A (en) * 2019-04-18 2020-10-27 华为技术有限公司 Method, equipment and system for publishing route in BGP network
CN111835635B (en) * 2019-04-18 2021-12-14 华为技术有限公司 Method, equipment and system for publishing route in BGP network

Also Published As

Publication number Publication date
WO2018028592A1 (en) 2018-02-15
CN107733801B (en) 2021-01-29

Similar Documents

Publication Publication Date Title
US9736278B1 (en) Method and apparatus for connecting a gateway router to a set of scalable virtual IP network appliances in overlay networks
CN104243302B (en) Business route message processing method, device and network system
CN100472487C (en) Virtual broadcast network for inter-domain communications
US9614759B2 (en) Systems and methods for providing anycast MAC addressing in an information handling system
EP2912812B1 (en) Traffic interconnection between virtual devices
CN102571587B (en) Method and equipment for forwarding messages
CN104246700A (en) System and method for routing traffic between distinct infiniband subnets based on fat-tree routing
CN103477588A (en) Method and system for classification and management of inter-blade network traffic in a blade server
WO2021000848A1 (en) Packet forwarding method and packet processing method and apparatus
CN104717081A (en) Gateway function realization method and device
CN107579898B (en) Method and device for interconnection communication among multiple containers
CN106059946A (en) Message forwarding method and message forwarding device
CN104618243A (en) Routing method, device and system, and gateway scheduling method and device
CN104852846B (en) A kind of data forwarding controlling method and system
CN102891903B (en) A kind of NAT method and equipment
CN104980373A (en) Control server, control server application system and control server application method
US20220360526A1 (en) Routing information publishing method, apparatus, and system
CN106130911B (en) Forward the cloud computing center network architecture of the organized structure of ridge interchanger of flow table Slice
CN107733801A (en) Receive and send the method and apparatus of message
CN114640627A (en) Message forwarding method and device, nonvolatile storage medium and processor
CN104935509A (en) Method and apparatus of avoiding loop generation in vertical stack system
CN102316085B (en) Communication method and system for stream control transmission protocol (SCTP) couple
CN108259205A (en) A kind of route issuing method and the network equipment
CN103460675B (en) Cluster and retransmission method
CN104618524B (en) MAC address learning method and device

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