CN113965433B - Method for realizing multi-network aggregation - Google Patents

Method for realizing multi-network aggregation Download PDF

Info

Publication number
CN113965433B
CN113965433B CN202111408196.4A CN202111408196A CN113965433B CN 113965433 B CN113965433 B CN 113965433B CN 202111408196 A CN202111408196 A CN 202111408196A CN 113965433 B CN113965433 B CN 113965433B
Authority
CN
China
Prior art keywords
aggregation
packet
network
original
application 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.)
Active
Application number
CN202111408196.4A
Other languages
Chinese (zh)
Other versions
CN113965433A (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.)
Avcon Wisdom Information Technology Shenzhen Co ltd
Original Assignee
Avcon Wisdom Information Technology Shenzhen 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 Avcon Wisdom Information Technology Shenzhen Co ltd filed Critical Avcon Wisdom Information Technology Shenzhen Co ltd
Priority to CN202111408196.4A priority Critical patent/CN113965433B/en
Publication of CN113965433A publication Critical patent/CN113965433A/en
Application granted granted Critical
Publication of CN113965433B publication Critical patent/CN113965433B/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
    • 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/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The invention relates to a method for realizing multi-network aggregation, which comprises the following steps: s10: a plurality of lte modules of the aggregation device are independently arranged through network namespaces respectively and are respectively allocated with corresponding ip packets; s20: a plurality of network namespaces are connected by a bridge; s30: the aggregation equipment collects all the ip packets into an aggregation program for aggregation processing, the aggregation program reads the ip packets, packages the ip packets into application data and sends the application data to an aggregation server, and the aggregation server reassembles the application data into the original ip packets; s40: the aggregation equipment sends the original ip packet to a server of the public network through an lte module; s50: after receiving the original ip packet, the public network server writes the original ip packet into a linux kernel protocol stack through a tap internet access. The scheme is simple and flexible, can be well suitable for different network access devices, can also carry out redundant packet sending according to actual conditions, shortens or avoids retransmission time of an application layer, and improves experience of services with higher real-time requirements.

Description

