CN110730126A - Link aggregation system, data frame sending or receiving method and device - Google Patents

Link aggregation system, data frame sending or receiving method and device Download PDF

Info

Publication number
CN110730126A
CN110730126A CN201911006802.2A CN201911006802A CN110730126A CN 110730126 A CN110730126 A CN 110730126A CN 201911006802 A CN201911006802 A CN 201911006802A CN 110730126 A CN110730126 A CN 110730126A
Authority
CN
China
Prior art keywords
interface
physical
data frame
ethernet
data
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.)
Granted
Application number
CN201911006802.2A
Other languages
Chinese (zh)
Other versions
CN110730126B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology 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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201911006802.2A priority Critical patent/CN110730126B/en
Publication of CN110730126A publication Critical patent/CN110730126A/en
Application granted granted Critical
Publication of CN110730126B publication Critical patent/CN110730126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • 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/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The invention relates to a link aggregation system, a data frame sending or receiving method and a device thereof, belonging to the field of communication. The link aggregation system includes: the device comprises a data interaction interface, an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, wherein the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the other type of physical interface is used for carrying out data interaction with the virtual Ethernet interface; the virtual Ethernet interface is used for modifying the link encapsulation format of the data frame interacted with the other types of physical interfaces; and the data interaction interface is used as a data interaction interface between the Ethernet physical interface and the network layer and between the virtual Ethernet interface and the network layer. The link aggregation system can realize the aggregation of different types of interfaces.

Description

