Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data sending method and device, and method and system for establishing P2P connection

A data transmission method and P2P connection technology, applied in the field of communication, can solve the problem of not having a good hole punching solution, etc.

Active Publication Date: 2021-04-09
SHANGHAI BILIBILI TECH CO LTD
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

NAT types are divided into 4 types: full cone, restricted cone, port-restricted and symmetric, and there are 10 combinations in total. Among them, the combination of port-restricted-symmetric and symmetric-symmetric is not available yet. good hole punching solution

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
  • Data sending method and device, and method and system for establishing P2P connection
  • Data sending method and device, and method and system for establishing P2P connection
  • Data sending method and device, and method and system for establishing P2P connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] In the following description, numerous specific details are set forth in order to provide a thorough understanding of the application. However, the present application can be implemented in many other ways different from those described here, and those skilled in the art can make similar promotions without violating the connotation of the present application. Therefore, the present application is not limited by the specific implementation disclosed below.

[0074] Terms used in one or more embodiments of the present application are for the purpose of describing specific embodiments only, and are not intended to limit the one or more embodiments of the present application. As used in one or more embodiments of this application and the appended claims, the singular forms "a", "the", and "the" are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" used in one or more embodiments of th...

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 provides a data sending method, a data sending device, a P2P connection establishing method and a P2P connection establishing system. The data sending method comprises the following steps: S1, establishing a queue for accommodating m file descriptors for n1 first access request data packets; S2, creating an ith file descriptor in the queue, sending an ith first access request data packet through the ith file descriptor, and monitoring a source port recorded by the ith file descriptor; S3, every first preset time interval t1, making i automatically increase by 1, the step S2 continues to be executed, preset monitoring time T is set for each source port, and T = t1 * m; S4, under the condition that i is smaller than or equal to m * (j + 1) and greater than m*j, when the ith file descriptor is created in the queue, monitoring on the imth source port is ended, the corresponding file descriptor is destroyed until it is monitored that the first port receives the response data packet, monitoring on other source ports is stopped, and the first port is any source port in a monitored state.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular to a method for sending data. The present application also relates to a data sending device, a method and system for establishing a P2P connection, a computing device, and a computer-readable storage medium. Background technique [0002] NAT technology is a technology that converts the private IP address of the internal network to the public IP address of the external network. It enables multiple hosts within a certain range to use only one public IP address to connect to the external network. Although NAT technology solves the problem of IPv4 address shortage to a certain extent, it destroys peer-to-peer (P2P) network communication. The main reason is that NAT does not allow external network hosts to actively access internal network hosts. NAT types are divided into 4 types: full cone, restricted cone, port-restricted and symmetric, and there are 10 combinatio...

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 Applications(China)
IPC IPC(8): H04L29/12
CPCH04L61/256H04L61/2592H04L61/2514H04L61/2517H04L61/2575H04L2101/695
Inventor 梁顺利郑翰超崔红磊王昊胡彪
Owner SHANGHAI BILIBILI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products