Movatterモバイル変換


[0]ホーム

URL:


CN113630300B - Method and node for message transmission - Google Patents

Method and node for message transmission
Download PDF

Info

Publication number
CN113630300B
CN113630300BCN202010387411.6ACN202010387411ACN113630300BCN 113630300 BCN113630300 BCN 113630300BCN 202010387411 ACN202010387411 ACN 202010387411ACN 113630300 BCN113630300 BCN 113630300B
Authority
CN
China
Prior art keywords
address
container
node
byte
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010387411.6A
Other languages
Chinese (zh)
Other versions
CN113630300A (en
Inventor
王震宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN202010387411.6ApriorityCriticalpatent/CN113630300B/en
Priority to PCT/CN2021/090513prioritypatent/WO2021227873A1/en
Publication of CN113630300ApublicationCriticalpatent/CN113630300A/en
Application grantedgrantedCritical
Publication of CN113630300BpublicationCriticalpatent/CN113630300B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides a method and a device for message transmission. The method comprises the following steps: the first node can store a first association relationship between the first address and the second address of the container in the second node, so that the application management module in the first node can determine the second address of the first container according to the first address and the first association relationship of the first container in the second node, and further write the second address of the first container into the operation system, so that the second container in the first node can obtain the IP address and the MAC address of the first container from the operation system, and the message can be sent to the first container.

Description

Translated fromChinese
用于报文传输的方法和节点Methods and nodes for message transmission

技术领域technical field

本申请涉及通信领域,更具体地,涉及一种用于报文传输的方法和节点。The present application relates to the communication field, and more specifically, relates to a method and node for message transmission.

背景技术Background technique

随着网络规模的增长,电信系统越来越复杂,从而带来了诸多的挑战,包括新增业务的开发上线、系统的运维和资源利用率等。为了应对这些挑战,电信系统利用了信息技术(information technology,IT)业界的虚拟化技术及云技术。As the network scale grows, the telecommunication system becomes more and more complex, which brings many challenges, including the development and launch of new services, system operation and maintenance, and resource utilization. In order to cope with these challenges, the telecommunication system utilizes virtualization technology and cloud technology in the information technology (information technology, IT) industry.

网络功能虚拟化(network functions virtualization,NFV)技术可以简单地理解为将电信网络中使用的各个网元的功能从目前的专用硬件平台迁移至通用的商用货架产品服务器上。通过NFV技术将电信网络中使用的各个网元转变称为独立的应用,可以灵活部署在基于标准的服务器、存储以及交换机等其他设备构建的统一基础设施平台上,并通过虚拟化技术,对基础设施硬件设备资源池化及虚拟化,对上层应用提供虚拟资源,实现应用、硬件解耦,使得每一个应用能够快速增加虚拟资源以实现快速扩展系统容量的目的,或者能够快速减少虚拟资源以实现收缩系统容量的目的,大大提升网络的弹性。采用通用的商业现货(COTS)服务器组成共享的资源池,新开发的业务,不需要单独部署硬件设备,大大缩短新业务上线时间。Network functions virtualization (network functions virtualization, NFV) technology can be simply understood as migrating the functions of each network element used in a telecommunications network from the current dedicated hardware platform to a general-purpose commercial off-the-shelf product server. Through NFV technology, each network element used in the telecommunications network is transformed into an independent application, which can be flexibly deployed on a unified infrastructure platform based on standard servers, storage, switches and other equipment. Facility hardware equipment resource pooling and virtualization, providing virtual resources for upper-layer applications, realizing decoupling of applications and hardware, enabling each application to quickly increase virtual resources to achieve rapid expansion of system capacity, or to quickly reduce virtual resources to achieve The purpose of shrinking the system capacity is to greatly improve the elasticity of the network. Common commercial off-the-shelf (COTS) servers are used to form a shared resource pool. Newly developed services do not need to deploy hardware devices separately, which greatly shortens the time to launch new services.

电信系统上云最为彻底的方式便是把二层通讯改造为三层通讯。传统方案,设备之间通过将二层报文封装在标准的互联网协议(internet protocol,IP)/用户数据报协议(user datagram protocol,UDP)报文中,以实现私有二层报文的交互。例如,构建一个二层互通的虚拟可扩展局域网(virtual expandable LAN,VXLAN)网络,需要每个VXLAN的节点知道其余所有VXLAN节点的信息,即所有VXLAN节点中容器的IP地址和媒体访问控制(mediaaccess control,MAC)地址。而VXLAN网络中VXLAN节点中的容器之间的IP地址和MAC地址的同步,需要网络中部署VXLAN控制器。也就是说,传统方案中,电信系统需要引入额外的控制器,使得管理复杂度较高。The most thorough way to migrate the telecom system to the cloud is to transform Layer 2 communication into Layer 3 communication. In a traditional solution, devices encapsulate layer-2 packets in standard Internet protocol (internet protocol, IP)/user datagram protocol (user datagram protocol, UDP) packets to realize the interaction of private layer-2 packets. For example, to construct a virtual scalable LAN (virtual expandable LAN, VXLAN) network with Layer 2 intercommunication, each VXLAN node needs to know the information of all other VXLAN nodes, that is, the IP addresses and media access control (media access control) of containers in all VXLAN nodes. control, MAC) address. The synchronization of IP addresses and MAC addresses between containers in VXLAN nodes on a VXLAN network requires the deployment of a VXLAN controller on the network. That is to say, in the traditional solution, the telecommunication system needs to introduce an additional controller, which makes the management more complex.

发明内容Contents of the invention

本申请提供一种用于报文传输的方法和节点,能够减少通信系统的管理复杂度。The present application provides a method and node for message transmission, which can reduce the management complexity of the communication system.

第一方面,提供了一种用于报文传输的方法,该方法包括:第一节点中的应用管理模块根据第二节点中的第一容器的第一地址和第一关联关系,确定所述第一容器的第二地址,所述第一关联关系为所述第二节点中容器的第一地址和第二地址之间的关联关系,所述第一地址为IP地址,所述第二地址为MAC地址,或者所述第一地址为MAC地址,所述第二地址为IP地址;所述应用管理模块在操作系统中写入所述第二地址,所述第二地址为所述第一节点中的第二容器传输报文的目的地址。In a first aspect, a method for message transmission is provided, the method includes: an application management module in a first node determines the The second address of the first container, the first association relationship is the association relationship between the first address and the second address of the container in the second node, the first address is an IP address, and the second address is a MAC address, or the first address is a MAC address, and the second address is an IP address; the application management module writes the second address in the operating system, and the second address is the first The destination address of the packet transmitted by the second container in the node.

第一节点可以存储第二节点中容器的第一地址和第二地址之间的第一关联关系,这样第一节点中的应用管理模块可以根据第二节点中的第一容器的第一地址和该第一关联关系确定出该第一容器的第二地址,进而将第一容器的第二地址写入操作系统中,这样有助于该第一节点中的第二容器从操作系统中获得该第一容器的IP地址和MAC地址,从而能够实现向第一容器发送报文,相对于传统方案引入额外的控制器,本申请实施例降低了系统的管理复杂度。The first node may store the first association relationship between the first address of the container in the second node and the second address, so that the application management module in the first node may store the first address and the second address of the first container in the second node The first association determines the second address of the first container, and then writes the second address of the first container into the operating system, which helps the second container in the first node to obtain the second address from the operating system. The IP address and MAC address of the first container, so that the message can be sent to the first container. Compared with the introduction of an additional controller in the traditional solution, the embodiment of the present application reduces the management complexity of the system.

在一些可能的实现方式中,所述应用管理模块根据所述第一地址确定所述第二地址之前,所述方法还包括:所述应用管理模块接收来自所述第二容器的请求信息,所述请求信息用于请求所述第一地址对应的第二地址。In some possible implementation manners, before the application management module determines the second address according to the first address, the method further includes: the application management module receives request information from the second container, and the The request information is used to request the second address corresponding to the first address.

在该第一节点的操作系统中没有存储该第一容器的第一地址对应的第二地址的情况下,第二容器可以向该第一节点中的应用管理模块发送请求信息,以请求该第一地址对应的第二地址,从而能够实现向第一容器发送报文。也就是说,第二容器在存在需求的情况下才向应用管理模块请求第一地址对应的第二地址,这样可以避免在操作系统中存储太多不必要的地址,从而节省了操作系统的存储空间。If the operating system of the first node does not store the second address corresponding to the first address of the first container, the second container may send request information to the application management module in the first node to request the second address The first address corresponds to the second address, so that the message can be sent to the first container. That is to say, the second container only requests the second address corresponding to the first address from the application management module when there is a demand, which can avoid storing too many unnecessary addresses in the operating system, thereby saving the storage space of the operating system. space.

在一些可能的实现方式中,在所述第一地址为IP地址的情况下,所述方法还包括:所述应用管理模块根据所述第一容器的IP地址和第二关联关系,确定所述第二节点的IP地址,所述第二节点用于向所述第一容器转发所述报文,所述第二关联关系为节点的IP地址与所述第二节点中容器的IP地址之间的关联关系;所述应用管理模块在所述操作系统中写入所述第二节点的IP地址。In some possible implementation manners, when the first address is an IP address, the method further includes: the application management module determines the The IP address of the second node, the second node is used to forward the message to the first container, and the second association relationship is between the IP address of the node and the IP address of the container in the second node association relationship; the application management module writes the IP address of the second node in the operating system.