Link aggregation system, data frame sending or receiving method and device
Technical Field
The present application belongs to the field of communications, and in particular, to a link aggregation system, a method and an apparatus for transmitting or receiving a data frame.
Background
The rapid development of related technologies such as big data enables data traffic to reach the level of dozens of Gb/s, but the development of the existing communication devices cannot keep up with the development speed of big data, and the physical bandwidth that can be provided by the communication devices cannot meet the requirement of data traffic, so a technology for aggregating bandwidth on a link layer is derived to enable the aggregated link to meet the requirement of data traffic as much as possible.
When aggregating links, the prior art aggregates ethernet interfaces into virtual logical links through LACP (Link Aggregation control Protocol) Protocol, or aggregates wan interfaces into virtual logical links through MP (multi Link Protocol) Protocol. That is, in the prior art, only the same type of interfaces can be aggregated, and when the data traffic in one service comes from different types of links and the different types of link interfaces all need to increase the bandwidth, the prior art cannot meet the requirement at the same time.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a link aggregation system, a data frame sending or receiving method and a device thereof, which can aggregate different types of interfaces.
The embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a link aggregation system, including: the device comprises a data interaction interface, an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, wherein the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the other type of physical interface is used for carrying out data interaction with the virtual Ethernet interface; the virtual Ethernet interface is used for modifying the link encapsulation format of the data frame interacted with the other types of physical interfaces; and the data interaction interface is used as a data interaction interface between the Ethernet physical interface and the network layer and between the virtual Ethernet interface and the network layer. Through the link aggregation system, different types of physical interfaces can be aggregated, and the effect of increasing the link bandwidth is realized.
With reference to the embodiment of the first aspect, in a possible implementation manner, the virtual ethernet interface is configured to modify a link encapsulation format of a data frame sent by the other type of physical interface into ethernet link encapsulation; and/or for modifying the encapsulation format of the data frames allocated to the other type of physical interface into a link encapsulation format corresponding to the other type of physical interface.
With reference to the embodiment of the first aspect, in a possible implementation manner, the other type of physical interface is a wide area network physical interface.
In a second aspect, an embodiment of the present application provides a data frame sending method, which is applied to a data interaction interface included in a link aggregation system, where the link aggregation system further includes an ethernet physical interface, a virtual ethernet interface, and other types of physical interfaces, where the ethernet physical interface and the virtual ethernet interface are connected to the data interaction interface, and the virtual ethernet interface is connected to the other types of physical interfaces; the method comprises the following steps: the data interaction interface acquires a data frame to be sent; the data interaction interface analyzes the data frame to be sent and then sends the data frame to a network layer; wherein the data frame to be transmitted comprises an original data frame from the Ethernet physical interface and/or a non-original data frame from the virtual Ethernet interface; and after the virtual Ethernet interface acquires the data frames sent by the other types of physical interfaces, modifying the link encapsulation format of the data frames into Ethernet link encapsulation to obtain the non-original data frames.
In a third aspect, an embodiment of the present application provides a method for receiving a data frame, which is applied to a data interaction interface included in a link aggregation system, where the link aggregation system further includes an ethernet physical interface, a virtual ethernet interface, and other types of physical interfaces, where the ethernet physical interface and the virtual ethernet interface are connected to the data interaction interface, and the virtual ethernet interface is connected to the other types of physical interfaces; the method comprises the following steps: the data interaction interface acquires a data frame to be received; the data interaction interface sends the data frame to be received to the Ethernet physical interface and/or the virtual Ethernet interface; when the virtual Ethernet interface acquires the data frame to be received, modifying the encapsulation format of the data frame to be received into a link encapsulation format corresponding to the other types of physical interfaces.
With reference to the embodiment of the third aspect, in a possible implementation manner, the sending, by the data interaction interface, the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface includes: and the data interaction interface sends the data frame to be received to the Ethernet physical interface and/or the virtual Ethernet interface according to the load conditions of the Ethernet physical interface and the virtual Ethernet interface. The purpose of load balancing can be achieved.
In a fourth aspect, an embodiment of the present application provides a device for sending a data frame, where the device is applied to a data interaction interface included in a link aggregation system, and the link aggregation system further includes an ethernet physical interface, a virtual ethernet interface, and other types of physical interfaces, where the ethernet physical interface and the virtual ethernet interface are connected to the data interaction interface, and the virtual ethernet interface is connected to the other types of physical interfaces; the device comprises: the acquisition module is used for acquiring a data frame to be sent; the sending module is used for analyzing the data frame to be sent and then sending the data frame to be sent to a network layer; wherein the data frame to be transmitted comprises an original data frame from the Ethernet physical interface and/or a non-original data frame from the virtual Ethernet interface; and after the virtual Ethernet interface acquires the data frames sent by the other types of physical interfaces, modifying the link encapsulation format of the data frames into Ethernet link encapsulation to obtain the non-original data frames.
In a fifth aspect, an embodiment of the present application provides a device for receiving a data frame, where the device is applied to a data interaction interface included in a link aggregation system, and the link aggregation system further includes an ethernet physical interface, a virtual ethernet interface, and other types of physical interfaces, where the ethernet physical interface and the virtual ethernet interface are connected to the data interaction interface, and the virtual ethernet interface is connected to the other types of physical interfaces; the device comprises: the acquisition module is used for acquiring a data frame to be received; a sending module, configured to send the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface; when the virtual Ethernet interface acquires the data frame to be received, modifying the encapsulation format of the data frame to be received into a link encapsulation format corresponding to the other types of physical interfaces.
With reference to the fifth aspect, in a possible implementation manner, the sending module is configured to send the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface according to load conditions of the ethernet physical interface and the virtual ethernet interface.
In a sixth aspect, an embodiment of the present application further provides a network device, including: a memory and a processor, the memory and the processor connected; the memory is used for storing programs; the processor calls a program stored in the memory to execute the data frame transmitting method and/or the data frame receiving method.
In a seventh aspect, an embodiment of the present application further provides a non-volatile computer-readable storage medium (hereinafter, referred to as a computer-readable storage medium), where a computer program is stored on the non-volatile computer-readable storage medium, and the computer program is executed by a computer to perform the sending method and/or the receiving method for the data frame.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts. The foregoing and other objects, features and advantages of the application will be apparent from the accompanying drawings. Like reference numerals refer to like parts throughout the drawings. The drawings are not intended to be to scale as practical, emphasis instead being placed upon illustrating the subject matter of the present application.
Fig. 1 shows a schematic structural diagram of a link aggregation system according to an embodiment of the present application.
Fig. 2 shows a flowchart of a method for sending a data frame according to an embodiment of the present application.
Fig. 3 shows a block diagram of a transmitting apparatus for a data frame according to an embodiment of the present application.
Fig. 4 shows a flowchart of a method for receiving a data frame according to an embodiment of the present application.
Fig. 5 shows a block diagram of a receiving apparatus for a data frame according to an embodiment of the present application.
Fig. 6 shows a schematic structural diagram of a network device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: the term "and/or" in this application is only one kind of association relationship describing the associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In addition, the defects (only the interfaces of the same type can be aggregated) occurring in the prior art when link aggregation is performed are the results obtained after the applicant has practiced and studied carefully, and therefore, the discovery process of the above defects and the solution proposed by the embodiments of the present application to the above defects in the following should be the contribution of the applicant to the present application in the process of the present application.
In order to solve the above problem, embodiments of the present application provide a link aggregation system, a data frame sending or receiving method, and a device thereof, which can aggregate different types of interfaces. The technology can be realized by adopting corresponding software, hardware and a combination of software and hardware. The following describes embodiments of the present application in detail.
First, a link aggregation system 10 for implementing a data frame transmission method, a data frame transmission apparatus, a data frame reception method, and a data frame reception apparatus according to an embodiment of the present application will be described with reference to fig. 1.
The link aggregation system 10 includes a data interaction interface 11, an ethernet physical interface 12, a virtual ethernet interface 13, and other types of physical interfaces 14.
In the embodiment of the present application, the link aggregation system 10 is located at the physical layer. The virtual ethernet interface 13 is a virtual interface, and is virtualized when a user inputs configuration information.
The data interaction interface 11 is used for connecting with a network layer, performing data interaction with the network layer, receiving service traffic of the network layer and layers above the network layer, and distributing the service traffic to each link of the physical layer (receiving a data frame), or acquiring a data frame of each link of the physical layer and sending the data frame to the network layer (sending a data frame). Namely, the data interaction interface 11 serves as a data interaction interface between the physical link and the network layer included in the link aggregation system 10.
Furthermore, the data interaction interface 11 is connected with the ethernet physical interface 12 and the virtual ethernet interface 13, and the virtual ethernet interface 13 is connected with other types of physical interfaces 14, for the inside of the link aggregation system 10.
Because LACP only supports message transmission in an ethernet frame format at present, LACP can only aggregate ethernet physical links when aggregating links, that is, only the ethernet physical interfaces 12 can be used as member interfaces of the aggregated logical links. However, in addition to the ethernet physical interface 12, there may be other types of physical interfaces 14 at the physical layer, such as wide area network interfaces, local area network interfaces, and the like.
For the purpose of aggregating the different types of interfaces, in the embodiment of the present application, the virtual ethernet interface 13 is communicatively connected to both the data interaction interface 11 and the other type of physical interface 14, and plays a role of shielding the link aggregation system 10 from the differences between the ethernet physical interface 12 and the other type of physical interface 14.
Optionally, the virtual ethernet interface 13 achieves the purpose of shielding the link aggregation system 10 from differences between the ethernet physical interface 12 and other types of physical interfaces 14 by modifying the link encapsulation format of data frames interacting with other types of physical interfaces 14. For example, at the time of transmitting a data frame, the virtual ethernet interface 13 is configured to modify the link encapsulation format of the data frame transmitted by the other type of physical interface 14 into ethernet link encapsulation; upon reception of the data frame, the virtual ethernet interface 13 is used to modify the encapsulation format of the data frame allocated to the other type of physical interface 14 by the data interaction interface 11 into a link encapsulation format corresponding to the other type of physical interface.
In the embodiment of the present application, the other type of physical interface 14 may be a wan physical interface, may also be a lan physical interface, and may also include both a wan physical interface and a lan physical interface.
Wherein, as an optional implementation, when the other type of physical interface 14 is a wan physical interface, the wan physical interface may include at least one of E1, CE1, POS, and CPOS.
The following description will be directed to a method for transmitting a data frame according to an embodiment of the present application.
Referring to fig. 2, an embodiment of the present application provides a method for sending a data frame applied to a data interaction interface 11 included in the link aggregation system 10. The steps involved will be described below in conjunction with fig. 2.
Step S110: and the data interaction interface acquires a data frame to be sent.
Step S120: and the data interaction interface analyzes the data frame to be sent and then sends the data frame to a network layer.
The data frame to be transmitted includes an original data frame from the ethernet physical interface 12 and/or a non-original data frame from the virtual ethernet interface 13.
As an optional implementation manner, when the data frame to be sent completely originates from the ethernet physical interface 12, the data interaction interface 11 determines the original data frame sent by the ethernet physical interface 12 as the data frame to be sent, analyzes the data frame to be sent, removes the MAC header of the data frame to be sent, obtains the three-layer type of the data frame to be sent, and then sends the data frame to be sent to the three-layer interface corresponding to the network layer according to the three-layer type.
As another alternative, when the data frame to be sent completely originates from the other type of physical interface 14, in this embodiment, each other type of physical interface 14 sends the acquired data frame to the virtual ethernet interface 13, respectively. For the virtual ethernet interface 13, the link encapsulation format of the acquired data frame is modified to ethernet link encapsulation to obtain a non-raw data frame, and then the virtual ethernet interface 13 sends the non-raw data frame to the data interaction interface 11. When the link encapsulation format of the data frame is modified, the virtual ethernet interface 13 first removes the original encapsulation of the data frame, and then adds the ethernet link encapsulation to the data frame. For example, when the other type of physical interface 14 is a wan physical interface, the virtual ethernet interface 13 removes the wan link encapsulation of the data frame and then adds the ethernet link encapsulation to the data frame. It should be noted that, the specific process of modifying the link encapsulation format of the data frame is the prior art, and is not described herein again.
Subsequently, the data interaction interface 11 determines the non-original data frame sent by the virtual ethernet interface 13 as a data frame to be sent, analyzes the data frame to be sent to obtain a three-layer type of the data frame to be sent, and sends the data frame to be sent to a three-layer interface corresponding to the network layer according to the three-layer type.
As another alternative, when the data frame to be transmitted is simultaneously from the ethernet physical interface 12 and the other type of physical interface 14, the original data frame from the ethernet physical interface 12 is directly used as a part of the data frame to be transmitted, and the data frame from the other type of physical interface 14 is modified by the link encapsulation format to be used as a part of the data frame to be transmitted. Subsequently, the data interaction interface 11 analyzes the data frame to be sent to obtain the three-layer type of the data frame to be sent, and then sends the data frame to be sent to the three-layer interface corresponding to the network layer according to the three-layer type.
Since the link aggregation system 10 can aggregate different types of physical interfaces, in the data frame transmission method, the link aggregation system 10 has the capability of transmitting data frames to be transmitted, which originate from different types of physical interfaces, to the network layer.
Corresponding to fig. 2, please refer to fig. 3, an embodiment of the present application further provides a data frame sending apparatus 400, which is applied to a data interaction interface 11 included in a link aggregation system 10, and includes: an acquisition module 410 and a sending module 420.
An obtaining module 410, configured to obtain a data frame to be sent;
a sending module 420, configured to analyze the data frame to be sent and send the analyzed data frame to a network layer;
wherein the data frame to be transmitted includes a raw data frame from the ethernet physical interface 12 and/or a non-raw data frame from the virtual ethernet interface 13;
after the virtual ethernet interface 13 obtains the data frame sent by the physical interface 14 of another type, the link encapsulation format of the data frame is modified to ethernet link encapsulation to obtain the non-original data frame.
The implementation principle and the technical effect of the apparatus 400 for sending data frames provided in the embodiment of the present application are the same as those of the foregoing method embodiment, and for the sake of brief description, no mention is made in the apparatus embodiment, and reference may be made to the corresponding contents in the foregoing method embodiment.
The following description will be directed to a method for receiving a data frame provided in an embodiment of the present application.
Referring to fig. 4, an embodiment of the present application provides a method for receiving a data frame applied to a data interaction interface 11 included in the link aggregation system 10. The steps involved will be described below in conjunction with fig. 4.
Step S210: and the data interaction interface acquires a data frame to be received.
Step S220: and the data interaction interface sends the data frame to be received to the Ethernet physical interface and/or the virtual Ethernet interface.
After the service traffic on the network layer and above reaches the three-layer interface of the network layer, the three-layer interface packages the service traffic into an MAC header and sends the service traffic to the data interaction interface 11. At this point, the data interaction interface 11 obtains a data frame to be received. At this time, the link encapsulation format of all the data frames to be received is ethernet link encapsulation. Subsequently, the data interaction interface 11 sends the data frame to be received to the physical link interface.
As an alternative implementation, when the data interaction interface 11 sends all the data frames to be received to the physical interface 12, the data frames to be received do not need to be processed by the link encapsulation format change. Subsequently, after acquiring the data frame to be received, the ethernet physical interface 12 sends the data frame to be received to the corresponding ethernet physical link.
As another optional implementation, when the data interaction interface 11 sends all the data frames to be received to the virtual ethernet interface 13, so that the virtual ethernet interface 13 sends the data frames to be received to the other types of physical interfaces 14, after the virtual ethernet interface 13 acquires the data frames to be received, the link encapsulation format (i.e., ethernet link encapsulation) of the data frames to be received is modified to the link encapsulation format corresponding to the other types of physical interfaces 14. For example, when the other type of physical interface 14 is a wan physical interface, the virtual ethernet interface 13 first removes the ethernet link encapsulation of the data frame to be received, and then adds the wan link encapsulation to the data frame to be received.
Subsequently, the virtual ethernet interface 13 sends the data frame to be received after the link encapsulation format is modified to the other type of physical interface 14. After the other types of physical interfaces 14 acquire the data frame to be received after the link encapsulation format is modified, the data frame to be received after the link encapsulation format is modified is sent to the corresponding physical link. For example, when the other type of physical interface 14 is a wan physical interface, the other type of physical interface 14 sends the data frame to be received after modifying the link encapsulation format to the corresponding wan physical link.
As another alternative, when the data interactive interface 11 sends a part of the data frames to be received to the virtual ethernet interface 13 and sends another part of the data frames to be received to the ethernet physical interface 12 (of course, the data interactive interface 11 may perform parallel processing or serial processing when sending the data frames to be received to a different interface), in this embodiment, the part of the data frames to be received sent to the ethernet physical interface 12 may be directly sent to the ethernet physical interface 12 without performing a link encapsulation format change. For a part of data frames to be received sent to the ethernet physical interface 12, after the part of data frames is sent to the virtual ethernet interface 13, the virtual ethernet interface 13 needs to change the link encapsulation format to a link encapsulation format corresponding to the other type of physical interface 14, and then the part of data frames is sent to the other type of physical interface 14 through the virtual ethernet interface 13.
For the data interactive interface 11 to send the data frame to be received to the ethernet physical interface 12 and/or the virtual ethernet interface 13, as an alternative, the data interactive interface 11 may perform control according to a policy of load balancing.
It should be noted that, in the embodiment of the present application, the load condition of the physical link corresponding to the ethernet physical interface 12 and the virtual ethernet interface 13 is reflected by the number of bytes. The larger the number of bytes of a certain physical link (e.g., an ethernet physical link, a wide area network physical link, a local area network physical link, etc.), the larger the representation load, and the smaller the number of bytes, the smaller the representation load.
In addition, for each physical link, after the data interaction interface 11 sends a message to the physical link, the data interaction interface 11 may record the number of bytes of the sent message. Therefore, for the ethernet physical interface 12, the byte number of its corresponding physical link, that is, the byte number of the data frame to be received that has been sent to the ethernet physical interface 12 by the data interaction interface 11. For the virtual ethernet interface 13, the number of bytes of the corresponding physical link is the number of bytes of the data frame to be received that has been sent to the virtual ethernet interface 13 by the data interaction interface 11. Therefore, when the data interaction interface 11 sends the data frame to be received, the data frame to be received can be sent to the member interface with the minimum number of bytes, thereby achieving the purpose of load balancing at the level of the ethernet physical interface 12 and the virtual ethernet interface 13.
In addition, as an optional implementation manner, for the virtual ethernet interface 13, a specific physical interface may be selected to transmit a data frame to be received according to a load balancing policy.
When the data interactive interface 11 routes to the virtual ethernet interface 13 and there are multiple other physical links (here, the wan physical link is taken as an example) corresponding to the virtual ethernet interface 13, there is a byte number of the wan physical link for each wan physical link. Therefore, the data interaction interface 11 can send the data frame to be received to the wan physical link with the minimum number of bytes through the ethernet physical interface 12, thereby achieving the purpose of load balancing at the physical link level.
Since the link aggregation system 10 can aggregate different types of physical interfaces, in the data frame receiving method, the link aggregation system 10 has a capability of sending a data frame to be received to the different types of physical interfaces.
Corresponding to fig. 4, please refer to fig. 5, an embodiment of the present application further provides a data frame receiving apparatus 500, which is applied to a data interaction interface 11 included in a link aggregation system 10, and includes: an acquisition module 510 and a sending module 520.
An obtaining module 510, configured to obtain a data frame to be received;
a sending module 520, configured to send the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface;
when the virtual Ethernet interface acquires the data frame to be received, modifying the encapsulation format of the data frame to be received into a link encapsulation format corresponding to the other types of physical interfaces.
Optionally, the sending module 520 is configured to send the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface according to the load conditions of the ethernet physical interface and the virtual ethernet interface.
The implementation principle and the resulting technical effect of the receiving apparatus 500 for data frames provided in the embodiment of the present application are the same as those of the foregoing method embodiments, and for the sake of brief description, no mention is made in the apparatus embodiment, and reference may be made to the corresponding contents in the foregoing method embodiments.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a computer, the computer program executes the method for transmitting a data frame or the method for receiving a data frame as described above.
In addition, referring to fig. 6, an embodiment of the invention further provides a network device 100, which includes a processor 110, and a memory 120 and a physical interface 130 connected to the processor 110.
The memory 120 stores therein a computer program that, when executed by the processor, causes the network device to execute the data frame transmission method or the data frame reception method as described above.
The physical interface 130 may be at least one of a wide area network physical interface, an ethernet physical interface, a local area network physical interface, and the like.
In summary, the link aggregation system, the data frame sending or receiving method, and the device thereof according to the embodiments of the present invention include a data interaction interface, an ethernet physical interface, a virtual ethernet interface, and other types of physical interfaces. The virtual Ethernet interface is used for modifying the link encapsulation format of the data frame interacted with the other types of physical interfaces, and plays a role in shielding the difference between the Ethernet physical interface and the other types of physical interfaces from the link aggregation system, so that the physical interfaces of different types can be aggregated.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a notebook computer, a server, or a network device) to execute all or part of the steps of the method according to 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 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application.

Claims (10)

1. A link aggregation system, comprising: the device comprises a data interaction interface, an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, wherein the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces;
the other type of physical interface is used for carrying out data interaction with the virtual Ethernet interface;
the virtual Ethernet interface is used for modifying the link encapsulation format of the data frame interacted with the other types of physical interfaces;
and the data interaction interface is used as a data interaction interface between the Ethernet physical interface and the network layer and between the virtual Ethernet interface and the network layer.
2. The link aggregation system according to claim 1, wherein the virtual ethernet interface is configured to modify a link encapsulation format of the data frames sent by the other types of physical interfaces into ethernet link encapsulation; and/or
And the encapsulation format of the data frame allocated to the other type of physical interface is modified into a link encapsulation format corresponding to the other type of physical interface.
3. The link aggregation system of claim 1, wherein the other type of physical interface is a wide area network physical interface.
4. A method for sending data frames is characterized in that the method is applied to a data interaction interface included in a link aggregation system, the link aggregation system further includes an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the method comprises the following steps:
the data interaction interface acquires a data frame to be sent;
the data interaction interface analyzes the data frame to be sent and then sends the data frame to a network layer;
wherein the data frame to be transmitted comprises an original data frame from the Ethernet physical interface and/or a non-original data frame from the virtual Ethernet interface;
and after the virtual Ethernet interface acquires the data frames sent by the other types of physical interfaces, modifying the link encapsulation format of the data frames into Ethernet link encapsulation to obtain the non-original data frames.
5. A method for receiving a data frame is characterized in that the method is applied to a data interaction interface included in a link aggregation system, the link aggregation system further includes an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the method comprises the following steps:
the data interaction interface acquires a data frame to be received;
the data interaction interface sends the data frame to be received to the Ethernet physical interface and/or the virtual Ethernet interface;
when the virtual Ethernet interface acquires the data frame to be received, modifying the encapsulation format of the data frame to be received into a link encapsulation format corresponding to the other types of physical interfaces.
6. The method according to claim 5, wherein the data interaction interface sends the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface, and comprises:
and the data interaction interface sends the data frame to be received to the Ethernet physical interface and/or the virtual Ethernet interface according to the load conditions of the Ethernet physical interface and the virtual Ethernet interface.
7. A sending device of data frames is characterized in that the device is applied to a data interaction interface included in a link aggregation system, the link aggregation system further includes an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the device comprises:
the acquisition module is used for acquiring a data frame to be sent;
the sending module is used for analyzing the data frame to be sent and then sending the data frame to be sent to a network layer;
wherein the data frame to be transmitted comprises an original data frame from the Ethernet physical interface and/or a non-original data frame from the virtual Ethernet interface;
and after the virtual Ethernet interface acquires the data frames sent by the other types of physical interfaces, modifying the link encapsulation format of the data frames into Ethernet link encapsulation to obtain the non-original data frames.
8. A receiving device of a data frame is applied to a data interaction interface included in a link aggregation system, the link aggregation system further includes an Ethernet physical interface, a virtual Ethernet interface and other types of physical interfaces, the Ethernet physical interface and the virtual Ethernet interface are connected with the data interaction interface, and the virtual Ethernet interface is connected with the other types of physical interfaces; the device comprises:
the acquisition module is used for acquiring a data frame to be received;
a sending module, configured to send the data frame to be received to the ethernet physical interface and/or the virtual ethernet interface;
when the virtual Ethernet interface acquires the data frame to be received, modifying the encapsulation format of the data frame to be received into a link encapsulation format corresponding to the other types of physical interfaces.
9. A network device comprising a memory and a processor, the memory and the processor being coupled;
the memory is used for storing programs;
the processor calls a program stored in the memory to perform the method of any of claims 4-6.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a computer, performs the method of any one of claims 4-6.
CN201911006802.2A 2019-10-22 2019-10-22 Link aggregation system, data frame sending or receiving method and device Active CN110730126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911006802.2A CN110730126B (en) 2019-10-22 2019-10-22 Link aggregation system, data frame sending or receiving method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911006802.2A CN110730126B (en) 2019-10-22 2019-10-22 Link aggregation system, data frame sending or receiving method and device

