Instant messaging method based on NAT

A communication method and scheme technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of lack of IPv4 addresses, information cannot effectively reach the destination address, etc., and achieve the effect of strong adaptability

Inactive Publication Date: 2014-12-24
HEFEI XIEZHIXING INFORMATION SYST ENG
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] NAT is created to solve the shortage of IPv4 addresses and make multiple hosts share one or several addresses. However, today when P2P technology is widely used, there must be co

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
  • Instant messaging method based on NAT
  • Instant messaging method based on NAT

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The present invention will be further described below with reference to the accompanying drawings.

[0019] Such as figure 1 , 2 As shown, a NAT-based instant messaging method includes NAT detection and NAT penetration, and is characterized in that: the NAT penetration scheme is selected according to the result of the NAT detection.

[0020] The NAT detection is to utilize the message sending and receiving function to complete the detection, which specifically includes the following steps:

[0021] 1) Check whether to use NAT: read the internal global address and external port number from the payload of the message, and compare it with its own IP address. If they are the same, it means that the client is in the external network and does not use a NAT device. Otherwise, it means that the client Located in the intranet, it is necessary to detect the NAT type;

[0022] 2) Check whether NAT can penetrate: Send a message to the server IP1 / Port1 through an internal port, a...

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 an instant messaging method based on NAT. The method comprises the steps of NAT detection and NAT penetration. A scheme of the NAT penetration is selected according to the result of the NAT detection. According to the instant messaging method based on the NAT, instant messaging integrating character communication, online messaging, file transmission, information broadcasting and multi-party meeting is achieved, the NAT penetration technology is utilized for solving the problem of conflicts between the NAT and the P2P technology, and adaptability is high.

Description

technical field [0001] The invention relates to an instant messaging method, in particular to a NAT-based instant messaging method. Background technique [0002] Computer-to-peer Internet (Peer-to-Peer, P2P for short), or peer-to-peer networking. P2P directly connects people and allows people to interact directly through the Internet. Currently. P2P technology has been applied in the field of instant messaging. Regarding the classification of P2P peer-to-peer networks, it can be roughly divided into pure P2P networks and hybrid P2P networks. One is a pure P2P network, each node acts as a client and a server at the same time, and the chain-shaped nodes form a distributed network, and the nodes can directly establish a connection without going through a server; the other is a hybrid P2P network, through a centralized server Authentication, indexing mechanism, once the connection is successful, the server will no longer work, and the peer nodes are directly connected. [0...

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
IPC IPC(8): H04L12/58H04L29/12
Inventor 王朝红
Owner HEFEI XIEZHIXING INFORMATION SYST ENG
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