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

User datagram protocol UDP port multiplexing method, device and equipment

A user datagram and port technology, applied in the field of communication, can solve the problems of high device port resource occupation, UDP port multiplexing implementation logic cannot support cross-platform, router UDP port resource consumption is very large, etc., to reduce development costs, Eliminate differences in exclusive rules and achieve cross-platform reuse

Pending Publication Date: 2021-03-12
HANGZHOU EZVIZ SOFTWARE CO LTD
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In response to this situation, there are currently two common solutions as follows. One is that the device opens a UDP port for external interaction for each server / client data interaction, but this solution occupies a lot of port resources on the device; Moreover, if there are many devices under the same network, the UDP port resources of the router will be consumed a lot
The other is that the device uses the same UDP port to interact with multiple servers / clients. However, due to the differences of various operating systems, the UDP port multiplexing implementation logic of the device cannot support cross-platform, and can only be used on specific platforms. use

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
  • User datagram protocol UDP port multiplexing method, device and equipment
  • User datagram protocol UDP port multiplexing method, device and equipment
  • User datagram protocol UDP port multiplexing method, device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] In order to make the purpose, technical solution and advantages of this specification clearer, the technical solution of this specification will be clearly and completely described below in conjunction with specific embodiments of this specification and corresponding drawings. Apparently, the described embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this document.

[0041] As stated in the background technology, due to the differences of various operating systems, such as in the Windows platform, due to the port preemption rules of the Windows platform, only the socket that is bound to the UDP port first can receive the data sent by the external server / client , the socket bound to the UDP port cannot receive any data; on the Linux platform, due to the post-...

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 embodiment of the invention provides a multiplexing method, device and equipment for a user datagram protocol UDP port. The method comprises the following steps: acquiring a stream taking data packet monitored by a first socket of monitoring equipment; analyzing the stream fetching data packet to obtain address information of a client requesting stream fetching; creating a second socket and generating a mapping relationship between the address information of the client and the second socket, wherein the second socket and the first socket are bound to the same UDP port of the monitoring device; and selecting a second socket having a mapping relationship with the address information of the client to transmit the monitoring data to the client. Therefore, the data can be transmitted according to the source end corresponding to the data without considering which UDP socket the data is received, so the cross-platform difference of the UDP sockets can be eliminated, and the cross-platformmultiplexing of the UDP port of the equipment is realized.

Description

technical field [0001] This document relates to the field of communication technology, and in particular to a method, device and equipment for multiplexing UDP ports of User Datagram Protocol. Background technique [0002] The User Datagram Protocol (UDP) belongs to the transport layer protocol in the Open System Interconnect (OSI) reference model, and is used to provide connectionless unreliable message transmission services. [0003] In traditional UDP protocol-based data transmission business scenarios, there may be multiple servers or / or clients interacting with the same device at the same time, such as figure 1 As shown, the server and client A interact with the device at the same time, or, client A and client B may interact with the device at the same time. In response to this situation, there are currently two common solutions as follows. One is that the device opens a UDP port for external interaction for each server / client data interaction, but this solution occupi...

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): H04L29/12H04L29/06
CPCH04L69/162H04L69/22H04L61/2517H04L2101/663
Inventor 张磊
Owner HANGZHOU EZVIZ SOFTWARE CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More