应用管理模块可以根据关联关系和容器的IP地址找到节点的IP地址,并通过节点的IP地址向节点内的容器转发报文。也就是说,本申请实施例中节点可以实现不需要引入额外的控制器获知即将发送报文的容器所属的节点,从而降低了系统的管理复杂度。The application management module can find the IP address of the node according to the association relationship and the IP address of the container, and forward the message to the container in the node through the IP address of the node. That is to say, in the embodiment of the present application, the node can realize that no additional controller needs to be introduced to know the node to which the container that is about to send the message belongs, thereby reducing the management complexity of the system.

在一些可能的实现方式中,所述第一容器的IP地址包括至少一个字节,所述第二节点的IP地址包括至少一个字节,所述第二关联关系为所述第一容器的IP地址中的部分字节的取值与所述第二节点的IP地址中的部分字节的取值相同。In some possible implementation manners, the IP address of the first container includes at least one byte, the IP address of the second node includes at least one byte, and the second association relationship is the IP address of the first container Values of some bytes in the address are the same as values of some bytes in the IP address of the second node.

该第二关联关系可以是部分字节取值相同,即通过简单的方式实现容器的IP地址和节点的IP地址的关联,从而更进一步降低系统的管理复杂度。The second association relationship may be that some bytes have the same value, that is, the association between the IP address of the container and the IP address of the node is realized in a simple manner, thereby further reducing the management complexity of the system.

在一些可能的实现方式中,所述第一容器的IP地址包括四个字节,所述第二节点的IP地址包括四个字节,所述第二关联关系为所述第一容器的IP地址中的第二字节的取值与所述第二节点的IP地址中的第三个字节的取值相同,所述第一容器的IP地址中的第三字节的取值与所述第二节点的IP地址中的第四个字节的取值相同。In some possible implementation manners, the IP address of the first container includes four bytes, the IP address of the second node includes four bytes, and the second association relationship is the IP address of the first container The value of the second byte in the address is the same as the value of the third byte in the IP address of the second node, and the value of the third byte in the IP address of the first container is the same as the value of the third byte in the IP address of the first container. The value of the fourth byte in the IP address of the second node mentioned above is the same.

应用管理模块可以根据关联关系和第一容器的IP地址找到节点第二容器的IP地址,即实现不需要引入额外的控制器,降低了系统的管理复杂度。The application management module can find the IP address of the second container of the node according to the association relationship and the IP address of the first container, that is, the implementation does not need to introduce an additional controller, which reduces the management complexity of the system.

在一些可能的实现方式中,所述第一容器的MAC地址包括至少一个字节,所述第一容器的IP地址包括至少一个字节,所述第一关联关系为所述第一容器的MAC地址中的部分字节的取值与所述第一容器的IP地址中的部分字节的取值相同。In some possible implementation manners, the MAC address of the first container includes at least one byte, the IP address of the first container includes at least one byte, and the first association relationship is the MAC address of the first container Values of some bytes in the address are the same as values of some bytes in the IP address of the first container.

该第一关联关系可以是部分字节取值相同,即通过简单的方式实现容器的IP地址和节点的IP地址的关联,从而更进一步降低系统的管理复杂度。The first association relationship may be that some bytes have the same value, that is, the association between the IP address of the container and the IP address of the node is realized in a simple manner, thereby further reducing the management complexity of the system.

在一些可能的实现方式中,所述第一容器的MAC地址包括六个字节,所述第一容器的IP地址包括四个字节,所述第一关联关系为所述第一容器的MAC地址中的第四个字节的取值与所述第一容器的IP地址中的第二个字节的取值相同,所述第一容器的MAC地址中的第五个字节的取值与所述第一容器的IP地址中的第三个字节的取值相同,以及所述第一容器的MAC地址中的第六个字节的取值与所述第一容器的IP地址中的第四个字节的取值相同。In some possible implementation manners, the MAC address of the first container includes six bytes, the IP address of the first container includes four bytes, and the first association relationship is the MAC address of the first container The value of the fourth byte in the address is the same as the value of the second byte in the IP address of the first container, and the value of the fifth byte in the MAC address of the first container is the same as the value of the third byte in the IP address of the first container, and the value of the sixth byte in the MAC address of the first container is the same as that in the IP address of the first container The fourth byte has the same value.

在一些可能的实现方式中,在第一地址为MAC地址的情况下,该方法还包括:根据该第一容器的MAC地址和第三关联关系确定该第二节点的IP地址,并将该第二节点的IP地址写入操作系统中,该第三关联关系为节点的IP地址与第一容器的MAC地址的关联关系,该第二节点用于向该第一容器转发报文。In some possible implementations, when the first address is a MAC address, the method further includes: determining the IP address of the second node according to the MAC address of the first container and the third association relationship, and assigning the second node The IP addresses of the two nodes are written into the operating system, the third association relationship is the association relationship between the IP addresses of the nodes and the MAC address of the first container, and the second node is used to forward packets to the first container.

应用管理模块可以根据第三关联关系和第一容器的MAC地址找到节点第二节点的IP地址,并通过节点的IP地址向节点内的容器转发报文。也就是说,本申请实施例中节点可以实现不需要引入额外的控制器获知即将发送报文的容器所属的节点,从而降低了系统的管理复杂度。The application management module can find the IP address of the second node of the node according to the third association relationship and the MAC address of the first container, and forward the message to the container in the node through the IP address of the node. That is to say, in the embodiment of the present application, the node can realize that no additional controller needs to be introduced to know the node to which the container that is about to send the message belongs, thereby reducing the management complexity of the system.

在一些可能的实现方式中,该第一容器的MAC地址包括至少一个字节,该第二节点的IP地址包括至少一个字节,该第三关联关系为该第一容器的MAC地址中的部分字节的取值与该第二节点的IP地址中的部分字节的取值相同。In some possible implementations, the MAC address of the first container includes at least one byte, the IP address of the second node includes at least one byte, and the third association relationship is a part of the MAC address of the first container The value of the byte is the same as the value of some bytes in the IP address of the second node.

该第三关联关系可以是部分字节取值相同,即通过简单的方式实现容器的IP地址和节点的IP地址的关联,从而更进一步降低系统的管理复杂度。The third association relationship may be that some bytes have the same value, that is, the association between the IP address of the container and the IP address of the node is realized in a simple manner, thereby further reducing the management complexity of the system.

在一些可能的实现方式中,所述第一容器的MAC地址包括六个字节,所述第二节点的IP地址包括四个字节,该第三关联关系为所述第一容器的MAC地址中的第五字节的取值与所述第二节点的IP地址中的第三个字节的取值相同,所述第一容器的MAC地址中的第六字节的取值与所述第二节点的IP地址中的第四个字节的取值相同。In some possible implementations, the MAC address of the first container includes six bytes, the IP address of the second node includes four bytes, and the third association relationship is the MAC address of the first container The value of the fifth byte in the IP address of the second node is the same as the value of the third byte in the IP address of the second node, and the value of the sixth byte in the MAC address of the first container is the same as the value of the The value of the fourth byte in the IP address of the second node is the same.

第二方面,提供了一种用于传输报文的方法,该方法包括:第一节点中的第二容器向应用管理模块发送请求信息,所述请求信息用于请求第二节点中的第一容器的第一地址对应的所述第一容器的第二地址,所述第一地址为IP地址,所述第二地址为MAC地址,或者所述第一地址为MAC地址,所述第二地址为IP地址;所述第二容器从操作系统中检测所述第一容器的第一地址对应的所述第一容器的第二地址;所述第二容器根据所述第一容器的第一地址和所述第一容器的第二地址,向所述第一容器发送报文。In a second aspect, a method for transmitting packets is provided, the method includes: the second container in the first node sends request information to the application management module, and the request information is used to request the first container in the second node The second address of the first container corresponding to the first address of the container, the first address is an IP address, the second address is a MAC address, or the first address is a MAC address, and the second address is an IP address; the second container detects the second address of the first container corresponding to the first address of the first container from the operating system; the second container detects the second address of the first container according to the first address of the first container and the second address of the first container, and send a packet to the first container.

在该第一节点的操作系统中没有存储该第一容器的第一地址对应的第二地址的情况下,第二容器可以向该第一节点中的应用管理模块发送请求信息,以请求该第一地址对应的第二地址,从而能够实现向第一容器发送报文。也就是说,第二容器在存在需求的情况下才向应用管理模块请求第一地址对应的第二地址,这样可以避免在操作系统中存储太多不必要的地址,从而节省了操作系统的存储空间。此外,相对于传统方案引入额外的控制器来获得本节点之外的节点中的容器的地址,本申请实施例降低了系统的管理复杂度。If the operating system of the first node does not store the second address corresponding to the first address of the first container, the second container may send request information to the application management module in the first node to request the second address The first address corresponds to the second address, so that the message can be sent to the first container. That is to say, the second container only requests the second address corresponding to the first address from the application management module when there is a demand, which can avoid storing too many unnecessary addresses in the operating system, thereby saving the storage space of the operating system. space. In addition, compared with the traditional solution that introduces an additional controller to obtain the addresses of containers in nodes other than the current node, the embodiment of the present application reduces the management complexity of the system.