Method for realizing multi-network aggregation
Technical Field
The invention relates to the technical field of data aggregation, in particular to a method for realizing multi-network aggregation.
Background
The arm-linux device based on the nxp is accessed to a plurality of lte modules (4G wireless communication modules) or satellite network access terminals through usb ports, and wireless link bandwidths of the modules are aggregated into one path, so that the stability and the bandwidth of the link are improved. The application program does not need to do any multi-network-port processing and is used as a common router. The device has higher application value in flood fighting, field training and traffic communication.
A common linux-based multi-portal aggregation technology utilizes a portal aggregation function of a linux kernel, which is relatively simple to use, but an aggregation policy cannot be customized, and only can be performed according to selectable options specified by the kernel, and reverse load balancing of a bandwidth is difficult to achieve.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for implementing multi-network aggregation, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method for implementing multi-network aggregation is characterized by comprising the following steps:
s10: a plurality of lte modules of the aggregation device are independently arranged through network namespaces respectively and are respectively allocated with corresponding ip packets;
s20: a plurality of the network namespaces are connected by a bridge;
s30: the aggregation equipment collects all the ip packets into an aggregation program for aggregation processing, the aggregation program reads the ip packets, packages the ip packets into application data and sends the application data to an aggregation server, and the aggregation server reassembles the application data into original ip packets;
s40: the aggregation equipment sends the original ip packet to a server of a public network through an lte module;
s50: after receiving the original ip packet, the public network server writes the original ip packet into a linux kernel protocol stack through the tap internet access;
the method for implementing multi-network aggregation in the present invention, wherein the specific process of aggregation processing in the step S30 includes the following steps:
s31: the aggregation program sends a data packet through the lte module;
s32: the aggregation program reads an ip packet to be sent of the application program through a tap network port;
s33: the aggregation program packages the ip packet into application data and sends the application data to an aggregation server;
s34: the aggregation server reassembles the application data in the S33 into an original ip packet, and the original ip packet is collected to the tap internet access;
the method for implementing multi-network aggregation in the present invention further includes, after the step S50, the following steps:
s60: the public network server sends the original ip packet to a destination address needing to go to;
the method for realizing multi-network aggregation comprises the following steps that the public network server can also reversely send the ip packet to the aggregation equipment; the aggregation equipment reversely sends the information to the lte module through the tap internet access;
in the step S40, when the ip packet is sent, the aggregation program may determine a sending path of the ip packet according to the signal quality of each lte module and the current bandwidth occupation condition; if the receiving end receives the ip packet, the ip packet is sent to the Linux kernel protocol stack, and the Linux kernel protocol stack completes out-of-order recombination of data packets;
the method for realizing multi-network aggregation comprises the steps that when ip packet data is sent, in the step S40, when packet loss occurs when the ip packet is sent, user programs at two ends execute retransmission requests;
in the step S32, when the tap portal reads the ip packet, the aggregation program redirects the data packet of each module to the tap portal by using a policy function of iptables;
the invention also discloses a device for multi-network aggregation, wherein the device comprises:
the equipment aggregation module is used for redirecting the data packet of each lte module to a tap network port, reading an ip packet to be sent of an application program through the tap network port, packaging the ip packet to be sent into application data, and sending the application data to the aggregation server through a public network;
and the service aggregation module is used for receiving the application data, reassembling the application data into the original ip packet, writing the original ip packet into a linux kernel protocol stack through the tap internet access, and sending the ip packet to a public network through the linux kernel protocol stack.
The invention also discloses a device, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method;
the invention also discloses a readable storage medium, which stores a computer program that, when executed by a processor, implements the steps of the method described above.
The invention has the beneficial effects that: a method for realizing multi-network aggregation is characterized in that a tap network port is adopted to read ip packet data and then forward the ip packet data at a user side to realize forward and reverse link aggregation of a plurality of network ports.
In the actual use process, redundant packet sending can be performed according to the actual situation, the retransmission time of an application layer is shortened or avoided, and the experience of services with higher real-time requirements is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described with reference to the accompanying drawings and embodiments, wherein the drawings in the following description are only part of the embodiments of the present invention, and for those skilled in the art, other drawings can be obtained without inventive efforts according to the accompanying drawings:
fig. 1 is a flowchart of a method for implementing multi-network aggregation according to a preferred embodiment of the present invention;
FIG. 2 is a diagram of an aggregated link according to a preferred embodiment of the present invention;
FIG. 3 is a flowchart illustrating an aggregation procedure according to a preferred embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for multi-network aggregation according to a preferred embodiment of the present invention;
fig. 5 is a schematic structural diagram of a device for multi-network aggregation according to a preferred embodiment of the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without inventive step, are within the scope of the present invention.
The following detailed description of specific implementations of the present invention is provided in conjunction with specific embodiments:
the first embodiment is as follows:
fig. 1 to 3 are flowcharts illustrating a method for implementing multi-network aggregation according to an embodiment of the present invention, and for convenience of description, only the portions related to the embodiment of the present invention are shown, which are described in detail below.
A method for implementing multi-network aggregation comprises the following steps:
s10: a plurality of lte modules of the aggregation device are independently arranged through network namespaces respectively and are respectively allocated with corresponding ip packets;
s20: a plurality of said network namespaces connected by a bridge;
s30: the aggregation equipment collects all the ip packets into an aggregation program for aggregation processing, the aggregation program reads the ip packets, packages the ip packets into application data and sends the application data to an aggregation server, and the aggregation server reassembles the application data into the original ip packets.
Further, the specific process of the polymerization treatment in the step S30 includes the steps of:
s31: the aggregation program sends a data packet through the lte module;
s32: the aggregation program reads an ip packet to be sent of the application program through a tap network port;
s33: the aggregation program packages the ip packet into application data and sends the application data to an aggregation server;
s34: the aggregation server reassembles the application data in the S33 into an original ip packet, and the original ip packet is collected to the tap internet access;
s40: the aggregation equipment sends the original ip packet to a server of a public network through an lte module;
s50: after receiving the original ip packet, the public network server writes the original ip packet into a linux kernel protocol stack through the tap internet access; it is worth noting that the linux kernel protocol stack is prior art.
S60: and the public network server sends the original ip packet to a destination address needing to go to.
Further, the public network server can also send the ip packet to the aggregation device in a reverse direction; and the aggregation equipment reversely sends the information to the lte module through the tap internet access.
Further, in the step S40, when the ip packet is sent, the aggregation program may determine a sending path of the ip packet according to the signal quality of each lte module and the current bandwidth occupation condition; and if the receiving end receives the ip packet, sending the ip packet into the Linux kernel protocol stack, and finishing out-of-order recombination of the data packet by the Linux kernel protocol stack.
Further, in the step S40, when the packet loss occurs in the ip packet, the user programs at both ends execute the retransmission request.
Further, in the step S32, when the tap portal reads the ip packet, the aggregation program redirects the data packet of each module to the tap portal by using the policy function of iptables.
A method for realizing multi-network aggregation realizes forward and reverse link aggregation of multiple network ports by reading ip packet data through a tap network port and then forwarding the data at a user terminal.
In the actual use process, redundant packet sending can be performed according to the actual situation, the retransmission time of an application layer is shortened or avoided, and the experience of services with higher real-time requirements is improved.
Example two:
fig. 4 shows a schematic structural diagram of an apparatus for multi-network aggregation according to an embodiment of the present invention, and for convenience of description, only a part related to the embodiment of the present invention is shown, where the apparatus includes:
the device aggregation module 201 is configured to redirect the data packet of each lte module to a tap network port, read an ip packet to be sent by an application program through the tap network port, package the ip packet to be sent into application data, and send the application data to the aggregation server through a public network;
and the service aggregation module 202 is configured to receive the application data, reassemble the application data into the original ip packet, write the ip packet into a linux kernel protocol stack through the tap internet access, and send the ip packet to a public network through the linux kernel protocol stack.
In the embodiment of the present invention, each module of the multi-network aggregation apparatus may be implemented by a corresponding hardware or software module, and each module may be an independent software or hardware module, or may be integrated into a software or hardware module, which is not limited herein.
Example three:
fig. 5 is a schematic structural diagram of a device for multi-network aggregation according to an embodiment of the present invention; for convenience of explanation, only portions related to embodiments of the present invention are shown, including:
in an embodiment of the present invention, there is provided an apparatus comprising a memory 301, a processor 302 and a computer program 303 stored in the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps in the above-described method embodiment of multi-network aggregation, for example, steps S10 to S50 shown in fig. 1. Alternatively, the computer program, when executed by a processor, implements the functions of the modules in the apparatus for multi-network aggregation, for example, the modules 201 to 202 shown in fig. 3.
Example four:
in an embodiment of the present invention, a readable storage medium is provided, which stores a computer program that, when executed by a processor, implements the steps in the above-described method embodiment of multi-network aggregation, for example, steps S101 to S103 shown in fig. 1. Alternatively, the computer program, when executed by the processor, implements the functions of the modules in the above-described apparatus embodiments, such as the functions of the modules shown in fig. 2.
The computer readable storage medium of the embodiments of the present invention may include any entity or device capable of carrying computer program code, a recording medium, for example, a ROM/RAM, a magnetic disk, an optical disk, a flash memory, or the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. A method for implementing multi-network aggregation is characterized by comprising the following steps:
s10: a plurality of lte modules of the aggregation device are independently arranged through network namespaces respectively and are respectively allocated with corresponding ip packets;
s20: a plurality of the network namespaces are connected by a bridge;
s30: the aggregation equipment collects all the ip packets into an aggregation program for aggregation processing, the aggregation program reads the ip packets, packages the ip packets into application data and sends the application data to an aggregation server, and the aggregation server reassembles the application data into original ip packets;
s40: the aggregation equipment sends the original ip packet to a server of a public network through an lte module;
s50: after receiving the original ip packet, the public network server writes the original ip packet into a linux kernel protocol stack through a tap internet access;
the specific process of the polymerization treatment in the step S30 includes the following steps:
s31: the aggregation program sends a data packet through the lte module;
s32: the aggregation program reads an ip packet to be sent of the application program through a tap network port;
s33: the aggregation program packages the ip packet into application data and sends the application data to an aggregation server;
s34: and the aggregation server reassembles the application data in the S33 into an original ip packet and collects the original ip packet to the tap internet access.
2. The method according to claim 1, wherein the step S50 is followed by the following steps:
s60: and the public network server sends the original ip packet to a destination address needing to go to.
3. The method according to claim 2, wherein the public network server further sends the ip packet to the aggregation device in a reverse direction; and the aggregation equipment reversely sends the information to the lte module through the tap internet access.
4. The method according to claim 1, wherein in the step S40, when the ip packet is sent, the aggregation program may determine a sending path of the ip packet according to a signal quality of each lte module and a current bandwidth occupation status; and if the receiving end receives the ip packet, sending the ip packet into the Linux kernel protocol stack, and finishing out-of-order recombination of the data packet by the Linux kernel protocol stack.
5. The method according to claim 4, wherein in the step S40, when the ip packet is sent and a packet loss occurs, user programs at both ends execute a retransmission request.
6. The method according to claim 5, wherein in the step S32, when the tap portal reads the ip packet, the aggregation program redirects the data packet of each module to the tap portal by using a policy function of iptables.
7. An apparatus for multi-network aggregation, the apparatus comprising:
the equipment aggregation module is used for redirecting the data packet of each lte module to a tap network port, reading an ip packet to be sent of an application program through the tap network port, packaging the ip packet to be sent into application data, and sending the application data to the aggregation server through a public network;
and the service aggregation module is used for receiving the application data, reassembling the application data into the original ip packet, writing the original ip packet into a linux kernel protocol stack through the tap internet access, and sending the ip packet to a public network through the linux kernel protocol stack.
8. An apparatus comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-6 when executing the computer program.
9. A readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202111408196.4A 2021-11-25 2021-11-25 Method for realizing multi-network aggregation Active CN113965433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111408196.4A CN113965433B (en) 2021-11-25 2021-11-25 Method for realizing multi-network aggregation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111408196.4A CN113965433B (en) 2021-11-25 2021-11-25 Method for realizing multi-network aggregation

