CN109040160A - Sign acquiring method and device - Google Patents

Sign acquiring method and device Download PDF

Info

Publication number
CN109040160A
CN109040160A CN201710438615.6A CN201710438615A CN109040160A CN 109040160 A CN109040160 A CN 109040160A CN 201710438615 A CN201710438615 A CN 201710438615A CN 109040160 A CN109040160 A CN 109040160A
Authority
CN
China
Prior art keywords
vtep
mark
vni
mac address
message
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.)
Pending
Application number
CN201710438615.6A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201710438615.6A priority Critical patent/CN109040160A/en
Publication of CN109040160A publication Critical patent/CN109040160A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Abstract

The present invention provides a kind of sign acquiring method and devices, this method comprises: receiving the request message for the mark for the 2nd VTEP of request that the first virtual extended local area network tunneling termination VTEP is sent, wherein, request message carries the corresponding MAC address of the 2nd VTEP and the corresponding virtual extended local net network mark VNI of the 2nd VTEP;The mark of the 2nd VTEP is inquired in local cache pool according to MAC Address and VNI, wherein the mark of the 2nd VTEP, the mapping relations of the 2nd VTEP corresponding MAC Address and the corresponding VNI three of the 2nd VTEP are stored in cache pool;The mark of the 2nd VTEP is sent to the corresponding all VTEP of VNI.Through the invention, solve in the related technology ARP flood by way of obtain the information of opposite end VTEP and need to transmit a large amount of network packet, lead to network congestion problem.

Description