在一些可能的实现方式中,在所述第一地址为MAC地址,所述第二地址为IP地址的情况下,所述方法还包括:所述第一容器从所述操作系统中检测所述第一容器的MAC地址对应的第二节点的IP地址;其中,所述第二容器根据所述第一容器的第一地址和所述第一容器的第二地址,向所述第一容器发送报文包括:所述第二容器向所述第二节点的IP地址对应的第二节点发送所述报文,所述第二节点用于向所述第一容器转发所述报文。In some possible implementation manners, when the first address is a MAC address and the second address is an IP address, the method further includes: the first container detects the The IP address of the second node corresponding to the MAC address of the first container; wherein, the second container sends to the first container according to the first address of the first container and the second address of the first container The message includes: the second container sends the message to a second node corresponding to the IP address of the second node, and the second node is configured to forward the message to the first container.

若第一节点无法直接找到第一容器(即没有到该第一容器的路由信息),则第二容器需要先找到包括该第一容器的第二节点,再由第二节点将报文转发给第一容器。也就是说,通过该对应关系可以实现跨节点之间容器的报文传输,相对于传统方案引入额外的控制器,降低了系统的管理复杂度。If the first node cannot directly find the first container (that is, there is no routing information to the first container), the second container needs to first find the second node including the first container, and then the second node forwards the message to first container. That is to say, message transmission across containers between nodes can be realized through the corresponding relationship, and compared with the traditional solution, an additional controller is introduced, which reduces the management complexity of the system.

第三方面,提供一种用于报文传输的节点,该节点用于执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In a third aspect, a node for message transmission is provided, and the node is configured to execute the method in the above first aspect, or any possible implementation manner of the above first aspect.

第四方面,提供一种用于报文传输的节点,该节点用于执行上述第二方面,或上述第二方面中的任意一种可能的实现方式中的方法。In a fourth aspect, there is provided a node for packet transmission, where the node is configured to execute the method in the foregoing second aspect, or any possible implementation manner of the foregoing second aspect.

第五方面,提供了一种用于报文传输的节点,包括处理器和存储器,该存储器用于存储程序指令,该处理器用于调用该程序指令来执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In a fifth aspect, a node for message transmission is provided, including a processor and a memory, the memory is used to store program instructions, and the processor is used to invoke the program instructions to execute the above first aspect, or the above first aspect A method in any of the possible implementations of .

第六方面,提供了一种用于报文传输的节点,包括处理器和存储器,该存储器用于存储程序指令,该处理器用于调用该程序指令来执行上述第二方面,或上述第二方面中的任意一种可能的实现方式中的方法。In a sixth aspect, a node for message transmission is provided, including a processor and a memory, the memory is used to store program instructions, and the processor is used to call the program instructions to execute the above second aspect, or the above second aspect A method in any of the possible implementations of .

第七方面,提供了一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In a seventh aspect, a computer-readable storage medium is provided, the computer-readable medium stores program code for execution by a device, and the program code includes a program code for performing the above-mentioned first aspect, or any one of the above-mentioned first aspects method in a possible implementation.

第八方面,提供了一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In an eighth aspect, there is provided a computer-readable storage medium, where the computer-readable medium stores program code for execution by a device, and the program code includes a program code for executing the above-mentioned first aspect, or any one of the above-mentioned first aspects. method in a possible implementation.

第九方面,提供了一种芯片,该芯片包括处理器与数据接口,该处理器通过该数据接口读取存储器上存储的指令,以执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In the ninth aspect, a chip is provided, the chip includes a processor and a data interface, and the processor reads the instructions stored in the memory through the data interface to execute the above-mentioned first aspect, or any one of the above-mentioned first aspects method in one possible implementation.

第十方面,提供了一种芯片,该芯片包括处理器与数据接口,该处理器通过该数据接口读取存储器上存储的指令,以执行上述第一方面,或上述第一方面中的任意一种可能的实现方式中的方法。In a tenth aspect, a chip is provided, the chip includes a processor and a data interface, and the processor reads the instructions stored on the memory through the data interface, so as to execute the above-mentioned first aspect, or any one of the above-mentioned first aspects method in one possible implementation.

第十一方面,提供了一种包含指令的计算机程序产品,其在计算机上运行时,使得计算机执行上述第一方面,或其任意可能的实现方式中的方法。In an eleventh aspect, there is provided a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method in the above first aspect, or any possible implementation thereof.

第十二方面,提供了一种包含指令的计算机程序产品,其在计算机上运行时,使得计算机执行上述第二方面,或其任意可能的实现方式中的方法。In a twelfth aspect, there is provided a computer program product containing instructions, which, when run on a computer, cause the computer to execute the method in the second aspect above, or any possible implementation thereof.

第十三方面,提供了一种通信系统,该通信系统包括上述第三方面所述的节点和上述第四方面所述的节点。其中,上述第三方面所述的节点和上述第四方面所述的节点可以是不同的节点。例如,第一节点的容器可以从第三节点中的操作系统中获取第二节点中的容器的第一地址或第二地址。或者上述第三方面所述的节点和上述第四方面所述的节点可以是同一个节点,例如,在同一个节点中的应用管理模块和第二容器进行交互通信。In a thirteenth aspect, a communication system is provided, and the communication system includes the node described in the third aspect above and the node described in the fourth aspect above. Wherein, the node described in the above third aspect and the node described in the above fourth aspect may be different nodes. For example, the container on the first node may obtain the first address or the second address of the container on the second node from the operating system on the third node. Alternatively, the node described in the above third aspect and the node described in the above fourth aspect may be the same node, for example, the application management module and the second container in the same node perform interactive communication.

基于上述技术方案,第一节点可以存储第二节点中容器的第一地址和第二地址之间的第一关联关系,这样第一节点中的应用管理模块可以根据第二节点中的第一容器的第一地址和该第一关联关系确定出该第一容器的第二地址,进而将第一容器的第二地址写入操作系统中,这样有助于该第一节点中的第二容器从操作系统中获得该第一容器的IP地址和MAC地址,从而能够实现向第一容器发送报文,相对于传统方案引入额外的控制器,本申请实施例降低了系统的管理复杂度。Based on the above technical solution, the first node can store the first association relationship between the first address of the container in the second node and the second address, so that the application management module in the first node can The first address of the first node and the first association determine the second address of the first container, and then write the second address of the first container into the operating system, which helps the second container in the first node to The IP address and MAC address of the first container are obtained in the operating system, so that messages can be sent to the first container. Compared with the introduction of an additional controller in the traditional solution, the embodiment of the present application reduces the management complexity of the system.

附图说明Description of drawings

图1是本申请实施例的通信系统的示意性框图;Fig. 1 is a schematic block diagram of a communication system according to an embodiment of the present application;

图2是VXLAN报文的结构的示意图;FIG. 2 is a schematic diagram of the structure of a VXLAN message;

图3是本申请实施例的用于报文传输的方法的示意性流程图;FIG. 3 is a schematic flowchart of a method for message transmission according to an embodiment of the present application;

图4是本申请一个实施例的用于报文传输的节点的示意性框图;Fig. 4 is a schematic block diagram of a node for message transmission according to an embodiment of the present application;

图5是本申请一个实施例的用于报文传输的节点的示意性结构图;FIG. 5 is a schematic structural diagram of a node for message transmission according to an embodiment of the present application;

图6是本申请另一个实施例的用于报文传输的节点的示意性框图;FIG. 6 is a schematic block diagram of a node for message transmission according to another embodiment of the present application;

图7是本申请另一个实施例的用于报文传输的节点的示意性结构图。Fig. 7 is a schematic structural diagram of a node for packet transmission according to another embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.

图1示出了本申请实施例的通信系统。该通信系统中可以包括至少两个节点,例如,图1所示的节点1和节点2。以节点1为例进行说明,节点1中可以包括应用管理模块和容器管理模块以及至少一个容器(例如,容器1、容器2和容器3)。其中,应用管理模块用于创建接口以及分配业务的IP地址和MAC地址,容器管理模块用于创建容器。Fig. 1 shows a communication system according to an embodiment of the present application. The communication system may include at least two nodes, for example, node 1 and node 2 shown in FIG. 1 . Taking node 1 as an example for illustration, node 1 may include an application management module, a container management module, and at least one container (for example, container 1, container 2, and container 3). Among them, the application management module is used for creating interfaces and assigning service IP addresses and MAC addresses, and the container management module is used for creating containers.

可以理解的是,该应用管理模块可以是VXLAN应用管理模块。在该应用管理模块为VXLAN应用管理模块的情况下,对应的接口可以是VXLAN接口。It can be understood that the application management module may be a VXLAN application management module. In the case that the application management module is a VXLAN application management module, the corresponding interface may be a VXLAN interface.

传统方案中,设备之间通过将二层报文封装在标准的IP/UDP报文中,以实现私有二层报文的交互。如图2示出了VXLAN报文的结构。例如,构建一个二层互通的虚拟可扩展局域网(virtual expandable LAN,VXLAN)网络,需要每个VXLAN的节点知道其余所有VXLAN节点的信息,即所有VXLAN节点中容器的IP地址和媒体访问控制(media access control,MAC)地址。而VXLAN网络中VXLAN节点中的容器之间的IP地址和MAC地址的同步,需要网络中部署VXLAN控制器。也就是说,传统方案中,电信系统需要引入额外的控制器,使得管理复杂度较高。In the traditional solution, devices can exchange private Layer 2 packets by encapsulating Layer 2 packets in standard IP/UDP packets. Figure 2 shows the structure of the VXLAN packet. For example, to build a virtual scalable LAN (virtual expandable LAN, VXLAN) network with Layer 2 interworking, each VXLAN node needs to know the information of all other VXLAN nodes, that is, the IP addresses and media access control (media access control) of containers in all VXLAN nodes. access control, MAC) address. The synchronization of IP addresses and MAC addresses between containers in VXLAN nodes on a VXLAN network requires the deployment of a VXLAN controller on the network. That is to say, in the traditional solution, the telecommunication system needs to introduce an additional controller, which makes the management more complicated.

