Communication method, and apparatus

By introducing identification information into the messages of the cloud platform system, we can distinguish the messages of different cloud platform systems and update the static routing table, the data forwarding problem between cloud platform systems caused by network configuration errors is solved, and normal communication and data forwarding within the same cloud platform system is realized.

WO2025113091A1PCT designated stage expired Publication Date: 2025-06-05HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/129495
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-11-27
Filing Date
2024-11-01
Publication Date
2025-06-05

AI Technical Summary

Technical Problem

In a cloud platform system based on network function virtualization (NFV) technology, data transmission between different cloud platform systems due to network configuration errors, resulting in cloud platform nodes with the same IP address may transmit data at the same time, which causes the problem of packet forwarding abnormalities.

Method used

By introducing identification information into the packets to distinguish messages from different cloud platform systems, we ensure that the messages can be forwarded normally between cloud platform nodes within the same cloud platform system. The specific method includes including the identification information of the cloud platform system in the message and updating the static routing table based on these identification information to ensure the correct forwarding of data within the same cloud platform system.

Benefits of technology

It effectively avoids data error forwarding and business interruption between different cloud platform systems, ensuring that even if different cloud platform systems communicate with each other and network address conflicts occur, nodes in the same cloud platform system can still communicate normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024129495_05062025_PF_FP_ABST
    Figure CN2024129495_05062025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a communication method and an apparatus. The method introduces identification information to distinguish messages from different cloud platform systems, for example, first identification information is identification information for identifying a first cloud platform system, and each cloud platform node in the first cloud platform system comprises the first identification information (thus a message sent by each cloud platform node also comprises the first identification information), such that nodes that send messages can be distinguished, on the basis of the identification information in the messages, as belonging to which cloud platform system. In addition, neighbor table entries used for normal communication among nodes within the cloud platform systems are configured as static routing tables, even if different cloud platform systems are interconnected and network address conflicts occur, nodes within the same cloud platform system can still communicate normally on the basis of the static routing tables, thus avoiding the problems of data misrouting and service interruption between different cloud platform systems.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and device

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on November 27, 2023, with application number 202311602762.4 and application name “A Communication Method and Device”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communication technology, and in particular to a communication method and device. Background Art

[0003] Based on network function virtualization (NFV) technology, multiple cloud platform systems can be built. Each cloud platform system can include one or more cloud platform nodes, and there is data isolation between each cloud platform system (for example, cloud platform nodes in different cloud platform systems do not transmit data to each other). Therefore, when configuring Internet protocol (IP) addresses for cloud platform nodes within different cloud platform systems, the same IP address may be configured for different cloud platform nodes belonging to different cloud platform systems. For example, assume that there is a first cloud platform system (including a first cloud platform node) and a second cloud platform system (including a second cloud platform node), and assume that the IP addresses of the first cloud platform node and the second cloud platform node are the same. Due to network configuration errors, data can be transmitted between different cloud platform systems. Then, two cloud platform nodes with the same IP address (such as the first cloud platform node and the second cloud platform node) may transmit data at the same time, resulting in abnormal message forwarding between different cloud platform systems.

[0004] Summary of the Invention

[0005] The present application provides a communication method and device, which uses different identification information to distinguish messages from different cloud platform systems, so that cloud platform nodes belonging to the same cloud platform system can forward messages normally, avoiding abnormal message forwarding between different cloud platform systems.

[0006] In the first aspect, the present application provides a communication method. The method is executed by a second node, or by a component of the second node (such as a processor, a chip, or a chip system, etc.), or by a logic module that can realize all or part of the functions of the second node. For example, the second node may be a cloud platform node, and the cloud platform node refers to a network device or server of a cloud computing network infrastructure. Among them, the second node receives a first message from the first node, and the first message includes routing information of the first node and first identification information of the first node; the first identification information indicates that the first node belongs to the first cloud platform system. If the first identification information is the same as the second identification information of the second node, the second node updates the static routing table of the second node according to the routing information of the first node.

[0007] In this method, identification information is introduced to distinguish messages from different cloud platform systems. For example, the first identification information is identification information that identifies the first cloud platform system, and each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information), so that the identification information in the message is used to distinguish which cloud platform system the node sending the message belongs to. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two. In addition, the neighbor table entries used for normal communication between nodes in the cloud platform system can be configured as a static routing table, which contains routing information between different cloud platform nodes in the same cloud platform system. Therefore, even if different cloud platform systems communicate with each other and a network address conflict occurs, nodes in the same cloud platform system can still communicate normally based on the static routing table, avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0008] In one possible implementation, after the second node receives the first message from the first node, if the first identification information is different from the second identification information of the second node, the second node determines that the first node and the second node belong to different cloud platform systems.

[0009] In this method, the second node determines that the first node and the second node belong to different cloud platform systems based on the identification information carried in the first message. Optionally, the second node does not update its own static routing table. For example, the routing information of the first node is not added to the static routing table of the second node, thereby preventing erroneous data forwarding.

[0010] In one possible implementation, if the second node determines that the first node and the second node belong to different cloud platform systems, the second node sends first indication information to the first node, where the first indication information indicates that the first node and the second node belong to different cloud platform systems.

[0011] In this method, first indication information is introduced to provide feedback to the node sending the message on whether the sending node and the receiving node belong to the same cloud platform system. For example, when a first node receives the first indication information sent by a second node, it can be determined that the first node and the second node belong to different cloud platform systems.

