Data transmission method and device
A data transmission method and data transmission technology, applied in the field of data transmission methods and devices, can solve the problem that data cannot reach the opposite end user, etc., and achieve the effect of improving reliability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] The embodiment of the present invention provides a data transmission method, such as figure 2 As shown, the method includes: receiving a data packet, where the data packet includes a first destination address (see step 101); if the data packet is a Generic Routing Encapsulation (GRE: Generic Routing Encapsulation) packet, and transmitting the data If the current physical link of the packet is interrupted, then convert the first destination address in the received data packet to the second destination address corresponding to the uninterrupted physical link (see step 102); forward the data packet according to the second destination address data message (see step 103).
[0024] In this embodiment, the data packet carries at least a destination address, such as a destination IP address, and may also carry information such as a source IP address.
[0025] It can be seen from the above embodiment that when a certain physical link is interrupted, the destination address of ...
Embodiment 2
[0027] The embodiment of the present invention provides a data transmission method, such as image 3 As shown, the method includes:
[0028] Step 201: Receive a data packet, where the data packet includes a first destination address, where the first destination address may be a destination IP address, and may also include information such as a source IP address.
[0029] Step 202: Determine whether the data packet is a Generic Routing Encapsulation (GRE) packet.
[0030] In this embodiment, there may be various ways to determine whether the data packet is a GRE packet. In some embodiments, the data packet may include a packet identifier that identifies the type of the packet, which may be determined according to the packet identifier. Whether the data packet is a GRE packet.
[0031] Step 203, in step 202, if the judgment result is yes, the session table is not established, and the forwarding mode of the data message is set to forward the message by searching the routing tab...
Embodiment 3
[0044] Embodiments of the present invention provide a data transmission device, such as Figure 4As shown, the device includes a data receiving unit 301, a judging unit 302, an address converting unit 303 and a data transmitting unit 304; wherein, the data receiving unit 301 is used to receive a data message, and the data message includes a first destination address; the The judging unit 302 is used to determine that the data packet is a general routing encapsulation packet, and the current physical link transmitting the data packet is interrupted; if the judging unit 302 determines that the received data packet is a general routing encapsulation (GRE) packet message, and the current physical link transmitting the data message is interrupted, then the address translation unit 303 is used to convert the first destination address in the received data message to the second destination address corresponding to the uninterrupted physical link; the The data transmission unit 304 is ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 