图3示出了本申请实施例的用于报文传输的方法的示意性流程图。FIG. 3 shows a schematic flowchart of a method for message transmission according to an embodiment of the present application.

应理解,本申请实施例可以应用于图1所示的通信系统中。It should be understood that the embodiment of the present application may be applied to the communication system shown in FIG. 1 .

301,第一节点中的第二容器可以向应用管理模块发送请求信息,该请求信息用于请求第二节点中的第一容器的第一地址对应的第二地址,该第一地址为IP地址,该第二地址为MAC地址,或该第一地址为MAC地址,该第二地址为IP地址。301. The second container in the first node may send request information to the application management module, where the request information is used to request a second address corresponding to the first address of the first container in the second node, where the first address is an IP address , the second address is a MAC address, or the first address is a MAC address and the second address is an IP address.

具体地,第一节点中的第二容器想要向第二节点中的第一容器发送报文,若只知道第一容器的第一地址(例如,该第一节点的操作系统中只存储该第一容器的第一地址),则可以向该第一节点中的应用管理模块发送请求信息,以请求该第一地址对应的第二地址。其中,若第一地址是IP地址,则第二地址可以是MAC地址;若第一地址是MAC地址,则第二地址可以是IP地址。也就是说,第二容器需要获得第一容器的IP地址和MAC地址才能实现向第一容器发送报文。Specifically, if the second container in the first node wants to send a message to the first container in the second node, if only the first address of the first container is known (for example, only the first address is stored in the operating system of the first node) first address of the first container), request information may be sent to the application management module in the first node to request the second address corresponding to the first address. Wherein, if the first address is an IP address, then the second address may be a MAC address; if the first address is a MAC address, then the second address may be an IP address. That is to say, the second container needs to obtain the IP address and the MAC address of the first container to send packets to the first container.

可以理解的是,该第一节点中除包括该第二容器,还可以包括其他容器,本申请对此不进行限定。类似地,该第二节点中除包括该第一容器,还可以包括其他容器,本申请对此不进行限定。It can be understood that, in addition to the second container, the first node may also include other containers, which is not limited in this application. Similarly, the second node may include other containers besides the first container, which is not limited in this application.

302,第一节点中的应用管理模块根据该第一容器的第一地址和第一关联关系,确定该第一容器的第二地址,该第一关联关系为该第二节点中容器的第一地址和第二地址之间的关联关系。302. The application management module in the first node determines the second address of the first container according to the first address of the first container and the first association relationship, where the first association relationship is the first address of the container in the second node. An association relationship between the address and the second address.

具体地,应用管理模块可以存储第二节点中容器的第一地址和第二地址之间的第一关联关系。也就是说,应用管理模块可以根据该第一地址和该第一关联关系得到第二地址,例如,直接获得,或者间接推导得到。Specifically, the application management module may store the first association relationship between the first address and the second address of the container in the second node. That is to say, the application management module may obtain the second address according to the first address and the first association relationship, for example, obtain it directly or obtain it indirectly.

可以理解的是,该第一关联关系可以包括第二节点中的某一个容器(例如,第一容器)的第一地址与该第一容器的第二地址具有关联关系,也可以包括第二节点中的一个或多个容器中的每个容器的第一地址与第二地址具有关联关系。例如,该第一关联关系包括第一容器的IP地址与第一容器的MAC地址的对应关系。It can be understood that the first association relationship may include that the first address of a certain container (for example, the first container) in the second node has an association relationship with the second address of the first container, and may also include that the second node The first address of each container in the one or more containers has an associated relationship with the second address. For example, the first association relationship includes a correspondence relationship between the IP address of the first container and the MAC address of the first container.

还可以理解的是,该第一关联关系也可以是看作是一种预先制定的规则。应该管理模块可以根据该第一地址和该规则推导得到该第二地址。It can also be understood that the first association relationship can also be regarded as a pre-established rule. The application management module can derive the second address according to the first address and the rule.

可选地,在第一容器的MAC地址包括至少一个字节,该第一容器的IP地址包括至少一个字节的情况下,该第一关联关系为该第一容器的MAC地址中的部分字节的取值与该第一容器的IP地址中的部分字节的取值相同。Optionally, when the MAC address of the first container includes at least one byte, and the IP address of the first container includes at least one byte, the first association relationship is a partial word in the MAC address of the first container The value of the section is the same as the value of some bytes in the IP address of the first container.

具体地,MAC地址中的与IP地址中取值相同的部分字节为多个的情况下,该多个字节可以是连续的,也可以是不连续的,本申请对此不进行限定。也就是说,第一容器的MAC地址中的部分字节中的每个字节的取值可以分别与第一容器的IP地址的多个字节中某个字节的取值相同,也可以是该第一容器的MAC地址中的部分字节的整体取值与该第一器的IP地址的多个字节的整体取值相同。Specifically, when there are multiple bytes in the MAC address having the same value as those in the IP address, the multiple bytes may be continuous or discontinuous, which is not limited in this application. That is to say, the value of each byte in some bytes in the MAC address of the first container may be the same as the value of a certain byte in the multiple bytes of the IP address of the first container, or The overall value of some bytes in the MAC address of the first container is the same as the overall value of multiple bytes in the IP address of the first container.

可以理解的是,一个字节可以包括一个或多个比特位。其中,取值相同的不同字节包括的比特位可以相同,也可以不同,本申请对此不进行限定。It can be understood that a byte may include one or more bits. Wherein, bits included in different bytes with the same value may be the same or different, which is not limited in this application.

还可以理解的是,本申请实施例可以应用于(互联网协议第4版,IPv4)场景中,也可以引用于IPv6场景中,本申请对此不进行限定。It can also be understood that the embodiments of the present application may be applied in an (Internet Protocol version 4, IPv4) scenario, and may also be referenced in an IPv6 scenario, which is not limited in the present application.

还可以理解的是,该第一关联关系可以是临时生成的,也可以是已知存储在应用管理模块中的,本申请对此不进行限定。It can also be understood that the first association relationship may be temporarily generated, or known and stored in the application management module, which is not limited in this application.

可选地,在第一容器的MAC地址包括六个字节,第一容器的IP地址包括四个字节的情况下,该第一关联关系为该第一容器的MAC地址中的第四个字节的取值与该第一容器的IP地址中的第二个字节的取值相同,该第一容器的MAC地址中的第五个字节的取值与该第一容器的IP地址中的第三个字节的取值相同,以及该第一容器的MAC地址中的第六个字节的取值与该第一容器的IP地址中的第四个字节的取值相同。Optionally, in the case where the MAC address of the first container includes six bytes and the IP address of the first container includes four bytes, the first association relationship is the fourth of the MAC addresses of the first container The value of the byte is the same as the value of the second byte in the IP address of the first container, and the value of the fifth byte in the MAC address of the first container is the same as the value of the IP address of the first container The value of the third byte in is the same, and the value of the sixth byte in the MAC address of the first container is the same as the value of the fourth byte in the IP address of the first container.

具体地,若MAC地址包括六个字节,则MAC地址的结构可以为“0a:0a:0a:业务IP第4字节:业务IP第5字节:业务IP第6字节”。Specifically, if the MAC address includes six bytes, the structure of the MAC address may be "0a:0a:0a: the fourth byte of the service IP: the fifth byte of the service IP: the sixth byte of the service IP".

其中,业务IP地址的第二字节与MAC地址的第四字节的进制可以不同。例如,IP地址为“10.101.10.100”对应的MAC地址为“0a:0a:0a:65:0a:64”(下划线上的数字具有对应关系,倾斜字体的数字也具有对应关系)。即IP地址的字节通过二进制表示,MAC地址的字节通过16进制表示。Wherein, the bases of the second byte of the service IP address and the fourth byte of the MAC address may be different. For example, the IP address "10.101.10.100 " corresponds to the MAC address "0a:0a:0a:65:0a :64" (the numbers on the underline have a corresponding relationship, and the numbers in italic font also have a corresponding relationship). That is, the bytes of the IP address are expressed in binary, and the bytes of the MAC address are expressed in hexadecimal.

需要说明的是,除具有关联关系的字节之外的字节可以是预先设定的,例如,IP地址中的第一个字节设定为“10”,MAC地址的前三个字节设定为“0a:0a:0a”,或者还可以是其他预先设定的取值,本申请对此不进行限定。It should be noted that the bytes other than the associated bytes can be preset, for example, the first byte in the IP address is set to "10", and the first three bytes in the MAC address It is set to "0a:0a:0a", or other preset values, which are not limited in this application.

