CN113132188B - Communication method and network equipment - Google Patents

Communication method and network equipment Download PDF

Info

Publication number
CN113132188B
CN113132188B CN201911415529.9A CN201911415529A CN113132188B CN 113132188 B CN113132188 B CN 113132188B CN 201911415529 A CN201911415529 A CN 201911415529A CN 113132188 B CN113132188 B CN 113132188B
Authority
CN
China
Prior art keywords
working node
node
establishment request
working
network
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
CN201911415529.9A
Other languages
Chinese (zh)
Other versions
CN113132188A (en
Inventor
张恩博
杨文宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911415529.9A priority Critical patent/CN113132188B/en
Publication of CN113132188A publication Critical patent/CN113132188A/en
Application granted granted Critical
Publication of CN113132188B publication Critical patent/CN113132188B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a communication method, which comprises the following steps: after the first working node receives the access request, the first working node sets a corresponding first virtual interface for the access component, and the access component accesses the network plane through the first virtual interface. In this way, the first working node manages communication services of the access component through the first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved.

Description

Communication method and network equipment
Technical Field
The embodiment of the application relates to the field of communication, in particular to a communication method and network equipment.
Background
A node is a connection point and represents a redistribution point (redistribution point) or a communication endpoint. The definition of a node generally depends on the mentioned network and protocol layers, and the node referred to in the embodiments of the present application generally refers to a terminal device. An access component, typically comprising a container and applications such as virtual machines for implementing certain functions, may be deployed on top of a node. A network plane, generally refers to a network established between a plurality of nodes for communication, and is established by means of at least one node.
Under the environment of the virtual network, a virtualized management platform is deployed on the working node. When a user needs some access components to provide services, the virtualization management platform receives application requests of the access components. The virtualized management platform, upon receiving an access component application request, may establish a network plane between a plurality of nodes deploying the access component. For example, kubernetes (K8S) can implement simple interconnection between a plurality of nodes deploying the POD assembly after receiving an application request of the POD assembly, so that the nodes deploying the POD assembly can provide communication services for users by running the POD assembly.
After the virtualized management platform realizes simple interconnection among the nodes of the plurality of deployment access components, the virtualized management platform has limited management capability and cannot reasonably manage and control the communication services provided by the access components. For example, when there is a need for flow control, monitoring metrics, etc. for communication services provided by the access component, the virtualization management platform cannot handle the communication services.
Disclosure of Invention
The embodiment of the application provides a communication method, wherein a first working node manages and controls communication services of an access component through a first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved. The embodiment of the application also provides corresponding equipment and a system.
A first aspect of the present application provides a communication method, in which: a first working node receives an access request, wherein the access request is used for indicating an access component to be accessed to a network plane, and the access component is a virtual machine or a virtual container created on the first working node; the first working node sets a corresponding first virtual interface for the access component, and the first virtual interface is used for the access component to communicate with a second working node in the network plane; the first working node manages communication services of the access component through the first virtual interface.
In the first aspect, after the first working node receives the access request, the first working node sets a corresponding first virtual interface for the access component, and the access component accesses the network plane through the first virtual interface. In this way, the first working node manages communication services of the access component through the first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node sets a corresponding first virtual interface for the access component, and the first working node comprises: the first working node uses a side car component to allocate a virtual network card for providing a virtual interface function for the access component, and a first IP address for supporting communication of the virtual network card.
In this possible implementation, the first working node uses the sidecar assembly to assign a virtual network card for providing virtual interface functionality and a first internet protocol (internet protocol, IP) address for supporting communication of the virtual network card to the access assembly. This possible implementation provides a specific implementation form for setting up the first virtual interface.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node manages the communication service of the access component through the first virtual interface, and the first working node comprises: the first working node controls the transmission rate of the transmission flow corresponding to the access component to be smaller than a first threshold value through the first virtual interface, wherein the first threshold value is the maximum transmission rate of the transmission flow corresponding to the access component configured by the first working node.
In this possible implementation manner, the first working node may set a first virtual interface, and control, through the first virtual interface, a transmission rate of a transmission flow of the corresponding access component to be smaller than a first threshold. The possible implementation mode limits the maximum transmission rate of the transmission flow of the corresponding access component, and improves the practicability of the working node.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node manages the communication service of the access component through the first virtual interface, and the first working node comprises: the first working node controls the transmission rate of the transmission flow corresponding to the access component to be larger than a second threshold value through the first virtual interface, wherein the second threshold value is the minimum transmission rate of the transmission flow corresponding to the access component configured by the first working node.
In this possible implementation manner, the first working node may set a first virtual interface, and control, through the first virtual interface, a transmission rate of the transmission traffic of the corresponding access component to be greater than the second threshold. The possible implementation mode limits the minimum transmission rate of the transmission flow of the corresponding access component, and improves the practicability of the working node.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node manages the communication service of the access component through the first virtual interface, and the first working node comprises: and the first working node counts the transmission flow corresponding to the access component through the first virtual interface.
In this possible implementation manner, the first working node may set a first virtual interface, and statistics is performed on the transmission traffic of the corresponding access component through the first virtual interface. In this way, the relevant staff can make further analysis of the statistics of the transmission flow. This possible implementation promotes the practicality of the working node.
In a possible implementation manner of the first aspect, the implementation manner further includes: the first working node acquires a first establishment request, wherein the first establishment request is used for requesting the first working node to establish the network plane; the first working node establishes the network plane according to the first establishment request.
In this possible implementation manner, the first working node obtains a first establishment request, where the first establishment request includes parameters required for establishing the network plane. In this way, the first working node may obtain parameters required for establishing the network plane, which are included in the first establishment request. Further, the first working node may establish a network plane based on the parameter. This possible implementation promotes the practicality of the working node. In this possible implementation, the working node has the function of establishing the network plane.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node establishes the network plane according to the first establishment request, and the method comprises the following steps: the first working node sends a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the first working node meets a first condition for establishing the network plane; the first working node receives confirmation information returned by the selection node according to the second establishment request; and the first working node establishes the network plane according to the confirmation information.
In this possible implementation, the first working node may re-establish the network plane when the conditions for establishing the network plane are met. The first working node sends a second establishment request to the selection node according to the first establishment request, and when the selection node confirms that the first working node meets a first condition for establishing a network plane according to the second establishment request, the selection node sends confirmation information to the first working node. The acknowledgement information may include parameters required to establish the network plane. Thus, after the first working node receives the acknowledgement information, the first working node may establish a network plane according to the acknowledgement information. In the possible implementation manner, the first working node avoids the condition of establishing the network plane when the network establishment condition is not met, and improves the accuracy of establishing the network plane by the working node.
In a possible implementation manner of the first aspect, the implementation manner further includes: the first working node confirms that the first working node meets a second condition for establishing the network plane; the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises: and if the first working node confirms that the first working node meets the second condition for establishing the network plane, the first working node sends a second establishment request to a selection node according to the first establishment request.
In this possible implementation, the first working node obtains a first establishment request, where the first establishment request includes a second condition for establishing the network plane. And when the first working node confirms that the first working node meets the second condition, the first working node sends a second establishment request to the selection node. The possible implementation manner avoids the situation that the first working node sends the second establishment request to the selection node when the first working node does not meet the second condition, and the working node saves network resources.
In a possible implementation manner of the first aspect, the implementation manner further includes: the first working node receives a third establishing request sent by the management node, wherein the third establishing request is used for requesting the first working node to establish the access component; the first working node establishes the access component according to the third establishment request.
In this possible implementation, the third establishment request includes parameters required for establishing the access component. After the first working node receives the third establishment request, the first working node may establish the access component according to parameters required for establishing the access component included in the third establishment request. The working node provided in this possible implementation has the function of establishing an access component.
In a possible implementation manner of the first aspect, the implementation manner further includes: the first working node acquires a first establishment request, wherein the first establishment request is used for requesting the first working node and the second working node to establish the network plane; the first working node establishes the network plane with the second working node according to the first establishment request.
In this possible implementation manner, the first working node obtains a first establishment request, where the first establishment request includes parameters required for establishing the network plane. In this way, the first working node may obtain parameters required for establishing the network plane, which are included in the first establishment request. Further, the first working node may establish a network plane based on the parameter. This possible implementation promotes the practicality of the working node. In this possible implementation, the working node has the function of establishing the network plane.
In a possible implementation manner of the first aspect, the steps are as follows: the first working node establishes the network plane with the second working node according to the first establishment request, and the method comprises the following steps: the first working node sends a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the first working node meets a first condition of establishing the network plane with the second working node; the first working node receives confirmation information returned by the selection node according to the second establishment request; and the first working node establishes the network plane with the second working node according to the confirmation information.
In this possible implementation, the first working node may establish a network plane with the second working node when the condition for establishing the network plane is met. The first working node sends a second establishment request to the selection node according to the first establishment request, and when the selection node confirms that the first working node meets a first condition of establishing a network plane with the second working node according to the second establishment request, the selection node sends confirmation information to the first working node. The acknowledgement information may include parameters required to establish the network plane. Thus, after the first working node receives the acknowledgement information, the first working node may establish a network plane with the second working node according to the acknowledgement information. In the possible implementation manner, the first working node avoids the situation that the first working node establishes the network plane with the second working node when the network establishment condition is not met, and the accuracy of the working node in establishing the network plane is improved.
In a possible implementation manner of the first aspect, the implementation manner further includes: the first working node confirms that the first working node meets a second condition of establishing the network plane with the second working node; the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises: and if the first working node confirms that the first working node meets the second condition of establishing the network plane with the second working node, the first working node sends a second establishment request to a selection node according to the first establishment request.
In this possible implementation manner, the first working node obtains a first establishment request, where the first establishment request includes a second condition for establishing a network plane with the second working node. And when the first working node confirms that the first working node meets the second condition, the first working node sends a second establishment request to the selection node. The possible implementation manner avoids the situation that the first working node sends the second establishment request to the selection node when the first working node does not meet the second condition, and the working node saves network resources.
A second aspect of the present application provides a communication method, in which a first working node obtains a first establishment request, where the first establishment request is used to request the first working node to establish a network plane; the first working node sends a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the first working node meets a first condition for establishing the network plane; the first working node receives confirmation information returned by the selection node according to the second establishment request; and the first working node establishes the network plane according to the confirmation information.
In the second aspect, after the first working node obtains the first establishment request, the first working node sends a second establishment request to the selection node according to the first establishment request. Then, after receiving the confirmation information returned by the selection node according to the second establishment request, the first working node establishes a network plane according to the confirmation information. The second aspect described above provides a new way of establishing a network plane.
In a possible implementation manner of the second aspect, the steps are as follows: the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises: the first working node uses a side car assembly to acquire port information of a first port according to the first establishment request; and the first working node sends a second establishment request to the selection node by using the side car component according to the port information of the first port.
In this possible implementation manner, the first establishment request includes port information of the first port, and the first working node obtains the port information of the first port according to the first establishment request. In this way, the first working node may send the second setup request to the selection node according to the port information, which possible implementation provides a specific way of sending the second setup request.
In a possible implementation manner of the second aspect, the implementation manner further includes: the first working node confirms that the first working node meets a second condition for establishing the network plane; the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises: and if the first working node confirms that the first working node meets the second condition for establishing the network plane, the first working node sends the second establishment request to the selection node according to the first establishment request.
In this possible implementation, the first working node obtains a first establishment request, where the first establishment request includes a second condition for establishing the network plane. When the first working node confirms that the first working node meets the second condition, the first working node sends a second establishment request to the selection node. This possible implementation avoids the situation that the first working node sends the second establishment request to the selection node when the first working node does not meet the second condition, and the working node provided by this possible implementation saves network resources.
In a possible implementation manner of the second aspect, the steps are as follows: the first working node obtains port information of a first port by using a side car component according to the first establishment request, and the method comprises the following steps: the first working node uses the side car component to acquire a first port number and a second IP address according to the first establishment request, wherein the first port number is the port number of a first port corresponding to the first establishment request in the selected node, and the second IP address is the IP address corresponding to the first establishment request in the selected node; the first working node sends a second establishment request to the selection node by using the side car component according to the port information of the first port, and the second establishment request comprises: the first working node sends the second establishment request to the selection node according to a first port number and a second IP address by using the side car component.
In this possible implementation manner, the port information of the first port is a first port number and a second IP address, the first establishment request includes the first port number and the second IP address, and the first working node obtains the first port number and the second IP address according to the first establishment request. In this way, the first working node may send the second setup request to the selection node according to the first port number and the second IP address, which possible implementation provides a specific way of sending the second setup request.
In a possible implementation manner of the second aspect, the steps are as follows: the first working node establishes the network plane according to the confirmation information, and the method comprises the following steps: the first working node obtains configuration information in the confirmation information; and the first working node establishes the network plane according to the configuration information.
In this possible implementation, the first working node establishes the network plane according to the configuration information in the acknowledgement information. This possible implementation provides a specific implementation of establishing a network plane based on the acknowledgement information.
In a possible implementation manner of the second aspect, the implementation manner further includes: the first working node confirms that the first working node meets a second condition of establishing the network plane with the second working node; the steps are as follows: the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises: and if the first working node confirms that the first working node meets a second condition of establishing the network plane with the second working node, the first working node sends the second establishing request to the selecting node according to the first establishing request.
In this possible implementation manner, the first working node obtains a first establishment request, where the first establishment request includes a second condition for establishing a network plane with the second working node. When the first working node confirms that the first working node meets the second condition, the first working node sends a second establishment request to the selection node. This possible implementation avoids the situation that the first working node sends the second establishment request to the selection node when the first working node does not meet the second condition, and the working node provided by this possible implementation saves network resources.
In a possible implementation manner of the second aspect, the steps are as follows: the first working node establishes the network plane with the second working node according to the confirmation information, and the method comprises the following steps: the first working node obtains configuration information in the confirmation information; and the first working node establishes the network plane with the second working node according to the configuration information.
In this possible implementation manner, the first working node establishes a network plane with the second working node according to the configuration information in the acknowledgement information. This possible implementation provides a specific implementation of establishing a network plane based on the acknowledgement information.
A third aspect of the present application provides a working node for performing the method of the first aspect or any possible implementation of the first aspect. In particular, the working node comprises means or units for performing the method of the first aspect or any possible implementation of the first aspect.
A fourth aspect of the present application provides a network device for performing the method of the second aspect or any possible implementation of the second aspect. In particular, the network device comprises means or units for performing the method of the second aspect or any possible implementation of the second aspect.
A fifth aspect of the present application provides a working node comprising at least one processor, a memory and a communication interface. The processor is coupled with the memory and the communication interface. The memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other network elements under the control of the processor. The instructions, when executed by a processor, cause the processor to perform the method of the first aspect or any possible implementation of the first aspect.
A sixth aspect of the present application provides a network device comprising at least one processor, a memory, and a communication interface. The processor is coupled with the memory and the communication interface. The memory is used for storing instructions, the processor is used for executing the instructions, and the communication interface is used for communicating with other network elements under the control of the processor. The instructions, when executed by a processor, cause the processor to perform the method of the second aspect or any possible implementation of the second aspect.
A seventh aspect of the present application provides a computer readable storage medium storing a program for causing a working node to perform the method of the first aspect or any possible implementation of the first aspect.
An eighth aspect of the present application provides a computer readable storage medium storing a program for causing a network device to perform the method of the second aspect or any possible implementation of the second aspect.
A ninth aspect of the present application provides a computer program product storing one or more computer-executable instructions which, when executed by the processor, perform the method of the first aspect or any one of the possible implementations of the first aspect.
A tenth aspect of the present application provides a computer program product storing one or more computer-executable instructions which, when executed by the processor, perform the method of the second aspect or any one of the possible implementations of the second aspect.
An eleventh aspect of the present application provides a communication system, the communication system comprising: at least one management node, at least one working node and at least one selection node, the working node performing the method of the first aspect or any one of the possible implementation manners of the first aspect. The management node is used for sending an access component establishment request and an access component access request to the working node, the selection node is used for receiving a second establishment request, and the confirmation information is returned to the working node according to the second establishment request.
A twelfth aspect of the present application provides a network system, the network system comprising: at least one working node and at least one selection node, the working node performing the method of the second aspect or any one of the possible implementations of the second aspect. The selecting node is used for receiving the second establishing request and returning confirmation information to the working node according to the second establishing request.
The technical effects of the third aspect, the fifth aspect, the seventh aspect, the ninth aspect, and the eleventh aspect or any possible implementation manner of the foregoing may be referred to technical effects of the first aspect or technical effects of different possible implementation manners of the first aspect, which are not described herein.
The technical effects of the fourth aspect, the sixth aspect, the eighth aspect, the tenth aspect, and the twelfth aspect or any one of the possible implementation manners of the fourth aspect, the sixth aspect, the eighth aspect, the tenth aspect, and any one of the possible implementation manners of the second aspect may be referred to as technical effects of the second aspect or different possible implementation manners of the second aspect, which are not described herein.
From the above technical solutions, the embodiments of the present application have the following advantages:
in this embodiment of the present application, after receiving an access request, a first working node sets a corresponding first virtual interface for an access component, where the access component accesses a network plane through the first virtual interface. In this way, the first working node manages communication services of the access component through the first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved.
Drawings
Fig. 1 is a schematic view of an application scenario of a communication system provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another embodiment of a communication method provided by an embodiment of the present application;
FIG. 3a is a schematic diagram of another embodiment of a communication method provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of another embodiment of a communication method provided by an embodiment of the present application;
FIG. 5 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application;
FIG. 5a is a schematic diagram of another embodiment of a communication method provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of another embodiment of a communication method provided by an embodiment of the present application;
FIG. 7 is a schematic diagram of a working node according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a network device according to an embodiment of the present application;
FIG. 9 is another schematic structural diagram of a working node provided in an embodiment of the present application;
fig. 10 is another schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will now be described with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some, but not all embodiments of the present application. As one of ordinary skill in the art can appreciate, with the development of technology and the appearance of new scenes, the technical solutions provided in the embodiments of the present application are applicable to similar technical problems.
The terms first, second and the like in the description and in the claims of the present application and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the application provides a communication method, wherein a first working node manages and controls communication services of an access component through a first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved. The embodiment of the application also provides corresponding equipment and a system. The following will describe in detail.
Fig. 1 is an application scenario schematic diagram of a communication system provided in an embodiment of the present application.
Referring to fig. 1, a communication system provided in an embodiment of the present application includes: working nodes 101 and 102, access network devices 103, 105 and 107, pick up node 104, and manage node 106.
Wherein the working nodes 101 and 102 are connected to the selection node 104 through the access network device 103, the working nodes 101 and 102 are connected to the management node 106 through the access network device 105, and the working node 101 is connected to the working node 102 through the access network device 107.
In the present embodiment, only two working nodes 101 and 102 and three access network devices 103, 105 and 107 and one selection node 104 and one management node 106 are illustrated as examples.
In practical application, optionally, the application scenario of the embodiment of the present application may have more working nodes, access network devices, selection nodes, and management nodes.
The devices involved in the network system and the connection relationship between the devices provided in the embodiments of the present application are similar to those involved in the communication system, and detailed descriptions thereof are omitted herein.
Alternatively, the working node may be a terminal or a server, and the working node may be other devices with an operating system installed, which is not limited herein. The working node may be in communication connection with the management node, and the working node may be in communication connection with the selection node.
Optionally, the access network device is generally connected to the working node, the selection node and the management node through a wireless network, and may of course also be connected through a wired network. If connected via a wireless network, the specific connection may be a cellular wireless network, or a WiFi network, or other type of wireless network, and is not limited herein.
Optionally, the access network device is generally connected to the working node, the selection node and the management node through a wireless network, and may of course also be connected through a wired network. If connected via a wired network, the typical connection is in the form of a fiber optic network.
Alternatively, the selection node may be a terminal or a server, and the selection node may also be other devices with an operating system installed, which is not limited herein. The selection node selects the working node meeting the condition to establish the network plane, the selection node and the management node can be the same equipment, the selection node and the management node can also be different equipment, and the method is not limited in detail herein.
The communication method provided in the embodiment of the present application is described based on the communication system described in fig. 1.
Referring to fig. 2, an embodiment of a communication method in the embodiments of the present application includes steps 201 to 203.
201. The first working node receives an access request.
The first working node is a device with an operating system installed. Alternatively, the first working node may be a terminal device, and the first working node may also be a server, and the first working node may also be other devices, which is not limited herein.
The access request is for instructing the first working node to access the access component into the network plane. Alternatively, the access component may be a virtual machine or a virtual container created on the first working node, or may be another process created on the first working node, which is not limited herein.
202. The first working node sets a corresponding first virtual interface for the access component.
The access component needs to access the network plane before it can communicate with other working nodes in the network plane. The first working node may set a corresponding first virtual interface for the access component, through which the access component may communicate with the second working node in the network plane.
203. The first working node manages communication services of the access component through the first virtual interface.
The access component accesses the network plane through the first virtual interface such that the first working node can manage communication services of the access component by configuring the first virtual interface.
In this embodiment of the present application, after receiving an access request, a first working node sets a corresponding first virtual interface for an access component, where the access component accesses a network plane through the first virtual interface. In this way, the first working node manages communication services of the access component through the first virtual interface. Therefore, the working node can reasonably manage and control the communication service provided by the access component, and the management capability of the working node is improved.
The setting of the corresponding first virtual interface for the access component by the first working node mentioned in step 202 may be implemented by allocating a virtual network card and an IP address, where the implementation manner includes: the first working node uses the side car component to allocate a virtual network card for providing a virtual interface function for the access component, and a first IP address for supporting communication of the virtual network card.
Fig. 3 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application.
Referring to FIG. 3, an exemplary work node has a virtualization management platform, such as Kubernetes (K8S), deployed thereon, and a sidecar assembly (sidecar) deployed thereon. The access component is a POD component. The sidecar comprises at least three components: drive, control plane and data plane. The management node is deployed with a K8S master. The main function of driver is to interact with K8S. For example, one function of driver is to monitor the creation of various resources in K8S all the time. The driver then forwards the monitoring information to the control plane, whose main function is to handle the request for the establishment of the plane and the request for the POD component to access the plane. The function of the dataplane is to establish the network plane and to establish a connection between the POD component and the network plane.
Fig. 3a is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application.
Referring to fig. 3a, the access device is a POD device. The user will first send a POD component access request to the management node. After receiving the POD component access request, the management node sends the access request to drivers in the sidecar installed on the first working node. After receiving the access request, the driver sends the access request to the control plane in the sidecar. After the control plane in the first working node receives the access request of the POD component, the control plane may send the access request to the dataplane. In this way, the first working node may allocate a virtual network card and an IP address to the POD component using the dataplane in the sidecar component, where the virtual network card and the IP address combine to form the first virtual interface.
Fig. 4 is a schematic diagram of another embodiment of the communication method provided in the embodiment of the present application.
Referring to fig. 4, alternatively, an access component on a working node may access a network plane through a virtual interface, for example, an access component POD1 on a first working node accesses a network plane2. Multiple PODs on one working node may access one network plane through a virtual interface, e.g. access component POD2 and access component POD3 on a second working node access network plane2. An access component on one working node may also access different network planes, e.g. the access component POD4 on the third working node accesses the network plane1 and the network plane2 via different virtual interfaces. The access component may also access into the network plane in other ways, and is not limited in particular herein.
The first working node mentioned in step 203 has a plurality of different implementations for managing the communication service of the access component through the first virtual interface, and these different implementations can be understood with reference to the following three points.
1. The first working node controls the transmission rate of the transmission flow of the corresponding access component to be smaller than a first threshold value through the first virtual interface.
The first threshold is a maximum transmission rate of transmission traffic of a corresponding access component configured by the first working node. The traffic transmitted between the network plane and the access component needs to be transmitted through the first virtual interface, so that the first working node can set the maximum transmission rate of the traffic transmitted by the first virtual interface, and further, the first working node can indirectly control the traffic of the corresponding POD access component through the first virtual interface.
Illustratively, a virtualized management platform, such as K8S, is deployed on the working node, a sidecar is also deployed on the first working node, and the access component is a POD component. Firstly, the sidecar establishes a virtual interface named eth2 for the POD component, and the upper limit of the transmission rate is 1 megabit/second, thereby realizing the control of the transmission rate of the corresponding flow of the POD component. The transmission rate includes a sending rate and a receiving rate, which are not limited herein.
Optionally, the datacard has a virtual transmission interface corresponding to the first virtual interface corresponding to the POD component, where the virtual transmission interface is assumed to be named as eth2-peer, so the first working node only needs to set the upper limit of the transmission rate of eth2-peer to be 1 megasecond, and then the upper limit of the receiving rate of eth2 is 1 megasecond. Taking openvswitch as an example, after the eth2-peer is established, we send a command to the openvswitch in the program: ovs-vsctl set interface tap ingress_poling_rate=1000. Thus, control of the upper limit of the eth2-peer transmission rate of 1 megabit/second is realized. In the above embodiments, the control eth2 interface and the control eth2-peer interface are merely taken as examples for illustration, and other implementations are also possible in practical applications, and are not limited in this specific application.
2. The first working node controls the transmission rate of the transmission flow of the corresponding access component to be larger than a second threshold value through the first virtual interface.
The second threshold is a minimum transmission rate of transmission traffic of the corresponding access component configured by the first working node. The traffic transmitted between the network plane and the access component needs to be transmitted through the first virtual interface, so that the first working node can set the minimum transmission rate of the traffic transmitted by the first virtual interface, and further, the first working node can indirectly control the traffic of the corresponding POD access component through the first virtual interface.
Illustratively, a virtualized management platform, such as K8S, is deployed on the working node, a sidecar is also deployed on the first working node, and the access component is a POD component. Firstly, the sidecar establishes a virtual interface named eth3 for the POD component, and the lower limit of the transmission rate is 1 megabit/second, thereby realizing the control of the transmission rate of the corresponding flow of the POD component. The transmission rate includes a sending rate and a receiving rate, which are not limited herein.
Optionally, the datacard has a virtual transmission interface corresponding to the first virtual interface corresponding to the POD component, where the virtual transmission interface is assumed to be an eth3-peer, so that the first working node only needs to set a lower limit of a transmission rate of eth3-peer to be limited to 1 megasecond, and then the lower limit of a receiving rate of eth3 is naturally limited to 1 megasecond.
3. And the first working node counts the transmission flow of the corresponding access component through the first virtual interface.
Illustratively, a virtualized management platform, such as K8S, is deployed on the working node, a sidecar is also deployed on the first working node, and the access component is a POD component. Since the traffic of all interfaces in the POD passes through the dataplane in the sidecar, the traffic of the POD assembly can be counted only by counting the traffic of the virtual interfaces corresponding to the POD assembly in the dataplane. Taking openvswitch as an example, the dataplane only needs to deploy an sFlow Agent and an sFlow collector and start the sFlow in the openvswitch of the first working node to be monitored to count the transmission flow of the POD component because the openvswitch has the sFlow function. In the above embodiment, only the open sFlow in the openvswitch is used to describe the statistics of the transmission flow of the POD assembly, and other implementations are also possible in practical applications, which are not limited in this specific embodiment.
In the foregoing embodiments, other implementations besides the three different implementations described above are alternatively possible, and are not limited herein.
In this embodiment, optionally, before the first working node receives the access request, the first working node may also establish a network plane, and a process of establishing the network plane will be described in detail in the following embodiments.
Referring to fig. 5, fig. 5 is a schematic diagram of an embodiment of a communication method according to the present disclosure.
301. The first working node obtains a first establishment request.
The first set-up request may be for requesting the first working node to establish a network plane with the second working node. After receiving the plane establishment request sent by the user equipment, the management node may acquire the first establishment request by the working node. The first establishment request may include parameters required by the first working node to establish the network plane. For example, virtual extended lan identifier (VXLAN network identifier, VNI), id of VXLAN tunnel when the network plane crosses nodes, vlan id used by the network plane inside one node, number of nodes needed to be used for establishing the network plane, and other parameters, such as receiving rate of the network plane, etc., which are not limited herein.
The first setup request is used herein for illustration purposes to request the first working node to establish a network plane with the second working node. Alternatively, the first establishment request may be used to request the first working node to establish a network plane with some other working node than the second working node. The first establishment request may be used to request the first working node to establish a network plane with at least two working nodes, and is not limited herein.
Fig. 5a is a specific embodiment of a communication method provided in an embodiment of the present application.
Referring to fig. 5a, an exemplary working node has a virtualization management platform, e.g., K8S, deployed thereon, and a sidecar deployed on a first working node. Kubernetes Master (K8S Master) is deployed on the management node. After the Kubernetes Master deployed on the management node receives the network plane setup request, a driver component (driver) in the sidecar will obtain the first setup request.
It can be understood that only the first working node is used for deploying the K8S as an example, and other virtualization management platforms can be deployed, which is not limited herein.
302. The first working node confirms that the first working node satisfies a second condition for establishing the network plane.
After the first working node receives the first establishment request, the first working node may acquire parameters required for establishing the network plane in the first establishment request. Optionally, the parameter may include at least one constraint, where the constraint is a second condition for establishing a network plane for the first working node and the second working node. If the first working node confirms that the first working node meets the limiting conditions, the first working node confirms that the first working node meets a second condition for establishing a network plane with the second working node.
Illustratively, if the parameters required to establish the network plane include a constraint, the constraint is: the receiving rate of the network plane is not less than 1000kb/s. If the first working node confirms that the first working node has the capability of configuring the network plane receiving rate and can realize that the network plane receiving rate is not less than 1000kb/s, the first working node confirms that the first working node meets the limiting condition included in the parameters required for establishing the network plane, namely, the first working node meets the second condition for establishing the network plane with the second working node.
Illustratively, if the parameters required to establish the network plane include a constraint, the constraint is: the minimum number of central processing units (central processing unit, CPU) of the working node that establishes the network plane is 3. If the first working node confirms that the first working node is provided with more than 3 CPUs, the first working node confirms that the first working node meets the limiting conditions included in parameters required for establishing the network plane, namely, the first working node meets the second condition for establishing the network plane with the second working node.
Alternatively, the above description is given by taking the limitation condition that the receiving rate of the network plane is not less than 1000kb/s and the minimum number of CPUs of the working node for establishing the network plane is 3 as an example, and the limitation condition included in the parameters required for establishing the network plane may also be other limitation conditions, which is not limited herein.
303. And the first working node acquires the first port number and the second IP address according to the first establishment request.
After the first working node receives the first establishment request, the first working node may acquire port information of the first port according to the first establishment request. The first working node may obtain the first port number and the second IP address according to the port information. Optionally, the port information may include a first port number and a second IP address, and may further include other parameters related to the first port, which is not limited herein.
Referring to fig. 5a, an exemplary working node has a virtualization management platform, e.g., K8S, deployed thereon, and a sidecar deployed on a first working node. The selecting node provides a selecting working node to establish network plane Service, and exposes a hypertext transfer protocol (HTTP) port and an IP address to the outside, the selecting working node Service is expressed as a Service resource in K8S, and under the support of K8S, a driver in a sidecar deployed on the first working node can acquire a corresponding first port number and a corresponding second IP address according to the name of the Service. The K8S and the sidecar are only used as an example for the first working node deployment, and the first port number and the second IP address may be obtained by other manners, which is not limited herein.
304. The first working node sends the second establishment request to the selection node according to the first port number and the second IP address.
The second establishment request may include parameter information of the first working node, the second establishment request may further include identification information of the first working node, and the second establishment request may further include other information, which is not limited herein.
The parameter information of the first working node may include memory information of the first working node and CPU number information of the first working node, and may also include other parameter information related to the first working node, which is not limited herein.
Referring to fig. 5a, an exemplary working node has a virtualization management platform, e.g., K8S, deployed thereon, and a sidecar deployed on a first working node. The sidecar includes driver, controlplane and dateplane. After the driver in the sidecar obtains the first establishment request, the driver obtains the first port number and the second IP address according to the port identifier of the first port in the first establishment request. The driver may issue the obtained first port number and the second IP address to the control plane, and then the control plane may send a second establishment request to the selection node according to the first port number and the second IP address. The first working node is used to deploy K8S and the sidecar as an example, and the working node may send the second establishment request to the selection node in other manners, which is not limited herein.
305. And the first working node receives the confirmation information returned by the selection node according to the second establishment request.
After the first working node sends the second establishment request to the selection node according to the first port number and the second IP address, the selection node can acquire the parameter information of the first working node in the second establishment request, and after the selection node confirms that the first working node meets the first condition of establishing the network plane with the second working node, the selection node returns confirmation information according to the second establishment request. Then, the first working node receives the confirmation information returned by the selection node according to the second establishment request.
Referring to fig. 5a, an exemplary working node has a virtualization management platform, e.g., K8S, deployed thereon, and a sidecar deployed on a first working node. After the control plane sends the second establishment request to the selection node according to the first port number and the second IP address, the selection node may obtain the parameter information of the first working node in the second establishment request. After the selection node confirms that the first condition for establishing the network plane with the second working node is met, the selection node returns confirmation information according to the second establishment request, and the control plane of the sidecar deployed on the first working node can receive the confirmation information returned by the selection node according to the second establishment request. The first working node is only used for deploying the K8S and the sidecar, and the first working node may also receive the acknowledgement information in other manners, which is not limited herein.
306. The first working node obtains configuration information in the confirmation information.
Referring to fig. 5a, an exemplary embodiment of the present invention includes receiving a confirmation message from a selection node from a control plane in a sidecar in a first working node. In this way, the control plane can obtain the configuration information in the acknowledgement information and send the configuration information to the dataplane.
The configuration information may include parameters required by the first working node and the second working node to establish a network plane. For example, virtual extended lan identifier (VXLAN network identifier, VNI), id of VXLAN tunnel when the network plane crosses nodes, vlan id used by the network plane inside one node, number of nodes needed to be used for establishing the network plane, and other parameters, such as receiving rate of the network plane, etc., which are not limited herein.
307. The first working node establishes a network plane according to the configuration information.
The first working node may establish a network plane with the second working node according to the configuration information.
Referring to fig. 5a, an exemplary working node has a virtualization management platform, e.g., K8S, deployed thereon, and a sidecar deployed on a first working node. The control plane may obtain configuration information from the acknowledgement information. In this way, the control plane can issue configuration information to the dataplane, and the dataplane generates an initial flow table required for establishing the network plane according to the configuration information. In addition, the dateplane may further obtain a VNI included in the configuration information, and the dateplane may establish a tunnel network with the second working node according to the VNI.
The tunnel network may be in the form of a VXLAN tunnel or a GRE tunnel, which is not limited herein.
Fig. 6 is a schematic diagram of an embodiment of a communication method according to an embodiment of the present application.
Referring to fig. 6, the process of establishing a network plane may be to establish a network plane between two working nodes, for example, the first working node and the second working node establish a network plane1 through a sidecar. The process of establishing the network plane may also be to commonly establish the network plane between a plurality of working nodes, for example, the first working node, the second working node, and the third working node establish the network plane2 through the sidecar, which is not limited herein.
In the above embodiments, optionally, the communication methods mentioned in the steps 301 to 307 may be implemented by the communication methods mentioned in the steps 201 to 203, or may be implemented independently without depending on the communication methods, which is not limited herein.
In this embodiment, optionally, the first working node may also establish an access component before receiving the access request, and a process of establishing the access component will be described in detail in the following embodiments.
The first working node receives a third establishment request sent by the management node.
The first working node receives a third setup request sent by the management node, which may be used to request the first working node to set up the access component. After receiving the access component establishment request sent by the user equipment, the management node may send a third establishment request to the working node, and the first working node may receive the third establishment request, so as to establish the access component according to the third establishment request.
The first working node establishes the access component according to the third establishment request.
After the first working node receives the third establishment request, the first working node may acquire the access component information in the third establishment request. The first working node establishes an access component according to the access component information.
According to the scheme provided by the embodiment, after the first working node obtains the first establishment request, the first working node sends the second establishment request to the selection node according to the first establishment request. Then, after receiving the confirmation information returned by the selection node according to the second establishment request, the first working node establishes a network plane with the second working node according to the confirmation information. The second aspect described above provides a new way of establishing a network plane.
The foregoing embodiments provide different implementation manners of a communication method, and as shown in fig. 7, the working node 40 is configured to perform steps performed by the working node in the foregoing embodiments, where the performing steps and corresponding beneficial effects are specifically understood with reference to the foregoing corresponding embodiments, and are not described herein in detail, and the working node 40 includes:
a receiving unit 401, configured to receive an access request, where the access request is used to instruct an access component to access to a network plane, and the access component is a virtual machine or a virtual container created on the first working node;
the processing unit 402 is configured to:
setting a corresponding first virtual interface for the access component, wherein the first virtual interface is used for the access component to communicate with a second working node in the network plane;
and controlling the communication service of the access component through the first virtual interface.
In a specific implementation manner, the processing unit 402 is configured to allocate, using a sidecar component, a virtual network card for providing a virtual interface function to the access component, and a first IP address for supporting communication of the virtual network card.
In a specific implementation manner, the processing unit 402 is configured to control, through the first virtual interface, a transmission rate of the transmission traffic corresponding to the access component to be smaller than a first threshold, where the first threshold is a maximum transmission rate of the transmission traffic corresponding to the access component configured by the first working node.
In a specific implementation manner, the processing unit 402 is configured to control, through the first virtual interface, a transmission rate of the transmission traffic corresponding to the access component to be greater than a second threshold, where the second threshold is a minimum transmission rate of the transmission traffic corresponding to the access component configured by the first working node.
In a specific implementation manner, the processing unit 402 is configured to count, through the first virtual interface, a transmission traffic corresponding to the access component.
In a specific implementation manner, the processing unit 402 is configured to:
acquiring a first establishment request, wherein the first establishment request is used for requesting the processing unit to establish the network plane;
and establishing the network plane according to the first establishment request.
In a specific implementation manner, the processing unit 402 is configured to send, according to the first establishment request, a second establishment request to a selection node, where the second establishment request is used by the selection node to confirm that the first working node meets a first condition for establishing the network plane;
A receiving unit 401, configured to receive acknowledgement information returned by the selection node according to the second establishment request;
the processing unit 402 is configured to establish the network plane according to the acknowledgement information.
In a specific implementation manner, the processing unit 402 is further configured to confirm that the first working node meets a second condition for establishing the network plane;
the processing unit 402 is further configured to send a second setup request to a selection node according to the first setup request if the first working node confirms that the first working node meets a second condition for establishing the network plane.
In a specific implementation manner, the receiving unit 401 is further configured to receive a third establishment request sent by the management node, where the third establishment request is used to request the processing unit to establish the access component;
the processing unit 402 is further configured to establish the access component according to the third establishment request.
It should be noted that, because the content of information interaction and execution process between the modules of the working node 40 is based on the same concept as the method embodiment of the present application, the technical effects brought by the content are the same as the method embodiment of the present application, and the specific content can be referred to the description in the method embodiment shown in the foregoing application, which is not repeated herein.
The foregoing embodiment provides a working node, and the following provides a network device 50, as shown in fig. 8, where the network device 50 is configured to perform the steps performed by the network device in the foregoing embodiment, and the performing steps and the corresponding beneficial effects are specifically understood with reference to the foregoing corresponding embodiment, which is not repeated herein, where the network device 50 includes:
the processing unit 501 is configured to:
acquiring a first establishment request, wherein the first establishment request is used for requesting the first working node to establish a network plane;
sending a second establishment request to a selected node according to the first establishment request, wherein the second establishment request is used for the selected node to confirm that the first working node meets a first condition for establishing the network plane;
a receiving unit 502, configured to receive acknowledgement information returned by the selection node according to the second establishment request;
the processing unit 501 is configured to establish the network plane according to the acknowledgement information.
In a specific implementation manner, the processing unit 501 is configured to:
indicating a side car component to acquire first port information according to the first establishment request;
and the side car component is instructed to send a second establishment request to the selection node according to the first port information.
In a specific implementation manner, the processing unit 501 is further configured to confirm that the first working node meets a second condition for establishing the network plane;
if the processing unit 501 confirms that the first working node meets the second condition for establishing the network plane, the processing unit 501 is further configured to send the second establishment request to the selection node according to the first establishment request.
In a specific implementation manner, the processing unit 501 is configured to:
the side car component is instructed to acquire a first port number and a second IP address according to the first establishment request, wherein the first port number is the port number of a first port corresponding to the first establishment request in the selected node, and the second IP address is the IP address corresponding to the first establishment request in the selected node;
and indicating the side car component to send the second establishment request to the selection node according to the first port number and the second IP address.
In a specific implementation manner, the processing unit 501 is configured to:
acquiring configuration information in the confirmation information;
and establishing the network plane according to the configuration information.
It should be noted that, because the content of information interaction and execution process between the modules of the network device 50 is based on the same concept as the method embodiment of the present application, the technical effects brought by the content are the same as the method embodiment of the present application, and the specific content may be referred to the description in the method embodiment shown in the foregoing application, which is not repeated herein.
Fig. 9 is a schematic diagram of an embodiment of a working node 600 according to the present disclosure.
Fig. 9 is a schematic structural diagram of a working node provided in an embodiment of the present application, where the working node 600 may include one or more processors (central processing units, CPU) 601 and a memory 602, where the memory 602 stores one or more operating systems and/or program codes.
Wherein the memory 602 may be volatile storage or persistent storage. The program instructions stored in memory 602 may include one or more modules, each of which may include a series of instruction operations in a working node. Still further, the processor 601 may be arranged to communicate with the memory 602 and execute a series of instruction operations in the memory 602 on the work node 600.
Optionally, the working node 600 may also include one or more power supplies, one or more wired or wireless communication interfaces 603, one or more input/output interfaces 604, the input/output interfaces 604 being connected to an output device such as a display 605, one or more operating systems such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The processor 601 may perform the operations performed by the working node in the embodiment shown in fig. 7, which are not described herein.
In some embodiments, the processor 601 of the working node may perform the actions performed by the processing unit 402 in fig. 7, and the communication interface 603 in the working node may perform the actions performed by the receiving unit 401 in fig. 7, which are similar to the implementation principle and technical effect, and are not described herein again.
Fig. 10 is a schematic diagram of a specific embodiment of a network device 700 according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a network device according to an embodiment of the present application, where the network device 700 may include one or more processors (central processing units, CPU) 701 and a memory 702, and the memory 702 stores one or more operating systems and/or program codes.
Wherein the memory 702 may be volatile storage or persistent storage. The program instructions stored in memory 702 may include one or more modules, each of which may include a series of instruction operations in a network device. Still further, the processor 701 may be configured to communicate with the memory 702 and execute a series of instruction operations in the memory 702 on the network device 700.
Optionally, the network device 700 may also include one or more power supplies, one or more wired or wireless communication interfaces 703, one or more input/output interfaces 704, the input/output interfaces 704 being connected to an output device such as a display 705, one or more operating systems such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The processor 701 may perform the operations performed by the network device in the embodiment shown in fig. 8, which are not described herein.
In some embodiments, the processor 701 of the network device may perform the actions performed by the processing unit 501 in fig. 8, and the communication interface 703 in the network device may perform the actions performed by the receiving unit 502 in fig. 8, which are similar to the implementation principle and technical effects and are not described herein.
The present application also provides a chip system, which includes a processor, and is configured to support the forwarding device or the control device to implement the functions related to the forwarding device or the control device, for example, to receive or process the messages and/or information related to the method embodiments. In one possible design, the chip system further includes a memory for holding program instructions and data necessary for the computer device. The chip system can be composed of chips, and can also comprise chips and other discrete devices.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, 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 loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may 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 in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (32)

1. A method of communication, comprising:
a first working node receives an access request, wherein the access request is used for indicating an access component to be accessed to a network plane, and the access component is a virtual machine or a virtual container created on the first working node;
the first working node sets a corresponding first virtual interface for the access component, and the first virtual interface is used for the access component to communicate with a second working node in the network plane;
the first working node controls the communication service of the access component through the first virtual interface;
the method further comprises the steps of:
the first working node acquires a first establishment request, wherein the first establishment request is used for requesting the first working node to establish the network plane;
The first working node establishes the network plane according to the first establishment request.
2. The method of claim 1, wherein the first working node sets a corresponding first virtual interface for the access component, comprising:
the first working node allocates a virtual network card for providing a virtual interface function for the access component by using a side car component, and a first Internet Protocol (IP) address for supporting communication of the virtual network card.
3. The method according to claim 1 or 2, wherein the first working node manages communication services of the access component through the first virtual interface, comprising:
the first working node controls the transmission rate of the transmission flow corresponding to the access component to be smaller than a first threshold value through the first virtual interface, wherein the first threshold value is the maximum transmission rate of the transmission flow corresponding to the access component configured by the first working node.
4. The method according to claim 1 or 2, wherein the first working node manages communication services of the access component through the first virtual interface, comprising:
The first working node controls the transmission rate of the transmission flow corresponding to the access component to be larger than a second threshold value through the first virtual interface, wherein the second threshold value is the minimum transmission rate of the transmission flow corresponding to the access component configured by the first working node.
5. The method according to claim 1 or 2, wherein the first working node manages communication services of the access component through the first virtual interface, comprising:
and the first working node counts the transmission flow corresponding to the access component through the first virtual interface.
6. The method of claim 1, wherein the first worker node establishes the network plane in accordance with the first establishment request, comprising:
the first working node sends a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the first working node meets a first condition for establishing the network plane;
the first working node receives confirmation information returned by the selection node according to the second establishment request;
and the first working node establishes the network plane according to the confirmation information.
7. The method of claim 6, wherein the method further comprises:
the first working node confirms that the first working node meets a second condition for establishing the network plane;
the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises:
and if the first working node confirms that the first working node meets the second condition for establishing the network plane, the first working node sends a second establishment request to a selection node according to the first establishment request.
8. The method according to any one of claims 1 to 2, 6 to 7, further comprising:
the first working node receives a third establishing request sent by a management node, wherein the third establishing request is used for requesting the first working node to establish the access component;
the first working node establishes the access component according to the third establishment request.
9. A method of communication, comprising:
the method comprises the steps that a first working node obtains a first establishment request, wherein the first establishment request is used for requesting the first working node to establish a network plane;
the first working node sends a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the first working node meets a first condition for establishing the network plane;
The first working node receives confirmation information returned by the selection node according to the second establishment request;
and the first working node establishes the network plane according to the confirmation information.
10. The method of claim 9, wherein the first worker node sending a second setup request to a pick node based on the first setup request, comprising:
the first working node uses a side car assembly to acquire port information of a first port according to the first establishment request;
and the first working node sends a second establishment request to the selection node by using the side car component according to the port information of the first port.
11. The method according to claim 9 or 10, wherein the method further comprises:
the first working node confirms that the first working node meets a second condition for establishing the network plane;
the first working node sends a second establishment request to a selection node according to the first establishment request, and the second working node comprises:
and if the first working node confirms that the first working node meets the second condition for establishing the network plane, the first working node sends the second establishment request to the selection node according to the first establishment request.
12. The method of claim 10, wherein the first work node using a sidecar assembly to obtain port information for a first port based on the first setup request comprises:
the first working node uses the side car component to acquire a first port number and a second IP address according to the first establishment request, wherein the first port number is the port number of a first port corresponding to the first establishment request in the selected node, and the second IP address is the IP address corresponding to the first establishment request in the selected node;
the first working node sends a second establishment request to the selection node by using the side car component according to the port information of the first port, and the second establishment request comprises:
the first working node sends the second establishment request to the selection node according to a first port number and a second IP address by using the side car component.
13. The method according to any of the claims 9 to 10, 12, wherein the first working node establishes the network plane based on the acknowledgement information, comprising:
the first working node obtains configuration information in the confirmation information;
and the first working node establishes the network plane according to the configuration information.
14. A working node, comprising:
a receiving unit, configured to receive an access request, where the access request is used to instruct an access component to access to a network plane, and the access component is a virtual machine or a virtual container created on the working node;
the processing unit is used for:
setting a corresponding first virtual interface for the access component, wherein the first virtual interface is used for the access component to communicate with a second working node in the network plane;
managing and controlling communication services of the access component through the first virtual interface;
the processing unit is further configured to:
acquiring a first establishment request, wherein the first establishment request is used for requesting the processing unit to establish the network plane;
and establishing the network plane according to the first establishment request.
15. The working node of claim 14, wherein,
the processing unit is used for distributing a virtual network card for providing a virtual interface function for the access component by using the side car component, and a first IP address for supporting the communication of the virtual network card.
16. The working node according to claim 14 or 15, characterized in that,
the processing unit is configured to control, through the first virtual interface, a transmission rate of a transmission flow corresponding to the access component to be smaller than a first threshold, where the first threshold is a maximum transmission rate of the transmission flow corresponding to the access component configured by the working node.
17. The working node according to claim 14 or 15, characterized in that,
the processing unit is configured to control, through the first virtual interface, a transmission rate of a transmission flow corresponding to the access component to be greater than a second threshold, where the second threshold is a minimum transmission rate of the transmission flow corresponding to the access component configured by the working node.
18. The working node according to claim 14 or 15, characterized in that,
and the processing unit is used for counting the transmission flow corresponding to the access component through the first virtual interface.
19. The working node of claim 14, wherein,
the processing unit is configured to send a second establishment request to a selection node according to the first establishment request, where the second establishment request is used for the selection node to confirm that the working node meets a first condition for establishing the network plane;
the receiving unit is used for receiving confirmation information returned by the selection node according to the second establishment request;
and the processing unit is used for establishing the network plane according to the confirmation information.
20. The working node of claim 19, wherein,
the processing unit is further configured to confirm that the working node meets a second condition for establishing the network plane;
And if the working node confirms that the working node meets the second condition for establishing the network plane, the processing unit is further used for sending a second establishment request to the selection node according to the first establishment request.
21. The working node according to any one of claims 14 to 15, 19-20,
the receiving unit is further configured to receive a third establishment request sent by the management node, where the third establishment request is used to request the processing unit to establish the access component;
the processing unit is further configured to establish the access component according to the third establishment request.
22. A network device, comprising:
the processing unit is used for:
acquiring a first establishment request, wherein the first establishment request is used for requesting the network equipment to establish a network plane;
sending a second establishment request to a selection node according to the first establishment request, wherein the second establishment request is used for the selection node to confirm that the network equipment meets a first condition for establishing the network plane;
the receiving unit is used for receiving confirmation information returned by the selection node according to the second establishment request;
and the processing unit is used for establishing the network plane according to the confirmation information.
23. The network device of claim 22, wherein the processing unit is configured to:
indicating a side car component to acquire first port information according to the first establishment request;
and the side car component is instructed to send a second establishment request to the selection node according to the first port information.
24. The network device of claim 22 or 23, wherein,
the processing unit is further configured to confirm that the network device meets a second condition for establishing the network plane;
and if the processing unit confirms that the network equipment meets the second condition for establishing the network plane, the processing unit is further used for sending the second establishment request to the selection node according to the first establishment request.
25. The network device of claim 23, wherein the processing unit is configured to:
the side car component is instructed to acquire a first port number and a second IP address according to the first establishment request, wherein the first port number is the port number of a first port corresponding to the first establishment request in the selected node, and the second IP address is the IP address corresponding to the first establishment request in the selected node;
and indicating the side car component to send the second establishment request to the selection node according to the first port number and the second IP address.
26. The network device of any one of claims 22 to 23, 25, wherein the processing unit is configured to:
acquiring configuration information in the confirmation information;
and establishing the network plane according to the configuration information.
27. A working node, comprising:
a processor, a memory, and a communication interface;
the processor is connected with the memory and the communication interface;
the communication interface is used for:
receiving an access request, wherein the access request is used for indicating an access component to be accessed to a network plane;
sending a second establishment request to a selected node, wherein the second establishment request is used for the selected node to confirm that the first working node meets a first condition for establishing the network plane;
receiving confirmation information returned by the selection node according to the second establishment request;
receiving a third establishment request sent by a management node, wherein the third establishment request is used for requesting the first working node to establish the access component;
the processor is configured to, upon reading the instructions stored in the memory, cause the working node to perform the method of any one of claims 1 to 8.
28. A network device, comprising:
A processor, a memory, and a communication interface;
the processor is connected with the memory and the communication interface;
the communication interface is used for:
sending a second establishment request to a selected node, wherein the second establishment request is used for the selected node to confirm that the first working node meets a first condition for establishing the network plane;
receiving confirmation information returned by the selection node according to the second establishment request;
the processor is configured to, upon reading the instructions stored in the memory, cause the network device to perform the method of any one of claims 9 to 13.
29. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 1 to 8.
30. A computer storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform the method of any of claims 9 to 13.
31. A communication system, comprising: at least one management node, at least one working node and at least one selection node, the working node performing the method according to any of claims 1 to 8, the management node being configured to send an access component establishment request and an access component access request to the working node, the selection node being configured to receive a second establishment request, and to return acknowledgement information to the working node in accordance with the second establishment request.
32. A network system, comprising: at least one working node performing the method according to any of claims 9 to 13 and at least one selection node for receiving the second setup request, returning the acknowledgement information to the working node according to the second setup request.
CN201911415529.9A 2019-12-31 2019-12-31 Communication method and network equipment Active CN113132188B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911415529.9A CN113132188B (en) 2019-12-31 2019-12-31 Communication method and network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911415529.9A CN113132188B (en) 2019-12-31 2019-12-31 Communication method and network equipment

Publications (2)

Publication Number Publication Date
CN113132188A CN113132188A (en) 2021-07-16
CN113132188B true CN113132188B (en) 2023-12-19

Family

ID=76770833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911415529.9A Active CN113132188B (en) 2019-12-31 2019-12-31 Communication method and network equipment

Country Status (1)

Country Link
CN (1) CN113132188B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8799419B1 (en) * 2010-08-16 2014-08-05 Juniper Networks, Inc. Configuration update on virtual control plane
CN107222349A (en) * 2017-06-23 2017-09-29 北京三快在线科技有限公司 A kind of method and device for configuring virtual machine network interface card speed
CN108683607A (en) * 2018-06-14 2018-10-19 新华三云计算技术有限公司 Virtual machine traffic control method, device and server
CN109558212A (en) * 2018-11-27 2019-04-02 深信服科技股份有限公司 A kind of virtualized management method of physical equipment, system, physical equipment and medium
CN109587281A (en) * 2017-09-29 2019-04-05 华为技术有限公司 Container configuration method and calculate node

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8903938B2 (en) * 2007-06-18 2014-12-02 Amazon Technologies, Inc. Providing enhanced data retrieval from remote locations
US8213336B2 (en) * 2009-02-23 2012-07-03 Cisco Technology, Inc. Distributed data center access switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8799419B1 (en) * 2010-08-16 2014-08-05 Juniper Networks, Inc. Configuration update on virtual control plane
CN107222349A (en) * 2017-06-23 2017-09-29 北京三快在线科技有限公司 A kind of method and device for configuring virtual machine network interface card speed
CN109587281A (en) * 2017-09-29 2019-04-05 华为技术有限公司 Container configuration method and calculate node
CN108683607A (en) * 2018-06-14 2018-10-19 新华三云计算技术有限公司 Virtual machine traffic control method, device and server
CN109558212A (en) * 2018-11-27 2019-04-02 深信服科技股份有限公司 A kind of virtualized management method of physical equipment, system, physical equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于软件定义网络的IaaS虚拟机通信访问控制方法;韩贞阳;陈兴蜀;胡亮;陈林;;计算机应用(05);第64-68页 *

Also Published As

Publication number Publication date
CN113132188A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN110113441B (en) Computer equipment, system and method for realizing load balance
EP3668011B1 (en) Method, apparatus, computer program product and system for implementing software-defined network sdn
US10862823B2 (en) Method for service implementation in network function virtualization (NFV) system and communications unit
EP3720050A1 (en) Method and apparatus for deploying network slice
CN108307002B (en) DHCP message processing method and device
CN105610632B (en) Virtual network equipment and related method
WO2016015559A1 (en) Bearer resource allocation method, apparatus and system for cloudified data center network
WO2019062836A1 (en) Network slice management method, and device for same
US11240198B2 (en) Session management method and apparatus
US10361970B2 (en) Automated instantiation of wireless virtual private networks
CN105144110A (en) Automatic configuration of external services based upon network activity
JP5866083B1 (en) Control method, control apparatus and processor in software definition network
US11558491B2 (en) Information-centric networking over 5G or later networks
WO2018103665A1 (en) L2tp-based device management method, apparatus and system
CN106254154B (en) Resource sharing method and device
EP3503484A1 (en) Message transmission method, device and network system
US10015133B2 (en) Value-added service deployment method, network device, and value-added service device
CN113132188B (en) Communication method and network equipment
CN106169982B (en) Method, device and system for processing expansion port
CN114143903A (en) Method, device, equipment and medium for configuring network slice PDU session
CN113535402A (en) Load balancing processing method and device based on 5G MEC and electronic equipment
US20180013860A1 (en) Method and apparatus for determining to-be-uploaded nsd
CN114884911B (en) Network data transmission method, system and storage medium based on NFV
CN114615107A (en) Method and device for establishing communication
CN117880217A (en) Network resource allocation method and device and nonvolatile storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant