CN116234063A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN116234063A
CN116234063A CN202310011245.3A CN202310011245A CN116234063A CN 116234063 A CN116234063 A CN 116234063A CN 202310011245 A CN202310011245 A CN 202310011245A CN 116234063 A CN116234063 A CN 116234063A
Authority
CN
China
Prior art keywords
link
data packet
target
wireless
wireless link
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
CN202310011245.3A
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 United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310011245.3A priority Critical patent/CN116234063A/en
Publication of CN116234063A publication Critical patent/CN116234063A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Abstract

The invention discloses a data transmission method and device, relates to the field of communication, and solves the problem of shortage of resources of the existing terminal optical cable. The data transmission method is applied to a first user front-end equipment in a virtual private network system, and the first user front-end equipment is accessed to a bearing network through a wired link and a first wireless link, and comprises the following steps: receiving a data packet sent by user equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user equipment, and the target address points to a receiving end of the data packet; determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link; under the condition that the target link is a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are allocated by a dynamic IP pool of the first wireless link; and transmitting the wireless transmission data packet into the bearing network through a first wireless link.

Description

Data transmission method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a data transmission method and apparatus.
Background
With the development of digital technology, the requirement for accessing the internet is increasing, and the requirement for various aspects of transmission is continuously improved, so that enterprises, hospitals, government departments and the like build a private network. Because the construction cost of constructing a private network by using a special optical cable and a cable is too high and the applicability is low, the technology of constructing a private virtual private network on a common network is widely used.
On this basis, reliability of data transmission of the virtual private network is the most of concern. In general, the guarantee of network transmission reliability is dependent on terminal multi-route access. Because of reasons such as planning construction, the optical cable resource expansion difficulty is high, so that the problem of terminal optical cable resource shortage easily occurs.
Disclosure of Invention
The invention provides a data transmission method and device, which are used for solving the problem of resource shortage of an end optical cable.
In order to achieve the above purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a data transmission method applied to a first user front-end device in a virtual private network system, where the first user front-end device accesses a bearer network through a wired link and a first wireless link, and includes: receiving a data packet sent by user equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user equipment, and the target address points to a receiving end of the data packet; determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link; under the condition that the target link is a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link and point to a starting point and an ending point of the first wireless link respectively; and transmitting the wireless transmission data packet into the bearing network through a first wireless link.
In the above embodiment, the first user front-end device encapsulates the dynamic source address and the dynamic destination address, and the static source address and the destination address of the first wireless link in the wireless transmission data packet through the GRE protocol. The static source address required by the virtual private network is fixed IP, and the wireless links are mostly dynamically allocated IP, so that the static source address of the data packet and the dynamic source address of the wireless link can be decoupled, the problem that the wireless link is a dynamic address and the virtual private network requires the static address is solved, and the wireless link can also bear the data transmission of the virtual private network. And a wireless link is introduced to carry out data transmission of a virtual private network, so that the problem of resource shortage of an end optical cable is further solved.
In one possible implementation manner, in a case that the target link is the first wireless link, the data transmission method further includes: encapsulating the data packets into VPN data packets based on a VPN protocol; based on GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a data packet to obtain a wireless transmission data packet, which comprises the following steps: and based on the GRE protocol, the dynamic source address and the dynamic target address are encapsulated in the VPN data packet to obtain the wireless transmission data packet.
In one possible implementation, the connection status of the wired link and the first wireless link is detected; determining a target link for transmitting a data packet, comprising: when the wired link and the first wireless link are connected normally, the wired link is determined to be a target link; and when the connection of the wired link is failed and the connection of the first wireless link is normal, determining the first wireless link as a target link.
In one possible implementation manner, the data transmission method further includes: detecting the connection state of a wired link and a first wireless link; determining a target link for transmitting a data packet, comprising: and when the wired link and the first wireless link are connected normally, determining the wired link and the first wireless link as target links.
In one possible implementation manner, the data transmission method further includes: under the condition that the target link is a wired link and a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; and encapsulating the data packet according to the VPN protocol to obtain a wired transmission data packet; the wire transmission data packet and the wireless transmission data packet have the same data packet identifier; transmitting the wireless transmission data packet into a bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
In one possible implementation manner, the data transmission method further includes: under the condition that the target link is a wired link and a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a part of data packets to obtain wireless transmission data packets; and encapsulating the other part of data packets according to the VPN protocol to obtain wired transmission data packets; transmitting the wireless transmission data packet into a bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
In one possible implementation, the virtual private network system further includes a second user head-end, the second user head-end accessing the carrier network through a second wireless link; the first user front-end equipment and the second user front-end equipment form a VRRP backup group so as to have the same virtual IP address and different virtual MAC addresses; the user terminal equipment is configured with a virtual IP address and a target virtual MAC address, wherein the target virtual address is the virtual MAC address of the first user front-end equipment or the second user front-end equipment, and the data packet is sent out by the user terminal equipment according to the virtual IP address and the target virtual MAC address so as to reach the first user front-end equipment or the second user front-end equipment; the data transmission method further comprises the following steps: when at least one of the wired link and the first wireless link is connected normally, updating the target virtual MAC address to the virtual MAC address of the first user front-end equipment; and when the wired connection and the first wireless link are connected with each other and fail, sending a notification message to the second user front-end equipment, wherein the notification message is used for indicating the second user front-end equipment to update the target virtual MAC address to the virtual MAC address of the second user front-end equipment.
In one possible implementation, detecting a connection state of the wired link and the first wireless link includes: BFD session is established between the wired link and the first wireless link, and BFD message is periodically sent and received; if the BFD message of the wired link and/or the first wireless link is not received within the detection time, the wired link and/or the first wireless link which does not receive the BFD message is considered to have connection faults.
In a second aspect, the present invention provides a data transmission device, which is applied to a virtual private network system, and is communicatively connected to a user equipment in the virtual private network system, and is accessed to a bearer network through a wired link and a first wireless link, including: the data receiving module is used for receiving a data packet sent by the user terminal equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user terminal equipment, and the target address points to a receiving end of the data packet; the link selection module is used for determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link; the data encapsulation module is used for encapsulating the dynamic source address and the dynamic target address into a data packet based on the GRE protocol under the condition that the target link is a first wireless link to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link, and point to a starting point and a finishing point of the first wireless link respectively; and the data sending module is used for transmitting the wireless transmission data packet into the bearing network through the first wireless link under the condition that the target link is the first wireless link.
In a third aspect, the present invention provides a virtual private network system, including a client device and a first user front-end device, where the client device is communicatively connected to the first user front-end device, and the first user front-end device accesses to a carrier network through a wired link and a first wireless link; the user terminal equipment is used for sending a data packet to the first user front-end equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user terminal equipment, and the target address points to a receiving end of the data packet; the first user front-end equipment is used for receiving the data packet sent by the user side equipment; determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link; under the condition that the target link is a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link and point to a starting point and an ending point of the first wireless link respectively; and transmitting the wireless transmission data packet into the bearing network through a first wireless link.
For a detailed description of the second to third aspects and various implementations thereof in this application, reference may be made to the detailed description of the first aspect and various implementations thereof; moreover, the advantages of the second aspect to the third aspect and the various implementations thereof may be referred to for analysis of the advantages of the first aspect and the various implementations thereof, and are not described here again.
These and other aspects of the present application will be more readily apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a system architecture of a data transmission method in an embodiment of the present application connected to a user front-end device;
fig. 2 is a schematic diagram of a system architecture 0 of a data transmission method in an embodiment of the present application for connecting two user front-end devices;
fig. 3 is a schematic hardware structure of a CPE according to an embodiment of the present application;
fig. 4 is a flow chart of a data transmission method according to an embodiment of the present application;
fig. 5 is a schematic diagram of a wired link and a first wireless link according to an embodiment of the present application to respectively transmit different data;
fig. 6 is a schematic diagram of a wired link and a first wireless link transmitting the same data together according to an embodiment of the present application;
fig. 7 is a schematic diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "first", 5 "second" may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" is two or more.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, before introducing the identity authentication method of the embodiments of the present application, some terms and technologies related thereto are briefly described below.
User front equipment (CustomerPremiseEquipment, CPE)
The 0-user front-end equipment is novel wireless terminal access equipment, and the CPE can obtain a mobile network like a mobile phone through a plug-in card, directly serve as a wired network interface or convert the wired network interface into Wi-Fi signals, and provide equipment connection in the scenes such as home or office.
General routing encapsulation (GenericRoutingEncapsulation, GRE)
GRE is a protocol for encapsulating packets using one routing protocol in packets of another protocol.
Bidirectional forwarding detection (BidirectionalForwardingDetection, BFD)
BFD is a bidirectional forwarding detection mechanism, which is a network protocol for detecting faults between two forwarding points, and can realize the millisecond-level rapid detection of links. BFD can realize rapid convergence of routes by linking with an upper layer routing protocol, thereby ensuring the perpetual nature of the service.
Virtual routing redundancy protocol (VirtualRouterRedundancyProtocol, VRRP)
VRRP is a routing protocol that solves the problem of single point failure in configuring static gateways in local area networks.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
The embodiment of the application provides a data transmission method and device, and the data transmission method can be applied to a system architecture shown in fig. 1. The system architecture includes a client device 101 and a first user pre-device 102, where the client device 101 and the first user pre-device 102 may communicate, and the client device 102 may access a bearer network through a wired link and/or a wireless link of the first user pre-device 102. For ease of description, the wireless link connected to the first user front end 102 is referred to as a first wireless link in the embodiments of the present application.
It should be noted that, in the system architecture of the present application, the number of the ue 101 and the first ue pre-devices 102 is not limited, and the ue 101 accesses at least one first ue pre-device 102, and in fig. 1, one ue 101 and one first ue pre-device 102 are illustrated as an example.
In one possible embodiment, the ue 101 may communicate with the first ue 102 and send a data packet to the first ue 102.
The first ue 102 may receive the data packet sent by the ue 101 and determine a target link for transmitting the data packet into the bearer network, where the target link may be a wired link and/or a first wireless link. The first ue 102 transmits the data packet sent by the ue 101 to the bearer network through the wired link and/or the first wireless link. When the target link is a first wireless link, the first user front-end device 102 may encapsulate the dynamic source address and the dynamic target address into a data packet based on the GRE protocol, to obtain a wireless transmission data packet, and then transmit the wireless transmission data packet into the carrier network through the first wireless link.
Optionally, the first user front end 102 may also establish a BFD session on the wired link and/or the first wireless link, and detect a connection status of the connected wired link and/or the first wireless link by sending and receiving BFD messages.
Optionally, as shown in fig. 2, in the system architecture of the present application, the ue 101 may also be connected to a second ue 112, where the second ue 112 and the first ue 102 are configured differently. The second user front end 112 may receive the data packet sent by the user end 101, and the second user front end may simply transfer the data packet to the carrier network via the second wireless link. Specifically, based on a GRE protocol, a dynamic source address and a dynamic target address are encapsulated in a data packet to obtain a wireless transmission data packet, and then the wireless transmission data packet is transmitted into a bearing network through a second wireless link. The first customer premise equipment 102 may also form a VPPR backup group with the second customer premise equipment 112 to form a logical routing gateway, sharing a virtual IP address. When the connection states of the wired link and the first wireless link on the first user front-end device 102 fail, the second user front-end device 112 will refresh the mac address corresponding to the virtual IP address on the user side device 101, so that the user side device 101 sends a data packet to the second user front-end device 112.
In some embodiments, the first ue 102 may carry a data transmission method for accessing the carrier network by the ue 101, or a data transmission method for accessing the carrier network by the ue 101 connected to the first ue 102 is carried by a controller, and the controller controls the first ue 102 to execute the data transmission method.
The client device 101 in this embodiment of the present application may be a switch, a desktop computer, a tablet computer, a notebook computer, a mobile phone, a handheld computer, a wearable electronic device, a handheld computer, an ultra mobile personal computer, a netbook, or a networking electronic device, which is not limited in this embodiment of the present application.
The first user pre-equipment 102 and the second user pre-equipment 112 in the embodiment of the present application may be wireless CPE equipment, and 4G/5GCPE equipment.
The first user-premises equipment 102 described above is similar in basic hardware structure to the second user-premises equipment 112 and includes the elements included in the electronic device shown in fig. 3. The hardware structure of the first user front-end 102 and the second user front-end 112 will be described below using the electronic device shown in fig. 3 as an example.
As shown in fig. 3, the Router module (routing module) and the Modem module (Modem module) are included, where the Router module includes a user side transmission interface unit 301, a network side transmission interface unit 302, a user configuration management unit 303, a routing management unit 304, and a service forwarding unit 305. The Modem module includes an operation maintenance center unit 306, an air interface protocol stack processing unit 307, a medium radio frequency front end unit 308, and an antenna feed processing unit 309. The different modules and the different units are connected with each other.
The user side transport interface unit 301 is responsible for data forwarding from a WAN Wide Area Network (WAN) to a WLAN/LAN area network, and completes DHCP with other modules ((DynamicHost ConfigurationProtocol, dynamic host configuration protocol)), supports at least one IGdps high-speed LAN port, and supports terminal devices to access the mobile network through WLAN related standards.
The network side transmission interface unit 302 is responsible for data forwarding between the 5G network and the WLAN/LAN, and supports access of the WA N port.
The user configuration management unit 303 performs configuration management on the user front-end device through WebUI/TR069 (technical report-069, TR069 is a communication protocol communicated between the CPE and the ACS).
The route management unit 304 provides route information configuration management necessary for data forwarding.
The service forwarding unit 305 forwards service data between the user side and the network side, and performs NAT (network address translation).
The operation maintenance center unit 306 is responsible for configuration, maintenance and device management of the Modem module.
The air interface protocol stack processing unit 307 is responsible for processing an air interface protocol of the mobile network NSA (5 GNon-StandaloneArchit ecture, non-independent networking).
The intermediate rf front-end unit 308 is responsible for sampling of the baseband signal and rf modulation de-segmentation.
The antenna feed processing unit 309 is responsible for the transmitting and receiving functions of the air interface signals, and completes beam alignment in cooperation with other modules.
It should be noted that the structure shown in fig. 3 is not limiting of the apparatus, and the computing apparatus may include more or less components than those shown in fig. 3, or may combine certain components, or a different arrangement of components.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
As shown in fig. 4, a data transmission method provided in the present application is applied to a first user front-end device 102 in a virtual private network system, where the first user front-end device 102 accesses a bearer network through a wired link and a first wireless link, and may include the following steps S401 to S404:
s401: and receiving a data packet sent by the user equipment 101, wherein the data packet comprises a static source address and a target address, the static source address points to the user equipment 101, and the target address points to a receiving end of the data packet.
S402: a target link for transmitting the data packet is determined, the target link being a wired link and/or a first wireless link.
It should be understood that, the ue 101 may use the first ue 102 as a gateway, and then the data packets of the ue 101 are all sent through the first ue 102. When using the wired link transmission, the ue 102 may be assigned a static gateway address, and the address of the ue 101 is a static IP address under the network segment of the ue 102, where the static IP address may be used as a source address of the data packet and thus be a static source address.
S403: under the condition that the target link is a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic destination address are assigned by a dynamic IP pool of the first wireless link and point to a start point and an end point of the first wireless link, respectively.
In particular, the first user front-end 102 first encapsulates the data packet into a VPN data packet based on a VPN protocol; and then based on GRE protocol, the dynamic source address and the dynamic target address are encapsulated in the data packet to obtain the wireless transmission data packet.
For example, based on the GRE protocol, the received data packet is added with a GRE header, the data packet is encapsulated, and a data packet header of a dynamic address is added on the data packet to obtain a wireless transmission data packet, wherein the data packet header of the dynamic address comprises a dynamic source address and a dynamic target address, and the dynamic source address and the dynamic target address point to a starting point and a finishing point of a first wireless link respectively.
S404: and transmitting the wireless transmission data packet into the bearing network through a first wireless link.
Generally, the GRE protocol is a different protocol used to span the network layer, and in this application, the main purpose of the GRE protocol is to encapsulate the data packet with a static IP address, encapsulate the GRE header, and add a dynamic source address and a dynamic destination address. This enables the source addresses of data packets transmitted by the wireless link and the wired link to be the same during transmission of the data packets.
In the above embodiment, the application encapsulates the data packet originally including the static IP address into the wireless transmission data packet by using the GRE protocol, and the dynamic source address and the dynamic destination address are located outside the GRE header and point to the start point and the end point of the first wireless link respectively, so that the data packet can be used for data transmission in the wireless link. Therefore, the data packet still contains the static IP address, the static IP address is not visible in transmission, and the safety is improved.
In one possible implementation, the first wireless link is a 5G link.
In one possible implementation, when the first wireless link is a 5G link, the user front-end 102 is applied for a 5G slice ID, and a 5QI value (5G qos identifier) matching the transmission amount of the first wireless link packet is configured.
By the above embodiment, the 5QI value matched with the transmission amount of the data packet is configured for the first wireless link, so that the data transmission rate of the first wireless link can be ensured.
Optionally, as shown in fig. 5, in the case that the target link is a wired link and a first wireless link, based on the GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a part of the data packet, so as to obtain a wireless transmission data packet; and encapsulating the other part of data packets according to the VPN protocol to obtain wired transmission data packets; transmitting the wireless transmission data packet into a bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
Compared with the mode of the wired link and the wireless link serial networking in the similar technology, the embodiment can enable the wired link and the first wireless link on the first user front-end equipment 102 to be parallelly networked and respectively send data packets.
In one possible implementation, in the case that the target link is a wired link and a first wireless link, load sharing based on data packets or load sharing based on data flows is used to split the received data packets, a part of the data packets are transmitted into the carrier network through the wired link, and a part of the data packets are transmitted into the carrier network through the wireless link.
In addition, there are other ways of splitting data, which are only examples in this application, and there are no specific restrictions to this.
Optionally, as shown in fig. 6, in the case that the target link is a wired link and a first wireless link, based on the GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a data packet, so as to obtain a wireless transmission data packet; and encapsulating the data packet according to the VPN protocol to obtain a wired transmission data packet; the wire transmission data packet and the wireless transmission data packet have the same data packet identifier; transmitting the wireless transmission data packet into a bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
For example, the first user front-end 102 encapsulates the data packet 1 and the data packet 2 into a wireless transmission data packet 1 and a wireless transmission data packet 2, and the wireless transmission data packet is transmitted into the carrier network through the first wireless link, and the first user front-end 102 encapsulates the data packet 1 and the data packet 2 into a wired transmission data packet 1 and a wired transmission data packet 2, and the wired transmission data packet is transmitted into the carrier network through the wired link. Both the wireless transmission data packet 1 and the wired transmission data packet 1 have the identification "A1", and both the wireless transmission data packet 2 and the wired transmission data packet 2 have the identification "A2".
In one possible embodiment, the destination address in the data packet points to the receiving end of the data packet, and the receiving end receives the wireless transmission data packet and/or the wired transmission data packet with the same data packet identifier through the bearer network.
In one possible embodiment, the receiving end receives a wireless transmission data packet and/or a wired transmission data packet with the same data packet identifier, including: the receiving end receives the wireless transmission data packet or the wired transmission data packet with the same data packet identifier, discards the wireless transmission data packet or the wired transmission data packet when the wireless transmission data packet or the wired transmission data packet with the same data packet identifier arrives first and has an error code, and receives the wireless transmission data packet or the wired transmission data packet with the same data packet identifier.
In the above embodiment, the receiving end may receive two identical data, which are sent by the wired link and the first wireless link respectively, and the two data have the same data identifier. The receiving end can receive the data sent first, and compared with the data transmission of an independent wired link or a first wireless link, the data transmission method can improve the transmission speed.
And secondly, when receiving the data with error code, the receiving end can discard the error code data and then receive the data sent after receiving as supplement. Compared with the similar technology, when the data transmission links reach a certain error rate and the transmission accuracy is guaranteed, the same data is transmitted through the two data links, and the transmitted data is further guaranteed to have higher accuracy.
In addition, the same data transmission is carried out by the two links, and when any one of the links has connection failure, transmission interruption can not occur due to the switching of the links.
Therefore, the data transmission method can be oriented to the data transmission service with instantaneity and high reliability, the data transmission speed is improved, the data reliability is ensured, and the uninterrupted data transmission is realized. More importantly, the data transmission method in the application does not require more optical cable resources, and can improve the reliability of data transmission in a mode of transmitting data packets through a wireless link.
Optionally, the connection state of the wired link and the first wireless link is detected before determining the target link for transmitting the data packet. Determining a target link for transmitting a data packet, comprising: when the wired link and the first wireless link are connected normally, the wired link is determined to be a target link; and when the connection of the wired link is failed and the connection of the first wireless link is normal, determining the first wireless link as a target link.
For example, when a connection failure of the wired link is detected, the first wireless link is normally connected, and the first wireless link is taken as a target link. When the wired link connection is restored to normal, the target link is switched back from the first wireless link to the wired link.
In the above embodiment, before determining the target link for transmitting the data packet, the connection states of the wired link and the first wireless link are detected, and the target link for transmitting the data packet may be selected subsequently according to the connection states of the two links. The wired link is used as a target link for main transmission, and the first wireless link is used as a standby target link only. In this way, the transmission path is increased, and data transmission is not required to be performed only by relying on the terminal optical cable resources.
In one possible implementation, the handover of the target link is associated with the wired link and the first wireless link connection state using a fast reroute protocol, or a tunnel level 1+1 protection method, such that the target link is handed over between the wired link and the first wireless link.
The above-mentioned method for switching the target link is merely an example, and other methods are not particularly limited in the embodiments of the present application.
Optionally, before determining a target link for transmitting the data packet, detecting a connection state of the wired link and the first wireless link; determining a target link for transmitting a data packet, comprising: and when the wired link and the first wireless link are connected normally, determining the wired link and the first wireless link as target links.
For example, both the wired link and the first wireless link are normally connected, and both the wired link and the first wireless link are determined as the target link. If any one of the wired link and the wireless link fails in connection, the normal wired link or the first wireless link is connected as a target link. When the connection of the wired link and the wireless link with the connection failure is restored to normal, both the wired link and the first wireless link are determined as target links again.
In one possible embodiment, determining both the wired link and the first wireless link as the target link includes: a network link aggregation group (linkaggregation group) is configured on the first user head-end 102, and the wired link and the first wireless link are configured as active links for the network link aggregation group to participate in data transmission.
It should be understood that the active links in the network link aggregation groups are logically the same data link, and each aggregation group corresponds to only one logical interface, that is, the wired link and the first wireless link receive data through the same interface on the first front-end device 102, and the two links are then used as the same logical link to perform data transmission.
In the above embodiment, when the ue 101 has a speed-up requirement or a higher transmission requirement, the data transmission is performed by configuring the network link aggregation group to use both the wired link and the wireless link as the target links. In this way, under the condition that the physical bandwidth of the wired link is limited by a set rule, the wireless link is added as a target link for data packet transmission, so that the bandwidth and the transmission speed of data transmission are widened, and the instant transmission requirement of the user equipment 101 is met.
In one possible embodiment, the ue 101 or the first ue 102 configures different five-tuple hash policies of ECMP (equal cost multi-path) for different data packets, so that the data packets enter the bearer network through a wired link or a first wireless link, and are transmitted in the core network by routes of different paths.
Through the above embodiments, the transmission paths of the wired link or the first wireless link and the wired link in the carrier network and the core network may have different data transmission rates, and the ue 101 may select different ECMPs to transmit the data packets in the data transmission according to the data packet transmission requirement.
Optionally, the virtual private network system further includes a second user pre-device 112, where the second user pre-device 112 accesses the bearer network through a second wireless link. The first user front end 102 and the second user front end 112 devices form a VRRP backup set to have the same virtual IP address and different virtual MA C addresses. The ue is configured with a virtual IP address and a target virtual MAC address, where the target virtual address is a virtual MAC address of the first ue-pre-device 102 or the second ue-pre-device 112, and the data packet is sent by the ue according to the virtual IP address and the target virtual MAC address to reach the first ue-pre-device 102 or the second ue-pre-device 112.
It should be understood that when the first user front end 102 and the second user front end 112 form the VRRP backup set, the connection states of the wired link and the wireless link between the associated devices are related, the first user front end 102 and the second user front end 112 have the same virtual IP address and different MAC addresses, the user side device 101 uses the virtual IP address as a gateway address, and the data packets of the user side device 101 are all transmitted through the gateway address.
In some embodiments, the data transmission method further comprises: updating the target virtual MAC address to the virtual MAC address of the first user front-end device 102 when at least one of the wired link and the first wireless link is connected normally; and when the wired link and the first wireless link are connected and fail, sending a notification message to the second user front-end equipment 112, wherein the notification message is used for instructing the second user front-end equipment 112 to update the target virtual MAC address to the virtual MAC address of the second user front-end equipment 112.
When the wired link and/or the first wireless link on the first user equipment 102 are connected normally, the first user equipment 102 has the highest priority in the VRRP backup set, and has the right to use the virtual IP address and respond to the ARP message (address resolution protocol), while the second user equipment 102 does not use the virtual IP address and respond to the ARP request message.
When the user equipment 101 transmits the data packet to the gateway corresponding to the virtual IP address, an ARP request message is sent by using an ARP protocol, so that the corresponding MAC address is queried through the virtual IP address of the gateway. At this time, the first ue 102 with the highest priority responds to the ARP request message, and responds to the ue 101, where the response includes the virtual MAC address of the first ue 102. When the wired link and/or the first wireless link in the user first front-end device 102 are connected normally, the user first front-end device 102 serves as a default gateway.
After the ue 101 receives the virtual MAC address of the first ue 102, the virtual MAC address is cached in the ue 101. Thereafter, the data packet of the ue 101 is addressed, i.e. sent to the first ue 102, according to the virtual IP address of the gateway and the virtual MAC address of the first ue 102.
When a connection failure occurs on both the wired link and the wireless link on the first user premises equipment 102, the first user premises equipment 102 will decrease the priority and send a VRRP message with a decreased priority to the second user premises equipment 112. At this point, the second user head end 112 has the highest priority, obtains the right to use the virtual IP address of the gateway, and the first user head end 102 will lose the right to use the virtual IP address of the gateway. The second user front-end device 112 will send a gratuitous ARP message to the user side device 101, refresh the MAC address corresponding to the virtual IP address of the gateway on the user side device 101, and modify the virtual MAC address of the first user front-end device 102 into the virtual MAC address of the second user front-end device 112. Thereafter, the data packet of the ue 101 is addressed according to the virtual IP address of the gateway and the virtual MAC address of the second ue 112, i.e. sent to the second ue 112.
Through the above embodiment, the VRRP backup group is established between the first user front-end 102 and the second user front-end 112, where the first user front-end 102 is the primary transmission device and the second user front-end 112 is the backup transmission device.
When both the wired link and the first wireless link on the first user front-end device 102 fail, the data packet is streamed to the second user front-end device 112 by refreshing the MAC address corresponding to the virtual IP address of the gateway on the user device 101, so as to achieve device-level transmission link switching.
In this way, when both the wired link and the first wireless link of the first user front end 102 are in a connection failure, data transmission is possible with the second wireless link on the second user front end 112. Therefore, the transmission guarantee of the equipment level can be added under the guarantee of the uplink level of the first user front-end equipment 102, and the reliability of data transmission is further guaranteed. Meanwhile, the requirement of terminal double-route access is also met.
In one possible implementation, the second wireless link of the second user front-end device may be in a connected state or an idle state when at least one of the wired link and the first wireless link is connected normally.
For example, the second wireless link on the second user front end 112 may remain connected as connected. Or the second user head end 112 periodically transmits heartbeat signal packets over the second wireless link, maintaining the connection to the second wireless link as an idle state.
In the above embodiment, the second wireless link maintains the connection state, but when a connection failure occurs in both the wired link and the first wireless link, the link switching can be responded faster, and the reliability of data transmission can be better ensured. The second radio link consumes less traffic while remaining idle. The ue may choose these two states to balance between different reliability requirements and traffic consumption of the wireless link.
Optionally, detecting the connection state of the wired link and the first wireless link includes: BFD session is established between the wired link and the first wireless link, and BFD message is periodically sent and received; if the wired link and/or the first wireless link does not receive the BFD message within the detection time, the wired link and/or the first wireless link which does not receive the BFD message is considered to have connection faults.
The data transmission method provided by the application supports the user equipment 101 to access the virtual private network through the wired link or the first wireless link of the user equipment 102. The wireless link is convenient to access, the terminal optical cable is not required, and the problem of shortage of optical cable resources is solved.
And the data packet transmitted by the first wireless link is provided with a dynamic address required by the wireless link transmission in a GRE protocol mode, and meanwhile, the inner layer is provided with a static source address, so that the requirement that the source address of data transmission of the virtual private network is the static address is met.
Meanwhile, the first wireless link and the wired link are serially networked, and data transmission of the first wireless link and the wired link is guaranteed respectively. Under the premise, the wireless link can be used as a standby link of a wired link or a data transmission link according to the requirement. The method can ensure uninterrupted data transmission of the wired link, and can also improve the bandwidth and the transmission rate according to the requirements. The first wireless link can also transmit the same data as the wired link, thereby improving the reliability of data transmission. Under the condition of solving the problem of tension of the terminal optical cable, the reliability of data transmission is guaranteed, the transmission is not interrupted, and the requirements of the client device 101 on the data transmission rate and the like are met.
In addition, the client device 101 can also be connected to the second user front-end device 112, where the second user front-end device 112 only accesses the bearer network via the second wireless link, and serves as a backup device for the first user front-end device 102 to transmit the data packet. The second subscriber premises equipment 112 meets the dual-routing access requirements without requiring an end-to-end cable, providing equipment level protection for data transmission to the client 101.
As shown in fig. 7, in some embodiments, a data transmission apparatus provided in the present application may include:
the data receiving module 501 is configured to receive a data packet sent by a user equipment, where the data packet includes a static source address and a destination address, the static source address points to the user equipment, and the destination address points to a receiving end of the data packet.
The link selection module 502 is configured to determine a target link for transmitting the data packet, where the target link is a wired link and/or a first wireless link.
In one possible embodiment, the link selection module 502 is specifically configured to: detecting a connection state of a wired link and a first wireless link, determining a target link for transmitting a data packet, comprising: and when the wired link and the first wireless link are connected normally, determining the wired link as a target link. And when the connection of the wired link is failed and the connection of the first wireless link is normal, determining the first wireless link as a target link.
In one possible embodiment, the link selection module 502 is further configured to: detecting a connection state of a wired link and a first wireless link, determining a target link for transmitting a data packet, comprising: and when the wired link and the first wireless link are connected normally, determining the wired link and the first wireless link as target links.
In one possible embodiment, the link selection module 502 is specifically configured to: detecting a connection state of a wired link and a first wireless link, comprising: BFD session is established between the wired link and the first wireless link, and BFD message is periodically sent and received; if the BFD message of the wired link and/or the first wireless link is not received within the detection time, the wired link and/or the first wireless link which does not receive the BFD message is considered to have connection faults.
The data encapsulation module 503 is configured to encapsulate, based on the GRE protocol, a dynamic source address and a dynamic destination address in a data packet to obtain a wireless transmission data packet, where the dynamic source address and the dynamic destination address are allocated by a dynamic IP pool of the first wireless link, and the dynamic source address and the dynamic destination address point to a start point and an end point of the first wireless link, respectively.
In one possible embodiment, the data encapsulation module 503 is specifically configured to: encapsulating the data packets into VPN data packets based on a VPN protocol; based on GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a data packet to obtain a wireless transmission data packet, which comprises the following steps: and based on the GRE protocol, the dynamic source address and the dynamic target address are encapsulated in the VPN data packet to obtain the wireless transmission data packet.
The data encapsulation module 503 is further configured to: and under the condition that the target link is a wired link and a first wireless link, based on the GRE protocol, the dynamic source address and the dynamic target address are packaged in the data packet to obtain the wireless transmission data packet. And encapsulating the data packet according to the VPN protocol to obtain a wired transmission data packet; the wire transmission data packet and the wireless transmission data packet have the same data packet identifier, and the wireless transmission data packet is transmitted into the bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
The data sending module 504 is configured to, when the target link is a first wireless link, send a wireless transmission data packet to the bearer network through the first wireless link.
In one possible embodiment, the data sending module 504 is further configured to: transmitting the wireless transmission data packet into a bearing network through a first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
In a possible embodiment, the data transmission apparatus further includes a VRRP backup module 505, configured to update the target virtual MAC address to the virtual MAC address of the first user front end device when at least one of the wired link and the first wireless link is connected normally. The first user front end device and the second user front end device form a VRRP backup group to have the same virtual IP address and different virtual MAC addresses. The user terminal equipment is configured with a virtual IP address and a target virtual MAC address, wherein the target virtual address is the virtual MAC address of the first user front-end equipment or the second user front-end equipment, and the data packet is sent out by the user terminal equipment according to the virtual IP address and the target virtual MAC address so as to reach the first user front-end equipment or the second user front-end equipment.
In one possible embodiment, the VRRP backup module 505 is further configured to: and when the wired connection and the first wireless link are connected with each other and fail, sending a notification message to the second user front-end equipment, wherein the notification message is used for indicating the second user front-end equipment to update the target virtual MAC address to the virtual MAC address of the second user front-end equipment.
In some embodiments, a virtual private network system provided herein may include:
the system comprises user terminal equipment and first user front-end equipment, wherein the user terminal equipment is in communication connection with the first user front-end equipment, and the first user front-end equipment is accessed to a bearing network through a wired link and a first wireless link.
The client device is used for sending a data packet to the first user front-end device, wherein the data packet comprises a static source address and a target address, the static source address points to the client device, and the target address points to a receiving end of the data packet.
The first user front-end equipment is used for receiving the data packet sent by the user side equipment; determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link; under the condition that the target link is a first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in a data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic destination address are assigned by a dynamic IP pool of the first wireless link and point to a start point and an end point of the first wireless link, respectively. And transmitting the wireless transmission data packet into the bearing network through a first wireless link.
The embodiments of the present application also provide a computer readable storage medium, where a program or an instruction is stored, where the program or the instruction implements each step in the above-described method embodiments when executed by a processor.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: electrical connections having one or more wires, portable computer diskette, hard disk. Random access memory (RandomAccessMemory, RAM), read-only memory (ROM), erasable programmable Read-only memory (ErasableProgrammableReadOnlyMemory, EPROM), registers, hard disk, optical fiber, portable compact disk Read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of readable storage medium of any suitable combination of the foregoing, or values in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC). In the context of the present application, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Embodiments of the present application provide a computer program product stored in a non-volatile storage medium, the computer program product being executed by at least one processor to implement the steps shown in the method embodiments described above.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a readable storage medium or transmitted from one readable storage medium to another readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital subscriber line (DigitalSubscriberLine, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SolidStateDisk, SSD)), etc.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional units is illustrated, and in practical application, the above-described functional allocation may be performed by different functional units, that is, the internal structure of the apparatus is divided into different functional units, so as to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
Since the apparatus, the readable storage medium, and the computer program product in the embodiments of the present application may be applied to the above-mentioned method, the technical effects obtained by the apparatus, the readable storage medium, and the computer program product may also refer to the above-mentioned method embodiments, and the embodiments of the present application are not repeated herein.
The above units may be individually set up processors, may be integrated into one of the processors of the controller, or may be stored in the memory of the controller in the form of program codes, and the functions of the above units may be called and executed by one of the processors of the controller. The processor described herein may be a central processing unit (CentralProcessingUnit, CPU), or a specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling, direct coupling or communication connection shown or discussed may be accomplished by way of an interface, which may be electrical, mechanical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The foregoing is merely 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 think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A data transmission method, which is applied to a first user front-end equipment in a virtual private network system, wherein the first user front-end equipment accesses a bearer network through a wired link and a first wireless link, the method comprising:
Receiving a data packet sent by user equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user equipment, and the target address points to a receiving end of the data packet;
determining a target link for transmitting the data packet, wherein the target link is the wired link and/or the first wireless link;
under the condition that the target link is the first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in the data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link and respectively point to a starting point and an ending point of the first wireless link;
and transmitting the wireless transmission data packet into the bearing network through the first wireless link.
2. The data transmission method according to claim 1, wherein in the case where the target link is the first wireless link, the method further comprises:
encapsulating the data packet into a VPN data packet based on a VPN protocol;
the method for encapsulating the dynamic source address and the dynamic target address in the data packet based on the GRE protocol to obtain a wireless transmission data packet comprises the following steps:
And based on the GRE protocol, the dynamic source address and the dynamic target address are encapsulated in the VPN data packet to obtain a wireless transmission data packet.
3. The data transmission method according to claim 2, characterized in that the method further comprises:
detecting a connection state of the wired link and the first wireless link;
the determining a target link for transmitting the data packet includes:
when the wired link and the first wireless link are connected normally, determining the wired link as the target link;
and when the wired link connection fails and the first wireless link connection is normal, determining the first wireless link as the target link.
4. The data transmission method according to claim 2, characterized in that the method further comprises:
detecting a connection state of the wired link and the first wireless link;
the determining a target link for transmitting the data packet includes:
and when the wired link and the first wireless link are connected normally, determining the wired link and the first wireless link as the target link.
5. The method of data transmission according to claim 4, further comprising:
Under the condition that the target link is the wired link and the first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in the data packet to obtain a wireless transmission data packet; and encapsulating the data packet according to a VPN protocol to obtain a wired transmission data packet; the wired transmission data packet and the wireless transmission data packet have the same data packet identifier;
transmitting the wireless transmission data packet into the bearing network through the first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
6. The method of data transmission according to claim 4, further comprising:
under the condition that the target link is the wired link and the first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are encapsulated in a part of the data packet to obtain a wireless transmission data packet; and encapsulating another part of the data packets according to a VPN protocol to obtain wired transmission data packets;
transmitting the wireless transmission data packet into the bearing network through the first wireless link; and transmitting the wired transmission data packet into the bearing network through the wired link.
7. The data transmission method according to claim 3 or 4, wherein the virtual private network system further comprises a second user head-end, the second user head-end accessing the carrier network via a second wireless link; the first user front-end equipment and the second user front-end equipment form a VR RP backup group so as to have the same virtual IP address and different virtual MAC addresses; the user terminal equipment is configured with the virtual IP address and a target virtual MAC address, the target virtual address is the virtual MAC address of the first user front-end equipment or the second user front-end equipment, and the data packet is sent out by the user terminal equipment according to the virtual IP address and the target virtual MAC address so as to reach the first user front-end equipment or the second user front-end equipment; the method further comprises the steps of:
updating the target virtual MAC address to the virtual MAC address of the first user front-end equipment when at least one of the wired link and the first wireless link is connected normally;
and when the wired connection and the first wireless link are connected with each other and fail, sending a notification message to the second user front-end equipment, wherein the notification message is used for indicating the second user front-end equipment to update the target virtual MAC address to the virtual MAC address of the second user front-end equipment.
8. The data transmission method according to claim 3 or 4, wherein the detecting the connection state of the wired link and the first wireless link includes:
BFD session is established between the wired link and the first wireless link, and BFD message is sent and received periodically;
and if the BFD message of the wired link and/or the first wireless link is not received within the detection time, the wired link and/or the first wireless link which does not receive the BFD message is considered to have connection faults.
9. A data transmission device, wherein the data transmission device is applied to a virtual private network system, the data transmission device is in communication connection with a user equipment in the virtual private network system, and is accessed to a carrier network through a wired link and a first wireless link, and the data transmission device comprises:
the data receiving module is used for receiving a data packet sent by the user terminal equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user terminal equipment, and the target address points to a receiving end of the data packet;
the link selection module is used for determining a target link for transmitting the data packet, wherein the target link is a wired link and/or a first wireless link;
The data encapsulation module is used for encapsulating the dynamic source address and the dynamic target address into the data packet based on a GRE protocol under the condition that the target link is the first wireless link to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link and respectively point to a starting point and an ending point of the first wireless link;
and the data sending module is used for transmitting the wireless transmission data packet into a bearing network through the first wireless link under the condition that the target link is the first wireless link.
10. The virtual private network system is characterized by comprising user side equipment and first user front-end equipment, wherein the user side equipment is in communication connection with the first user front-end equipment, and the first user front-end equipment is accessed to a bearing network through a wired link and a first wireless link;
the user terminal equipment is used for sending a data packet to the first user front-end equipment, wherein the data packet comprises a static source address and a target address, the static source address points to the user terminal equipment, and the target address points to a receiving end of the data packet;
The first user front-end equipment is used for receiving a data packet sent by the user side equipment; determining a target link for transmitting the data packet, wherein the target link is the wired link and/or the first wireless link; under the condition that the target link is the first wireless link, based on GRE protocol, the dynamic source address and the dynamic target address are packaged in the data packet to obtain a wireless transmission data packet; the dynamic source address and the dynamic target address are distributed by a dynamic IP pool of the first wireless link and respectively point to a starting point and an ending point of the first wireless link; and transmitting the wireless transmission data packet into the bearing network through the first wireless link.
CN202310011245.3A 2023-01-05 2023-01-05 Data transmission method and device Pending CN116234063A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310011245.3A CN116234063A (en) 2023-01-05 2023-01-05 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310011245.3A CN116234063A (en) 2023-01-05 2023-01-05 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN116234063A true CN116234063A (en) 2023-06-06

