CN109905283A - A kind of flow statistical method, device and computer readable storage medium - Google Patents

A kind of flow statistical method, device and computer readable storage medium Download PDF

Info

Publication number
CN109905283A
CN109905283A CN201711285748.0A CN201711285748A CN109905283A CN 109905283 A CN109905283 A CN 109905283A CN 201711285748 A CN201711285748 A CN 201711285748A CN 109905283 A CN109905283 A CN 109905283A
Authority
CN
China
Prior art keywords
evb
flow
server
switch
state notification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711285748.0A
Other languages
Chinese (zh)
Inventor
吴晓东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Internet Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Internet 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 China Mobile Communications Group Co Ltd, China Mobile Internet Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201711285748.0A priority Critical patent/CN109905283A/en
Publication of CN109905283A publication Critical patent/CN109905283A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of flow statistical method, device and storage mediums, it include: that EVB server is counted to obtain the flow parameter of the VM by transmission data of the virtual switch to VM, flow status notice is generated according to the communications identification of the flow parameter and the VM, and sends the flow status and notifies to edge virtual bridge EVB interchanger;The EVB interchanger receives the flow status notice that the EVB server is sent, and is parsed to obtain the communications identification of the flow parameter and the VM to flow status notice, carries out traffic statistics to the VM using the flow parameter.

Description

Flow statistical method and device and computer readable storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a traffic statistic method, device, and computer-readable storage medium.
Background
From the perspective of computing resources such as a host, virtualization of the data center, including two directions of one virtual and one virtual, provides a means for allocating the computing resources as needed. The system virtualization mainly aims at shortening service deployment time and improving resource utilization efficiency, and hides the process of bottom-layer physical hardware in a certain mode, so that a plurality of operating systems can transparently use and share the virtual operating system, and the system virtualization is mainly a technology that the operating systems on one physical system coexist at the same time.
Edge Virtual Bridging (EVB) technology arises from the connection and management boundary problem that is currently used to resolve the Virtual Machine (VM) and network of a virtualized environment. And the automatic association of the VM life cycle and the network and the flexible change of the network attribute can be realized on the basis of the framework defined by the standard 802.1 Qbg.
EVB originally consists of 802.1Qbg and 802.1Qbh, and the implementation of the data plane has a total of four types: the 802.1Qbg includes three modes, namely, Virtual Ethernet Bridging (VEB) mode, Virtual Ethernet Port Aggregator (VEPA) mode, and Multi-Channel Multi Channel mode; 802.1Qbh is a Port Extension (PE) mode. The current 802.1Qbh has been cancelled within the EVB, so the EVB is now also 802.1 Qbg. From the technical implementation point of view, and in some special application scenarios, different modes of 802.1Qbg can exist simultaneously, and the technology requires the capability of multi-layer concatenation, which is also described in the standard preparation document. In more scenarios, however, complex cascade topologies and hierarchies are not required, and the standard suggests a basic EVB architecture for use.
The virtualized data center provides some challenges to the network side, and as shown in fig. 1, as with a general EVB server device, each VM has its own virtual network card (virtual NIC), and each virtual NIC has its own Media Access Control (MAC) address and IP address. A Virtual Switch (Virtual Switch), that is, a vSwitch is equivalent to a Virtual two-layer Switch, and ABCDE is a Virtual port on the vSwitch, and the vSwitch is connected with a Virtual network card and a physical network card and forwards a data message on a VM from the physical port. The vSwitch may also support two-layer forwarding, security control, port mirroring, and other functions, as needed. For a network administrator, the scheme cannot see the vSwitch, which causes the vSwitch to be detached outside the overall network management, and is not beneficial to the implementation of the overall network security monitoring.
In order to separate the EVB server from the complex network switching work and return the EVB server to the original service application function, and return the message forwarding and network policy control to the network device for completion, another method for implementing VM network communication is considered, which is the content to be described in the IEEE 802.1Qbg standard, and it specifies an EVB standard based on the VEPA technology. Through VEPA technology, all traffic from a VM is forwarded to a neighboring physical access switch, so that the network access switch can see the message flow of the VM. In this case, when the target VM is also located in the same EVB server, the target VM is switched back to the same physical EVB server, and the traffic is switched by 180 degrees, as shown in fig. 2, the traffic between VMs in the same host EVB server Station needs to pass through the network device for serpentine forwarding. Therefore, the network equipment can know the traffic information between the VMs in the Station.
The existing VEPA technology can enable a network administrator to monitor network traffic between VMs in the same Station, and control traffic information of the entire data center network, but the resulting effect is that messages that can be directly forwarded inside VMs need to be forwarded in a snake-like manner for 180 degrees around a circle to the same port of the network device, which wastes bandwidth resources of the network device greatly and also brings unnecessary bandwidth delay.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention provide a traffic statistical method, an apparatus, and a computer-readable storage medium, which can monitor network traffic of an EVB server and avoid snake-shaped forwarding.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a traffic statistical method, which comprises the following steps:
counting transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM;
and generating a flow state notification according to the flow parameters and the communication identifier of the VM, and sending the flow state notification to the EVB.
In the above scheme, the method further comprises:
judging whether the source address and the destination address of the transmission data belong to the same edge virtual bridge EVB server or not;
when the source address and the destination address of the transmission data belong to the same EVB server, transmitting the transmission data through a first path, wherein the first path is an internal path of the EVB server;
and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, transmitting the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In the foregoing solution, before sending the traffic status notification to the EVB switch, the method further includes:
determining a virtual service provider channel corresponding to the virtual switch;
and adding the channel identifier of the virtual service provider channel for the traffic state notification.
In the above scheme, the method further comprises:
and setting a traffic statistic identifier in the status notification based on a tunnel discovery configuration protocol (CDCP) to generate the traffic status notification.
The embodiment of the invention also provides a traffic statistical method, which comprises the following steps:
receiving a flow state notification sent by an edge virtual bridge EVB server, analyzing the flow state notification to obtain a flow parameter and a communication identifier of a virtual machine VM, wherein the flow parameter is obtained by counting transmission data of the VM through a virtual switch of the EVB server;
and carrying out flow statistics on the VM by using the flow parameters.
In the foregoing solution, before analyzing the traffic status notification to obtain the traffic parameter and the communication identifier of the VM, the method further includes:
analyzing the flow state notification to obtain a channel identifier of a virtual service provider channel;
and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
In the above scheme, the method further comprises:
analyzing the received state notification based on a tunnel discovery configuration protocol (CDCP), detecting that an analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
The embodiment of the invention also discloses a flow statistical method, which comprises the following steps: the method comprises the steps that an edge virtual bridge EVB server counts transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and a communication identifier of the VM, and sends the flow state notification to the edge virtual bridge EVB switch; and the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identification of the VM, and performs flow statistics on the VM by using the flow parameters.
In order to implement the traffic statistic method, an embodiment of the present invention further provides a traffic statistic apparatus, where the apparatus includes: a first processor and a first transceiver; wherein,
the first processor is used for counting the transmission data of the virtual machine VM through the virtual switch to obtain the flow parameter of the VM; generating a flow state notification according to the flow parameters and the communication identifier of the VM;
the first transceiver is configured to send the traffic status notification to an edge virtual bridge EVB switch.
In the foregoing solution, the first processor is further configured to: judging whether the source address and the destination address of the transmission data belong to the same edge virtual bridge EVB server or not;
when determining that a source address and a destination address of the transmission data belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a first path, wherein the first path is an internal path of the EVB server;
and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In the foregoing solution, the first processor is further configured to:
and setting a traffic statistic identifier in the status notification based on a tunnel discovery configuration protocol (CDCP) to generate the traffic status notification.
In order to implement the traffic statistic method, an embodiment of the present invention further provides a traffic statistic apparatus, where the apparatus includes: a second processor, a second transceiver; wherein,
the second transceiver is used for receiving a traffic state notification sent by the EVB server;
the second processor is used for analyzing the flow state notification to obtain a flow parameter and a communication identifier of a virtual machine VM, and performing flow statistics on the VM by using the flow parameter; and the flow parameters are obtained by counting the transmission data of the VM through a virtual switch of the EVB server.
In the foregoing solution, the second processor is further configured to:
analyzing the received state notification based on a tunnel discovery configuration protocol (CDCP), detecting that an analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
In order to implement the traffic statistical method, an embodiment of the present invention further provides a traffic statistical system, where the system includes an edge virtual bridge EVB server and an edge virtual bridge EVB switch; wherein,
the EVB server counts transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and a communication identifier of the VM, and sends the flow state notification to the EVB switch;
and the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identification of the VM, and performs flow statistics on the VM by using the flow parameters.
The embodiment of the invention also provides a flow statistic device, which comprises: a processor, a memory; the memory having stored thereon a computer program operable on the processor; wherein the processor is configured to execute the steps of any one of the above-mentioned EVB server-side methods when running the computer program; or to perform the steps of any of the methods described above on the EVB exchange side.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps of any method on the EVB server side or implement the steps of any method on the EVB exchange side.
The traffic statistical method, the device and the computer readable storage medium provided by the embodiment of the invention send the traffic parameters of the transmission data of the VM of the EVB server to the EVB switch through the traffic state notification, and the EVB switch performs traffic statistics on the traffic of the VM of the EVB server through the received traffic state notification; therefore, the statistics of the flow of the transmission data can be realized in the EVB server, the snake-shaped forwarding is avoided, and meanwhile, the statistics and the monitoring of the network flow of the VM in the EVB server by the EVB switch can be realized through the sending of the flow parameters.
Drawings
In the drawings, which are not necessarily drawn to scale, like reference numerals may describe similar components in different views. The drawings illustrate generally, by way of example, but not by way of limitation, various embodiments discussed herein.
FIG. 1 is a schematic diagram of a virtual data center network architecture;
FIG. 2 is a schematic diagram of a serpentine forwarding path;
fig. 3 is a schematic flow chart of a traffic statistic method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a traffic statistic method according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart of a traffic statistic method according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of a network structure according to a fourth embodiment of the present invention;
fig. 7 is a schematic diagram of message interaction transmitted between an EVB server and an EVB switch according to a fourth embodiment of the present invention;
FIG. 8 is a diagram illustrating a CDCP message structure;
fig. 9 is a schematic diagram of a message structure of a CDCP-based traffic status notification according to a fourth embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a flow statistics apparatus according to the fifth or sixth embodiment of the present invention;
fig. 11 is a schematic structural diagram of a flow statistic apparatus according to a seventh embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of a flow statistics apparatus according to an eighth or ninth embodiment of the present invention;
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
In the embodiment of the invention, an EVB server counts the transmission data of a VM through a virtual switch to obtain the flow parameter of the VM, generates a flow state notification according to the flow parameter and the communication identifier of the VM, and sends the flow state notification to the EVB switch; and the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identification of the VM, and performs flow statistics on the VM by using the flow parameters.
Further, when transmission data is transmitted, transmission data having a source address and a destination address belonging to the same EVB server is transmitted in the EVB server, and transmission data having a source address and a destination address not belonging to the same EVB server is transmitted through the EVB switch.
Example one
An embodiment of the present invention provides a traffic statistic method, which is applied to an EVB server, and as shown in fig. 3, the method includes:
s301, carrying out statistics on transmission data of a VM through a virtual switch to obtain a flow parameter of the VM;
when transmitting data, judging whether a source address and a destination address of the transmitted data belong to the same EVB server; when the source address and the destination address of the transmission data belong to the same EVB server, transmitting the transmission data through a first path, wherein the first path is an internal path of the EVB server; and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, transmitting the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch. The source VM sending data can be used as a source address, and the target VM receiving data can be used as a target address.
The EVB server comprises a VM and a virtual switch, and the transmission data of the VM is switched and controlled through the virtual switch to realize the transmission of the transmission data of the VM. One EVB server may include one or more VMs therein. According to whether the EVB server to which the source VM sending the data and the target VM receiving the data belong is the same EVB server or not, the transmission data are divided into two types of data: the data transmission method comprises internal transmission data and external transmission data, wherein a transmission path of the internal transmission data is a first path, and a transmission path of the external transmission data is a second path.
The source VM and the target VM, which internally transfer data, belong to the same EVB server. When the data is internal transmission data, the transmission data sent by the source VM is sent to a source virtual switch corresponding to the source VM, the source virtual switch forwards the data to a target virtual switch through the identification of a target address, and the target virtual switch forwards the transmission data to the target VM, so that the internal forwarding of the EVB server is realized. Here, the source virtual switch and the target virtual switch may be the same virtual switch, or may be different virtual switches within the same EVB server. Here, the first path to transmit data is an internal path of the EVB server.
The source VM and the target VM, which externally transfer data, belong to different EVB servers. When the data is external transmission data, the EVB server can be used as a source EVB server for sending the data or a target EVB server for receiving the data for different transmission data.
When the transmission data are forwarded, the transmission data of a source VM in a source EVB server are sent to a source virtual switch corresponding to the source VM, the source virtual switch forwards the transmission data to the source EVB switch corresponding to the source EVB server through identification of a target address, the source EVB switch forwards the transmission data to a target EVB switch corresponding to a target EVB server, and the target EVB switch forwards the transmission data to a target VM in the target EVB server. Here, the source EVB switch and the target EVB switch may be the same EVB switch or may be different EVB switches. Here, the second path to transmit data is a path between the EVB server and the EVB switch.
Here, when the data is transmitted, the traffic parameter of the transmitted data may be obtained by counting the transmitted data through the virtual switch corresponding to the VM, where the traffic parameter may include: the maximum rate of the incoming interface messages, the maximum rate of the outgoing interface messages, the total number of the received messages, the total number of the sent messages, the number of the unicast messages received by the interface, the number of the unicast messages sent by the interface, the number of the multicast messages received by the interface, the number of the multicast messages sent by the interface, the number of the broadcast messages received by the interface, the number of the super-large frame length messages sent by the interface, the number of discarded messages found when the interface detects a physical layer, the total number of error messages found when the interface detects a physical layer, the number of CRC error messages received by the interface and other parameters related to flow statistics.
In practical applications, the traffic statistic parameter may be a combination of one or more of the above parameters, or may be set according to actual requirements.
S302, generating a flow state notification according to the flow parameters and the communication identifier of the VM, and sending the flow state notification to the EVB switch.
And after the flow parameters of the VM are obtained through statistics, the flow parameters are sent to the EVB through flow state notification. When the traffic state notification is generated, the traffic parameter of the VM and the communication identifier of the VM are simultaneously encapsulated in the traffic state notification, and the communication identifier of the VM may be an MAC address of the VM.
In some embodiments, the traffic status notification is generated by setting a traffic statistic identifier in a status notification based on a tunnel discovery configuration protocol (CDCP). Specifically, the reserved field of the status notification may be set as a self-defined traffic statistic identifier, so as to generate a traffic status notification, to represent that the status notification carries traffic parameters, and to distinguish the status notification carrying no traffic parameters from the status notification carrying no traffic parameters, where the traffic statistic identifier may be set according to a user requirement, for example: the reserved field is 0x 1.
When the traffic state notification is generated, a traffic statistic information field can be newly added on the basis of the state notification with the traffic statistic identifier, and the traffic parameter and the communication identifier of the VM are encapsulated in the traffic statistic information field. Such as: and adding a flow statistic field in a service channel identification (S-channel ID, SCID)/service VLAN identification (S-VLAN ID, SVID) pair of the status notification.
In some embodiments, prior to sending the traffic status notification to the EVB switch, determining a virtual facilitator tunnel corresponding to the virtual switch; and adding a channel identifier of the virtual service provider channel for the traffic state notification, so as to send the traffic state notification through the service provider channel corresponding to the virtual switch.
When the EVB server includes a plurality of virtual switches, a plurality of virtual facilitator tunnels exist between the plurality of virtual switches and the EVB switch, and the plurality of virtual facilitator tunnels are implemented through one physical tunnel of the EVB server and the EVB switch. At this time, the virtual switch sending the traffic state notification sends a request message to the EVB switch to request for creating a virtual service provider channel; and the EVB distributes the virtual service provider channel and creates the virtual service provider channel according to the virtual switch corresponding to the request message, and returns a virtual service provider channel creation notice to the EVB server after the virtual service provider channel is created. And when the EVB server receives the virtual service provider channel creation notification returned by the EVB switch, sending a traffic state notification to the EVB switch through the created service provider channel. Before sending the traffic state notification, the EVB server adds a channel identifier of the virtual service provider channel to the traffic state notification to identify the virtual service provider channel to which the traffic state notification belongs. Here, the form of the channel identifier may be set according to actual requirements.
The EVB server creates a virtual facilitator tunnel for the virtual switch when the virtual switch starts to transmit data. In the transmission process of transmission data, a flow state notification can be periodically sent to the EVB, flow parameters carried in the sent flow state notification are flow parameters counted at the sending moment, and after transmission of the transmission data is completed, a request message is sent to the EVB to delete a virtual service provider channel corresponding to the virtual switch.
It should be noted that the EVB server may send traffic status notifications of multiple virtual switches to the EVB switch through different virtual service provider channels at the same time.
And when the EVB receives the flow state notification, analyzing the flow state notification to obtain the flow parameters sent by the EVB server and the VM to which the flow parameters belong.
In the embodiment of the invention, an EVB server counts the transmission data of a VM through a virtual switch to obtain the flow parameter of the VM, generates a flow state notification according to the flow parameter and the communication identifier of the VM, and sends the flow state notification to the EVB switch; the EVB switch can realize statistics and monitoring of network flow of the VM inside the EVB server through sending of the flow parameters, and the EVB server carries out flow statistics, so that snake-shaped forwarding is avoided.
Further, when transmission data are transmitted, the transmission data of which the source address and the target address belong to the same EVB server are transmitted in the EVB server, and the transmission data of which the source address and the target address do not belong to the same EVB server are transmitted through the EVB switch, so that the waste of broadband resources is reduced, and the transmission delay is reduced.
Example two
An embodiment of the present invention provides a traffic statistic method, which is applied to an EVB switch, and as shown in fig. 4, the method includes:
s401, receiving a flow state notification sent by an EVB server, and analyzing the flow state notification to obtain a flow parameter and a communication identifier of a VM;
and the flow parameters are obtained by counting the transmission data of the VM through a virtual switch of the EVB server.
When the VM in the EVB server transmits transmission data, the EVB server counts the transmission data of the VM through a virtual switch corresponding to the VM transmitting the data, wherein the transmission data comprises the transmission data of a first path and the transmission data of a second path, the first path is an internal path of the EVB server, and the second path is a path between the EVB server and the EVB switch. And when the virtual switch counts the transmission data of the VM to obtain the flow parameter corresponding to the VM, encapsulating the flow parameter and the communication identifier of the VM to generate a flow state identifier, and sending the generated flow state identifier to the EVB switch.
The EVB switch receives the traffic status notification, analyzes the traffic status notification, and analyzes the traffic parameter carried by the traffic status notification and the communication identifier of the VM, where the traffic parameter may include: the maximum rate of the incoming interface messages, the maximum rate of the outgoing interface messages, the total number of the received messages, the total number of the sent messages, the number of the unicast messages received by the interface, the number of the unicast messages sent by the interface, the number of the multicast messages received by the interface, the number of the multicast messages sent by the interface, the number of the broadcast messages received by the interface, the number of the super-large frame length messages sent by the interface, the number of discarded messages found when the interface detects a physical layer, the total number of error messages found when the interface detects a physical layer, the number of CRC error messages received by the interface and other parameters related to flow statistics. The communication identifier of the VM may be the MAC address of the VM.
In some embodiments, the traffic status notification is a status notification with traffic statistics identifiers added. When the EVB receives the state notification, analyzing the state notification based on the CDCP, detecting that the analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification. And when the status notification is determined to be the traffic status notification, determining that the received status notification carries traffic parameters, and analyzing fields corresponding to the traffic parameters to obtain the traffic parameters. Here, when the reserved field of the status notification is set as a self-defined traffic statistic identifier, the status notification is determined to be a traffic status notification, so as to represent that the status notification carries traffic parameters, and to distinguish from the status notification that does not carry the traffic parameters, where the traffic statistic identifier may be set according to user requirements, for example: the reserved field is 0x 1.
When the status notification is parsed based on the CDCP, the traffic parameter and the communication identifier of the VM may be determined by identifying the traffic statistic information field newly added in the status notification, such as: an added traffic statistics field in the SCID/SVID pair of status notifications.
In some embodiments, before analyzing the traffic status notification to obtain traffic parameters and a communication identifier of the VM, analyzing the traffic status notification to obtain a channel identifier of a virtual service provider channel; and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel. Here, a plurality of virtual facilitator tunnels exist between the EVB switch and the plurality of virtual switches of the EVB server, and the plurality of virtual facilitator tunnels are implemented through one physical tunnel between the EVB switch and the EVB server. When the EVB receives a request message of the EVB server to request for creating a virtual service provider channel, the EVB allocates the virtual service provider channel to the virtual switch sending the request according to the configuration of the virtual service provider channel, creates the virtual service provider channel for the virtual switch, returns a virtual service provider channel creation notification to the EVB server after the virtual service provider channel is created, and receives a traffic state notification of the virtual switch sent by the EVB server through the created virtual service provider channel. The EVB server adds the channel identifier of the virtual service provider channel into the traffic state notification before sending the state traffic notification, and when the EVB switch receives the traffic state notification, strips the channel identifier of the virtual service provider channel carried by the traffic state notification and identifies the channel identifier so as to determine the virtual service provider channel for transmitting the traffic state notification, and further determine the virtual switch to which the traffic parameters carried by the traffic state notification belong.
In the transmission process of transmission data, the EVB switch may periodically receive a traffic state notification of a virtual switch sent by the EVB server, where the traffic parameters carried in the received traffic state notification are the traffic parameters counted at the sending time. When a request message sent by the EVB server is received to delete the created virtual facilitator tunnel, the virtual facilitator tunnel may be deleted until a request message sent by the EVB server to create the virtual facilitator tunnel for the same virtual switch is received again to create the virtual facilitator tunnel corresponding to the virtual switch again.
It should be noted that, when the EVB switch creates the virtual facilitator channel, the created virtual facilitator channel corresponds to the virtual switch, that is, the virtual facilitator channel and the virtual switch have a one-to-one correspondence relationship. Virtual service provider channels corresponding to a plurality of virtual switches can be simultaneously created between the EVB switch and the EVB server to receive traffic state notifications of different virtual switches so as to acquire traffic parameters of internal transmission data of the EVB server.
S402, carrying out flow statistics on the VM by using the flow parameters;
and after the EVB switch acquires the flow parameters of the VM, carrying out flow statistics on the flow of the VM by using the flow parameters. In practical application, the EVB switch performs traffic statistics on the VM through traffic parameters carried in multiple traffic state notifications of the same VM sent by the switch.
Statistics of traffic to a server may be achieved by statistics of traffic to VMs in multiple same EVB servers.
And after the EVB switch determines the flow of the VM of the EVB server, reporting the counted flow to a network management system for network management personnel to look up.
In the embodiment of the invention, the EVB switch counts the flow of the VM in the EVB through the flow state notification received from the EVB, and the EVB does not need to perform flow statistics based on forwarded data, so that the situation that the data forwarded inside the server needs to be forwarded in a snake shape is avoided, the waste of broadband resources is reduced, and the transmission delay is reduced.
EXAMPLE III
An embodiment of the present invention provides a traffic statistics method, which is applied to a network system including an EVB server and an EVB switch, and as shown in fig. 5, the method includes:
s501, an EVB server counts transmission data of a VM through a virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and a communication identifier of the VM, and sends the flow state notification to the EVB switch;
s502, the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identifier of the VM, and performs flow statistics on the VM by using the flow parameters.
In some embodiments, the EVB server determines whether the source address and the destination address of the transmission data belong to the same EVB server; when the source address and the destination address of the transmission data belong to the same EVB server, transmitting the transmission data through a first path, wherein the first path is an internal path of the EVB server; and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, transmitting the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In some embodiments, the EVB server determines a virtual facilitator tunnel corresponding to the virtual switch before sending the traffic status notification to the EVB switch; and adding the channel identifier of the virtual service provider channel for the traffic state notification.
At this time, before analyzing the traffic state notification to obtain traffic parameters and a communication identifier of the VM, the EVB analyzes the traffic state notification to obtain a channel identifier of a virtual service provider channel; and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
In some embodiments, the EVB server generates the traffic status notification based on the CDCP setting the traffic statistics flag in the status notification. At this time, the EVB switch analyzes the received status notification based on the CDCP, detects that the analysis result includes the traffic statistic identifier, and determines that the status notification is the traffic status notification.
Example four
The flow statistical method provided by the embodiment of the present invention is described in detail below with reference to specific application embodiments.
The system structure composed of the EVB server (station) and the EVB switch (bridge) is shown in FIG. 6, the station comprises a VM, a vSwitch and a server component (S-component), the bridge comprises the S-component, and a virtual channel between the station and the bridge is called as a virtual server channel S-channel.
The CDCP is a protocol for configuring an S-VLAN (service provider VLAN) for an S-channel based on a Link Layer Discovery Protocol (LLDP), and encapsulates information of a device itself in a TLV format in a message to transmit the information, so as to discover a two-layer direct connection device.
The CDCP is a Channel specially used for establishing connection between the S-Component and the network in a Multi Channel mode, the VEB/VEPA of the virtual switch on the EVB server are connected through the S-Channel and the EVB switch, and the S-Channel is a virtual connection and utilizes the S-VLAN components at two ends for connection.
The end points at two ends of the S-channel are called as service provider channel end points (CAPs), and the CAPs are responsible for encapsulating the channel identifier S-tag when the message enters the S-channel and stripping the S-tag when the message leaves the S-channel. Since all virtual connections are transmitted on the same physical link, the purpose of the S-tag is to identify the channel to which each virtual switch corresponds. I.e. one vSwitch corresponds to one S-channel. The ability of the S-VLAN component to identify, insert, remove S-tags enables multiple S-channels to be run on the EVB switch.
As shown in fig. 7, the S-Channel configuration is determined by the EVB switch and stored on the EVB switch, the EVB server initiates an S-Channel resource request to the EVB switch, and the EVB switch assigns an S-VLAN. After the EVB switch function is enabled on the ethernet interface of Station, the EVB switch issues a status notification 701 to the outside through an LLDP message. When the VM has a request for creating an S-Channel or the original request changes, the tunnel request message 702 sends a request message for creating an S-Channel to the EVB switch. The EVB switch assigns an SVID to create a corresponding S-Channel interface, and then replies a response message 703 to notify the EVB server of assigning the SVID of the S-Channel. And the EVB server and the EVB switch send a traffic state notification 704 in subsequent messages with the Channel identifier of the current S-Channel. Here, traffic status advertisements 704 may be sent periodically. The EVB switch may also periodically send a status notification 701 to the EVB server. The EVB server periodically sends the flow state notification of the CDCP to the EVB switch, the flow state notification carries the flow parameters and the communication identifiers of the VMs, and the switch can know the flow information corresponding to each VM by analyzing the flow state notification.
It should be noted that a request message for deleting the S-Channel may also be sent to the EVB through the Channel request message 702, the EVB releases the SVID for the EVB to delete the corresponding S-Channel interface, and then replies a response message 703 to notify the EVB server of deleting the SVID of the S-Channel and deleting the S-Channel.
The CPCP protocol TLV fields are shown in FIG. 8, and the meaning of each field is shown in Table 1.
TABLE 1 meaning of CPCP protocol TLV field
Value Interpretation
0x0 Default CDCP message
0x1 CDCP message with vSwitch statistical information
0x2-0x7 Reserved field
The TLV field of the traffic status notification carrying the traffic parameters is shown in fig. 9, where Resv1 reserves a field with a default value of 0, and when Resv1 of the status notification is 0, the status notification is a normal status notification. A value of 0x1 can be defined by self, which represents that the state notice sent to Bridge by the Station carries the flow parameter. 0x2-0x7 are reserved fields, which can be set according to user requirements. The vSwitch static field in the traffic notification message, which carries the traffic parameters and the VM communication identifier, is composed of fields shown in table 2.
Table 2 composition example of vSwitch static field
Name Length of Interpretation
MAC 6octets Representing MAC addresses of corresponding virtual machines
Input peak rate 4octets Maximum rate of incoming interface messages.
output peak rate 4octets Maximum rate of outgoing interface messages.
Input 4octets And receiving the total number of the messages.
output 4octets And sending the total number of the messages.
Input Unicast 4octets The number of unicast packets received by the interface.
Output Unicast 4octets The number of unicast packets sent by the interface.
Input Multicast 4octets The number of multicast packets received by the interface.
Output Multicast 4octets The number of multicast packets sent by the interface.
Input Broadcast 4octets The number of broadcast messages received by the interface.
Output Broadcast 4octets The number of broadcast messages sent by the interface.
Input Jumbo 4octets Interface jointThe number of received messages with super large frame length.
Output Jumbo 4octets The number of messages with super large frame length sent by the interface.
Discard 4octets The number of discarded messages discovered by the interface during physical layer detection.
Total Error 4octets And the total number of error messages discovered by the interface during physical layer detection.
CRC 4octets The number of CRC error messages received by the interface.
It should be noted that the field in table 2 is an example of a traffic parameter included in vSwitch static, and in an actual application, specific information of the traffic parameter may be set according to an actual requirement.
EXAMPLE five
In order to implement the method of the first embodiment of the present invention, an embodiment of the present invention further provides a traffic statistic apparatus, where the apparatus includes a first processor and a first transceiver; wherein,
the first processor is used for counting the transmission data of the VM through the virtual switch to obtain the flow parameter of the VM; generating a flow state notification according to the flow parameters and the communication identifier of the VM;
a first transceiver to send the traffic status notification to an EVB switch.
In some embodiments, the first processor is further configured to: judging whether the source address and the destination address of the transmission data belong to the same EVB server or not; when determining that a source address and a destination address of the transmission data belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a first path, wherein the first path is an internal path of the EVB server; and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In some embodiments, the first processor is further configured to: determining a virtual service provider channel corresponding to the virtual switch; and adding the channel identifier of the virtual service provider channel for the traffic state notification.
In some embodiments, the first processor is further configured to: and setting a traffic statistic identifier in the status notification based on the CDCP to generate the traffic status notification.
EXAMPLE six
In order to implement the method according to the second embodiment of the present invention, an embodiment of the present invention further provides a traffic statistic apparatus, where the apparatus includes a second processor and a second transceiver; wherein,
a second transceiver for receiving a traffic status notification sent by the EVB server;
the second processor is used for analyzing the flow state notification to obtain a flow parameter and a communication identifier of the VM, and carrying out flow statistics on the VM by using the flow parameter; and the flow parameters are obtained by counting the transmission data of the VM through a virtual switch of the EVB server.
In some embodiments, the second processor is further configured to: analyzing the flow state notification to obtain a channel identifier of a virtual service provider channel; and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
In some embodiments, the second processor is further configured to: analyzing the received state notification based on a tunnel discovery configuration protocol (CDCP), detecting that an analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
It should be noted that the flow rate statistic device provided in the fifth embodiment or the sixth embodiment of the present invention can be implemented by the device shown in fig. 10, where the flow rate statistic device shown in fig. 10 includes: at least one processor 1001 and a transceiver 1002. The various components in the flow statistics apparatus are coupled together by a bus system 1003. It will be appreciated that the bus system 1003 is used to enable communications among these components. The first processor or the second processor corresponds to the processor 1001, and the first transceiver or the second transceiver corresponds to the transceiver 1001.
EXAMPLE seven
An embodiment of the present invention further provides a traffic statistic system, as shown in fig. 11, the system includes an EVB server 1101 and an EVB switch 1102; wherein,
the EVB server 1101 counts transmission data of the VM through the virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and the communication identifier of the VM, and sends the flow state notification to the EVB switch 1102;
the EVB switch 1102 receives the traffic status notification sent by the EVB server 1101, analyzes the traffic status notification to obtain the traffic parameters and the communication identifier of the VM, and performs traffic statistics on the VM by using the traffic parameters.
Example eight
Based on this, in order to implement the method of the first embodiment of the present invention, an embodiment of the present invention further provides a traffic statistic apparatus, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor;
wherein the processor is configured to execute, when running the computer program:
counting transmission data of a VM through a virtual switch to obtain a flow parameter of the VM; and generating a flow state notification according to the flow parameters and the communication identifier of the VM, and sending the flow state notification to the EVB switch.
In some embodiments, the processor, when executing the computer program, further performs: judging whether the source address and the destination address of the transmission data belong to the same EVB server or not; when determining that a source address and a destination address of the transmission data belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a first path, wherein the first path is an internal path of the EVB server; and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In some embodiments, the processor, when executing the computer program, further performs, before sending the traffic status notification to the EVB switch: determining a virtual service provider channel corresponding to the virtual switch; and adding the channel identifier of the virtual service provider channel for the traffic state notification.
In some embodiments, the processor, when executing the computer program, further performs: and setting a traffic statistic identifier in the status notification based on the CDCP to generate the traffic status notification.
Example nine
Based on this, in order to implement the method of the second embodiment of the present invention, an embodiment of the present invention further provides a traffic statistic apparatus, including: a processor, a memory, and a computer program stored on the memory and capable of running on the processor;
wherein the processor is configured to execute, when running the computer program:
receiving a flow state notification sent by an EVB server, analyzing the flow state notification to obtain a flow parameter and a communication identifier of a VM, wherein the flow parameter is obtained by counting transmission data of the VM through a virtual switch of the EVB server; and carrying out flow statistics on the VM by using the flow parameters.
In some embodiments, when the processor is configured to run the computer program, before analyzing the traffic status notification to obtain the traffic parameter and the communication identifier of the VM, the processor further performs:
analyzing the flow state notification to obtain a channel identifier of a virtual service provider channel; and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
In some embodiments, the processor, when executing the computer program, further performs: analyzing the received state notification based on the CDCP, detecting that the analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
Fig. 12 is a schematic structural diagram of a flow rate statistic device according to an eighth embodiment or a ninth embodiment of the present invention, where the flow rate statistic device shown in fig. 12 includes: at least one processor 1201 and memory 1202. The various components of the flow statistics apparatus are coupled together by a bus system 1203. It will be appreciated that the bus system 1203 is used to implement the connection communication between these components.
It will be appreciated that the memory 1202 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 1202 described in connection with the embodiments of the present invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 1202 in the embodiment of the present invention is used to store various types of data to support the operation of the traffic statistic device of embodiment eight or embodiment nine.
The method disclosed by the embodiment of the invention can be applied to the processor 1201 or implemented by the processor 1201. The processor 1201 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 1201. The Processor 1201 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 1201 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 1202, and the processor 1201 reads the information in the memory 1202 and performs the steps of the aforementioned methods in conjunction with its hardware.
In an exemplary embodiment, the flow statistics apparatus of embodiment eight or embodiment nine may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors (gpus), controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the foregoing methods.
Example ten
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as the memory 1202, comprising a computer program, which is executable by the processor 1201 of the flow statistics apparatus to perform the steps of the aforementioned method. The computer readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, FlashMemory, magnetic surface memory, optical disk, or CD-ROM.
Specifically, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs:
counting transmission data of a VM through a virtual switch to obtain a flow parameter of the VM;
and generating a flow state notification according to the flow parameters and the communication identifier of the VM, and sending the flow state notification to the EVB switch.
In some embodiments, the computer program, when executed by the processor, further performs:
judging whether the source address and the destination address of the transmission data belong to the same EVB server or not; when the source address and the destination address of the transmission data belong to the same EVB server, transmitting the transmission data through a first path, wherein the first path is an internal path of the EVB server; and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, transmitting the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
In some embodiments, the computer program when executed by the processor further performs, prior to sending the traffic status notification to the EVB switch: determining a virtual service provider channel corresponding to the virtual switch; and adding the channel identifier of the virtual service provider channel for the traffic state notification.
In some embodiments, the computer program, when executed by the processor, further performs: and setting a traffic statistic identifier in the status notification based on the CDCP to generate the traffic status notification.
EXAMPLE eleven
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as the memory 1202, comprising a computer program, which is executable by the processor 1201 of the flow statistics apparatus to perform the steps of the aforementioned method. The computer readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, FlashMemory, magnetic surface memory, optical disk, or CD-ROM.
Specifically, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs:
receiving a flow state notification sent by an EVB server, analyzing the flow state notification to obtain a flow parameter and a communication identifier of a VM, wherein the flow parameter is obtained by counting transmission data of the VM through a virtual switch of the EVB server; and carrying out flow statistics on the VM by using the flow parameters.
In some embodiments, when executed by the processor, the computer program further performs, before parsing the traffic status notification to obtain the traffic parameter and the communication identifier of the VM: analyzing the flow state notification to obtain a channel identifier of a virtual service provider channel; and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
In some embodiments, the computer program, when executed by the processor, further performs: analyzing the received state notification based on the CDCP, detecting that the analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
It should be noted that: the technical schemes described in the embodiments of the present invention can be combined arbitrarily without conflict.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (16)

1. A method of traffic statistics, the method comprising:
counting transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM;
and generating a flow state notification according to the flow parameters and the communication identifier of the VM, and sending the flow state notification to the EVB.
2. The method of claim 1, further comprising:
judging whether the source address and the destination address of the transmission data belong to the same edge virtual bridge EVB server or not;
when the source address and the destination address of the transmission data belong to the same EVB server, transmitting the transmission data through a first path, wherein the first path is an internal path of the EVB server;
and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, transmitting the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
3. The method of claim 1, wherein prior to sending the traffic status notification to the EVB switch, the method further comprises:
determining a virtual service provider channel corresponding to the virtual switch;
and adding the channel identifier of the virtual service provider channel for the traffic state notification.
4. The method of claim 1, further comprising:
and setting a traffic statistic identifier in the status notification based on a tunnel discovery configuration protocol (CDCP) to generate the traffic status notification.
5. A method of traffic statistics, the method comprising:
receiving a flow state notification sent by an edge virtual bridge EVB server, analyzing the flow state notification to obtain a flow parameter and a communication identifier of a virtual machine VM, wherein the flow parameter is obtained by counting transmission data of the VM through a virtual switch of the EVB server;
and carrying out flow statistics on the VM by using the flow parameters.
6. The method of claim 5, wherein before parsing the traffic status notification to obtain traffic parameters and a communication identifier of the VM, the method further comprises:
analyzing the flow state notification to obtain a channel identifier of a virtual service provider channel;
and determining the virtual switch to which the flow parameter belongs according to the channel identifier of the virtual service provider channel.
7. The method of claim 5, further comprising:
analyzing the received state notification based on a tunnel discovery configuration protocol (CDCP), detecting that an analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
8. A method of traffic statistics, the method comprising:
the method comprises the steps that an edge virtual bridge EVB server counts transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and a communication identifier of the VM, and sends the flow state notification to the edge virtual bridge EVB switch;
and the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identification of the VM, and performs flow statistics on the VM by using the flow parameters.
9. A flow statistic device, said device comprising: a first processor and a first transceiver; wherein,
the first processor is used for counting the transmission data of the virtual machine VM through the virtual switch to obtain the flow parameter of the VM; generating a flow state notification according to the flow parameters and the communication identifier of the VM;
the first transceiver is configured to send the traffic status notification to an edge virtual bridge EVB switch.
10. The apparatus of claim 9, wherein the first processor is further configured to: judging whether the source address and the destination address of the transmission data belong to the same edge virtual bridge EVB server or not;
when determining that a source address and a destination address of the transmission data belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a first path, wherein the first path is an internal path of the EVB server;
and when determining that the source address and the destination address of the transmission data do not belong to the same EVB server, controlling the first transceiver to transmit the transmission data through a second path, wherein the second path is a path between the EVB server and the EVB switch.
11. The apparatus of claim 9, wherein the first processor is further configured to:
and setting a traffic statistic identifier in the status notification based on a tunnel discovery configuration protocol (CDCP) to generate the traffic status notification.
12. A flow statistic device, said device comprising: a second processor, a second transceiver; wherein,
the second transceiver is used for receiving a traffic state notification sent by the EVB server;
the second processor is used for analyzing the flow state notification to obtain a flow parameter and a communication identifier of a virtual machine VM, and performing flow statistics on the VM by using the flow parameter; and the flow parameters are obtained by counting the transmission data of the VM through a virtual switch of the EVB server.
13. The apparatus of claim 12, wherein the second processor is further configured to:
analyzing the received state notification based on a tunnel discovery configuration protocol (CDCP), detecting that an analysis result comprises a flow statistic identifier, and determining that the state notification is the flow state notification.
14. A traffic statistics system, the system comprising an edge virtual bridge EVB server and an edge virtual bridge EVB switch; wherein,
the EVB server counts transmission data of a virtual machine VM through a virtual switch to obtain a flow parameter of the VM, generates a flow state notification according to the flow parameter and a communication identifier of the VM, and sends the flow state notification to the EVB switch;
and the EVB switch receives the flow state notification sent by the EVB server, analyzes the flow state notification to obtain the flow parameters and the communication identification of the VM, and performs flow statistics on the VM by using the flow parameters.
15. A flow statistic device, said device comprising: a processor, a memory; the memory having stored thereon a computer program operable on the processor; wherein the processor is configured to perform the steps of the method of any one of claims 1 to 4 when running the computer program; or to perform the steps of the method of any of claims 5 to 7.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4, or carries out the steps of the method of any one of claims 5 to 7.
CN201711285748.0A 2017-12-07 2017-12-07 A kind of flow statistical method, device and computer readable storage medium Pending CN109905283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711285748.0A CN109905283A (en) 2017-12-07 2017-12-07 A kind of flow statistical method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711285748.0A CN109905283A (en) 2017-12-07 2017-12-07 A kind of flow statistical method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109905283A true CN109905283A (en) 2019-06-18

Family

ID=66939238

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711285748.0A Pending CN109905283A (en) 2017-12-07 2017-12-07 A kind of flow statistical method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109905283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765826A (en) * 2020-06-01 2021-12-07 中移(苏州)软件技术有限公司 Network monitoring method, platform, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102334112A (en) * 2009-02-27 2012-01-25 美国博通公司 Method and system for virtual machine networking
CN102739505A (en) * 2011-04-06 2012-10-17 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN102801729A (en) * 2012-08-13 2012-11-28 福建星网锐捷网络有限公司 Virtual machine message forwarding method, network switching equipment and communication system
US9503278B2 (en) * 2013-08-20 2016-11-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Reflective relay processing on logical ports for channelized links in edge virtual bridging systems
CN106330585A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 Flow monitoring method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102334112A (en) * 2009-02-27 2012-01-25 美国博通公司 Method and system for virtual machine networking
CN102739505A (en) * 2011-04-06 2012-10-17 中兴通讯股份有限公司 Method and system for controlling virtual channel flow in data center network
CN102801729A (en) * 2012-08-13 2012-11-28 福建星网锐捷网络有限公司 Virtual machine message forwarding method, network switching equipment and communication system
US9503278B2 (en) * 2013-08-20 2016-11-22 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Reflective relay processing on logical ports for channelized links in edge virtual bridging systems
CN106330585A (en) * 2015-06-29 2017-01-11 中兴通讯股份有限公司 Flow monitoring method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113765826A (en) * 2020-06-01 2021-12-07 中移(苏州)软件技术有限公司 Network monitoring method, platform, device and computer readable storage medium
CN113765826B (en) * 2020-06-01 2024-05-28 中移(苏州)软件技术有限公司 Network monitoring method, platform, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
US11050586B2 (en) Inter-cloud communication method and related device, and inter-cloud communication configuration method and related device
CN103814554B (en) A kind of communication means of virtual easily extensible local area network (LAN), device and system
US20170264496A1 (en) Method and device for information processing
US11546255B2 (en) Packet processing method, controller, and forwarding device
WO2022001669A1 (en) Method for establishing vxlan tunnel, and related device
CN107306215B (en) Data processing method, system and node
WO2018068588A1 (en) Method and software-defined networking (sdn) controller for providing multicast service
US8675658B2 (en) Using multiple IGMP queriers in a layer 2 network
CN102984043A (en) Forwarding method and forwarding device of multicast data stream
CN107623636B (en) User isolation method and switch
CN110120906B (en) Method and device for realizing dual active access TRILL park edge
US20240022513A1 (en) Communication Method and Apparatus
US20230224236A1 (en) Routing Information Transmission Method and Apparatus
CN109905283A (en) A kind of flow statistical method, device and computer readable storage medium
CN111884950B (en) Data transmission method, target switch, designated switch and switch system
EP3913865B1 (en) Message decapsulation method and device, message encapsulation method and device, electronic device, and storage medium
US11303558B2 (en) Ultra-reliable low latency communications (URLLC) support for wireless access
CN104168186B (en) A kind of message forwarding method and system based on bridge
CN108881015B (en) Message broadcasting method and device
CN115242699A (en) Message transmission method, slice generation method, device and system
CN114221895A (en) Data transmission method, device and network equipment
EP3902228A1 (en) Data message transmission method and node
CN111654558A (en) ARP interaction and intranet flow forwarding method, device and equipment
WO2023109672A1 (en) Service processing method, apparatus, and system
WO2023143186A1 (en) Data transmission method, system and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190618

RJ01 Rejection of invention patent application after publication