WO2018107594A1 - Overlay network implementation method, terminal, device, and computer-readable storage medium - Google Patents
Overlay network implementation method, terminal, device, and computer-readable storage medium Download PDFInfo
- Publication number
- WO2018107594A1 WO2018107594A1 PCT/CN2017/076518 CN2017076518W WO2018107594A1 WO 2018107594 A1 WO2018107594 A1 WO 2018107594A1 CN 2017076518 W CN2017076518 W CN 2017076518W WO 2018107594 A1 WO2018107594 A1 WO 2018107594A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- network
- network device
- packet
- host
- information segment
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 3
- 238000005538 encapsulation Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a method, a terminal, a device, and a computer readable storage medium for implementing an OVERLAY network.
- VXLAN Virtual eXtensible
- LAN scalable virtual local area network
- GRE Generic Routing
- the embodiments of the present invention provide an implementation method, a terminal, a device, and a computer readable storage medium of an OVERLAY network, which can solve the network limitation of the virtual local area network, and can also implement interworking between the VLAN and the OVERLAY network.
- An implementation method of an OVERLAY network comprising:
- a host is added, a first dynamic network information segment between the host and the network device is created;
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier
- the network device that sends the packet from the network device of the source host to the target host according to the first dynamic network information segment including:
- the network device of the source host sends the message to the network device of the target host.
- the second dynamic network information segment includes a second correspondence between the network devices, a second network type, and a second network identifier.
- the network device that sends the packet from the network device of the source host to the target host according to the second dynamic network information segment includes:
- the method further includes:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- the method further includes:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- a terminal comprising:
- a first creating unit configured to create a first dynamic network information segment between the host and the network device if the host is added
- a second creating unit configured to create a second dynamic network information segment between the network device and the network device
- a sending unit configured to, according to the first dynamic network information segment and the second dynamic network information segment, control the sending of the packet from the network device of the source host to the network device of the target host according to the first dynamic network information segment.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier
- the sending unit includes:
- a first sending subunit configured to send the packet from a source host to a network device corresponding to the source host according to the first correspondence in the first dynamic network information segment
- the second dynamic network information segment includes a second correspondence between the network device and the network device, a second network type, and a second network identifier.
- the sending unit includes:
- a third sending subunit configured to send the packet from the network device of the source host to the network device of the target host according to the second correspondence in the second dynamic network information segment;
- a fourth sending subunit configured to send the packet from the network device of the target host to the target host according to the first dynamic network information segment.
- the terminal further includes:
- the encapsulating unit is configured to: when the packet is sent from the network device of the source host to the network device of the target host, encapsulate the packet into a packet format of the second network type.
- the terminal further includes:
- a decapsulation unit configured to decapsulate the packet into a packet format of the first network type, if the packet is sent from a network device of the source host to a network device of the target host.
- An implementation device of an OVERLAY network comprising: a memory and a processor;
- a memory for storing applications and data that implement an OVERLAY network
- a host is added, a first dynamic network information segment between the host and the network device is created;
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier
- the network device that sends the packet from the network device of the source host to the target host according to the first dynamic network information segment including:
- the network device of the source host sends the message to the network device of the target host.
- the second dynamic network information segment includes a second correspondence between the network devices, a second network type, and a second network identifier.
- the network device that sends the packet from the network device of the source host to the target host according to the second dynamic network information segment includes:
- processor further performs the following operations:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- processor further performs the following operations:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
- a host is added, a first dynamic network information segment between the host and the network device is created;
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier
- the step of, if the packet is sent, the network device that is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment includes:
- the network device of the source host sends the message to the network device of the target host.
- the second dynamic network information segment includes a second correspondence between the network devices, a second network type, and a second network identifier.
- steps further include:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- steps further include:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- the embodiment of the present invention realizes that the same virtual local area network identifier is allocated on different hosts by creating a first dynamic network information segment between the host and the network device and a second dynamic network information segment between the network devices.
- the correspondence between the host and the network device in the first dynamic network information segment can also be used to distinguish packets sent by different hosts, thereby solving the conflict that different hosts use the same virtual local area network identifier, and simultaneously solve the problem.
- the network limitation of the virtual local area network realizes the interworking of the VLAN and the OVERLAY network.
- FIG. 1 is a schematic flowchart diagram of an implementation method of an OVERLAY network according to Embodiment 1 of the present invention.
- FIG. 2 is another schematic flowchart of an implementation method of an OVERLAY network according to Embodiment 1 of the present invention.
- FIG. 3 is another schematic flowchart of an implementation method of an OVERLAY network according to Embodiment 1 of the present invention.
- FIG. 4 is a schematic flowchart of a method for implementing an OVERLAY network according to Embodiment 2 of the present invention.
- FIG. 5 is a schematic flowchart of a method for implementing an OVERLAY network according to Embodiment 3 of the present invention.
- FIG. 6 is a schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 7 is another schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 8 is another schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 9 is another schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 10 is another schematic block diagram of a terminal according to an embodiment of the present invention.
- FIG. 11 is a schematic structural diagram of an apparatus for implementing an OVERLAY network according to an embodiment of the present invention.
- FIG. 1 is a schematic flowchart diagram of an implementation method of an OVERLAY network according to Embodiment 1 of the present invention. The method includes steps S101 to S103.
- each host is newly created, and the host and the network device are created.
- the first dynamic information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier, where the first correspondence is a network
- the first network type is a network type between the network device and the newly added host, and the network type may be a virtual local area network (Virtual Local area network (VLAN), the first network identifier is a virtual local area network identifier of the virtual local area network (Virtual Local Area Network ID, VLAN ID), the VLAN ID is used to uniquely identify the VLAN.
- VLAN ID Virtual Local Area Network
- the number of VLAN IDs is 4096.
- the ID ranges from 0 to 4095.
- the range of VLAN IDs that can be used ranges from 1 to 4094, and the number of VLAN IDs that can be used is 4094.
- the second dynamic network information segment includes a second correspondence between network devices, a second network type, and a second network identifier, where the second correspondence is a network device and a one-to-one correspondence between network devices, the network device includes a target network device and a source network device, and the second network type is a network type between the network device and the network device, and the network type may be a virtual local area network, or may be Scalable virtual local area network (Virtual eXtensible LAN, VXLAN), the second network identifier may be a virtual local area network identifier indicating a virtual local area network, or may be an expandable virtual local area network identifier indicating an expandable virtual local area network (Virtual eXtensible LAN ID, VXLAN ID).
- the second correspondence is a network device and a one-to-one correspondence between network devices
- the network device includes a target network device and a source network device
- the second network type is a network type between the network device and the network device
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the packet may be any packet that needs to be forwarded in the network.
- the first dynamic network information segment records the relationship between the host and the corresponding network device.
- the virtual local area network identifier is used. Therefore, the same virtual local area network identifier is allocated on different hosts, and the correspondence between the host and the network device in the first dynamic network information segment can also be used to distinguish packets sent by different hosts, thereby solving different hosts. Conflicts that use the same virtual LAN ID.
- the embodiment of the present invention realizes that the same virtual local area network identifier is allocated on different hosts by creating a first dynamic network information segment between the host and the network device and a second dynamic network information segment between the network devices.
- the correspondence between the host and the network device in the first dynamic network information segment can also be used to distinguish packets sent by different hosts, thereby solving the conflict that different hosts use the same virtual local area network identifier, and simultaneously solve the problem.
- step S103 if the packet is sent, the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment, and specifically includes steps S201 to S202.
- S201 Send the packet from a source host to a network device corresponding to the source host according to the first correspondence in the first dynamic network information segment.
- S202. The network device of the source host sends the packet to a network device of the target host.
- step S103 if the packet is sent, the packet is sent from the network device of the source host to the network device of the target host according to the second dynamic network information segment, and specifically includes steps S301 to S302.
- S301 Send the packet from the network device of the source host to the network device of the target host according to the second correspondence in the second dynamic network information segment.
- S302. Send the packet from the network device of the target host to the target host according to the first dynamic network information segment.
- FIG. 4 it is a schematic flowchart of another embodiment of an implementation method of an OVERLAY network according to the present invention, which includes steps S401 to S404 (steps S401 to S403 and steps S101 to S103 in the first embodiment of the present invention). The same, no longer repeat here).
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the packet is sent from the network device of the source host to the network device of the target host, and the format of the packet is encapsulated into a VXLAN packet; the original packet format is a VLAN. Therefore, packets of the VLAN are encapsulated into VXLAN packets.
- the packet format is encapsulated into a VXLAN packet, which facilitates the transmission of the packet.
- FIG. 5 it is a flow of still another embodiment of an implementation method of an OVERLAY network according to the present invention.
- the flowcharts include the steps S501 to S504 (the steps S501 to S504 are the same as the steps S101 to S103 in the first embodiment of the present invention, and are not described herein again).
- S501 If a host is added, create a first dynamic network information segment between the host and the network device.
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the packet of the network device that enters the target host is a VXLAN packet. Therefore, the packet of the VXLAN needs to be decapsulated into a VLAN. The message is sent to the target host by the network device of the target host.
- the packet of the embodiment of the present invention when the packet of the embodiment of the present invention is sent from the network device of the source host to the network device of the target host, the packet of the VXLAN is decapsulated into a VLAN packet, so that the network device of the target host sends the packet. To the target host.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).
- the embodiment of the present invention further provides a terminal, where the terminal 100 includes: a first creating unit 10, a second creating unit 20, and a sending unit 30.
- the first creating unit 10 is configured to create a first dynamic network information segment between the host and the network device if the host is added. Specifically, in the embodiment of the present invention, each new host is created, and a first dynamic network information segment between the host and the network device is created; the first dynamic information segment includes a first between the host and the network device.
- the network type can be a virtual local area network (Virtual Local area network (VLAN)
- the first network identifier is a virtual local area network identifier of the virtual local area network (Virtual Local Area Network ID, VLAN ID)
- VLAN ID is used to uniquely identify the VLAN.
- the number of VLAN IDs is 4096.
- the ID ranges from 0 to 4095.
- the range of VLAN IDs that can be used ranges from 1 to 4094, and the number of VLAN IDs that can be used is 4094.
- the second creating unit 20 is configured to create a second dynamic network information segment between the network device and the network device.
- the second dynamic network information segment includes a network device
- the network type is a network type between a network device and a network device, and the network type may be a virtual local area network or an expandable virtual local area network (Virtual eXtensible LAN, VXLAN), the second network identifier may be a virtual local area network identifier indicating a virtual local area network, or may be an expandable virtual local area network identifier indicating an expandable virtual local area network (Virtual eXtensible LAN ID, VXLAN ID).
- the sending unit 30 is configured to: if the packet is sent, control, according to the first dynamic network information segment and the second dynamic network information segment, the packet is sent from the network device of the source host to the network device of the target host.
- the packet may be any packet that needs to be forwarded in the network.
- the first dynamic network information segment records the relationship between the host and the corresponding network device.
- the virtual local area network identifier is used. Therefore, the same virtual local area network identifier is allocated on different hosts, and the correspondence between the host and the network device in the first dynamic network information segment can also be used to distinguish packets sent by different hosts, thereby solving different hosts. Conflicts that use the same virtual LAN ID.
- the embodiment of the present invention realizes that the same virtual local area network identifier is allocated on different hosts by creating a first dynamic network information segment between the host and the network device and a second dynamic network information segment between the network devices.
- the correspondence between the host and the network device in the first dynamic network information segment can also be used to distinguish packets sent by different hosts, thereby solving the conflict that different hosts use the same virtual local area network identifier, and simultaneously solve the problem.
- the network limitation of the virtual local area network realizes the interworking of the VLAN and the OVERLAY network.
- the sending unit 30 specifically includes:
- the first sending subunit 301 is configured to send the packet from the source host to the network device corresponding to the source host according to the first correspondence in the first dynamic network information segment.
- the second sending subunit 302 is configured to send, by the network device of the source host, the packet to a network device of the target host.
- the sending unit 30 further includes:
- a third sending subunit 303 configured to use, according to the second correspondence in the second dynamic network information segment
- the message is sent from the network device of the source host to the network device of the target host.
- a fourth sending subunit 304 configured to: send the packet from the target according to the first dynamic network information segment
- the network device of the host is sent to the target host.
- the terminal 100 further includes:
- the encapsulating unit 40 is configured to: when the packet is sent from the network device of the source host to the network device of the target host, encapsulate the packet into a packet format of the second network type. Specifically, if the second network type is VXLAN, the packet is sent from the network device of the source host to the network device of the target host, and the format of the packet is encapsulated into a VXLAN packet; the original packet format is a VLAN. Therefore, packets of the VLAN are encapsulated into VXLAN packets.
- the terminal 100 further includes:
- the decapsulation unit 50 is configured to decapsulate the packet into a packet format of the first network type if the packet is sent from the network device of the source host to the network device of the target host. Specifically, when the packet is sent from the network device of the source host to the network device of the target host, the packet of the network device that enters the target host is a VXLAN packet. Therefore, the packet of the VXLAN needs to be decapsulated into a VLAN. The message is sent to the target host by the network device of the target host.
- the above first creating unit 10, second creating unit 20, sending unit 30, etc. may be embedded in or independent of the data processing device in hardware, or may be stored in the memory of the data processing device in software. So that the processor calls to perform the operations corresponding to the above units.
- the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
- FIG. 11 is a schematic structural diagram of an apparatus for implementing an OVERLAY network according to the present invention. As shown in FIG. 11, it may include: an input device 99, an output device 88, a transceiver device 77, a memory 66, and a processor 55, wherein:
- the input device 99 is configured to receive input data of an external access control device.
- the input device 99 may include a keyboard, a mouse, a photoelectric input device, a sound input device, a touch input device, a scanner, and the like.
- the output device 88 is configured to output output data of the access control device to the outside.
- the output device 88 described in the embodiments of the present invention may include a display, a speaker, a printer, and the like.
- the transceiver device 77 is configured to send data to other devices or connect from other devices through a communication link.
- the transceiver device 77 of the embodiment of the present invention may include a transceiver device such as a radio frequency antenna.
- the memory 66 is configured to store applications and data that implement an OVERLAY network.
- the memory 66 of an embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of both.
- the memory 66 of the embodiment of the present invention may also be an external memory outside the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
- the processor 55 is configured to run an application in the memory.
- the processor 55 is a control center of the device, and connects various parts of the entire device by using various interfaces and lines, and executes various functions and processing data of the device by running an application stored in the memory 66, thereby Conduct overall monitoring.
- the processor 55 described above performs the following operations:
- the first dynamic network information segment between the host and the network device is created; the second dynamic network information segment between the network devices is created; and if the packet is sent, according to the first dynamic network information segment and the The second dynamic network information segment controls the message to be sent from the network device of the source host to the network device of the target host.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier; and if the packet is sent, according to the first dynamic network information segment
- the network device that controls the sending of the packet from the network device of the source host to the target host includes:
- the packet from a source host to a network device corresponding to the source host; the network device of the source host sends the packet to The network device of the target host.
- the second dynamic network information segment includes a second correspondence between the network devices, a second network type, and a second network identifier. If the packet is sent, the second dynamic network information segment is controlled according to the second dynamic network information segment.
- the network device that sends the message from the network device of the source host to the target host includes:
- processor 55 also performs the following operations:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- processor 55 also performs the following operations:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- the implementation device of the OVERLAY network shown in FIG. 11 does not constitute a limitation on the specific configuration of the implementation device of the OVERLAY network.
- the implementation device of the OVERLAY network may include a ratio More or fewer parts, or some parts, or different parts.
- the implementation device of the OVERLAY network may include only the memory and the processor. In such an embodiment, the structure and function of the memory and the processor are the same as those in the embodiment shown in FIG. .
- the present invention provides a computer readable storage medium having stored one or more programs, the one or more programs being executable by one or more processors to implement the following steps:
- a host is added, a first dynamic network information segment between the host and the network device is created;
- the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- the first dynamic network information segment includes a first correspondence between the host and the network device, a first network type, and a first network identifier; and if the packet is sent, according to the first dynamic network information segment
- the step of controlling the sending of the packet from the network device of the source host to the network device of the target host includes:
- the network device of the source host sends the message to the network device of the target host.
- the second dynamic network information segment includes a second correspondence between the network devices, a second network type, and a second network identifier. If the packet is sent, the second dynamic network information segment is controlled according to the second dynamic network information segment.
- the step of sending the message from the network device of the source host to the network device of the target host includes:
- steps further include:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- steps further include:
- the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- the foregoing storage medium of the present invention includes: a magnetic disk, an optical disk, and a read-only storage memory (Read-Only) Memory, ROM) or random access memory (RAM), etc., which can store various program codes.
- ROM read-only storage memory
- RAM random access memory
- the units in all embodiments of the present invention may be implemented by a general-purpose integrated circuit such as a CPU (Central Processing) Unit, central processing unit, or implemented by an ASIC (Application Specific Integrated Circuit).
- a general-purpose integrated circuit such as a CPU (Central Processing) Unit, central processing unit, or implemented by an ASIC (Application Specific Integrated Circuit).
- the units in the terminal in the embodiment of the present invention may be combined, divided, and deleted according to actual needs.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
Claims (20)
- 一种OVERLAY网络的实现方法,其特征在于,所述方法包括: An implementation method of an OVERLAY network, characterized in that the method comprises:若新增主机,创建主机和网络设备之间的第一动态网络信息段;If a host is added, a first dynamic network information segment between the host and the network device is created;创建网络设备之间的第二动态网络信息段;Creating a second dynamic network information segment between the network devices;若发送报文,根据所述第一动态网络信息段和所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备。 And if the packet is sent, the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- 如权利要求1所述的方法,其特征在于,所述第一动态网络信息段包括主机和网络设备之间的第一对应关系、第一网络类型以及第一网络标识;The method of claim 1, wherein the first dynamic network information segment comprises a first correspondence between a host and a network device, a first network type, and a first network identifier;所述若发送报文,根据所述第一动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备包括:And the sending, according to the first dynamic network information segment, the network device that sends the packet from the network device of the source host to the target host according to the first dynamic network information segment, including:根据所述第一动态网络信息段中的第一对应关系将所述报文从源主机发送至与所述源主机相对应的网络设备;Sending, according to the first correspondence in the first dynamic network information segment, the packet from a source host to a network device corresponding to the source host;所述源主机的网络设备将所述报文发送至目标主机的网络设备。The network device of the source host sends the message to the network device of the target host.
- 如权利要求1所述的方法,其特征在于,所述第二动态网络信息段包括网络设备之间的第二对应关系、第二网络类型以及第二网络标识;The method of claim 1, wherein the second dynamic network information segment comprises a second correspondence between the network devices, a second network type, and a second network identifier;所述若发送报文,根据所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备包括:And if the sending the packet, the network device that sends the packet from the network device of the source host to the target host according to the second dynamic network information segment includes:根据所述第二动态网络信息段中的第二对应关系将所述报文从源主机的网络设备发送至目标主机的网络设备;Sending, according to the second correspondence in the second dynamic network information segment, the packet from the network device of the source host to the network device of the target host;根据所述第一动态网络信息段将所述报文从目标主机的网络设备发送至所述目标主机。Sending the message from the network device of the target host to the target host according to the first dynamic network information segment.
- 如权利要求1-3所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-3, wherein the method further comprises:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文封装为所述第二网络类型的报文格式。If the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- 如权利要求1-3所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-3, wherein the method further comprises:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文解封装为所述第一网络类型的报文格式。And if the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- 一种终端,其特征在于,所述终端包括:A terminal, wherein the terminal comprises:第一创建单元,用于若新增主机,创建主机和网络设备之间的第一动态网络The first creating unit is configured to create a first dynamic network between the host and the network device if the host is added信息段;Information segment第二创建单元,用于创建网络设备和网络设备之间的第二动态网络信息段;a second creating unit, configured to create a second dynamic network information segment between the network device and the network device;发送单元,用于若发送报文,根据所述第一动态网络信息段和所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备。And a sending unit, configured to, according to the first dynamic network information segment and the second dynamic network information segment, control the sending of the packet from the network device of the source host to the network device of the target host according to the first dynamic network information segment.
- 如权利要求6所述的终端,其特征在于,所述第一动态网络信息段包括主机和网络设备之间的第一对应关系、第一网络类型以及第一网络标识;The terminal according to claim 6, wherein the first dynamic network information segment comprises a first correspondence between a host and a network device, a first network type, and a first network identifier;所述发送单元包括:The sending unit includes:第一发送子单元,用于根据所述第一动态网络信息段中的第一对应关系将所述报文从源主机发送至与所述源主机相对应的网络设备;a first sending subunit, configured to send the packet from a source host to a network device corresponding to the source host according to the first correspondence in the first dynamic network information segment;第二发送子单元,用于所述源主机的网络设备将所述报文发送至目标主机的网络设备。And a second sending subunit, wherein the network device used by the source host sends the packet to a network device of the target host.
- 如权利要求6所述的终端,其特征在于,第二动态网络信息段包括网络设备与网络设备之间的第二对应关系、第二网络类型以及第二网络标识;The terminal according to claim 6, wherein the second dynamic network information segment comprises a second correspondence between the network device and the network device, a second network type, and a second network identifier;所述发送单元包括:The sending unit includes:第三发送子单元,用于根据所述第二动态网络信息段中的第二对应关系将所述报文从源主机的网络设备发送至目标主机的网络设备;a third sending subunit, configured to send the packet from the network device of the source host to the network device of the target host according to the second correspondence in the second dynamic network information segment;第四发送子单元,用于根据所述第一动态网络信息段将所述报文从目标主机的网络设备发送至所述目标主机。And a fourth sending subunit, configured to send the packet from the network device of the target host to the target host according to the first dynamic network information segment.
- 如权利要求6-8所述的终端,其特征在于,所述终端还包括;The terminal according to any one of claims 6-8, wherein the terminal further comprises:封装单元,用于若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文封装为所述第二网络类型的报文格式。The encapsulating unit is configured to: when the packet is sent from the network device of the source host to the network device of the target host, encapsulate the packet into a packet format of the second network type.
- 如权利要求6-8所述的终端,其特征在于,所述终端还包括:The terminal according to any one of claims 6-8, wherein the terminal further comprises:解封装单元,用于若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文解封装为所述第一网络类型的报文格式。And a decapsulation unit, configured to decapsulate the packet into a packet format of the first network type, if the packet is sent from a network device of the source host to a network device of the target host.
- 一种OVERLAY网络的实现设备,其特征在于,该设备包括:存储器以及处理器;An implementation device of an OVERLAY network, characterized in that the device comprises: a memory and a processor;存储器,用于存储实现OVERLAY网络的应用程序和数据;a memory for storing applications and data that implement an OVERLAY network;处理器,用于运行所述存储器中存储的应用程序,以执行如下操作:a processor for running an application stored in the memory to perform the following operations:若新增主机,创建主机和网络设备之间的第一动态网络信息段;If a host is added, a first dynamic network information segment between the host and the network device is created;创建网络设备之间的第二动态网络信息段;Creating a second dynamic network information segment between the network devices;若发送报文,根据所述第一动态网络信息段和所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备。And if the packet is sent, the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- 如权利要求11所述的设备,其特征在于,所述第一动态网络信息段包括主机和网络设备之间的第一对应关系、第一网络类型以及第一网络标识;The device according to claim 11, wherein the first dynamic network information segment comprises a first correspondence between a host and a network device, a first network type, and a first network identifier;所述若发送报文,根据所述第一动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备包括:And the sending, according to the first dynamic network information segment, the network device that sends the packet from the network device of the source host to the target host according to the first dynamic network information segment, including:根据所述第一动态网络信息段中的第一对应关系将所述报文从源主机发送至与所述源主机相对应的网络设备;Sending, according to the first correspondence in the first dynamic network information segment, the packet from a source host to a network device corresponding to the source host;所述源主机的网络设备将所述报文发送至目标主机的网络设备。The network device of the source host sends the message to the network device of the target host.
- 如权利要求11所述的设备,其特征在于,所述第二动态网络信息段包括网络设备之间的第二对应关系、第二网络类型以及第二网络标识;The device according to claim 11, wherein the second dynamic network information segment comprises a second correspondence between the network devices, a second network type, and a second network identifier;所述若发送报文,根据所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备包括:And if the sending the packet, the network device that sends the packet from the network device of the source host to the target host according to the second dynamic network information segment includes:根据所述第二动态网络信息段中的第二对应关系将所述报文从源主机的网络设备发送至目标主机的网络设备;Sending, according to the second correspondence in the second dynamic network information segment, the packet from the network device of the source host to the network device of the target host;根据所述第一动态网络信息段将所述报文从目标主机的网络设备发送至所述目标主机。Sending the message from the network device of the target host to the target host according to the first dynamic network information segment.
- 如权利要求11-13任意一项所述的设备,其特征在于,所述处理器还执行如下操作:The device of any of claims 11-13, wherein the processor further performs the following operations:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文封装为所述第二网络类型的报文格式。 If the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- 如权利要求11-13任意一项所述的设备,其特征在于,所述处理器还执行如下操作:The device of any of claims 11-13, wherein the processor further performs the following operations:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文解封装为所述第一网络类型的报文格式。 And if the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
- 一种计算机可读存储介质,其特征在于,计算机可读存储介质存储有一个或者一个以上程序,所述一个或者一个以上程序可被一个或者一个以上的处理器执行,以实现以下步骤:A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs, the one or more programs being executable by one or more processors to implement the steps of:若新增主机,创建主机和网络设备之间的第一动态网络信息段;If a host is added, a first dynamic network information segment between the host and the network device is created;创建网络设备之间的第二动态网络信息段;Creating a second dynamic network information segment between the network devices;若发送报文,根据所述第一动态网络信息段和所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备。And if the packet is sent, the packet is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment and the second dynamic network information segment.
- 如权利要求16所述的计算机可读存储介质,其特征在于,所述第一动态网络信息段包括主机和网络设备之间的第一对应关系、第一网络类型以及第一网络标识;The computer readable storage medium according to claim 16, wherein the first dynamic network information segment comprises a first correspondence between a host and a network device, a first network type, and a first network identifier;所述若发送报文,根据所述第一动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备的步骤包括:The step of, if the packet is sent, the network device that is sent from the network device of the source host to the network device of the target host according to the first dynamic network information segment, includes:根据所述第一动态网络信息段中的第一对应关系将所述报文从源主机发送至与所述源主机相对应的网络设备;Sending, according to the first correspondence in the first dynamic network information segment, the packet from a source host to a network device corresponding to the source host;所述源主机的网络设备将所述报文发送至目标主机的网络设备。The network device of the source host sends the message to the network device of the target host.
- 如权利要求16所述的计算机可读存储介质,其特征在于,所述第二动态网络信息段包括网络设备之间的第二对应关系、第二网络类型以及第二网络标识;The computer readable storage medium according to claim 16, wherein the second dynamic network information segment comprises a second correspondence between the network devices, a second network type, and a second network identifier;所述若发送报文,根据所述第二动态网络信息段控制所述报文从源主机的网络设备发送至目标主机的网络设备的步骤包括:And the step of: sending, according to the second dynamic network information segment, the network device that is sent from the network device of the source host to the network device of the target host according to the second dynamic network information segment:根据所述第二动态网络信息段中的第二对应关系将所述报文从源主机的网络设备发送至目标主机的网络设备;Sending, according to the second correspondence in the second dynamic network information segment, the packet from the network device of the source host to the network device of the target host;根据所述第一动态网络信息段将所述报文从目标主机的网络设备发送至所述目标主机。Sending the message from the network device of the target host to the target host according to the first dynamic network information segment.
- 如权利要求16-18任意一项所述的计算机可读存储介质,其特征在于,所述步骤还包括:The computer readable storage medium of any of claims 16-18, wherein the step further comprises:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文封装为所述第二网络类型的报文格式。 If the packet is sent from the network device of the source host to the network device of the target host, the packet is encapsulated into a packet format of the second network type.
- 如权利要求16-18任意一项所述的计算机可读存储介质,其特征在于,所述步骤还包括:The computer readable storage medium of any of claims 16-18, wherein the step further comprises:若将所述报文从源主机的网络设备发送至目标主机的网络设备,将所述报文解封装为所述第一网络类型的报文格式。 And if the packet is sent from the network device of the source host to the network device of the target host, the packet is decapsulated into a packet format of the first network type.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611169459.XA CN106789529B (en) | 2016-12-16 | 2016-12-16 | Method and terminal for implementing OVERLAY network |
CN201611169459.X | 2016-12-16 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018107594A1 true WO2018107594A1 (en) | 2018-06-21 |
Family
ID=58892276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/076518 WO2018107594A1 (en) | 2016-12-16 | 2017-03-14 | Overlay network implementation method, terminal, device, and computer-readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106789529B (en) |
WO (1) | WO2018107594A1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
CN105591916A (en) * | 2014-10-22 | 2016-05-18 | 华为技术有限公司 | Message transmission method and apparatus |
US20160337234A1 (en) * | 2013-07-02 | 2016-11-17 | Arista Networks, Inc. | Method and system for overlay routing with vxlan |
CN106161259A (en) * | 2015-03-27 | 2016-11-23 | 杭州华三通信技术有限公司 | The multicast data packet forwarding method and apparatus of virtual extended LAN VXLAN |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095546B (en) * | 2013-01-28 | 2015-10-07 | 华为技术有限公司 | A kind of method, device and data center network processing message |
CN104243265B (en) * | 2014-09-05 | 2018-01-05 | 华为技术有限公司 | A kind of gateway control method, apparatus and system based on virtual machine (vm) migration |
CN105915427B (en) * | 2016-03-31 | 2019-12-17 | 华为技术有限公司 | Message sending and receiving method and device |
-
2016
- 2016-12-16 CN CN201611169459.XA patent/CN106789529B/en active Active
-
2017
- 2017-03-14 WO PCT/CN2017/076518 patent/WO2018107594A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160337234A1 (en) * | 2013-07-02 | 2016-11-17 | Arista Networks, Inc. | Method and system for overlay routing with vxlan |
CN104350714A (en) * | 2014-05-29 | 2015-02-11 | 华为技术有限公司 | Packet forwarding method and VxLAN gateway |
CN105591916A (en) * | 2014-10-22 | 2016-05-18 | 华为技术有限公司 | Message transmission method and apparatus |
CN106161259A (en) * | 2015-03-27 | 2016-11-23 | 杭州华三通信技术有限公司 | The multicast data packet forwarding method and apparatus of virtual extended LAN VXLAN |
Also Published As
Publication number | Publication date |
---|---|
CN106789529B (en) | 2020-04-14 |
CN106789529A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019019374A1 (en) | Method, apparatus, and system for controlling household appliance with intelligent voice device | |
WO2015108373A1 (en) | Apparatus and method for operating user plane protocol stack in connectionless communicaton system | |
WO2018000856A1 (en) | Method implementing sdn overlay network message forwarding, terminal, apparatus, and computer readable storage medium | |
WO2019051890A1 (en) | Terminal control method and device, and computer-readable storage medium | |
WO2017201899A1 (en) | Method and apparatus for connecting to bluetooth device | |
WO2019056752A1 (en) | Household appliance network configuration method, device and system, and computer readable storage medium | |
WO2019062194A1 (en) | Home appliance and method and system for controling home applicance and computer readable storage medium | |
WO2019019378A1 (en) | Service processing method and apparatus, adapter and computer-readable storage medium | |
WO2015108283A1 (en) | Application error detection method for cloud streaming service, and apparatus and system therefor | |
WO2018058919A1 (en) | Identification information generating method, apparatus, device, and computer readable storage medium | |
WO2014186986A1 (en) | Stream forwarding method, device and system | |
WO2018082482A1 (en) | Network sharing method, and method and system for accessing network | |
WO2015139639A1 (en) | Method and apparatus for displaying application icons on terminal | |
WO2015046868A1 (en) | Apparatus and method for establishing network controlled direct connection in communication system supporting device to device scheme | |
WO2018028135A1 (en) | Downlink data information feedback method and relevant device | |
WO2015139232A1 (en) | Application recommendation method, system and server | |
WO2019019340A1 (en) | Application program page opening method and apparatus, terminal and readable storage medium | |
WO2015127859A1 (en) | Sensitive text detecting method and apparatus | |
WO2019056462A1 (en) | Name list distribution method, apparatus and device, and computer readable storage medium | |
WO2019051895A1 (en) | Terminal control method and device, and storage medium | |
WO2012165794A2 (en) | System and method for simultaneous data transmission service in heterogeneous network | |
WO2018166107A1 (en) | Hybrid-based compatibility method, adapter, operating apparatus and system, and computer-readable storage medium | |
WO2014189323A1 (en) | Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol | |
WO2018058903A1 (en) | Static route configuration method, terminal and device, and computer-readable storage medium | |
WO2017063369A1 (en) | Method of establishing wireless direct connection and device utilizing same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17880105 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17880105 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 2.10.19) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17880105 Country of ref document: EP Kind code of ref document: A1 |