可选地,在第一地址为IP地址的情况下,该应用管理模块还可以根据该第一容器的IP地址和第二关联关系确定该第二节点的IP地址,并将该第二节点的IP地址写入操作系统中。其中,该第二节点用于向该第一容器转发报文,该第二关联关系为节点的IP地址与第二节点中容器的IP地址之间的关联关系。Optionally, in the case that the first address is an IP address, the application management module may also determine the IP address of the second node according to the IP address of the first container and the second association relationship, and store the IP address of the second node The IP address is written into the operating system. Wherein, the second node is used to forward the message to the first container, and the second association relationship is an association relationship between the IP address of the node and the IP address of the container in the second node.

具体地,在第一地址为IP地址,第二地址为MAC地址的情况下,若第一节点无法直接找到第一容器(即没有到该第一容器的路由信息),则第二容器需要先找到包括该第一容器的第二节点,再由第二节点将报文转发给第一容器。例如,第二容器向应用管理模块发送3层信息缺失(layer3 miss,L3MISS)信息,应用管理模块在检测到该L3MISS信息,得知IP地址缺少路由信息。Specifically, when the first address is an IP address and the second address is a MAC address, if the first node cannot directly find the first container (that is, there is no routing information to the first container), the second container needs to first A second node including the first container is found, and then the second node forwards the message to the first container. For example, the second container sends layer 3 information missing (layer3 miss, L3MISS) information to the application management module, and the application management module detects the L3MISS information and learns that the IP address lacks routing information.

可以理解的是,该第二关联关系可以包括第二节点中的某一个容器(例如,第一容器)与第二节点的IP地址的对应关系,也可以是包括第二节点中的多个容器中的每个容器分别与节点的IP地址的关联关系,本申请对此不进行限定。It can be understood that the second association relationship may include the correspondence between a certain container (for example, the first container) in the second node and the IP address of the second node, or may include multiple containers in the second node The association relationship between each container in and the IP address of the node is not limited in this application.

可选地,该第一容器的IP地址包括至少一个字节,该第二节点的IP地址包括至少一个字节,该第二关联关系为该第一容器的IP地址中的部分字节的取值与该第二节点的IP地址中的部分字节的取值相同。Optionally, the IP address of the first container includes at least one byte, the IP address of the second node includes at least one byte, and the second association relationship is the extraction of some bytes in the IP address of the first container. The value is the same as the value of some bytes in the IP address of the second node.

具体地,所述第一容器的IP地址包括四个字节,所述第二节点的IP地址包括四个字节,该第二关联关系为所述第一容器的IP地址中的第二字节的取值与所述第二节点的IP地址中的第三个字节的取值相同,所述第一容器的IP地址中的第三字节的取值与所述第二节点的IP地址中的第四个字节的取值相同。Specifically, the IP address of the first container includes four bytes, the IP address of the second node includes four bytes, and the second association relationship is the second word in the IP address of the first container The value of the section is the same as the value of the third byte in the IP address of the second node, and the value of the third byte in the IP address of the first container is the same as the value of the IP address of the second node. The fourth byte in the address has the same value.

例如,若该第一容器的IP地址为“10.101.10.100”,则第二节点的IP地址为“172.16.101.10”。For example, if the IP address of the first container is "10.101.10.100 ", the IP address of the second node is "172.16.101.10 ".

需要说明的是,节点的IP地址的前两个字节可以是预先设定的,例如,节点的IP地址的前两个字节为“172.16”。其中,容器的IP地址中的最后一个字节可以是节点内的唯一序号。It should be noted that the first two bytes of the node's IP address may be preset, for example, the first two bytes of the node's IP address are "172.16". Wherein, the last byte in the IP address of the container may be a unique sequence number within the node.

可选地,在第一地址为MAC地址的情况下,该应用管理模块还可以根据该第一容器的MAC地址和第三关联关系确定该第二节点的IP地址,并将该第二节点的IP地址写入操作系统中,该第三关联关系为节点的IP地址与第一容器的MAC地址的关联关系。其中,该第二节点用于向该第一容器转发报文。Optionally, in the case that the first address is a MAC address, the application management module may also determine the IP address of the second node according to the MAC address of the first container and the third association relationship, and store the IP address of the second node The IP address is written into the operating system, and the third association relationship is the association relationship between the IP address of the node and the MAC address of the first container. Wherein, the second node is used to forward the message to the first container.

具体地,若第二容器根据该第一容器的MAC地址无法找到第一容器,则第二容器需要先找到包括该第一容器的第二节点,再由第二节点将报文转发给第一容器。例如,第二容器向应用管理模块发送2层信息缺失(layer 2miss,L2MISS)信息,应用管理模块在检测到该L2MISS信息,得知MAC地址缺少路由信息。Specifically, if the second container cannot find the first container according to the MAC address of the first container, the second container needs to first find the second node including the first container, and then the second node forwards the message to the first container. container. For example, the second container sends layer 2 missing (layer 2 miss, L2MISS) information to the application management module, and the application management module detects the L2MISS information and learns that the MAC address lacks routing information.

可选地,该第一容器的MAC地址包括至少一个字节,该第二节点的IP地址包括至少一个字节,该第三关联关系为该第一容器的MAC地址中的部分字节的取值与该第二节点的IP地址中的部分字节的取值相同。Optionally, the MAC address of the first container includes at least one byte, the IP address of the second node includes at least one byte, and the third association relationship is the extraction of some bytes in the MAC address of the first container. The value is the same as the value of some bytes in the IP address of the second node.

具体地,所述第一容器的MAC地址包括六个字节,所述第二节点的IP地址包括四个字节,该第三关联关系为所述第一容器的MAC地址中的第五字节的取值与所述第二节点的IP地址中的第三个字节的取值相同,所述第一容器的MAC地址中的第六字节的取值与所述第二节点的IP地址中的第四个字节的取值相同。Specifically, the MAC address of the first container includes six bytes, the IP address of the second node includes four bytes, and the third association relationship is the fifth word in the MAC address of the first container The value of the section is the same as the value of the third byte in the IP address of the second node, and the value of the sixth byte in the MAC address of the first container is the same as the value of the IP address of the second node. The fourth byte in the address has the same value.

例如,该第一容器的MAC地址为“0a:0a:0a:66:1e:6a”,则对应的第二节点的IP地址为“172.16.102.30”。For example, the MAC address of the first container is "0a:0a:0a:66 :1e:6a", and the corresponding IP address of the second node is "172.16.102.30 ".

可以理解的是,节点的IP地址的前两个字节可以是预先设定的,例如,节点的IP地址的前两个字节为“172.16”。It can be understood that the first two bytes of the node's IP address may be preset, for example, the first two bytes of the node's IP address are "172.16".

303,该应用管理模块在操作系统中写入该第二地址,该第二地址为该第一节点中的第二容器传输报文的目的地址。303. The application management module writes the second address in the operating system, where the second address is the destination address of the packet transmitted by the second container in the first node.

具体地,应用管理模块可以将第二地址写入操作系统的系统缓存中,例如,该第二地址写入转发数据库(forwarding database,FDB)表。Specifically, the application management module may write the second address into the system cache of the operating system, for example, write the second address into a forwarding database (forwarding database, FDB) table.

可以理解的是,应用管理模块可以随操作系统启动而启动,启动后可以检查第一节点的接口是否正确配置。若没有正确配置,则进行接口的配置。例如,该接口为VXLAN接口。It can be understood that the application management module can be started with the startup of the operating system, and can check whether the interface of the first node is correctly configured after startup. If not configured correctly, configure the interface. For example, the interface is a VXLAN interface.

还可以理解的是,该操作系统可以是OS。It is also understood that the operating system may be an OS.

还可以理解的是,该应用管理模块也可以主动执行更新第一地址对应的第二地址,例如,定时更新。也就是说,本申请中可以不执行步骤301。It can also be understood that the application management module may also actively update the second address corresponding to the first address, for example, regularly update. That is to say, step 301 may not be executed in this application.

304,该第二容器从操作系统中检测该第一容器的第一地址对应的该第一容器的第二地址。304. The second container detects from the operating system the second address of the first container corresponding to the first address of the first container.

305,该第二容器根据该第一容器的第二地址和该第一容器的第一地址,向该第一容器发送报文。305. The second container sends a packet to the first container according to the second address of the first container and the first address of the first container.

第一节点可以存储第二节点中容器的第一地址和第二地址之间的第一关联关系,这样第一节点中的应用管理模块可以根据第二节点中的第一容器的第一地址和该第一关联关系确定出该第一容器的第二地址,进而将第一容器的第二地址写入操作系统中,这样有助于第二容器从操作系统中获得该第一容器的IP地址和MAC地址,从而能够实现向第一容器发送报文,相对于传统方案引入额外的控制器,本申请实施例降低了系统的管理复杂度。The first node may store the first association relationship between the first address of the container in the second node and the second address, so that the application management module in the first node may store the first address and the second address of the first container in the second node The first association determines the second address of the first container, and then writes the second address of the first container into the operating system, which helps the second container obtain the IP address of the first container from the operating system and the MAC address, so that the message can be sent to the first container. Compared with the introduction of an additional controller in the traditional solution, the embodiment of the present application reduces the management complexity of the system.

应理解,本申请实施例中的具体的例子只是为了帮助本领域技术人员更好地理解本申请实施例,而非限制本申请实施例的范围。It should be understood that the specific examples in the embodiments of the present application are only for helping those skilled in the art to better understand the embodiments of the present application, rather than limiting the scope of the embodiments of the present application.