Sign acquiring method and device
Technical field
The present invention relates to the communications fields, in particular to a kind of sign acquiring method and device.
Background technique
Cloud computing can provide available, convenient, on-demand resource, become the conventional shape of current enterprise information technology IT construction State.It calculates virtualization and Storage Virtualization has been achieved with tremendous development, but network virtualization is always the virtualization of cloud service resources Short slab.Cloud computing and virtualization have empty machine quantity big and big two layers of the characteristic of network.
Network is two layers big: after virtual machine starting, since (such as central processor CPU is excessively high, memory for server resource problem Not enough etc.) or be green energy conservation etc. demand, virtual machine needs to move on new server.In order to realize virtual Business in machine transition process is not interrupted, the agreement (Internet for needing to guarantee to interconnect between the network of virtual machine Protocol, referred to as IP) parameters such as address, the address media access control (Media Access Control, referred to as MAC) It remains unchanged, this requires the migrations of virtual machine to carry out in the same double layer network.
Traditional virtual local area network (Virtual Local Area Network, referred to as VLAN) technology is difficult to adapt to advise greatly Mould tenant deployment.802.1Q agreement of traditional vlan technology based on IEEE, defines VLAN inside the frame format of the agreement The digit of ID is 12 bits, it can only at most support 4094 VLAN as much as to say.By taking cloud computing service provider Amazon as an example, It provides IT infrastructure service for global 190 national clients, there are many user rent virtual machine instance, data center A VLAN up to ten thousand are needed, 802.1Q agreement is not obviously able to satisfy the demand of this extension to the quantity of vlan technology.
Virtual machine dimension-limited is in the specification of the network equipment.Two layers of network environment needs interchanger study virtual machine Mac address information, and the MAC Address list item specification of interchanger especially access switch is smaller, constrains the quantity of virtual machine.
Virtual extended local area network (Virtual eXtensible Local Area Network, referred to as VXLAN) is A kind of tunneling technique can establish two layers of ethernet network tunnel on the basis of three-layer network.Its basic idea is on basis In the case that network without changing on a large scale, new service application is carried on its original base network.Using " MAC in Two-layer virtual private network (Virtual Private Network, referred to as VPN) technology of UDP " packing forms.VXLAN is only One mark (VXLAN Network Identifier, referred to as VNI),.
VXLAN tunneling termination (VXLAN Tunnel End Point, referred to as VTEP) is setting of directly connecting with terminal It is standby, it is responsible for the VXLAN encapsulation and decapsulation of original Ethernet message.VTEP is connected with physical network, is assigned the IP of physical network Address, the address are unrelated with virtual network.One tunnel VXLAN can be associated with multiple VXLAN, and a VXLAN can be associated with more The tunnel VXLAN.
VXLAN gateway, in order to allow between VXLAN virtual network and virtual network and physical network between be able to carry out it is logical Letter, VXLAN standard define a VXLAN gateway entity.The mutual of VXLAN and non-VXLAN network may be implemented by this gateway It is logical.
When VXLAN forwards unicast traffic in website, the VXLAN information directly inquired on the VTEP of local be can be realized in station Forwarding, and when VXLAN forwards unicast traffic between website, it must be understood that the VTEP information where the MAC Address of opposite end walks that A tunnel, this relates to how to know the VTEP information for containing outside website and having identical VNI with the VTEP of transmitting terminal, existing specification With the mode to flood in technology usually using address resolution protocol (Address Resolution Protocol, referred to as ARP) It obtains.And VXLAN floods, and generallys use that singlecast router mode, Multicast Routing mode, (server is multiple for the agent way that floods System).The problems such as these modes have inevitably resulted in a large amount of network packet transmission, lead to network congestion, low efficiency, and on The mode of stating lacks unified centralized control and statistics, and cannot play very well after SDN has most apparatus logics in data center Advantage.
Summary of the invention
The embodiment of the invention provides a kind of sign acquiring method and device, at least solve to pass through in the related technology The information that the mode that ARP floods obtains opposite end VTEP needs to transmit a large amount of network packet, leads to network congestion problem.
According to one embodiment of present invention, a kind of sign acquiring method is provided, comprising: receive the first virtual extended office The request message for the mark for the 2nd VTEP of request that domain net tunneling termination VTEP is sent, wherein the request message Carry the corresponding MAC address of the 2nd VTEP and the corresponding virtual extended local of the 2nd VTEP Net network identity VNI;The mark of the 2nd VTEP is inquired in local cache pool according to the MAC Address and the VNI, Wherein, it is stored with the mark of the 2nd VTEP in the cache pool, the corresponding MAC Address of the 2nd VTEP and described second The mapping relations of the corresponding VNI three of VTEP;The mark of the 2nd VTEP is sent to the corresponding all VTEP of the VNI.
Optionally, before sending the mark of the 2nd VTEP to the corresponding all VTEP of the VNI, further includes: Do not inquire the MAC Address in first predetermined time in the cache pool;The is sent to the corresponding all VTEP of the VNI One message, wherein the first message is used to indicate and does not inquire the MAC Address in the cache pool, and described first Instruction information is carried in message, the instruction information is used to indicate the VTEP that the corresponding VTEP of the MAC Address reports itself Mark, the mapping relations of MAC Address and VNI three.
Optionally, sending the 2nd VTEP mark to the corresponding all VTEP of the VNI includes at least one of: logical The mode for crossing Web broadcast sends the 2nd VTEP mark to the corresponding all VTEP of the VNI;By leading between software process The mode of news sends the 2nd VTEP mark to the corresponding all VTEP of the VNI.
Optionally, after sending the mark of the 2nd VTEP to the corresponding all VTEP of the VNI, further includes: connect The mark of the first VTEP after receiving the variation that the first VTEP is sent, the corresponding MAC Address of the first VTEP and described the The mapping relations of the three of the corresponding VNI of one VTEP;The cache pool is updated according to the mapping relations after the variation.
According to another embodiment of the invention, a kind of sign acquiring method is provided, comprising: send to book server The request message of mark for the 2nd VTEP of request, wherein it is corresponding that the request message carries the 2nd VTEP MAC address and the corresponding virtual extended local net network of the 2nd VTEP identify VNI;Described in reception Book server responds the response message of the request message, wherein the response message is carried in the book server The mark of the 2nd VTEP inquired in local cache pool is stored with the mark of the 2nd VTEP, institute in the cache pool State the mapping relations of the corresponding MAC Address of the 2nd VTEP and the corresponding VNI three of the 2nd VTEP;According to the response message Obtain the mark of the 2nd VTEP.
Optionally, after receiving the book server and responding the response message of the request message, further includes: Data are sent to the 2nd VTEP according to the mark of the 2nd VTEP.
Optionally, before receiving the book server and responding the response message of the request message, further includes: It does not receive the book server within second scheduled time and responds the response message of the request message, or receive described The first message that book server is sent, wherein the first message be used to indicate do not inquired in the cache pool it is described MAC Address;The mark of the 2nd VTEP is obtained in such a way that Address Resolution Protocol ARP floods.
Optionally, the request message packet of the mark for the 2nd VTEP described in request is sent to the book server It includes: retrieving the MAC Address of local cache;In the case where not retrieving the corresponding MAC Address of the 2nd VTEP, to described pre- Determine the request message for the mark that server is sent for the 2nd VTEP described in request.
Optionally, after sending the data to the 2nd VTEP according to the mark of the 2nd VTEP, further includes: Detect the VTEP mark of itself, itself the VTEP identifies corresponding MAC Address and itself the VTEP mark corresponds to The mapping relations of VNI three change;Mapping relations after variation are sent to the book server.
According to still another embodiment of the invention, a kind of mark acquisition device is provided, comprising: receiving module, for connecing The request message of the mark for the 2nd VTEP of request of the first virtual extended local area network tunneling termination VTEP transmission is received, In, the request message carries the corresponding MAC address of the 2nd VTEP and the described 2nd VTEP pairs The virtual extended local net network mark VNI answered;Enquiry module, for being delayed according to the MAC Address and the VNI in local Deposit the mark that the 2nd VTEP is inquired in pond, wherein it is stored with the mark of the 2nd VTEP in the cache pool, described The mapping relations of the corresponding MAC Address of two VTEP and the corresponding VNI three of the 2nd VTEP;Sending module is used for described The corresponding all VTEP of VNI send the mark of the 2nd VTEP.
Optionally, the enquiry module is also used within the first predetermined time not inquire in the cache pool described MAC Address;And first message is sent to the corresponding all VTEP of the VNI, wherein the first message, which is used to indicate, not to exist The MAC Address is inquired in the cache pool, and carries instruction information in the first message, and the instruction information is used for Indicate that the corresponding VTEP of the MAC Address reports the VTEP of itself to identify, the mapping relations of MAC Address and VNI three.
Optionally, the sending module is also used to sending the 2nd VTEP's to the corresponding all VTEP of the VNI After mark, the mark of the first VTEP after receiving the variation that the first VTEP is sent, the corresponding MAC of the first VTEP The mapping relations of the three of location and the corresponding VNI of the first VTEP;It is updated according to the mapping relations after the variation described slow Deposit pond.
According to still another embodiment of the invention, provide a kind of mark acquisition device, comprising: sending module, for Book server sends the request message of the mark for the 2nd VTEP of request, wherein the request message carries State the corresponding MAC address of the 2nd VTEP and the corresponding virtual extended local net network mark of the 2nd VTEP Know VNI;Receiving module responds the response message of the request message for receiving the book server, wherein the response Message carries the mark of the 2nd VTEP inquired in the cache pool of the book server local, deposits in the cache pool Contain the mark of the 2nd VTEP, the corresponding MAC Address of the 2nd VTEP and the corresponding VNI three's of the 2nd VTEP Mapping relations;Module is obtained, for obtaining the mark of the 2nd VTEP according to the response message.
Optionally, the receiving module is also used to respond described in the request message in the reception book server Before response message, the response message that the book server responds the request message is not received within second scheduled time, Or receive the first message that the book server is sent, wherein the first message is used to indicate not in the caching The MAC Address is inquired in pond;The mark of the 2nd VTEP is obtained in such a way that Address Resolution Protocol ARP floods.
Optionally, the sending module is also used to retrieve the MAC Address of local cache;Described second is not being retrieved In the case where the corresponding MAC Address of VTEP, the mark for the 2nd VTEP described in request is sent to the book server Request message.
Optionally, the sending module, be also used to detect itself VTEP mark, it is described itself VTEP identify correspond to MAC Address and itself the VTEP identify the mapping relations of corresponding VNI three and change;Mapping after variation is closed System is sent to the book server.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, the storage medium includes storage Program, wherein described program executes method described in any of the above embodiments when running.
According to still another embodiment of the invention, a kind of processor is additionally provided, the processor is used to run program, In, described program executes method described in any of the above embodiments when running.
Through the invention, receive the first virtual extended local area network tunneling termination VTEP transmission is used for request second The request message of the mark of VTEP, wherein request message carry the corresponding MAC address of the 2nd VTEP and The corresponding virtual extended local net network of 2nd VTEP identifies VNI;It is inquired in local cache pool according to MAC Address and VNI The mark of 2nd VTEP, wherein the mark of the 2nd VTEP, the corresponding MAC Address of the 2nd VTEP and second are stored in cache pool The mapping relations of the corresponding VNI three of VTEP;The mark of the 2nd VTEP is sent to the corresponding all VTEP of VNI.Due to by VTEP Mark, the mapping relations of MAC Address and VNI three are centrally stored into cache pool, so that wanting to obtain pair in the first VTEP When holding the 2nd VTEP information, request directly is initiated to the server where the cache pool, is no longer needed to through a large amount of network Packet is to obtain the 2nd VTEP information.Therefore, can solve in the related technology ARP flood by way of obtain opposite end VTEP's Information needs to transmit a large amount of network packet, leads to network congestion problem, achievees the effect that improve opposite end VTEP information acquisition efficiency.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware block diagram of the mobile terminal of sign acquiring method of the embodiment of the present invention;
Fig. 2 is the flow chart one of sign acquiring method according to an embodiment of the present invention;
Fig. 3 is VTEP information server structural schematic diagram according to an embodiment of the present invention;
Fig. 4 is the flowchart 2 of sign acquiring method according to an embodiment of the present invention;
Fig. 5 is the corresponding equipment flowsheet schematic diagram of the outer MAC Address of VTEP immediate addressing website according to an embodiment of the present invention One;
Fig. 6 is the corresponding equipment flowsheet schematic diagram of the outer MAC Address of VTEP immediate addressing website according to an embodiment of the present invention Two;
Fig. 7 is the corresponding equipment flowsheet schematic diagram of the outer MAC Address of VTEP immediate addressing website according to an embodiment of the present invention Three;
Fig. 8 is the message flow that VTEP according to an embodiment of the present invention receives the searching MAC that the broadcast of VTEP information server comes Journey schematic diagram;
Fig. 9 is that VTEP according to an embodiment of the present invention has found flow diagram when internal VNI or MAC change
Show when Figure 10 is VTEP according to an embodiment of the present invention starting to the process of information server registration and register information It is intended to;
Figure 11 is the structural block diagram one of mark acquisition device according to an embodiment of the present invention;
Figure 12 is the structural block diagram two of mark acquisition device according to an embodiment of the present invention.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflicting In the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Embodiment 1
Embodiment of the method provided by the embodiment of the present application one can be in mobile terminal, terminal or similar fortune It calculates and is executed in device.For running on mobile terminals, Fig. 1 is a kind of movement of sign acquiring method of the embodiment of the present invention The hardware block diagram of terminal.As shown in Figure 1, mobile terminal 10 may include one or more (only showing one in figure) processing Device 102 (processing unit that processor 102 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.), Memory 104 for storing data and the transmitting device 106 for communication function.Those of ordinary skill in the art can be with Understand, structure shown in FIG. 1 is only to illustrate, and does not cause to limit to the structure of above-mentioned electronic device.For example, mobile terminal 10 It may also include than shown in Fig. 1 more perhaps less component or with the configuration different from shown in Fig. 1.
Memory 104 can be used for storing the software program and module of application software, such as the mark in the embodiment of the present invention Corresponding program instruction/the module of acquisition methods, processor 102 by the software program that is stored in memory 104 of operation and Module realizes above-mentioned method thereby executing various function application and data processing.Memory 104 may include high speed with Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 104 can further comprise depositing relative to processor 102 is remotely located Reservoir, these remote memories can pass through network connection to mobile terminal 10.The example of above-mentioned network is including but not limited to mutual Networking, intranet, local area network, mobile radio communication and combinations thereof.
Transmitting device 106 is used to that data to be received or sent via a network.Above-mentioned network specific example may include The wireless network that the communication providers of mobile terminal 10 provide.In an example, transmitting device 106 includes a Network adaptation Device (Network Interface Controller, NIC), can be connected by base station with other network equipments so as to it is mutual Networking is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, use In wirelessly being communicated with internet.
A kind of sign acquiring method for running on above-mentioned mobile terminal is provided in the present embodiment, and Fig. 2 is according to this hair The flow chart one of the sign acquiring method of bright embodiment, as shown in Fig. 2, the process includes the following steps:
Step S202, receive the first virtual extended local area network tunneling termination VTEP transmission is used for the 2nd VTEP of request Mark request message, wherein request message carries the corresponding MAC address of the 2nd VTEP and second The corresponding virtual extended local net network of VTEP identifies VNI;
Step S204 inquires the mark of the 2nd VTEP according to MAC Address and VNI, wherein caching in local cache pool The mark of the 2nd VTEP is stored in pond, the mapping of the corresponding MAC Address of the 2nd VTEP and the corresponding VNI three of the 2nd VTEP are closed System;
Step S206 sends the mark of the 2nd VTEP to the corresponding all VTEP of VNI.
Through the above steps, since by the mark of VTEP, the mapping relations of MAC Address and VNI three are centrally stored to slow It deposits in pond, so that when the first VTEP wants to obtain the 2nd VTEP information of opposite end, directly to the server hair where the cache pool Request is played, no longer needs to obtain the 2nd VTEP information by a large amount of network packet.Therefore, it can solve and lead in the related technology The information that the mode that the ARP crossed floods obtains opposite end VTEP needs to transmit a large amount of network packet, leads to network congestion problem, reaches Improve the effect of opposite end VTEP information acquisition efficiency.
Herein it should be noted that can only be communicated between the identical VTEP of VNI, therefore, the first VTEP and second The VNI of VTEP be it is identical, when sending message to the corresponding VTEP of the corresponding VNI of the 2nd VTEP, the first VTEP also be can receive To the message.
Optionally, before all VTEPs corresponding to VNI send the mark of the 2nd VTEP, further includes: predetermined first Do not inquire MAC Address in time in cache pool;First message is sent to the corresponding all VTEP of VNI, wherein first message It is used to indicate and does not inquire MAC Address in cache pool, and carry instruction information in first message, instruction information is used to indicate The corresponding VTEP of MAC Address reports the VTEP of itself to identify, the mapping relations of MAC Address and VNI three.
Optionally, sending the 2nd VTEP mark to the corresponding all VTEP of VNI includes at least one of: wide by network The mode broadcast sends the 2nd VTEP mark to the corresponding all VTEP of VNI;It is corresponding to VNI by way of being communicated between software process All VTEP send the 2nd VTEP mark.
Optionally, after all VTEPs corresponding to VNI send the mark of the 2nd VTEP, further includes: receive first The mark of the first VTEP after the variation that VTEP is sent, the three of the corresponding MAC Address of the first VTEP and the corresponding VNI of the first VTEP The mapping relations of person;Cache pool is updated according to the mapping relations after variation.
Optionally, the executing subject of above-mentioned steps can for base station, terminal etc., but not limited to this.For example, can be set one A VTEP information server for being exclusively used in executing the above method, Fig. 3 is VTEP information server knot according to an embodiment of the present invention Structure schematic diagram, as shown in figure 3, the VTEP information server may include following component part:
MAC/VNI/VTEP cache pool 301: being responsible for the table for keeping portion MAC/VNI/VTEP mutually to map, can be rapidly The VTEP and VNI where it are inquired according to MAC, can be according to the MAC that VNI quick search the is included and VTEP being related to, it can Rapidly to inquire the VNI and MAC that it is included according to VTEP.
VTEP information reporting receiver 302: it is responsible for receiving the change message offered on each VTEP.
VTEP information broadcaster 303: it is responsible for each VTEP broadcast, multicast, unicast change message.
Quick-searching processor 304: the request for being responsible for being sent according to VTEP is quickly examined from MAC/VNI/VTEP cache pool Rope goes out the information needed.
MAC/VNI/VTEP cache pool, VTEP information reporting receiver, VTEP information broadcaster, quick-searching processor are total With composition VTEP information server, this server includes but is not limited to operate in the independent network equipment, webmastering software system etc. In, while VTEP information server can exist with independent software system, also can integrate in other systems with modular form In the presence of.
A kind of sign acquiring method for running on above-mentioned mobile terminal is additionally provided in the present embodiment, and Fig. 4 is according to this The flowchart 2 of the sign acquiring method of inventive embodiments, as shown in figure 4, the process includes the following steps:
Step S402 sends the request message of the mark for the 2nd VTEP of request to book server, wherein ask Message is asked to carry the corresponding MAC address of the 2nd VTEP and the corresponding virtual extended local area network of the 2nd VTEP Network identity VNI;
Step S404 receives the response message of book server response request message, wherein response message is carried pre- Determine the mark of the 2nd VTEP inquired in the cache pool of server local, the mark of the 2nd VTEP is stored in cache pool, the The mapping relations of the corresponding MAC Address of two VTEP and the corresponding VNI three of the 2nd VTEP;
Step S406, message obtains the mark of the 2nd VTEP according to response.
Optionally, after the response message for receiving book server response request message, further includes: according to the 2nd VTEP Mark to the 2nd VTEP send data.
Optionally, before the response message for receiving book server response request message, further includes: in the second pre- timing It is interior not receive the response message of book server response request message, or receive the first of book server transmission and disappear Breath, wherein first message is used to indicate does not inquire MAC Address in cache pool;The side to be flooded by Address Resolution Protocol ARP Formula obtains the mark of the 2nd VTEP.
It optionally, include: retrieval to the request message that book server sends the mark for the 2nd VTEP of request The MAC Address of local cache;In the case where not retrieving the corresponding MAC Address of the 2nd VTEP, sends and use to book server In the request message of the mark of the 2nd VTEP of request.
Optionally, after sending data to the 2nd VTEP according to the mark of the 2nd VTEP, further includes: detect itself VTEP mark, the VTEP of itself identifies corresponding MAC Address and the VTEP of itself identifies the mapping relations hair of corresponding VNI three Changing;Mapping relations after variation are sent to book server.
In order to facilitate each embodiment for understanding above-mentioned appearance, below with reference to VTEP information server pair as shown in Figure 3 Above-mentioned sign acquiring method is described in detail, and this method may include steps of:
Step A, VTEP retrieves local mac and VNI caching, and if so, exiting subsequent step directly according in caching MAC, VNI obtain corresponding opposite end VTEP information, and data to be sent are sent to opposite end;If there is no then walking step B;
MAC that step B, VTEP will be addressed and the VNI information that will be addressed are sent in above-mentioned VTEP information server Quick-searching processor;
Step C, quick-searching processor retrieve opposite end VTEP information from MAC/VNI/VTEP cache pool;If retrieved The MAC Address received is stated, then MAC/VNI/VTEP information is transmitted to by the VTEP information broadcaster in VTEP information server Each contains the VTEP of this VNI;Equipment obtains corresponding opposite end VTEP according to MAC, VNI in the broadcast message received and believes Breath, and data are sent to opposite end, terminate this process;If not retrieving the above-mentioned MAC Address received, step D is gone to;
VTEP information broadcaster in step D, VTEP information server broadcasts this MAC Address to all VTEP, informs this MAC is not registered in information server, and the VTEP with this MAC Address is allowed to report information to VTEP information server;
Step E, the VTEP for sending MAC the and VNI information that will be addressed receive this unregistered MAC of VTEP server sending After the message of information, VTEP addressing is initiated to obtain opposite end VTEP information by traditional flooding mode, and then according to getting Opposite end VTEP information to opposite end send, terminate this process.
It should be noted that the VTEP information broadcaster in above-mentioned VTEP information server passes MAC/VNI/VTEP information The mode for being delivered to each VTEP containing the above-mentioned VNI that will be addressed includes but is not limited to: mode 1:VTEP information server Using Web broadcast mode to all VTEP broadcast containing this VNI;Mode 2: in cloud service SDN environment, all VTEP can When can all be soft entity, VTEP information server be using communication modes between software process to containing the above-mentioned VNI that will be addressed All VTEP transmitting.
VTEP information in the cache pool of above-mentioned VTEP information server can from each VTEP active reporting, for example, It may comprise steps of:
Step A, when VTEP updates self-information, it is found that when the MAC/VNI/VTEP in website changes, by MAC/ VNI/VTEP corresponding relationship is sent to the VTEP information reporting receiver in VTEP information server;
Step B, VTEP information reporting receiver is by received information preservation to MAC/VNI/VTEP cache pool.
VTEP information server is not described in above-mentioned steps to be under abnormal or network failure situation, equipment can not be with VTEP information server establishes effective channel, in this case equipment can with time-out mode be identified, discovery from VTEP information server obtains information time-out, is just directly transferred to the process that VTEP is addressed using the mode of tradition flooding, so both The high efficiency of VTEP information server can be possessed, various abnormal conditions can also occur to business to avoid VTEP information server The destruction of robustness.
The network packet in tunnel between VTEP lacking as far as possible is established in the network that above-described embodiment makes, and is improved target-seeking outside website Efficiency, and in SDN environment give full play to apparatus logic, data concentrate on the advantage of data center, as the technology of SDN is sent out Exhibition, it is more to can solve network packet when addressing outside website through the foregoing embodiment, low efficiency, there are network malicious attack risk, this Three problems.
Branch scape is illustrated above-described embodiment below.
Scene 1:VTEP information server is available and the target-seeking MAC Address of institute has been registered in delaying for VTEP information server In the case where depositing pond, the corresponding equipment alternative embodiment of the outer MAC Address of VTEP immediate addressing website.Fig. 5 is real according to the present invention The corresponding equipment flowsheet schematic diagram one of the outer MAC Address of VTEP immediate addressing website of example is applied, the process is including but not limited to as follows Concrete implementation mode:
Step S1, VTEP retrieve local mac and VNI caching;
Step S2, D1=judgement are local either with or without there is the MAC information that is retrieved, if there is then skip step S3, S4, S5, S6 is directly entered step S7, otherwise continues step S3;
MAC the and VNI information that step S3, VTEP will be addressed is sent to the processing of the quick-searching in VTEP information server Device;
Step S4, quick-searching processor retrieve opposite end from MAC/VNI/VTEP cache pool according to MAC and VNI information VTEP information;
MAC/VNI/VTEP information is transmitted to containing upper by the VTEP information broadcaster in step S5, VTEP information server State each VTEP of addressing VNI;
Step S6 acquires VTEP information where MAC;
Step S7 is sent according to the VTEP information to opposite end.
Scene 2:VTEP information server is available and sought MAC is not registered in the feelings of cache pool in VTEP information server Under condition, the corresponding equipment alternative embodiment of the outer MAC Address of VTEP immediate addressing website.Wherein, above-mentioned unregistered reason may It is that VTEP is not registered to VTEP information server where MAC.Fig. 6 is outside VTEP immediate addressing website according to an embodiment of the present invention The corresponding equipment flowsheet schematic diagram two of MAC Address, the process include but is not limited to following concrete implementation mode:
Step S1, VTEP retrieve local mac and VNI caching;It is local that there is no the MAC information that is retrieved;
MAC the and VNI information that step S2, VTEP will be addressed is sent to the processing of the quick-searching in VTEP information server Device;
Step S3, quick-searching processor retrieve opposite end VTEP from MAC/VNI/VTEP cache pool according to MAC and VNI information Information;MAC information is not retrieved;
VTEP information broadcaster in step S4, VTEP information server broadcasts this MAC Address to all VTEP, informs this MAC is not registered in information server, and the VTEP with this MAC Address is allowed to report information to VTEP information server;
Step S5 passes through traditional flooding after equipment receives the message of this unregistered MAC information of VTEP server sending Mode initiates VTEP addressing;
Step S6 acquires VTEP information where MAC;
Step S7 is sent according to the VTEP information to opposite end.
The corresponding equipment of the outer MAC Address of VTEP immediate addressing website can in the unavailable situation of scene 3:VTEP information server Select embodiment.Fig. 7 is the corresponding equipment flowsheet schematic diagram of the outer MAC Address of VTEP immediate addressing website according to an embodiment of the present invention Three, which includes but is not limited to following concrete implementation mode:
Step S1, VTEP retrieve local mac and VNI caching;It is local that there is no the MAC information that is retrieved;
MAC the and VNI information that step S2, VTEP will be addressed is sent to the processing of the quick-searching in VTEP information server Device, while starting timer.With the failure of VTEP information server link setup or acquisition return information time-out;
Step S3, equipment are initiated VTEP by traditional flooding mode and are addressed;
Step S4 acquires VTEP information where MAC;
Step S5 is sent according to the VTEP information to opposite end.
Scene 4:VTEP receives the alternative embodiment of the message for the addressing MAC that the broadcast of VTEP information server comes.Fig. 8 is root The message flow schematic diagram for the searching MAC that the broadcast of VTEP information server comes, the process are received according to the VTEP of the embodiment of the present invention Including but not limited to following concrete implementation mode:
Step S1, VTEP receive the message for finding MAC that the broadcast of VTEP information server comes, it is found that the MAC Address is corresponding Be this VTEP administration in the range of host, then carry out step 2, otherwise directly terminate this process;
VNI/MAC/VTEP relevant information is sent to VTEP information server by step S2, VTEP;
Step S3, VTEP information server updates MAC/VNI/VTEP cache pool.
Scene 5:VTEP has found alternative embodiment when internal VNI or MAC changes.Fig. 9 is to implement according to the present invention The VTEP of example has found flow diagram when internal VNI or MAC change, which includes but is not limited to following specific Implementation:
Step S1, VTEP have found that internal VNI or MAC changes;
The VNI/MAC/VTEP relevant information of variation is sent to VTEP information server by step S2, VTEP;
Step S3, VTEP information server is by the information update MAC/VNI/VTEP cache pool of variation.
To the alternative embodiment of information server registration and register information when scene 6:VTEP starts.Figure 10 is according to this hair To the flow diagram of information server registration and register information when the VTEP starting of bright embodiment, which includes but is not limited to Following concrete implementation mode:
Step S1, VTEP starting;
The VNI/MAC/VTEP relevant information of itself is sent to VTEP information server by step S2, VTEP;
Step S3, VTEP information server is by information update MAC/VNI/VTEP cache pool.
In the related technology, VXLAN information when VXLAN forwards unicast traffic in website, on directly inquiry local VTEP The forwarding in station can be realized, and when VXLAN forward unicast traffic between website, it must be understood that the VTEP where the MAC of opposite end believes Which tunnel breath, that is, walk, this relates to how to establish website outer tunnel information, obtains usually using the mode that ARP floods.And VXLAN's floods, and generallys use singlecast router mode, Multicast Routing mode, the agent way that floods (server replicates).These sides Formula has inevitably resulted in a large amount of network packet, and not only feedback cycle is long, and causes a large amount of useless VTEP processing consumption. At SDN and background with cloud computing, a large number of services of VTEP will be run on software entity and server, and the present invention utilizes The information of VTEP is highly concentrated in VTEP information server by the characteristic of SDN, for all VTEP service, reduces network packet number Amount improves Addressing efficiency, and the concentration of height brings Internet resources statistics, subsequent a variety of improved possibility of optimization.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Embodiment 2
A kind of mark acquisition device is additionally provided in the present embodiment, and the device is real for realizing above-described embodiment and preferably Mode is applied, the descriptions that have already been made will not be repeated.As used below, the soft of predetermined function may be implemented in term " module " The combination of part and/or hardware.Although device described in following embodiment is preferably realized with software, hardware, or The realization of the combination of software and hardware is also that may and be contemplated.
Figure 11 is the structural block diagram one of mark acquisition device according to an embodiment of the present invention, as shown in figure 11, the device packet It includes:
Receiving module 112, for receive the first virtual extended local area network tunneling termination VTEP transmission for request The request message of the mark of 2nd VTEP, wherein request message carries the corresponding MAC address of the 2nd VTEP And the 2nd the corresponding virtual extended local net network of VTEP identify VNI;
Enquiry module 114 is connected to above-mentioned receiving module 112, for according to MAC Address and VNI in local cache pool The mark of the 2nd VTEP of middle inquiry, wherein the mark of the 2nd VTEP, the corresponding MAC Address of the 2nd VTEP are stored in cache pool The mapping relations of VNI three corresponding with the 2nd VTEP;
Sending module 116 is connected to above-mentioned enquiry module 114, for sending the 2nd VTEP to the corresponding all VTEP of VNI Mark.
Optionally, enquiry module 114 are also used to not inquire MAC Address in cache pool within the first predetermined time;With And first message is sent to the corresponding all VTEP of VNI, wherein first message is used to indicate does not inquire MAC in cache pool Address, and instruction information is carried in first message, instruction information is used to indicate the corresponding VTEP of MAC Address and reports itself VTEP mark, the mapping relations of MAC Address and VNI three.
Optionally, sending module 112 are also used to after all VTEPs corresponding to VNI send the mark of the 2nd VTEP, The mark of the first VTEP after receiving the variation of the first VTEP transmission, the corresponding MAC Address of the first VTEP and the first VTEP are corresponding VNI three mapping relations;Cache pool is updated according to the mapping relations after variation.
Figure 12 is the structural block diagram two of mark acquisition device according to an embodiment of the present invention, as shown in figure 12, the device packet It includes:
Sending module 122, for sending the request message of the mark for the 2nd VTEP of request to book server, Wherein, request message carries the corresponding MAC address of the 2nd VTEP and the corresponding virtual expansion of the 2nd VTEP It opens up local net network and identifies VNI;
Receiving module 124 is connected to above-mentioned sending module 122, for receiving the sound of book server response request message Answer message, wherein response message carries the mark of the 2nd VTEP inquired in the cache pool of book server local, delays Deposit the mark that the 2nd VTEP is stored in pond, the mapping of the 2nd VTEP corresponding MAC Address and the corresponding VNI three of the 2nd VTEP Relationship;
Module 126 is obtained, above-mentioned receiving module 124 is connected to, the mark of the 2nd VTEP is obtained for message according to response Know.
Optionally, receiving module 124 are also used to before the response message for receiving book server response request message, It does not receive the response message of book server response request message within second scheduled time, or receives book server hair The first message sent, wherein first message is used to indicate does not inquire MAC Address in cache pool;Pass through address resolution protocol The mode that ARP floods obtains the mark of the 2nd VTEP.
Optionally, sending module 122 are also used to retrieve the MAC Address of local cache;It is corresponding not retrieving the 2nd VTEP MAC Address in the case where, to book server send for the 2nd VTEP of request mark request message.
Optionally, sending module 122, are also used to detect the VTEP mark of itself, and the VTEP of itself identifies corresponding MAC The mapping relations that address and the VTEP of itself identify corresponding VNI three change;Mapping relations after variation are sent to Book server.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any Combined form is located in different processors.
Embodiment 3
The embodiments of the present invention also provide a kind of storage medium, which includes the program of storage, wherein above-mentioned Program executes method described in any of the above embodiments when running.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code:
S1 receives the mark for the 2nd VTEP of request that the first virtual extended local area network tunneling termination VTEP is sent Request message, wherein request message carries the corresponding MAC address of the 2nd VTEP and the 2nd VTEP pairs The virtual extended local net network mark VNI answered;
S2 inquires the mark of the 2nd VTEP according to MAC Address and VNI, wherein deposit in cache pool in local cache pool Contain the mark of the 2nd VTEP, the mapping relations of the 2nd VTEP corresponding MAC Address and the corresponding VNI three of the 2nd VTEP;
S3 sends the mark of the 2nd VTEP to the corresponding all VTEP of VNI.
Optionally, storage medium is also configured to store the program code for executing following steps: corresponding to VNI All VTEP are sent before the mark of the 2nd VTEP, further includes:
S1 does not inquire MAC Address within the first predetermined time in cache pool;
S2 sends first message to the corresponding all VTEP of VNI, wherein first message is used to indicate not in cache pool MAC Address is inquired, and carries instruction information in first message, instruction information is used to indicate on the corresponding VTEP of MAC Address The VTEP of itself is reported to identify, the mapping relations of MAC Address and VNI three.
Optionally, storage medium is also configured to store the program code for executing following steps: to the corresponding institute of VNI Having VTEP to send the 2nd VTEP mark includes at least one of:
S1 sends the 2nd VTEP mark to the corresponding all VTEP of VNI by way of Web broadcast;
S2 sends the 2nd VTEP mark to the corresponding all VTEP of VNI by way of communicating between software process.
Optionally, storage medium is also configured to store the program code for executing following steps: corresponding to VNI All VTEP are sent after the mark of the 2nd VTEP, further includes:
S1, the mark of the first VTEP after receiving the variation that the first VTEP is sent, the corresponding MAC Address of the first VTEP and the The mapping relations of the three of the corresponding VNI of one VTEP;
S2 updates cache pool according to the mapping relations after variation.
The embodiments of the present invention also provide a kind of storage medium, which includes the program of storage, wherein above-mentioned Program executes method described in any of the above embodiments when running.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code:
S1 sends the request message of the mark for the 2nd VTEP of request to book server, wherein request message It carries the corresponding MAC address of the second virtual extended local area network tunneling termination VTEP and the 2nd VTEP is corresponding Virtual extended local net network identify VNI;
S2 receives the response message of book server response request message, wherein response message is carried in reservation service The mark of the 2nd VTEP inquired in the cache pool of device local is stored with the mark of the 2nd VTEP, the 2nd VTEP in cache pool The mapping relations of corresponding MAC Address and the corresponding VNI three of the 2nd VTEP;
S3, message obtains the mark of the 2nd VTEP according to response.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code: after the response message for receiving book server response request message, further includes:
S1 sends data to the 2nd VTEP according to the mark of the 2nd VTEP.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code: before the response message for receiving book server response request message, further includes:
S1, does not receive the response message of book server response request message within second scheduled time, or receives The first message that book server is sent, wherein first message is used to indicate does not inquire MAC Address in cache pool;
S2 obtains the mark of the 2nd VTEP in such a way that Address Resolution Protocol ARP floods.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code: it is sent to book server and includes: for the request message of mark of the 2nd VTEP of request
S1 retrieves the MAC Address of local cache;
S2 is sent to book server for requesting to obtain in the case where not retrieving the corresponding MAC Address of the 2nd VTEP Take the request message of the mark of the 2nd VTEP.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code: after sending data to the 2nd VTEP according to the mark of the 2nd VTEP, further includes:
S1, detects the VTEP mark of itself, and the VTEP of itself identifies corresponding MAC Address and the VTEP mark pair of itself The mapping relations of the VNI three answered change;
Mapping relations after variation are sent to book server by S2.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read- Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard The various media that can store program code such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of processor, the processor is for running program, wherein program operation Step in Shi Zhihang any of the above-described method.
Optionally, in the present embodiment, above procedure is for executing following steps:
S1 receives the mark for the 2nd VTEP of request that the first virtual extended local area network tunneling termination VTEP is sent Request message, wherein request message carries the corresponding MAC address of the 2nd VTEP and the 2nd VTEP pairs The virtual extended local net network mark VNI answered;
S2 inquires the mark of the 2nd VTEP according to MAC Address and VNI, wherein deposit in cache pool in local cache pool Contain the mark of the 2nd VTEP, the mapping relations of the 2nd VTEP corresponding MAC Address and the corresponding VNI three of the 2nd VTEP;
S3 sends the mark of the 2nd VTEP to the corresponding all VTEP of VNI.
Optionally, in the present embodiment, above procedure is for executing following steps: sending out to the corresponding all VTEP of VNI Before the mark for sending the 2nd VTEP, further includes:
S1 does not inquire MAC Address within the first predetermined time in cache pool;
S2 sends first message to the corresponding all VTEP of VNI, wherein first message is used to indicate not in cache pool MAC Address is inquired, and carries instruction information in first message, instruction information is used to indicate on the corresponding VTEP of MAC Address The VTEP of itself is reported to identify, the mapping relations of MAC Address and VNI three.
Optionally, in the present embodiment, above procedure is for executing following steps: sending to the corresponding all VTEP of VNI 2nd VTEP mark includes at least one of:
S1 sends the 2nd VTEP mark to the corresponding all VTEP of VNI by way of Web broadcast;
S2 sends the 2nd VTEP mark to the corresponding all VTEP of VNI by way of communicating between software process.
Optionally, in the present embodiment, above procedure is for executing following steps: sending out to the corresponding all VTEP of VNI After the mark for sending the 2nd VTEP, further includes:
S1, the mark of the first VTEP after receiving the variation that the first VTEP is sent, the corresponding MAC Address of the first VTEP and the The mapping relations of the three of the corresponding VNI of one VTEP;
S2 updates cache pool according to the mapping relations after variation.
The embodiments of the present invention also provide a kind of processor, the processor is for running program, wherein program operation Step in Shi Zhihang any of the above-described method.
Optionally, in the present embodiment, above procedure is for executing following steps:
S1 sends the request message of the mark for the 2nd VTEP of request to book server, wherein request message It carries the corresponding MAC address of the second virtual extended local area network tunneling termination VTEP and the 2nd VTEP is corresponding Virtual extended local net network identify VNI;
S2 receives the response message of book server response request message, wherein response message is carried in reservation service The mark of the 2nd VTEP inquired in the cache pool of device local is stored with the mark of the 2nd VTEP, the 2nd VTEP in cache pool The mapping relations of corresponding MAC Address and the corresponding VNI three of the 2nd VTEP;
S3, message obtains the mark of the 2nd VTEP according to response.
Optionally, in the present embodiment, above procedure is for executing following steps: receiving book server respond request After the response message of message, further includes:
S1 sends data to the 2nd VTEP according to the mark of the 2nd VTEP.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store the journey for executing following steps Sequence code: before the response message for receiving book server response request message, further includes:
S1, does not receive the response message of book server response request message within second scheduled time, or receives The first message that book server is sent, wherein first message is used to indicate does not inquire MAC Address in cache pool;
S2 obtains the mark of the 2nd VTEP in such a way that Address Resolution Protocol ARP floods.
Optionally, in the present embodiment, above procedure is for executing following steps: sending to book server for requesting The request message for obtaining the mark of the 2nd VTEP includes:
S1 retrieves the MAC Address of local cache;
S2 is sent to book server for requesting to obtain in the case where not retrieving the corresponding MAC Address of the 2nd VTEP Take the request message of the mark of the 2nd VTEP.
Optionally, in the present embodiment, above procedure is used to execute following steps: according to the mark of the 2nd VTEP to the Two VTEP are sent after data, further includes:
S1, detects the VTEP mark of itself, and the VTEP of itself identifies corresponding MAC Address and the VTEP mark pair of itself The mapping relations of the VNI three answered change;
Mapping relations after variation are sent to book server by S2.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment Example, details are not described herein for the present embodiment.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with general Computing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formed Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored It is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution herein Out or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules or Step is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc. With replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of sign acquiring method characterized by comprising
Receive the request of the mark for the 2nd VTEP of request of the first virtual extended local area network tunneling termination VTEP transmission Message, wherein the request message carries the corresponding MAC address of the 2nd VTEP and described second The corresponding virtual extended local net network of VTEP identifies VNI;
The mark of the 2nd VTEP is inquired in local cache pool according to the MAC Address and the VNI, wherein described The mark of the 2nd VTEP is stored in cache pool, the corresponding MAC Address of the 2nd VTEP and the 2nd VTEP are corresponding VNI three mapping relations;
The mark of the 2nd VTEP is sent to the corresponding all VTEP of the VNI.
2. the method according to claim 1, wherein sending described the to the corresponding all VTEP of the VNI Before the mark of two VTEP, further includes:
Do not inquire the MAC Address in the cache pool within the first predetermined time;
First message is sent to the corresponding all VTEP of the VNI, wherein the first message is used to indicate not in the caching The MAC Address is inquired in pond, and carries instruction information in the first message, and the instruction information is used to indicate described The corresponding VTEP of MAC Address reports the VTEP of itself to identify, the mapping relations of MAC Address and VNI three.
3. the method according to claim 1, wherein sending described second to the corresponding all VTEP of the VNI VTEP mark includes at least one of:
The 2nd VTEP mark is sent to the corresponding all VTEP of the VNI by way of Web broadcast;
The 2nd VTEP mark is sent to the corresponding all VTEP of the VNI by way of communicating between software process.
4. the method according to claim 1, wherein sending described the to the corresponding all VTEP of the VNI After the mark of two VTEP, further includes:
The mark of the first VTEP after receiving the variation that the first VTEP is sent, the corresponding MAC Address of the first VTEP and The mapping relations of the three of the corresponding VNI of first VTEP;
The cache pool is updated according to the mapping relations after the variation.
5. a kind of sign acquiring method characterized by comprising
The request for sending the mark for the second virtual extended of request local area network tunneling termination VTEP to book server disappears Breath, wherein the request message carries the corresponding MAC address of the 2nd VTEP and described second The corresponding virtual extended local net network of VTEP identifies VNI;
Receive the response message that the VTEP information server responds the request message, wherein the response message carries The mark of the 2nd VTEP inquired in the cache pool of the book server local is stored with described in the cache pool The mark of two VTEP, the mapping relations of the 2nd the VTEP corresponding MAC Address and the corresponding VNI three of the 2nd VTEP;
The mark of the 2nd VTEP is obtained according to the response message.
6. according to the method described in claim 5, it is characterized in that, responding the request message receiving the book server The response message after, further includes:
Data are sent to the 2nd VTEP according to the mark of the 2nd VTEP.
7. according to the method described in claim 5, it is characterized in that, responding the request message receiving the book server The response message before, further includes:
It does not receive the book server within second scheduled time and responds the response message of the request message, or receive The first message that the book server is sent, wherein the first message, which is used to indicate, not to be inquired in the cache pool The MAC Address;
The mark of the 2nd VTEP is obtained in such a way that Address Resolution Protocol ARP floods.
8. according to the method described in claim 5, it is characterized in that, sending to the book server for described in request The request message of the mark of 2nd VTEP includes:
Retrieve the MAC Address of local cache;
In the case where not retrieving the corresponding MAC Address of the 2nd VTEP, send to the book server for requesting Obtain the request message of the mark of the 2nd VTEP.
9. according to the method described in claim 6, it is characterized in that, according to the mark of the 2nd VTEP to described second VTEP is sent after the data, further includes:
Detect the VTEP mark of itself, itself the VTEP identifies corresponding MAC Address and itself the VTEP mark The mapping relations of corresponding VNI three change;
Mapping relations after variation are sent to the book server.
10. a kind of mark acquisition device characterized by comprising
Receiving module, for receive the first virtual extended local area network tunneling termination VTEP transmission for the 2nd VTEP of request Mark request message, wherein the request message carries the corresponding MAC address of the 2nd VTEP And the corresponding virtual extended local net network of the 2nd VTEP identifies VNI;
Enquiry module, for inquiring the mark of the 2nd VTEP in local cache pool according to the MAC Address and the VNI Know, wherein be stored with the mark of the 2nd VTEP in the cache pool, the corresponding MAC Address of the 2nd VTEP and described The mapping relations of the corresponding VNI three of 2nd VTEP;
Sending module, for sending the mark of the 2nd VTEP to the corresponding all VTEP of the VNI.
11. device according to claim 10, which is characterized in that the enquiry module was also used in the first predetermined time Do not inquire the MAC Address in the cache pool inside;And first message is sent to the corresponding all VTEP of the VNI, Wherein, the first message is used to indicate and does not inquire the MAC Address in the cache pool, and takes in the first message With instruction information, the instruction information is used to indicate the corresponding VTEP of the MAC Address and the VTEP of itself is reported to identify, MAC The mapping relations of address and VNI three.
12. device according to claim 10, which is characterized in that the sending module is also used to corresponding to the VNI All VTEP send the mark of the 2nd VTEP after, the first VTEP's after receiving the variation that the first VTEP is sent The mapping relations of the three of mark, the corresponding MAC Address of the first VTEP and the corresponding VNI of the first VTEP;According to institute Mapping relations after stating variation update the cache pool.
13. a kind of mark acquisition device characterized by comprising
Sending module, for sending the request message of the mark for the 2nd VTEP of request to book server, wherein institute It states request message and carries the corresponding MAC address of the 2nd VTEP and the corresponding void of the 2nd VTEP Quasi- extension local net network identifies VNI;
Receiving module responds the response message of the request message for receiving the book server, wherein the response disappears Breath carries the mark of the 2nd VTEP inquired in the cache pool of the book server local, stores in the cache pool There is a mark of the 2nd VTEP, the corresponding MAC Address of the 2nd VTEP and the 2nd corresponding VNI three's of VTEP reflects Penetrate relationship;
Module is obtained, for obtaining the mark of the 2nd VTEP according to the response message.
14. device according to claim 13, which is characterized in that the receiving module is also used to receiving described make a reservation for Before server responds the response message of the request message, the book server is not received within second scheduled time The response message of the request message is responded, or receives the first message that the book server is sent, wherein described the One message is used to indicate does not inquire the MAC Address in the cache pool;In such a way that Address Resolution Protocol ARP floods Obtain the mark of the 2nd VTEP.
15. device according to claim 13, which is characterized in that the sending module is also used to retrieve local cache MAC Address;In the case where not retrieving the corresponding MAC Address of the 2nd VTEP, it is used for book server transmission The request message of the mark of 2nd VTEP described in request.
16. device according to claim 13, which is characterized in that the sending module, be also used to detect itself VTEP mark, itself the VTEP identifies corresponding MAC Address and itself the VTEP identifies reflecting for corresponding VNI three The relationship of penetrating changes;Mapping relations after variation are sent to the book server.
17. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Perform claim requires method described in any one of any one of 1 to 4 or claim 5 to 9.
18. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit requires method described in any one of any one of 1 to 4 or claim 5 to 9.
CN201710438615.6A 2017-06-12 2017-06-12 Sign acquiring method and device Pending CN109040160A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710438615.6A CN109040160A (en) 2017-06-12 2017-06-12 Sign acquiring method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710438615.6A CN109040160A (en) 2017-06-12 2017-06-12 Sign acquiring method and device