Family

ID=86586516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310011245.3A Pending CN116234063A (en) 2023-01-05 2023-01-05 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN116234063A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117061273A (en) * 2023-09-20 2023-11-14 四川航天电液控制有限公司 Mining multi-network integration control device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117061273A (en) * 2023-09-20 2023-11-14 四川航天电液控制有限公司 Mining multi-network integration control device

Similar Documents

Publication Publication Date Title
US11012355B2 (en) Route processing method, device, and system
US7808931B2 (en) High capacity ring communication network
US9191271B2 (en) Fast traffic recovery in VRRP based routers
EP2449735B1 (en) Inter-node link aggregation method and node
US20130229912A1 (en) Device-level redundancy protection method and system based on link aggregation control protocol
US20080107077A1 (en) Subnet mobility supporting wireless handoff
US10931530B1 (en) Managing routing resources of a network
US9438557B2 (en) Adaptive dynamic host configuration protocol assignment with virtual local area network pool
US9565112B2 (en) Load balancing in a link aggregation
WO2021134434A1 (en) Method and system for ethernet virtual private network (evpn) split-horizon filtering
CN111756565B (en) Managing satellite devices within a branched network
US8446818B2 (en) Routed split multi-link trunking resiliency for wireless local area network split-plane environments
US20220124033A1 (en) Method for Controlling Traffic Forwarding, Device, and System
US8086210B2 (en) Flow based layer 2 handover mechanism for mobile node with multi network interfaces
CN116234063A (en) Data transmission method and device
US9560174B2 (en) Network routing overlay
CN113300981A (en) Message transmission method, device and system
CN110708229B (en) Method, device and system for receiving and transmitting message
EP2879338A1 (en) Logical channel establishing method and system, edge virtual bridging station, and bridge
CN114765572A (en) Fault processing method, control plane network element, switching decision network element and related equipment
CN111328089A (en) Communication service transmission method, communication service transmission device, storage medium and electronic device
US20230123162A1 (en) Dynamic distributed local breakout determination
Johnson et al. Routing in HF ad-hoc WANs
EP3817305B1 (en) Route and interface selection techniques for multi-connectivity network protocols
EP4329374A1 (en) Communication processing method and related device

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