还应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should also be understood that the sequence numbers of the above processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

还应理解,在本申请的各个实施例中,如果没有特殊说明以及逻辑冲突,不同的实施例之间的术语和/或描述具有一致性、且可以相互引用,不同的实施例中的技术特征根据其内在的逻辑关系可以组合形成新的实施例。It should also be understood that in each embodiment of the present application, if there is no special explanation and logical conflict, the terms and/or descriptions between different embodiments are consistent and can be referred to each other, and the technical features in different embodiments New embodiments can be formed by combining them according to their inherent logical relationships.

以上,结合图3详细说明了本申请实施例提供的方法。以下,结合图4-图7详细说明本申请实施例提供的节点。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,部分内容不再赘述。Above, the method provided by the embodiment of the present application is described in detail with reference to FIG. 3 . Hereinafter, the nodes provided by the embodiments of the present application will be described in detail with reference to FIG. 4 to FIG. 7 . It should be understood that the descriptions of the device embodiments correspond to the descriptions of the method embodiments. Therefore, for content that is not described in detail, reference may be made to the method embodiments above. For brevity, some content will not be repeated here.

图4示出了本申请实施例的用于报文传输的节点400的示意性框图。FIG. 4 shows a schematic block diagram of a node 400 for packet transmission according to an embodiment of the present application.

应理解,该节点400可以实现图3所示的实施例的方法。例如,该节点400可以包括图3所示的应用管理模块410和操作系统420。可选地,该节点400还可以包括图3所示的第二容器。It should be understood that the node 400 may implement the method in the embodiment shown in FIG. 3 . For example, the node 400 may include the application management module 410 and the operating system 420 shown in FIG. 3 . Optionally, the node 400 may further include the second container shown in FIG. 3 .

还可以理解的是,该节点400可以是物理机或者虚拟机。It can also be understood that the node 400 may be a physical machine or a virtual machine.

该应用管理模块410,用于根据第二节点中的第一容器的第一地址和第一关联关系,确定所述第一容器的第二地址,所述第一关联关系为所述第二节点中容器的第一地址和第二地址之间的关联关系,所述第一地址为IP地址,所述第二地址为MAC地址,或者所述第一地址为MAC地址,所述第二地址为IP地址;The application management module 410 is configured to determine the second address of the first container in the second node according to the first address of the first container in the second node and the first association relationship, the first association relationship being the second node The relationship between the first address and the second address of the container, the first address is an IP address, the second address is a MAC address, or the first address is a MAC address, and the second address is IP address;

所述应用管理模块410,还用于在操作系统420中写入所述第二地址,所述第二地址为所述第一节点中的第二容器传输报文的目的地址The application management module 410 is further configured to write the second address in the operating system 420, and the second address is the destination address of the message transmitted by the second container in the first node

可选地,所述应用管理模块410,还用于接收来自所述第二容器的请求信息,所述请求信息用于请求所述第一地址对应的第二地址。Optionally, the application management module 410 is further configured to receive request information from the second container, where the request information is used to request a second address corresponding to the first address.

可选地,所述应用管理模块410,还用于根据所述第一容器的IP地址和第二关联关系,确定所述第二节点的IP地址,所述第二节点用于向所述第一容器转发所述报文,所述第二关联关系为节点的IP地址与所述第二节点中容器的IP地址之间的关联关系;所述应用管理模块,还用于在所述操作系统中写入所述第二节点的IP地址。Optionally, the application management module 410 is further configured to determine the IP address of the second node according to the IP address of the first container and the second association relationship, and the second node is used to send the A container forwards the message, and the second association relationship is an association relationship between the IP address of the node and the IP address of the container in the second node; the application management module is also used to Write the IP address of the second node in .

可选地,所述第一容器的IP地址包括至少一个字节,所述第二节点的IP地址包括至少一个字节,所述第二关联关系为所述第一容器的IP地址中的部分字节的取值与所述第二节点的IP地址中的部分字节的取值相同。Optionally, the IP address of the first container includes at least one byte, the IP address of the second node includes at least one byte, and the second association is a part of the IP address of the first container The value of the byte is the same as the value of some bytes in the IP address of the second node.

可选地,所述第一容器的IP地址包括四个字节,所述第二节点的IP地址包括四个字节,所述第二关联关系为所述第一容器的IP地址中的第二字节的取值与所述第二节点的IP地址中的第三个字节的取值相同,所述第一容器的IP地址中的第三字节的取值与所述第二节点的IP地址中的第四个字节的取值相同。Optionally, the IP address of the first container includes four bytes, the IP address of the second node includes four bytes, and the second association relationship is the first node in the IP address of the first container. The value of the second byte is the same as the value of the third byte in the IP address of the second node, and the value of the third byte in the IP address of the first container is the same as that of the second node The value of the fourth byte in the IP address is the same.

可选地,所述第一容器的MAC地址包括至少一个字节,所述第一容器的IP地址包括至少一个字节,所述第一关联关系为所述第一容器的MAC地址中的部分字节的取值与所述第一容器的IP地址中的部分字节的取值相同。Optionally, the MAC address of the first container includes at least one byte, the IP address of the first container includes at least one byte, and the first association relationship is a part of the MAC address of the first container The value of the byte is the same as the value of some bytes in the IP address of the first container.

可选地,所述第一容器的MAC地址包括六个字节,所述第一容器的IP地址包括四个字节,所述第一关联关系为所述第一容器的MAC地址中的第四个字节的取值与所述第一容器的IP地址中的第二个字节的取值相同,所述第一容器的MAC地址中的第五个字节的取值与所述第一容器的IP地址中的第三个字节的取值相同,以及所述第一容器的MAC地址中的第六个字节的取值与所述第一容器的IP地址中的第四个字节的取值相同。Optionally, the MAC address of the first container includes six bytes, the IP address of the first container includes four bytes, and the first association relationship is the MAC address of the first container. The value of the four bytes is the same as the value of the second byte in the IP address of the first container, and the value of the fifth byte in the MAC address of the first container is the same as the value of the second byte in the MAC address of the first container. The value of the third byte in the IP address of a container is the same, and the value of the sixth byte in the MAC address of the first container is the same as the value of the fourth byte in the IP address of the first container The bytes take the same value.

图5示出了本申请实施例提供的用于报文传输的节点500。该节点可以采用如图5所示的硬件架构。该节点可以包括处理器510和收发器520,可选地,该节点还可以包括存储器530,该处理器510、收发器520和存储器530通过内部连接通路互相通信。图4中的应用管理模块410的所实现的一部分相关功能可以由处理器510来实现,另一部分相关功能可以由处理器510控制收发器520来实现。FIG. 5 shows a node 500 for message transmission provided by the embodiment of the present application. The node may adopt the hardware architecture shown in FIG. 5 . The node may include a processor 510 and a transceiver 520. Optionally, the node may further include a memory 530. The processor 510, the transceiver 520, and the memory 530 communicate with each other through an internal connection path. Part of related functions implemented by the application management module 410 in FIG. 4 may be implemented by the processor 510 , and another part of related functions may be implemented by the processor 510 controlling the transceiver 520 .

可选地,处理器510可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),专用处理器,或一个或多个用于执行本申请实施例技术方案的集成电路。或者,处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。例如可以是基带处理器、或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、终端、或芯片等)进行控制,执行软件程序,处理软件程序的数据。Optionally, the processor 510 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (application-specific integrated circuit, ASIC), a dedicated processor, or one or more An integrated circuit for implementing the technical solution of the embodiment of the present application. Alternatively, a processor may refer to one or more devices, circuits, and/or processing cores for processing data such as computer program instructions. For example, it may be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to control communication devices (such as base stations, terminals, or chips, etc.), execute software programs, and process data of software programs.

可选地,该处理器510可以包括是一个或多个处理器,例如包括一个或多个中央处理单元(central processing unit,CPU),在处理器是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。Optionally, the processor 510 may include one or more processors, for example, one or more central processing units (central processing unit, CPU). In the case that the processor is a CPU, the CPU may be a single Core CPU, also can be multi-core CPU.

该收发器520用于发送和接收数据和/或信号,以及接收数据和/或信号。该收发器可以包括发射器和接收器,发射器用于发送数据和/或信号,接收器用于接收数据和/或信号。The transceiver 520 is used to transmit and receive data and/or signals, and to receive data and/or signals. The transceiver may include a transmitter for transmitting data and/or signals and a receiver for receiving data and/or signals.

该存储器530包括但不限于是随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程存储器(erasable programmable readonly memory,EPROM)、只读光盘(compact disc read-only memory,CD-ROM),该存储器530用于存储相关指令及数据。The memory 530 includes, but is not limited to, random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), erasable programmable memory (erasable programmable readonly memory, EPROM), read-only optical disc (compact disc read-only memory, CD-ROM), the memory 530 is used to store related instructions and data.

存储器530用于存储网络设备的程序代码和数据,可以为单独的器件或集成在处理器510中。The memory 530 is used to store program codes and data of the network device, and may be a separate device or integrated in the processor 510 .

具体地,所述处理器510用于控制收发器与第二容器进行信息传输。具体可参见方法实施例中的描述,在此不再赘述。Specifically, the processor 510 is configured to control the transceiver to perform information transmission with the second container. For details, refer to the description in the method embodiments, and details are not repeated here.

在具体实现中,作为一种实施例,节点500还可以包括输出设备和输入设备。输出设备和处理器510通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备和处理器510通信,可以以多种方式接收用户的输入。例如,输入设备可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an example, the node 500 may further include an output device and an input device. Output devices are in communication with processor 510 and can display information in a variety of ways. For example, the output device may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector), etc. . The input device is in communication with the processor 510 and can receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.

可以理解的是,图5仅仅示出了通信节点的简化设计。在实际应用中,该节点还可以分别包含必要的其他元件,包含但不限于任意数量的收发器、处理器、控制器、存储器等,而所有可以实现本申请的节点备都在本申请的保护范围之内。It can be understood that Fig. 5 only shows a simplified design of a communication node. In practical applications, the node can also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, etc., and all nodes that can realize this application are protected under the protection of this application. within range.

还应理解,该节点500还可以是芯片或芯片系统。在该节点为芯片或芯片系统时,该节点500中的应用管理模块410可以包括数据传输接口、接口电路、数据传输电路或管脚,和处理器、处理电路或逻辑电路,存储单元可以为存储器或存储电路。It should also be understood that the node 500 may also be a chip or a chip system. When the node is a chip or a chip system, the application management module 410 in the node 500 may include a data transmission interface, an interface circuit, a data transmission circuit or pins, and a processor, a processing circuit or a logic circuit, and the storage unit may be a memory or memory circuits.

图6示出了本申请实施例的用于报文传输的节点600的示意性框图。FIG. 6 shows a schematic block diagram of a node 600 for packet transmission according to an embodiment of the present application.

应理解,该节点600可以实现图3所示的方法。该节点可以包括图3所示实施例中的第二容器。该节点600还可以包括图3所述的应用管理模块和操作系统。也就是说,图4所述的节点与图6所示的节点为同一个节点。即同一个节点内容应用管理模块和第二容器进行交互。或者图4所述的节点与图6所示的节点为不同的节点,例如,第一节点的第二容器可以从第三节点中的操作系统中获取第二节点中的第一容器的第一地址或第二地址。It should be understood that the node 600 may implement the method shown in FIG. 3 . The node may include the second container in the embodiment shown in FIG. 3 . The node 600 may also include the application management module and operating system described in FIG. 3 . That is to say, the node shown in FIG. 4 and the node shown in FIG. 6 are the same node. That is, the same node content application management module interacts with the second container. Or the node shown in FIG. 4 is different from the node shown in FIG. 6. For example, the second container of the first node can obtain the first container of the first container in the second node from the operating system in the third node. address or secondary address.

还可以理解的是,该节点600可以是物理机或者虚拟机。It can also be understood that the node 600 may be a physical machine or a virtual machine.

该节点600可以包括用于执行前述方法实施例中的各个操作的单元。并且,该节点600中的各模块分别为了实现前述任意方法中第二容器的相应流程。该节点600包括收发模块610和处理模块620。The node 600 may include units for performing various operations in the foregoing method embodiments. In addition, each module in the node 600 is to realize the corresponding process of the second container in any of the aforementioned methods. The node 600 includes a transceiver module 610 and a processing module 620 .

该收发模块610,用于向应用管理模块发送请求信息,所述请求信息用于请求第二节点中的第一容器的第一地址对应的所述第一容器的第二地址,所述第一地址为IP地址,所述第二地址为MAC地址,或者所述第一地址为MAC地址,所述第二地址为IP地址;The transceiver module 610 is configured to send request information to the application management module, where the request information is used to request the second address of the first container corresponding to the first address of the first container in the second node, and the first The address is an IP address, and the second address is a MAC address, or the first address is a MAC address, and the second address is an IP address;

该处理模块620,用于从操作系统中检测所述第一容器的第一地址对应的所述第一容器的第二地址;The processing module 620 is configured to detect the second address of the first container corresponding to the first address of the first container from the operating system;

所述收发模块610,还用于根据所述第一容器的第一地址和所述第一容器的第二地址,向所述第一容器发送报文。The transceiver module 610 is further configured to send a message to the first container according to the first address of the first container and the second address of the first container.

可选地。在所述第一地址为MAC地址,所述第二地址为IP地址的情况下,所述处理模块620,还用于从所述操作系统中检测所述第一容器的MAC地址对应的第二节点的IP地址;所述收发模块610具体用于:向所述第二节点的IP地址对应的第二节点发送所述报文,所述第二节点用于向所述第一容器转发所述报文。Optionally. In the case where the first address is a MAC address and the second address is an IP address, the processing module 620 is further configured to detect the second address corresponding to the MAC address of the first container from the operating system. The IP address of the node; the transceiver module 610 is specifically configured to: send the message to the second node corresponding to the IP address of the second node, and the second node is used to forward the message to the first container message.

图7示出了本申请实施例提供的用于报文传输的节点700。该节点可以采用如图7所示的硬件架构。该节点可以包括处理器710和收发器720,可选地,该节点还可以包括存储器730,该处理器710、收发器720和存储器730通过内部连接通路互相通信。图6中的处理模块620的所实现的部分相关功能可以由处理器710来实现,收发模块610所实现的部分相关功能可以由处理器710控制收发器720来实现。FIG. 7 shows a node 700 for message transmission provided by the embodiment of the present application. The node may adopt the hardware architecture shown in FIG. 7 . The node may include a processor 710 and a transceiver 720. Optionally, the node may further include a memory 730. The processor 710, the transceiver 720, and the memory 730 communicate with each other through an internal connection path. Some related functions implemented by the processing module 620 in FIG. 6 may be implemented by the processor 710 , and some related functions implemented by the transceiver module 610 may be implemented by the processor 710 controlling the transceiver 720 .

可选地,处理器710可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),专用处理器,或一个或多个用于执行本申请实施例技术方案的集成电路。或者,处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。例如可以是基带处理器、或中央处理器。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信节点(如,基站、终端、或芯片等)进行控制,执行软件程序,处理软件程序的数据。Optionally, the processor 710 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (application-specific integrated circuit, ASIC), a dedicated processor, or one or more An integrated circuit for implementing the technical solutions of the embodiments of the present application. Alternatively, a processor may refer to one or more devices, circuits, and/or processing cores for processing data such as computer program instructions. For example, it may be a baseband processor or a central processing unit. The baseband processor can be used to process communication protocols and communication data, and the central processor can be used to control communication nodes (such as base stations, terminals, or chips, etc.), execute software programs, and process data of software programs.

可选地,该处理器710可以包括是一个或多个处理器,例如包括一个或多个中央处理单元(central processing unit,CPU),在处理器是一个CPU的情况下,该CPU可以是单核CPU,也可以是多核CPU。Optionally, the processor 710 may include one or more processors, for example, one or more central processing units (central processing unit, CPU). In the case that the processor is a CPU, the CPU may be a single Core CPU, also can be multi-core CPU.

该收发器720用于发送和接收数据和/或信号,以及接收数据和/或信号。该收发器可以包括发射器和接收器,发射器用于发送数据和/或信号,接收器用于接收数据和/或信号。The transceiver 720 is used to transmit and receive data and/or signals, and to receive data and/or signals. The transceiver may include a transmitter for transmitting data and/or signals and a receiver for receiving data and/or signals.

该存储器730包括但不限于是随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程存储器(erasable programmable readonly memory,EPROM)、只读光盘(compact disc read-only memory,CD-ROM),该存储器730用于存储相关指令及数据。The memory 730 includes but is not limited to random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), erasable programmable memory (erasable programmable readonly memory, EPROM), read-only optical disc (compact disc read-only memory, CD-ROM), the memory 730 is used to store related instructions and data.

存储器730用于存储网络设备的程序代码和数据,可以为单独的器件或集成在处理器710中。The memory 730 is used to store program codes and data of the network device, and may be a separate device or integrated in the processor 710 .

具体地,所述处理器710用于控制收发器与应用管理模块进行信息传输。具体可参见方法实施例中的描述,在此不再赘述。Specifically, the processor 710 is configured to control the transceiver and the application management module to perform information transmission. For details, refer to the description in the method embodiments, and details are not repeated here.

在具体实现中,作为一种实施例,节点700还可以包括输出设备和输入设备。输出设备和处理器710通信,可以以多种方式来显示信息。例如,输出设备可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备和处理器710通信,可以以多种方式接收用户的输入。例如,输入设备可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an example, the node 700 may further include an output device and an input device. Output devices are in communication with processor 710 and can display information in a variety of ways. For example, the output device may be a liquid crystal display (liquid crystal display, LCD), a light emitting diode (light emitting diode, LED) display device, a cathode ray tube (cathode ray tube, CRT) display device, or a projector (projector), etc. . The input device is in communication with the processor 710 and can receive user input in a variety of ways. For example, the input device may be a mouse, a keyboard, a touch screen device, or a sensing device, among others.

可以理解的是,图7仅仅示出了通信节点的简化设计。在实际应用中,该节点还可以分别包含必要的其他元件,包含但不限于任意数量的收发器、处理器、控制器、存储器等,而所有可以实现本申请的网络设备都在本申请的保护范围之内。It can be understood that Fig. 7 only shows a simplified design of a communication node. In practical applications, the node can also include other necessary components, including but not limited to any number of transceivers, processors, controllers, memories, etc., and all network devices that can implement this application are protected by this application within range.