[0012] In a possible implementation, the second node receives a second message from the third node, where the second message does not include identification information, and the second node discards the second message.

[0013] In this method, if the second node receives a second message sent by other nodes (for example, the third node in the second cloud platform system), and the message does not carry the identification information of the cloud platform system, the second node discards the message, and the static routing table of the second node will not be updated, thereby avoiding erroneous forwarding of data.

[0014] In a possible implementation, the routing information of the first node includes an Internet protocol (IP) address of the first node and a media access control (MAC) address of the first node.

[0015] In a possible implementation, the first identification information or the second identification information is at least one of identity information, a certificate password, or a key.

[0016] In a possible implementation, the priority of routing information in the static routing table of the second node is greater than the priority of routing information of the third message, and the routing information of the third message is configured based on the Address Resolution Protocol or the Neighbor Discovery Protocol.

[0017] In this method, the priority of routing information in the static routing table is higher than the priority of routing information configured based on the Address Resolution Protocol or Neighbor Discovery Protocol. Therefore, the cloud platform node cannot update the static routing table based on routing information configured based on the Address Resolution Protocol or Neighbor Discovery Protocol. For example, if the routing information of the third message is configured based on the Address Resolution Protocol or Neighbor Discovery Protocol, after the second node receives the third message, the second node will not update the second node's static routing table based on the routing information of the third message, thereby avoiding incorrect data forwarding.

[0018] In a second aspect, the present application provides a communication method. The method is executed by a first node, or by a component of the first node (such as a processor, a chip, or a chip system, etc.), or by a logic module that can implement all or part of the functions of the first node. For example, the first node may be a cloud platform node, which refers to a network device or server of a cloud computing network infrastructure. The first node generates a first message, and the first message includes routing information of the first node and first identification information of the first node; the first identification information indicates that the first node belongs to the first cloud platform system. The first node sends a first message.

[0019] In this method, identification information is introduced to distinguish messages from different cloud platform systems. For example, the first identification information is identification information that identifies the first cloud platform system. Each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information). Thus, the identification information in the message is used to distinguish which cloud platform system the node sending the message belongs to. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two, thereby avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0020] In a possible implementation, the routing information of the first node includes the IP address of the first node and the MAC address of the first node.

[0021] In a possible implementation, the first identification information is at least one of identity information, a certificate password, or a key.

[0022] In a third aspect, the present application provides a system method, which is implemented by the interaction between a first node and a second node. The second node can be referred to as a first communication device, and the first node can be referred to as a second communication device. For example, the first node can be a virtual machine, and the second node can be a server. The communication method includes the following steps: the first node sends a first message, and the first message includes the routing information of the first node and the first identification information of the first node; the first identification information indicates that the first node belongs to the first cloud platform system; correspondingly, the second node receives the first message. If the first identification information is the same as the second identification information of the second node, the second node updates the static routing table of the second node according to the routing information of the first node.

[0023] In this method, identification information is introduced to distinguish messages from different cloud platform systems. For example, the first identification information is identification information that identifies the first cloud platform system, and each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information), so that the identification information in the message can be used to distinguish which cloud platform system the node sending the message belongs to. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two. In addition, the neighbor table used for normal communication between nodes in the cloud platform system can be configured as a static routing table, which only contains routing information between different cloud platform nodes in the same cloud platform system. Therefore, even if different cloud platform systems communicate with each other and a network address conflict occurs, nodes in the same cloud platform system can still communicate normally based on the static routing table, avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0024] Optionally, other implementations of the communication method may refer to the corresponding descriptions in the first aspect and the second aspect, and will not be repeated here.

[0025] In a fourth aspect, the present application provides a communication device. The communication device may be a device such as a server, virtual machine, or controller designed based on virtualization technology, or a device of the aforementioned device, or a device that can be used in conjunction with the aforementioned device. In one possible implementation, the communication device may include a functional module, which may be implemented as a hardware circuit, software, or a combination of hardware circuit and software.

[0026] In one possible embodiment, the communication device includes a communication unit and a processing unit. The communication unit is configured to receive a first message from a first node, the first message including routing information of the first node and first identification information of the first node; the first identification information indicating that the first node belongs to a first cloud platform system. If the first identification information is identical to the second identification information of the second node, the processing unit is configured to update the static routing table of the second node based on the routing information of the first node.

[0027] In a possible implementation, the processing unit is further configured to determine that the first node and the second node belong to different cloud platform systems if the first identification information is different from the second identification information of the second node.

[0028] In a possible implementation, the communication unit is further configured to send first indication information to the first node, where the first indication information indicates that the first node and the second node belong to different cloud platform systems.

[0029] In a possible implementation, the communication unit is further configured to receive a second message from the third node, the second message not including identification information, and to discard the second message.

[0030] In a possible implementation, the routing information of the first node includes the IP address of the first node and the MAC address of the first node.

[0031] In a possible implementation, the first identification information or the second identification information is at least one of identity information, a certificate password, or a key.

[0032] In a possible implementation, the priority of routing information in the static routing table of the second node is greater than the priority of routing information of the third message, and the routing information of the third message is configured based on the Address Resolution Protocol or the Neighbor Discovery Protocol.

[0033] In a fifth aspect, the present application provides a communication device. The communication device may be a device such as a server, virtual machine, or controller designed based on virtualization technology, or a device of the above devices, or a device that can be used in conjunction with the above devices. In one possible implementation, the communication device may include a functional module, which may be a hardware circuit, software, or a combination of hardware circuit and software.

[0034] In one possible implementation, the communication device includes a communication unit and a processing unit. The processing unit is configured to generate a first message, the first message including routing information of a first node and first identification information of the first node; the first identification information indicates that the first node belongs to a first cloud platform system. The communication unit is configured to send the first message.

[0035] In a possible implementation, the routing information of the first node includes the IP address of the first node and the MAC address of the first node.

[0036] In a possible implementation, the first identification information is at least one of identity information, a certificate password, or a key.

[0037] For the fourth and fifth aspects, as an example, the processing unit may be a processor, and the communication unit may be a transceiver unit, a transceiver, or a communication interface. It is understood that when the communication device is a communication device (such as a terminal or a network device), the communication unit may be a transceiver in the communication device (for example, a transceiver includes a transmitter and a receiver), for example, implemented by an antenna, a feeder, and a codec in the communication device, or, if the communication device is a chip provided in the device, the processing unit may be a processing circuit, a logic circuit, etc. of the chip, and the communication unit may be an input / output interface of the chip, such as an input / output circuit, a pin, etc.

[0038] In a sixth aspect, the present application provides a communication device, comprising: a processor configured to execute instructions; optionally, the communication device further comprising a memory configured to store the instructions, wherein when the instructions are executed by the processor, the communication device implements at least one of the following: the method according to the first aspect and any possible implementation of the first aspect, and the method according to the second aspect and any possible implementation of the second aspect. Optionally, the processor and the memory are coupled.

[0039] In the seventh aspect, the present application provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a computer, the computer executes at least one of the following: the method in the first aspect and any possible implementation of the first aspect, the method in the second aspect and any possible implementation of the second aspect.

[0040] In an eighth aspect, the present application provides a chip system. The chip system includes a processor and an interface. Optionally, it may also include a memory for implementing at least one of the following: the method in the first aspect and any possible implementation of the first aspect, and the method in the second aspect and any possible implementation of the second aspect. The chip system may be composed of a chip, or may include a chip and other discrete components.

[0041] In a ninth aspect, the present application provides a computer program product comprising instructions, which, when executed on a computer, cause the computer to execute at least one of the following: the method of the first aspect and any possible implementation of the first aspect, the method of the second aspect and any possible implementation of the second aspect.

[0042] In the tenth aspect, the present application provides a communication system, which includes at least one device or equipment among the fourth to sixth aspects above, so that the at least one device or equipment above performs at least one of the following: the method in the first aspect and any possible implementation of the first aspect, the method in the second aspect and any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] FIG1 is a schematic diagram of a communication system provided by the present application;

[0044] FIG2 is a flow chart of a communication method provided by the present application;

[0045] FIG3 is a flow chart of another communication method provided by the present application;

[0046] FIG4 is a schematic diagram of a communication device provided by the present application;

[0047] FIG5 is a schematic diagram of another communication device provided in this application. DETAILED DESCRIPTION

[0048] In the embodiments of this application, " / " can indicate that the associated objects are in an "or" relationship. For example, A / B can mean A or B. "And / or" can be used to describe the existence of three relationships between associated objects. For example, "A and / or B" can mean: A exists alone, A and B exists simultaneously, or B exists alone. A and B can be singular or plural. To facilitate the description of the technical solutions of the embodiments of this application, the words "first" and "second" may be used in the embodiments of this application to distinguish between technical features with the same or similar functions. The words "first" and "second" do not limit the number or order of execution, and the words "first" and "second" do not necessarily mean different. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner for easier understanding.

