A method and device for transmitting data packets

A data packet, purpose technology, applied in the field of Internet communication, which can solve problems such as business interruption

Active Publication Date: 2016-08-17
无锡卓能大数据科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, when the mobile terminal switches from the home network to the external network, the mobile terminal first disconnects from the server, and then establishes a connection with the server in the external network, which will cause service interruption

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for transmitting data packets
  • A method and device for transmitting data packets
  • A method and device for transmitting data packets

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0145] The embodiment of the present invention provides a method for transmitting data packets, see figure 1 , the method includes:

[0146] Step 101: When the mobile terminal switches from the home network to the foreign area network, receive the first data packet sent by the first network address translation NAT (Network Address Translation, network address translation) server, the first data packet carries the first four A tuple, the source address included in the first quadruple is the address of the server, the source port number is the port number of the server, the destination address is the first address of the mobile terminal, and the destination port number is the mobile terminal port number;

[0147] Step 102: Modify the first quaternion carried in the first data packet to a second quaternion, the second quaternion is the application layer of the mobile terminal when the mobile terminal is in the home network In the quadruple group carried by the received data pac...

Embodiment 2

[0151] The embodiment of the present invention provides a method for transmitting data packets, the method includes four processes, the first process includes steps 201 to 210, the second process includes steps 301 to 304, and the third process includes steps 401 to 410 , the fourth process includes step 501 to step 504.

[0152] Among them, see figure 2 , in the first process, the mobile terminal enters the home network for the first time, and when the mobile terminal sends a data packet to the server, it specifically includes the following steps 201 to 210:

[0153] Step 201: The mobile terminal acquires the second address of the mobile terminal, and sends a registration request message to the control server, the registration request message carries the second address of the mobile terminal, the ID (IDentity, identity identification number) of the mobile terminal, and the second handover An identifier, the second handover identifier is used to indicate that the mobile term...

Embodiment 3

[0246] The embodiment of the present invention provides a method for transmitting data packets, see Figure 6 , the method includes:

[0247] Step 601: When the mobile terminal switches from the home network to the foreign area network, receive the third data packet sent by the first network address translation NAT server, the third data packet carries the seventh quaternion, and the seventh quaternion The source address included in the group is the address of the external network, the source port number is the port number of the external network, the destination address is the address of the server, and the destination port number is the port number of the server;

[0248] Step 602: Modify the seventh quaternion carried in the third data packet to an eighth quaternion, the eighth quaternion is received by the application layer of the server when the mobile terminal is in the home network The quaternion carried by the data packet, the source address included in the eighth qua...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data packet transmitting method and a data packet transmitting device, and belongs to the field of internet communications. The data packet transmitting method includes that when a mobile terminal is switched from a home network to an outer area network, a first data packet which carries a first four-tuple and is sent by a first network address translation (NAT) server is received; the first four-tuple carried by the first data packet is modified as a second four-tuple, wherein the second four-tuple is a four-tuple which is carried by a data packet received by an application layer of the mobile terminal when the mobile terminal is in the home network; and then the first data packet is submitted to the application layer of the mobile terminal. The data packet transmitting device comprises the mobile terminal, a server and a control server. According to the data packet transmitting method and the data packet transmitting device, through the modification of the four-tuple which is carried by the data packet received by the mobile terminal, the four-tuple which is carried by the data packet received by the mobile terminal is enabled to remain the same before the switch and after the switch of the networks, and therefore the effect that when the mobile terminal is switched from the home network to the outer area network, services are not interrupted is guaranteed.

Description

technical field [0001] The invention relates to the field of Internet communication, in particular to a method and device for transmitting data packets. Background technique [0002] Today, with the explosive growth of mobile terminals, there are abundant network resources around us, but currently mobile terminals can only use one network. When a mobile terminal moves from one network to another, the mobile terminal needs to switch networks. [0003] At present, when the mobile terminal accesses the home network for the first time, it obtains the home address of the home agent, and establishes a connection with the server through the home address. When the mobile terminal leaves the home network and moves to a foreign network, the mobile terminal is in the foreign network register and register a care-of address, and establish a connection with the server through the care-of address, so that the mobile terminal can switch from the home network to the foreign area network. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12
Inventor 刘刚陆元飞曾毓珑
Owner 无锡卓能大数据科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products