Publications (1)

Publication Number Publication Date
CN109040160A true CN109040160A (en) 2018-12-18

Family

ID=64629095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710438615.6A Pending CN109040160A (en) 2017-06-12 2017-06-12 Sign acquiring method and device

Country Status (1)

Country Link
CN (1) CN109040160A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583618A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Method, device and computing equipment for providing network service for business
CN115766434A (en) * 2021-09-03 2023-03-07 中国移动通信集团山东有限公司 VXLAN configuration method and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103503413A (en) * 2012-12-28 2014-01-08 华为技术有限公司 Method and device for transmitting network information
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103503413A (en) * 2012-12-28 2014-01-08 华为技术有限公司 Method and device for transmitting network information
CN104935516A (en) * 2015-06-17 2015-09-23 武汉邮电科学研究院 Communication system based on software defined network and communication method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583618A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Method, device and computing equipment for providing network service for business
CN112583618B (en) * 2019-09-30 2024-01-05 华为云计算技术有限公司 Method, device and computing equipment for providing network service for business
CN115766434A (en) * 2021-09-03 2023-03-07 中国移动通信集团山东有限公司 VXLAN configuration method and equipment

Similar Documents

Publication Publication Date Title
AU2016325529B2 (en) Systems and methods for mobility management in a distributed software defined network packet core system
CN104935516B (en) Communication system and method based on software defined network
KR101997370B1 (en) Server for device location registration in an internet of things(iot)
CN106161248B (en) Message forwarding method and device in a kind of VXLAN network
EP2813032B1 (en) Balancing of forwarding and address resolution in overlay networks
CN103036809B (en) For having the method and apparatus of the scalable network that active link utilizes
CN105162704B (en) The method and device of multicast replication in Overlay network
CN105704034B (en) Access the method and central server of network
US9590824B1 (en) Signaling host move in dynamic fabric automation using multiprotocol BGP
CN114902634A (en) Apparatus and method for providing information of application server in mobile communication system
CN105874756B (en) The transmission method and equipment of control signaling
CN102739497A (en) Automatic generation method for routes and device thereof
CN108964940A (en) Message method and device, storage medium
WO2013040970A1 (en) Relay node selecting method and device
CN104301252A (en) Data sending system and method
CN109314725A (en) Local break-out in mobile IP network
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN101517990A (en) Packet distribution system and packet distribution method
US9438475B1 (en) Supporting relay functionality with a distributed layer 3 gateway
CN109040160A (en) Sign acquiring method and device
CN102780701B (en) Access control method and equipment
Ali et al. Wireless‐Fog Mesh: A framework for in‐network computing of microservices in semipermanent smart environments
CN113515392B (en) RPC calling method, device, equipment and storage medium
CN110430088B (en) Method for discovering neighbor nodes and automatically establishing connection in NDN (named data networking)
CN103079248A (en) Method and system for preventing circulation in mesh network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181218

RJ01 Rejection of invention patent application after publication