Publications (2)

Publication Number Publication Date
CN113965433A CN113965433A (en) 2022-01-21
CN113965433B true CN113965433B (en) 2023-04-18

Family

ID=79471965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111408196.4A Active CN113965433B (en) 2021-11-25 2021-11-25 Method for realizing multi-network aggregation

Country Status (1)

Country Link
CN (1) CN113965433B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125935A (en) * 2021-11-29 2022-03-01 展讯通信(上海)有限公司 Data link aggregation method and device, storage medium and aggregation equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547274A (en) * 2017-08-22 2018-01-05 新华三大数据技术有限公司 Multi-netmouth polymerization and device
CN109361606A (en) * 2018-09-28 2019-02-19 新华三技术有限公司 A kind of message handling system and the network equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7760859B2 (en) * 2005-03-07 2010-07-20 Net Optics, Inc. Intelligent communications network tap port aggregator
CN102801695B (en) * 2011-05-27 2015-10-14 华耀(中国)科技有限公司 Virtual private network (VPN) communication equipment and data pack transmission method thereof
US10237176B2 (en) * 2016-06-30 2019-03-19 Juniper Networks, Inc. Auto discovery and auto scaling of services in software-defined network environment
CN106790532B (en) * 2016-12-21 2020-06-30 清华大学深圳研究生院 Online live broadcast uploading method and system based on edge network aggregation
US20200137115A1 (en) * 2018-10-31 2020-04-30 Hewlett Packard Enterprise Development Lp Smart and selective mirroring to enable seamless data collection for analytics
CN110087335B (en) * 2019-04-30 2023-05-12 上海寰创通信科技股份有限公司 Data transmission system and method for aggregating multiple wireless links
CN110635988B (en) * 2019-10-24 2020-10-27 北京大学 Data forwarding method and equipment for multipath transmission
CN112910877B (en) * 2021-01-27 2022-04-08 浪潮云信息技术股份公司 Method and system for realizing security group blacklist based on openstack

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547274A (en) * 2017-08-22 2018-01-05 新华三大数据技术有限公司 Multi-netmouth polymerization and device
CN109361606A (en) * 2018-09-28 2019-02-19 新华三技术有限公司 A kind of message handling system and the network equipment

Also Published As

Publication number Publication date
CN113965433A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
US10564994B2 (en) Network policy implementation with multiple interfaces
US20170295264A1 (en) Network extended tcp splicing
WO2018227953A1 (en) Methods and devices associated with improvements in or relating to an uplink split bearer in new radio
US9100279B2 (en) Method, apparatus, and system for forwarding data in communications system
US20030018828A1 (en) Infiniband mixed semantic ethernet I/O path
CN106664290A (en) Data transmission method and device for photoelectric hybrid network
CN106233775B (en) Insertion and use of application or radio information in network data packet headers
CN109831490A (en) Business access method and system
CA2950453C (en) Proxy node for transferring packets between a server and a client using port sharding
EP2827555A1 (en) Proxy Node and Method
WO2018036173A1 (en) Network load balancing method, device and system
CN113141314B (en) Congestion control method and equipment
CN113965433B (en) Method for realizing multi-network aggregation
CN111629280B (en) Packet loss processing method and device and readable storage medium
WO2022222674A1 (en) Message processing method and apparatus, electronic device, and computer-readable storage medium
CN111211942A (en) Data packet receiving and transmitting method, equipment and medium
CN110545230B (en) Method and device for forwarding VXLAN message
US10172032B2 (en) Admission control of 4G/LTE conversational sessions by cellular backhaul satellite network
CN112398754B (en) Data transmission method, device, medium, electronic equipment and network access equipment
CN117354253A (en) Network congestion notification method, device and storage medium
CN108833063A (en) A kind of message retransmission method and device
US20180287850A1 (en) Techniques for network multicasting with buffering
KR102368831B1 (en) Method and apparatus for managing session in communication network
CN117221225A (en) Network congestion notification method, device and storage medium
CN115633329A (en) Method, device and system for optimizing congestion state of Internet of vehicles and storage medium

Legal Events

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