[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.

[0050] 1. For ease of understanding, the following is a detailed introduction to the definitions of relevant terms involved in this application:

[0051] 1. Network Function Virtualization (NFV) technology: This technology migrates the functions of various network elements used in telecommunications networks from current dedicated hardware platforms to general-purpose connection-oriented transport service (COTS) servers. NFV technology transforms each network element used in telecommunications networks into an independent application that can be flexibly deployed on a unified infrastructure platform built on standard servers, storage, switches, and other equipment. NFV technology is based on cloud computing and virtualization technologies. Through virtualization, general-purpose COTS hardware devices such as computing, storage, and networking can be broken down into multiple virtual resources for use by various upper-layer applications. Virtualization decouples applications from hardware, significantly increasing the speed of virtual resource provisioning. Cloud computing enables elastic scaling of applications and matches virtual resources to service loads, improving both virtual resource utilization efficiency and system responsiveness.

[0052] 2. Cloud Platform Node: This refers to network devices or servers within the cloud computing network infrastructure. Cloud platform node types include cloud platform management devices and cloud platform network devices. For example, cloud platform management devices may include servers and controllers; cloud platform network devices may include servers and virtual machines.

[0053] The optional network connecting the cloud platform management device and the cloud platform network devices is called the cloud platform management plane network. This network enables cloud platform management operations and is primarily used to manage various cloud platform operations and resources. The cloud platform management plane network is typically a Layer 2 network, and the management network Internet protocol (IP) address typically uses a default private IP address.

[0054] 3. Cloud platform system: Each cloud platform system can include one or more cloud platform nodes, and there is data isolation between each cloud platform system. Nodes in different cloud platform systems will not transmit data to each other. For example, suppose the first cloud platform system includes a first node, and the second cloud platform system includes a second node. When the two cloud platform systems are transmitting data normally, data interaction cannot be performed between the first cloud platform system and the second cloud platform system, that is, data cannot be transmitted between the first node and the second node. Cloud platform nodes generally use the default planned private IP addresses. Optionally, different cloud platform nodes belonging to different cloud platforms may be configured with the same IP address.

[0055] 4. Static routing table: A fixed routing table set up in advance by the system administrator. It is generally pre-set according to the network configuration when the system is installed, and it will not change with changes in the network structure. The static routing table is mainly used to record the IP address of a device and the corresponding media access control (MAC) address. For example, the static routing table of the second node contains the routing information of the first node in the second cloud platform system, so that the second node can communicate with the first node based on the routing information of the first node in the static routing table. The static routing table in this application is obtained by the cloud platform node in the cloud platform system through the method of this application, and the priority of the static routing table is higher than that of the dynamic routing table.

[0056] 5. Dynamic routing table: The routing table generated based on standard network protocols such as Address Resolution Protocol (ARP) and Neighbor Discovery Protocol (ND) is called a dynamic routing table.

[0057] Among them, the ARP protocol is a protocol used to convert IP addresses into MAC addresses in Internet protocol version 4 (IPv4), and is mainly used to provide the correspondence between the IP address and MAC address of a device in a local area network. The ARP protocol enables different devices to obtain the corresponding MAC address based on the IP address of the other device when conducting network communication, to ensure that the data packet can be accurately transmitted to the other device. Among them, the ND protocol is a neighbor discovery protocol that provides the correspondence between IPv6 addresses and MAC addresses in Internet protocol version 6 (IPv6), and is mainly used for neighbor discovery, address resolution, router discovery, redirection, etc. The ND protocol can also be used to provide the correspondence between the IPv6 address and MAC address of a device in a local area network, so that different devices can obtain the corresponding MAC address based on the IPv6 address of the other device when conducting network communication, to ensure that the data packet can be accurately transmitted to the other device.

[0058] 2. To facilitate understanding of the embodiments of the present application, the communication method provided in the embodiments of the present application is described below.

[0059] 1. Communication system:

[0060] Figure 1 is a schematic diagram of a communication system provided by the present application, which includes a cloud platform system 11 and a cloud platform system 12 composed of one or more cloud platform nodes. It will be understood that in this communication system, the present application does not limit the number of cloud platform nodes. As shown in Figure 1, the cloud platform system 11 may specifically include nodes 11a, 11b, 11c, and 11d. The cloud platform system 12 may specifically include nodes 12a, 12b, 12c, and 12d. Nodes 11a and 12a are cloud platform management devices in the cloud platform system 11 and the cloud platform system 12, respectively, and the cloud platform management devices are connected to each cloud platform network device in the cloud platform system. Nodes 11b, 11c, and 11d are cloud platform network devices of the cloud platform system 11, and nodes 12b, 12c, and 12d are cloud platform network devices of the cloud platform system 12. The cloud platform management devices and cloud platform network devices are collectively referred to as cloud platform nodes.

[0061] Optionally, the cloud platform management plane network refers to the network used to connect the cloud platform management device and the cloud platform network device within the same cloud platform system; for example, the cloud platform management plane network 11e is the cloud platform management plane network of the cloud platform system 11, and the cloud platform management plane network 12e is the cloud platform management plane network of the cloud platform system 12.

[0062] Among them, data cannot be exchanged between cloud platform nodes in different cloud platform systems. For example, in cloud platform system 11, any two cloud platform nodes among nodes 11a, 11b, 11c, and 11d can achieve point-to-point communication through a network connection, specifically through a wired communication link or a wireless communication link. However, nodes within cloud platform system 11 cannot communicate with other nodes outside of cloud platform system 11 (for example, nodes 12a, 12b, 12c, or 12d in cloud platform system 12 as shown in Figure 1).

[0063] It should be noted that the nodes 11a, 11b, 11c and 11d in the cloud platform system 11 shown in Figure 1, and the nodes 12a, 12b, 12c and 12d in the cloud platform system 12 can all be independent physical servers, virtual machines or controllers, or cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data.

[0064] In the communication system shown in Figure 1, node 11d and node 12b belong to cloud platform system 11 and cloud platform system 12 respectively; it is assumed that node 11d and node 12b have the same IP address. Due to a network configuration error, cloud platform system 11 and cloud platform system 12 can transmit data to each other. Then, for node 11d and node 12b with the same IP address, node 11d may receive data sent to node 12b, resulting in node 12b not receiving the data, thereby causing problems such as incorrect data forwarding. Therefore, the present application provides a communication method that can achieve that even when different cloud platform systems are interconnected and a network address conflict occurs, nodes within the same cloud platform system can still communicate normally based on a static routing table, thereby avoiding problems such as incorrect data forwarding and service interruption between different cloud platform systems.

[0065] 2. Communication method provided by this application:

[0066] Figure 2 is a flow chart of a communication method provided by the present application. The method can be implemented by interaction between a first node and a second node. For example, the first node or the second node is a cloud platform network device (such as a server or a virtual machine) in a cloud platform system. For another example, the first node is a cloud platform management device in a cloud platform system, and the second node is a cloud platform network device in a cloud platform system. The method includes but is not limited to the following steps:

[0067] S201, a first node sends a first message; correspondingly, a second node receives the first message.

[0068] The first message includes routing information of the first node and first identification information of the first node; the first identification information indicates that the first node belongs to the first cloud platform system.

[0069] The routing information of the first node includes the IP address and MAC address of the first node, thereby indicating the source IP address and source MAC address of the first message. For example, the routing information of the first node includes the IP address a and the MAC address b of the first node, thereby indicating that the source IP address and source MAC address of the first message are IP address a and MAC address b, respectively.

[0070] The first identification information of the first node is identification information generated by the first cloud platform system for uniquely identifying the first cloud platform system, and each node in the first cloud platform system carries the first identification information (wherein the first node belongs to the first cloud platform system). For example, the first cloud platform system generates the first identification information, and each node in the first cloud platform system (including the first node) carries the first identification information. That is, cloud platform nodes belonging to the same cloud platform system carry the same identification information.

[0071] Optionally, cloud platform nodes belonging to different cloud platform systems can carry different identification information. For example, if a first node carries first identification information and a second node carries second identification information, then the first node and the second node belong to different cloud platform systems. Optionally, the first or second identification information is at least one of identity information, a certificate password, or a key.

[0072] S202: If the first identification information is identical to the second identification information of the second node, the second node updates the static routing table of the second node according to the routing information of the first node.

[0073] Among them, similar to the definition of the first identification information, the second identification information of the second node is the identification information generated by the second cloud platform system for uniquely identifying the second cloud platform system, and each node in the second cloud platform system carries the second identification information (wherein, the second node belongs to the second cloud platform system). For example, the second cloud platform system generates the second identification information, and each node in the second cloud platform system (including the second node) carries the second identification information. Assuming that the first node carries the first identification information, and assuming that the first node belongs to the second cloud platform system, the first identification information and the second identification information are the same identification information. The second node receives the first message sent by the first node, parses the first message to obtain the first identification information, so that it can be determined that the first identification information carried by the first node is the same as the second identification information of the second node, that is, the first node and the second node belong to the same cloud platform system, and data transmission can be performed.

[0074] Among them, the static routing table of the second node contains routing information between different cloud platform nodes in the second cloud platform system, and the second node cannot update the static routing table of the second node based on the routing information configured based on the ARP protocol or the ND protocol. For example, based on the above-mentioned hypothetical information, the second node determines that the first identification information carried by the first node is the same as the second identification information of the second node, so that it can be determined that the first node and the second node belong to the same cloud platform system. The second node can update the static routing table of the second node based on the routing information of the first node (for example, add the routing information of the first node to the static routing table of the second node), so that the second node can communicate with the first node based on the static routing table.

[0075] Optionally, assuming that the routing information carried in the first message is configured based on the APR protocol or the ND protocol, and the priority of the routing information is lower than the priority of the routing information in the static routing table of the second node, the second node cannot update the static routing table of the second node based on the routing information in the first message. Optionally, the second node discards the first message. For example, based on the routing information in the first message, the second node can determine that the routing information in the first message is configured based on the APR protocol or the ND protocol. Since the priority of the routing information configured by the APR protocol or the ND protocol is lower than the priority of the routing information in the static routing table of the second node, the second node determines that it cannot update the static routing table of the second node based on the routing information in the first message (such as not adding the routing information of the first node to the static routing table of the second node), and the second node discards the first message.

[0076] Optionally, if the first identification information is different from the second identification information of the second node, S202 may be specifically implemented as follows:

[0077] If the first identification information is different from the second identification information of the second node, the second node determines that the first node and the second node belong to different cloud platform systems.

[0078] For example, assume that the first node belongs to the first cloud platform system, and the identification information it carries is the first identification information; the second node belongs to the second cloud platform system, and the identification information it carries is the second identification information. Assume that data interaction between the first cloud platform system and the second cloud platform system occurs due to a network configuration error. The second node receives the first message sent by the first node, parses the first message to obtain the first identification information. The second node determines that the first identification information carried by the first node is different from the second identification information of the second node, so that the second node can determine that the first node and the second node belong to different cloud platform systems. Optionally, the second node discards the first message. For example, when the second node determines that the first node and the second node belong to different cloud platform systems, the second node discards the first message sent by the first node.

[0079] Optionally, if the first identification information is different from the second identification information of the second node, the interaction process between the first node and the second node further includes the following operations:

[0080] The second node sends first indication information to the first node, and correspondingly, the first node receives the first indication information.

[0081] The first indication information is used to indicate that the first node and the second node belong to different cloud platform systems.

[0082] For example, assume that the first node belongs to the first cloud platform system and the second node belongs to the second cloud platform system. Assume that data interaction between the first cloud platform system and the second cloud platform system occurs due to a network configuration error. The second node receives a first message sent by the first node. When the second node determines that the first node and the second node belong to different cloud platform systems, the second node sends a first indication message to the first node, and correspondingly, the first node receives the first indication message sent by the second node. The first node can determine that the first node and the second node belong to different cloud platform systems based on the first indication message, thereby avoiding the first node from erroneously forwarding data to the second node again.

[0083] In this embodiment, identification information is introduced to distinguish messages from different cloud platform systems. For example, the first identification information is identification information that identifies the first cloud platform system, and each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information), so that the identification information in the message is used to distinguish which cloud platform system the node sending the message belongs to. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two. In addition, the neighbor table entries used for normal communication between nodes in the cloud platform system can be configured as a static routing table, which contains routing information between different cloud platform nodes in the same cloud platform system. Therefore, even if different cloud platform systems communicate with each other and a network address conflict occurs, nodes in the same cloud platform system can still communicate normally based on the static routing table, avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0084] FIG3 is a flow chart of another communication method provided by the present application, which can be implemented by interactions between a first node, a second node, a third node, and a fourth node. For example, the first node, the second node, the third node, or the fourth node is a cloud platform network device (e.g., a server or a virtual machine) in a cloud platform system. The method includes but is not limited to the following steps:

[0085] S301a: The first node determines first identification information.

[0086] For example, the first node receives first identification information from a cloud platform management device in the first cloud platform system, thereby determining the first identification information.

[0087] S301b: The second node determines second identification information.

[0088] For example, the second node receives second identification information from a cloud platform management device in the second cloud platform system, thereby determining the second identification information.

[0089] S302, the first node sends a first message; correspondingly, the second node receives the first message.

[0090] The specific implementation of S302 can refer to the relevant description of S201 in the above embodiment, which will not be repeated here.

[0091] Optionally, after S302, the interaction between the first node and the second node further includes the following situations:

[0092] Case 1: If the first identification information is the same as the second identification information of the second node, the operations performed by the second node include:

[0093] S303a: If the first identification information is the same as the second identification information of the second node, the second node updates the static routing table of the second node according to the routing information of the first node.

[0094] The specific implementation of S303a can refer to the relevant description of S202 in the above embodiment, which will not be repeated here.

[0095] Case 2: If the first identification information is different from the second identification information of the second node, the operations performed by the second node include:

[0096] S303b: If the first identification information is different from the second identification information of the second node, the second node determines that the first node and the second node belong to different cloud platform systems.

[0097] The specific implementation of S303b can be found in the aforementioned embodiment. If the first identification information is different from the second identification information of the second node, the relevant description of the specific implementation process will not be repeated here.