还应理解,该节点700还可以是芯片或芯片系统。在该节点为芯片或芯片系统时,该节点700中的收发模块710可以为数据传输接口、接口电路、数据传输电路或管脚,处理模块720可以为处理器、处理电路或逻辑电路,存储单元可以为存储器或存储电路。It should also be understood that the node 700 may also be a chip or a chip system. When the node is a chip or a chip system, the transceiver module 710 in the node 700 can be a data transmission interface, an interface circuit, a data transmission circuit or a pin, and the processing module 720 can be a processor, a processing circuit or a logic circuit, and a storage unit Can be a memory or a storage circuit.

应理解,上述节点为芯片时,该芯片可以是现场可编程门阵列(fieldprogrammable gate array,FPGA),可以是专用集成芯片(application specificintegrated circuit,ASIC),还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(microcontroller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。It should be understood that when the aforementioned node is a chip, the chip may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), or a system chip (system on chip, SoC). ), it can also be a central processing unit (central processor unit, CPU), it can also be a network processor (network processor, NP), it can also be a digital signal processing circuit (digital signal processor, DSP), it can also be a microcontroller (microcontroller unit, MCU), and can also be a programmable controller (programmable logic device, PLD) or other integrated chips.

可选地,本申请实施例还示出了一种系统,该系统包括图4所示的节点400和图6所示的节点600。Optionally, this embodiment of the present application also shows a system, and the system includes the node 400 shown in FIG. 4 and the node 600 shown in FIG. 6 .

作为本实施例的另一种形式,提供一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中的方法。As another form of this embodiment, a computer-readable storage medium is provided, on which instructions are stored, and when the instructions are executed, the methods in the foregoing method embodiments are executed.

作为本实施例的另一种形式,提供一种包含指令的计算机程序产品,该指令被执行时执行上述方法实施例中的方法。As another form of this embodiment, a computer program product including instructions is provided, and when the instructions are executed, the methods in the above method embodiments are executed.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may 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 instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)) etc.

应理解,处理器可以是集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor may be an integrated circuit chip, which has a signal processing capability. In the implementation process, each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software. The aforementioned processor may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logic block diagrams disclosed in the embodiments of the present application may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register. The storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.

可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rateSDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchronous link DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It can be understood that the memory in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Among them, the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchronous link DRAM, SLDRAM ) and direct memory bus random access memory (direct rambus RAM, DR RAM).

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .

应理解,说明书通篇中提到的“一个实施例”或“一实施例”意味着与实施例有关的特定特征、结构或特性包括在本发明的至少一个实施例中。因此,在整个说明书各处出现的“在一个实施例中”或“在一实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中。应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic related to the embodiment is included in at least one embodiment of the present invention. Thus, appearances of "in one embodiment" or "in an embodiment" in various places throughout the specification are not necessarily referring to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, rather than by the embodiment of the present invention. The implementation process constitutes any limitation.

在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在2个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system" and the like are used in this specification to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more packets of data (e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems). Communicate through local and/or remote processes.

还应理解,本文中涉及的第一、第二以及各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围。It should also be understood that the first, second and various numbers mentioned herein are only for convenience of description, and are not used to limit the scope of the embodiments of the present application.

应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。其中,单独存在A或B,并不限定A或B的数量。以单独存在A为例,可以理解为具有一个或多个A。It should be understood that the term "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three relationships, for example, A and/or B may mean: A exists alone, and A and B exist at the same time , there are three cases of B alone. Wherein, A or B exists independently, and the quantity of A or B is not limited. Taking the existence of A alone as an example, it can be understood as having one or more A.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (14)

CN202010387411.6A2020-05-092020-05-09Method and node for message transmissionActiveCN113630300B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202010387411.6ACN113630300B (en)2020-05-092020-05-09Method and node for message transmission
PCT/CN2021/090513WO2021227873A1 (en)2020-05-092021-04-28Method and node for message transmission

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010387411.6ACN113630300B (en)2020-05-092020-05-09Method and node for message transmission

Publications (2)

Publication NumberPublication Date
CN113630300A CN113630300A (en)2021-11-09
CN113630300Btrue CN113630300B (en)2023-08-08

Family

ID=78377479

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010387411.6AActiveCN113630300B (en)2020-05-092020-05-09Method and node for message transmission

Country Status (2)

CountryLink
CN (1)CN113630300B (en)
WO (1)WO2021227873A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116996435A (en)*2022-04-252023-11-03华为技术有限公司 A message processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7185107B1 (en)*2002-10-022007-02-27Cisco Technology Inc.Redirecting network traffic through a multipoint tunnel overlay network using distinct network address spaces for the overlay and transport networks
CN102469170A (en)*2010-11-032012-05-23英业达集团(天津)电子技术有限公司Method for generating static Internet protocol (IP) address under disk operating system (DOS)
CN105635326A (en)*2014-10-272016-06-01国基电子(上海)有限公司Network equipment and IP address assignment method
CN106489252A (en)*2015-05-252017-03-08华为技术有限公司A kind of data transmission method and device
CN107070691A (en)*2017-01-122017-08-18阿里巴巴集团控股有限公司Docker containers across host communication method and system
CN108574705A (en)*2017-03-092018-09-25中国移动通信集团湖北有限公司 Communication method, device and system between containers
CN108964972A (en)*2018-05-242018-12-07华为技术有限公司A kind of methods, devices and systems of calculate node management
US10169048B1 (en)*2017-06-282019-01-01International Business Machines CorporationPreparing computer nodes to boot in a multidimensional torus fabric network
CN110932890A (en)*2019-11-202020-03-27厦门网宿有限公司Data transmission method, server and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP2854377B1 (en)*2013-09-272016-07-13Alcatel LucentA method for centralized address resolution
CN106254256B (en)*2015-06-042019-08-16新华三技术有限公司Data message forwarding method and equipment based on three layers of VXLAN gateway
US10523796B2 (en)*2015-12-222019-12-31Intel CorporationTechniques for embedding fabric address information into locally-administered Ethernet media access control addresses (MACs) and a multi-node fabric system implementing the same
CN106953943B (en)*2017-04-252019-07-16中国联合网络通信集团有限公司 Method and device suitable for switch communication
US10469629B2 (en)*2017-06-232019-11-05Cisco Technology, Inc.Container networking for connecting network controller applications to a switch fabric
CN110858821B (en)*2018-08-232022-01-07阿里巴巴集团控股有限公司Container communication method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US7185107B1 (en)*2002-10-022007-02-27Cisco Technology Inc.Redirecting network traffic through a multipoint tunnel overlay network using distinct network address spaces for the overlay and transport networks
CN102469170A (en)*2010-11-032012-05-23英业达集团(天津)电子技术有限公司Method for generating static Internet protocol (IP) address under disk operating system (DOS)
CN105635326A (en)*2014-10-272016-06-01国基电子(上海)有限公司Network equipment and IP address assignment method
CN106489252A (en)*2015-05-252017-03-08华为技术有限公司A kind of data transmission method and device
CN107070691A (en)*2017-01-122017-08-18阿里巴巴集团控股有限公司Docker containers across host communication method and system
CN108574705A (en)*2017-03-092018-09-25中国移动通信集团湖北有限公司 Communication method, device and system between containers
US10169048B1 (en)*2017-06-282019-01-01International Business Machines CorporationPreparing computer nodes to boot in a multidimensional torus fabric network
CN108964972A (en)*2018-05-242018-12-07华为技术有限公司A kind of methods, devices and systems of calculate node management
CN110932890A (en)*2019-11-202020-03-27厦门网宿有限公司Data transmission method, server and computer readable storage medium

Also Published As

Publication numberPublication date
CN113630300A (en)2021-11-09
WO2021227873A1 (en)2021-11-18

Similar Documents

PublicationPublication DateTitle
CN112702252B (en)Message processing method, system and related equipment
CN109587281B (en)Container configuration method and computing node
US11960430B2 (en)Remote mapping method, apparatus and device for computing resources, and storage medium
CN111490923B (en) Method, device and system for message encapsulation based on BRAS system
CN112040030B (en)Message transmission method and device, computer equipment and storage medium
CN109558091B (en)Lookup table storage method and device and computer readable storage medium
CN105874758B (en) Memory access method, switch and multiprocessor system
CN113132202A (en)Message transmission method and related equipment
CN109936641B (en) Domain name resolution method, virtual switch and distributed DNS system
CN114710549B (en) A dynamic management method, system and business node for network cards in a container platform
WO2020038443A1 (en)Bridging communication method and device
CN111294268B (en)Method and device for avoiding IP address conflict
CN113630300B (en)Method and node for message transmission
CN112019492B (en) Access control method, device and storage medium
CN104239222A (en)Memory access method, device and system
CN118694465A (en) Data synchronization method, device, equipment and medium based on FTTR/PON/WIFI
US20250300962A1 (en)Address configuration method and electronic device
CN117354867A (en) Data transmission method, device and storage medium
CN114157455B (en)Data transmission method, device, equipment and storage medium
WO2024197874A1 (en)Sensing measurement setup method, electronic device, and storage medium
CN115460303B (en) A data processing method, device, terminal and storage medium
WO2023207278A1 (en)Message processing method and apparatus
WO2022228184A1 (en)Communication method and apparatus, device, system, and computer-readable storage medium
CN114531320A (en)Communication method, device, equipment, system and computer readable storage medium
CN114679370A (en)Server hosting method, device, system and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp