Patent ID: 9307555
Filing Date: 2016-04-05
CPC Classification: H04L,H04M,H04W

Claim Text:
1. A method for a mobile terminal to access a network through a cell phone, comprising the steps: pre-establishing a connection management Hash table for tagging a network address mapping relationship in the network enabled cell phone, wherein a Hash value in the connection management Hash table is equal to a modulus table length of a binary sum of a source address, a protocol type, a source port and a destination port; establishing, by the mobile terminal, a point-to-point communication connection with the network enabled cell phone through WiFi, and sending a data packet of a destination server to the network enabled cell phone; extracting, by the network enabled cell phone, an element group from the data packet sent by the mobile terminal at a network layer and saving the element group in a tuple structure, wherein the element group comprises a source address, a source port, a protocol type, a destination address and a destination port of the data packet; carrying out, by the network enabled cell phone, NAT treatment on the element group, translating the source address of the data packet to an IP address for dial-up networking of the cell phone, and distributing a dial-up networking port; connecting the network enabled cell phone to the destination server to communicate according to information of the treated element group; and saving the element group after being subjected to source address NAT treatment in the connection management Hash table in a form of tuple structure.