[0098] S304b: The second node sends first indication information to the first node.

[0099] S305b: The first node determines that the first node and the second node belong to different cloud platform systems.

[0100] The specific implementation of S304b and S305b can be found in the aforementioned embodiment. If the first identification information is different from the second identification information of the second node, the relevant description of the interaction process between the first node and the second node will not be repeated here.

[0101] Optionally, a third node is introduced in this embodiment. The third node can be a cloud platform network device (such as a server or virtual machine) in the cloud platform system, or a node in an external network system. The interaction between the second node and the third node includes:

[0102] S306a, the third node sends a second message to the second node, where the second message does not include identification information;

[0103] S307a: The second node discards the second message.

[0104] The second message does not include identification information, which means that the second message does not include the identification information of any cloud platform system. Therefore, when the second node receives a message without identification information, it cannot determine which cloud platform system node the second message comes from. For example, assume that the second node belongs to the second cloud platform system and the third node belongs to the third cloud platform system. The identification information generated by the third cloud platform system to uniquely identify the third cloud platform system is the third identification information. Assume that data exchange between the second cloud platform system and the third cloud platform system occurs due to a network configuration error. The second node receives a second message sent by the third node. The second message does not carry the third identification information of the third cloud platform system. Therefore, when the second node receives the second message sent by the third node, the second node cannot determine which cloud platform system node the second message comes from based on the identification information and may choose to discard the second message. Optionally, the third identification information is at least one of identity information, a certificate password, or a key. Optionally, the third node may also be a node in an external network system (for example, a node that is not in the cloud platform system, but sends a message to the second node based on the second node's IP address and MAC address).

[0105] Optionally, this embodiment also introduces a fourth node. The fourth node is a node in the cloud platform system. The operations performed by the fourth node include:

[0106] S306b, the fourth node sends a fourth message to the second node, where the fourth message includes routing information of the fourth node and fourth identification information of the fourth node; the fourth identification information indicates that the fourth node belongs to a fourth cloud platform system.

[0107] The routing information of the fourth node includes the IP address and MAC address of the fourth node, thereby indicating the source IP address and source MAC address of the fourth message. For example, the routing information of the fourth node includes the IP address m and the MAC address n of the fourth node, thereby indicating that the source IP address and source MAC address of the fourth message are IP address m and MAC address n, respectively.

[0108] Similar to the definition of the first identification information, the fourth identification information of the fourth node is identification information generated by the fourth cloud platform system for uniquely identifying the fourth cloud platform system, and each node in the fourth cloud platform system carries the fourth identification information (wherein the fourth node belongs to the fourth cloud platform system). For example, the fourth cloud platform system generates the fourth identification information, and each node in the fourth cloud platform system (including the fourth node) carries the fourth identification information.

[0109] Optionally, after S306b, the interaction between the fourth node and the second node further includes the following situations:

[0110] Case 3: If the fourth identification information is the same as the second identification information of the second node, the operations performed by the second node include:

[0111] S308a: If the fourth identification information is the same as the second identification information of the second node, and the routing information of the fourth node is configured based on the Address Resolution Protocol or the Neighbor Discovery Protocol, the second node does not update the static routing table of the second node.

[0112] The routing information of the fourth node is configured based on the ARP protocol or the ND protocol, and the priority of the routing information is lower than the priority of the routing information in the static routing table of the second node. Therefore, the second node cannot update the static routing table of the second node based on the routing information of the fourth node, and the second node discards the fourth message. For example, assuming that the fourth node carries fourth identification information and assuming that the fourth node belongs to the second cloud platform system, the fourth identification information and the second identification information are the same identification information. The second node receives the fourth message sent by the fourth node and parses the fourth message to obtain the fourth identification information. The second node determines that the fourth identification information carried by the fourth node is the same as the second identification information of the second node, that is, the fourth node and the second node belong to the same cloud platform system. Based on the routing information in the fourth message, the second node can determine that the routing information in the fourth message is configured based on the ARP protocol or the ND protocol. Then, the second node cannot update the static routing table of the second node based on the routing information in the fourth message (e.g., it will not add the routing information of the fourth node to the static routing table of the second node), and the second node discards the fourth message. Optionally, the fourth identification information is at least one of identity information, a certificate password, or a key.

[0113] Case 4: If the fourth identification information is different from the second identification information of the second node, the operations performed by the second node include:

[0114] S308b: If the fourth identification information is different from the second identification information of the second node, the second node determines that the fourth node and the second node belong to different cloud platform systems, and the second node discards the fourth message.

[0115] For example, suppose a network configuration error causes data interaction between the fourth cloud platform system and the second cloud platform system. The second node receives a fourth message sent by the fourth node and parses the fourth message to obtain fourth identification information. The second node determines that the fourth identification information carried by the fourth node is different from the second identification information of the second node. Therefore, the second node can determine that the second node and the fourth node belong to different cloud platform systems, and the second node discards the fourth message.

[0116] FIG4 is a schematic diagram of a communication device provided by the present application. The device may include a module corresponding to the method / operation / step / action described in any of the embodiments shown in FIG2 and FIG3 . The module may be implemented as a hardware circuit, software, or a combination of hardware circuit and software.

[0117] The apparatus 400 includes a communication unit 401 and a processing unit 402, which are used to implement the methods executed by the devices in the above embodiments. The communication unit 401 is also called a transceiver unit, which includes a sending unit and a receiving unit. The sending unit is used to send signals, and the receiving unit is used to receive signals.

[0118] In one possible implementation, the device may be a server, virtual machine, controller, or other device designed based on virtualization technology, or a device of the aforementioned devices, or a device that can be used in conjunction with the aforementioned devices. Specifically, the communication unit 401 is configured to receive a first message from a first node, the first message including routing information of the first node and first identification information of the first node; the first identification information indicates that the first node belongs to the first cloud platform system. If the first identification information is the same as the second identification information of the second node, the processing unit 402 is configured to update the static routing table of the second node based on the routing information of the first node.

[0119] Optionally, the processing unit 402 is configured to process information sent or received by the communication unit 401. For example, the processing unit 402 is configured to process a first message received by the communication unit 401; if the first identification information is different from the second identification information of the second node, it is determined that the first node and the second node belong to different cloud platform systems.

[0120] The specific execution process of the communication unit 401 and the processing unit 402 in this embodiment can refer to the description of the steps executed by the second node in the method embodiment above, as well as the related description, which will not be repeated here. This method introduces identification information to distinguish messages from different cloud platform systems: for example, the first identification information is the identification information that identifies the first cloud platform system, and each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information), thereby distinguishing which cloud platform system the node sending the message belongs to by the identification information in the message. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two. In addition, the neighbor table used for normal communication between nodes in the cloud platform system can be configured as a static routing table, which contains routing information between different cloud platform nodes in the same cloud platform system. Therefore, even if different cloud platform systems are interconnected and a network address conflict occurs, nodes in the same cloud platform system can still communicate normally based on the static routing table, avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0121] In one possible implementation, the apparatus may be a server, virtual machine, controller, or other device designed based on virtualization technology, or a device of any of the aforementioned devices, or a device capable of being used in conjunction with any of the aforementioned devices. Specifically, processing unit 402 is configured to generate a first message, the first message including routing information of a first node and first identification information of the first node; the first identification information indicates that the first node belongs to a first cloud platform system. Communication unit 401 is configured to send the first message.