Publications (2)

Publication Number Publication Date
CN110730126A true CN110730126A (en) 2020-01-24
CN110730126B CN110730126B (en) 2022-07-22

Family

ID=69222805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911006802.2A Active CN110730126B (en) 2019-10-22 2019-10-22 Link aggregation system, data frame sending or receiving method and device

Country Status (1)

Country Link
CN (1) CN110730126B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453467A (en) * 2007-12-03 2009-06-10 迈普(四川)通信技术有限公司 Method for supporting point to multi-point network interface by IS-IS dynamic routing protocol
CN101986666A (en) * 2010-11-05 2011-03-16 清华大学 Network data transmission method based on virtual network interface and reverse address resolution
CN102215124A (en) * 2011-06-08 2011-10-12 华为技术有限公司 Fault processing method, sink node and optical network protection system
CN102404221A (en) * 2011-11-27 2012-04-04 深圳市掌控无限科技有限公司 Multi-link aggregated data transmitting method and system
CN104717109A (en) * 2015-04-02 2015-06-17 迈普通信技术股份有限公司 Simulation testing method and system for wide area network links
WO2018196671A1 (en) * 2017-04-26 2018-11-01 中兴通讯股份有限公司 A virtual port management method and device
CN109088820A (en) * 2018-09-21 2018-12-25 锐捷网络股份有限公司 A kind of striding equipment link aggregation method, device, computing device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453467A (en) * 2007-12-03 2009-06-10 迈普(四川)通信技术有限公司 Method for supporting point to multi-point network interface by IS-IS dynamic routing protocol
CN101986666A (en) * 2010-11-05 2011-03-16 清华大学 Network data transmission method based on virtual network interface and reverse address resolution
CN102215124A (en) * 2011-06-08 2011-10-12 华为技术有限公司 Fault processing method, sink node and optical network protection system
CN102404221A (en) * 2011-11-27 2012-04-04 深圳市掌控无限科技有限公司 Multi-link aggregated data transmitting method and system
CN104717109A (en) * 2015-04-02 2015-06-17 迈普通信技术股份有限公司 Simulation testing method and system for wide area network links
WO2018196671A1 (en) * 2017-04-26 2018-11-01 中兴通讯股份有限公司 A virtual port management method and device
CN109088820A (en) * 2018-09-21 2018-12-25 锐捷网络股份有限公司 A kind of striding equipment link aggregation method, device, computing device and storage medium