[0122] The specific execution process of the communication unit 401 and the processing unit 402 in this embodiment can refer to the description of the steps executed by the first node in the previous method embodiment, as well as the related description, which will not be repeated here. This method introduces identification information to distinguish messages from different cloud platform systems: for example, the first identification information is identification information that identifies the first cloud platform system, and each cloud platform node in the first cloud platform system includes the first identification information (therefore, the message sent by each cloud platform node also includes the first identification information), thereby distinguishing which cloud platform system the node sending the message belongs to through the identification information in the message. If the node sending the message and the node receiving the message are cloud platform nodes of the same cloud platform system, the message can be forwarded normally between the two, thereby avoiding the problem of incorrect data forwarding and service interruption between different cloud platform systems.

[0123] In one possible implementation, when the communication device is a chip, the chip includes a transceiver unit and a processing unit. The transceiver unit may be an input / output circuit or a communication interface; the processing unit may be a processor, microprocessor, integrated circuit, or logic circuit integrated on the chip.

[0124] Figure 5 is a schematic diagram of another communication device provided by the present application. The communication device can be used to execute the steps performed by the first node or the second node in the above method embodiment, and reference can be made to the relevant description in the above method embodiment.

[0125] The communication device includes a processor 501. Optionally, the communication device further includes a memory 502 and a transceiver 503.

[0126] In a possible implementation, the processor 501 , the memory 502 , and the transceiver 503 are connected via buses, respectively, and computer instructions are stored in the memory.

[0127] Optionally, the processing unit 402 in the aforementioned embodiment may specifically be the processor 501 in this embodiment, so the specific implementation of the processor 501 is not repeated. The communication unit 401 in the aforementioned embodiment may specifically be the transceiver 503 in this embodiment, so the specific implementation of the transceiver 503 is not repeated.

[0128] In this application, a processor may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in this application. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in this application may be directly executed by a hardware processor, or by a combination of hardware and software modules within the processor.

[0129] In the present application, the memory may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory, such as a random-access memory (RAM). The memory is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory in the present application may also be a circuit or any other device that can implement a storage function, for storing program instructions and / or data.

[0130] The present application provides another communication device, which includes a processor and an interface. Optionally, it also includes a memory, the processor is coupled to the memory, and the processor is used to read and execute computer instructions stored in the memory to implement the communication method in the embodiments shown in Figures 2 and 3.

[0131] The present application provides a computer-readable storage medium. The computer-readable storage medium stores a program or instruction. When the program or instruction is executed on a computer, the computer executes the communication method in the embodiments shown in Figures 2 and 3.

[0132] The present application provides a chip or chip system, which includes at least one processor and an interface, wherein the interface and the at least one processor are interconnected via a circuit, and the at least one processor is configured to execute a computer program or instruction to perform the communication method in the embodiments shown in Figures 2 and 3. The interface in the chip can be an input / output interface, a pin, or a circuit.

[0133] The chip system may be a system on chip (SOC) or a baseband chip, wherein the baseband chip may include a processor, a channel encoder, a digital signal processor, a modem, an interface module, and the like.

[0134] In one implementation, the chip or chip system described above in this application further includes at least one memory, in which instructions are stored. The memory may be a storage unit within the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).

[0135] The present application provides a computer program product. The computer program product includes instructions. When the instructions are executed on a computer, the computer executes the communication method in the embodiments shown in Figures 2 and 3.

[0136] The present application also provides a communication system including a first communication device and a second communication device. The first communication device is configured to execute all or part of the steps executed by the second node in the above embodiment. The second communication device is configured to execute all or part of the steps executed by the first node in the above embodiment.

[0137] The technical solutions provided in this application can be implemented in whole or in part through software, hardware, firmware, or any combination thereof. When implemented using software, they can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in this application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium.

[0138] In this application, under the premise that there is no logical contradiction, the various embodiments may reference each other, for example, the methods and / or terms between method embodiments may reference each other, for example, the functions and / or terms between device embodiments may reference each other, for example, the functions and / or terms between device embodiments and method embodiments may reference each other.

[0139] Obviously, those skilled in the art may make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include these modifications and variations.

Claims

1. A communication method, characterized in that: include: receiving a first message from a first node, where the first message includes routing information of the first node and first identification information of the first node; The first identification information indicates that the first node belongs to a first cloud platform system; If the first identification information is the same as the second identification information of the second node, the static routing table of the second node is updated according to the routing information of the first node.

2. The method according to claim 1, characterized in that After receiving the first message from the first node, the method further includes: If the first identification information is different from the second identification information of the second node, it is determined that the first node and the second node belong to different cloud platform systems.

3. The method according to claim 2, characterized in that The method further comprises: First indication information is sent to the first node, where the first indication information indicates that the first node and the second node belong to different cloud platform systems.

4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: receiving a second message from a third node, wherein the second message does not include identification information; The second message is discarded.

5. The method according to claim 1, characterized in that The routing information of the first node includes an Internet Protocol (IP) address of the first node and a Media Access Control (MAC) address of the first node.

6. The method according to claim 1 or 2, characterized in that: The first identification information or the second identification information is at least one of identity information, a certificate password, or a key.

7. The method according to claim 1, characterized in that The priority of the routing information in the static routing table of the second node is greater than the priority of the routing information of the third message, and the routing information of the third message is configured based on the Address Resolution Protocol or the Neighbor Discovery Protocol.

8. A communication method, characterized in that: include: Generate a first message, wherein the first message includes routing information of the first node and first identification information of the first node; The first identification information indicates that the first node belongs to a first cloud platform system; Send the first message.

9. The method according to claim 8, characterized in that The routing information of the first node includes the IP address of the first node and the MAC address of the first node.

10. The method according to claim 8, characterized in that The first identification information is at least one of identity information, certificate password, or key.

11. A communication method, characterized in that: include: The first communication device performs the method according to any one of claims 1 to 7; The second communication device executes the method according to any one of claims 8 to 10.

12. A communication device, characterized in that: The method comprises a communication unit and a processing unit, wherein the communication unit and the processing unit are used to execute the method according to any one of claims 1 to 7 or 8 to 10.

13. A communication device, characterized in that: include: A processor, configured to enable the communication device to perform the method according to any one of claims 1 to 7 or 8 to 10 through logic circuits and / or execution instructions.

14. The device according to claim 13, characterized in that Also included is a memory for storing the instructions.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 7 or 8 to 10.

16. A chip system, characterized in that: The chip system comprises a processor and an interface, wherein the processor is configured to execute a computer program so that the chip system implements the method as claimed in any one of claims 1 to 7 or 8 to 10.

17. A computer program product, characterized in that The method comprises instructions which, when executed on a computer, cause the computer to perform the method according to any one of claims 1 to 7 or 8 to 10.

18. A communication system, characterized in that: The communication system comprises an apparatus for executing the method according to any one of claims 1 to 7, and an apparatus for executing the method according to any one of claims 8 to 10.

Citation Information

Patent Citations

  • Communication method and device

    CN120050231A

  • Cloud system, cloud public service system and mutual access method for cloud system

    CN106559511A

  • Network equipment registration method and devices

    CN108076025A

  • Broadcasting realization method and system capable of switching different platforms

    CN114598555A

  • Dynamically specifying multiple public cloud edge nodes to connect to an external multi-computer node

    US20190104413A1