Also Published As

Publication number Publication date
CN110730126B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
CN114567875A (en) Techniques for radio equipment network space security and multiple radio interface testing
US9621465B2 (en) Wired data-connection aggregation
CN107395572B (en) Data processing method and Internet of things gateway
US20230060066A1 (en) Data transmission method and apparatus, computer readable medium, and electronic device
CN104219229B (en) The transmission method and device of virtual desktop data
US11704148B2 (en) Datapath load distribution for a RIC
US11184778B2 (en) Mobile service chain placement
CN112261094B (en) Message processing method and proxy server
US11836551B2 (en) Active and standby RICs
US11799794B2 (en) Selective compression of packet payload data in a 5G network
US20230137879A1 (en) In-flight incremental processing
AU2022229086A1 (en) Ric sdk
EP2912844B1 (en) Adaptive stereoscopic 3d streaming
US11528187B1 (en) Dynamically configurable networking device interfaces for directional capacity modifications
CN110730126B (en) Link aggregation system, data frame sending or receiving method and device
KR20220037444A (en) Systems and methods for providing bidirectional forwarding detection using performance routing metrics
US20220329529A1 (en) 5g filters for virtual network functions
CN105915639B (en) Page access method and device
US11218394B1 (en) Dynamic modifications to directional capacity of networking device interfaces
CN110324354B (en) Method, device and system for network tracking long chain attack
TWI835205B (en) Selective compression of packet payload data in a 5g network
WO2023213086A1 (en) Data processing method and apparatus, and computer-readable medium and electronic device
WO2023233582A1 (en) Attack detection device, attack detection system, attack detection method, and attack detection program
WO2024041572A1 (en) Service processing method and apparatus, device, medium and program product
US11727602B2 (en) Resolution of a picture

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