Real-time communication method based on Socket

A real-time communication and algorithm technology, applied in the fields of computer applications, data transmission, communication protocols, and real-time communication, can solve the problems of high cost, information blocking, low transmission efficiency, etc., and achieve low occupation of network bandwidth resources, good confidentiality, and information The effect of fast sending and receiving

Inactive Publication Date: 2019-03-01
ZHEJIANG UNIV OF TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the shortcomings of current real-time communication such as information blocking, low transmission efficiency, and high cost, the present invention uses the technology of combining Socket transmission

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
  • Real-time communication method based on Socket
  • Real-time communication method based on Socket
  • Real-time communication method based on Socket

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0035] The present invention will be further described below in conjunction with the drawings.

[0036] Reference figure 1 with figure 2 , A real-time communication method based on Socket, including the following steps:

[0037] 1) Create an instance of the Socket object, determine the parameter type of the Socket and the network protocol used by the Socket;

[0038] 2) The TCP / IP network communication protocol is selected. The TCP protocol provides virtual circuits and transmission services for the data process, and the IP protocol is responsible for providing services for the data network layer;

[0039] 3) Introduce P2P technology, adopt the method of combining P2P and B / S architecture mode, first use B / S mode to obtain the user's IP address and communication port, and then use P2P technology to communicate between users;

[0040] 4) Data transmission encryption, the sender's data is encrypted by the AES algorithm, and then the encrypted content is sent to the network. After the re...

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 real-time communication method based on Socket. The real-time communication method comprises the following steps: for a data information transmission problem, analyzing the disadvantages that the large data traffic can cause large pressure for a server, the information block occurs, and the maintenance cost is high, importing the Socket communication into a system by researching and analyzing the data transmission advantage thereof; and secondly, combining the P2P technology and the AES encryption to provide a communication method with fast information transceiving speed, good confidentiality and low network bandwidth resource occupation. The invention provides a convenient and efficient real-time communication method based on Socket.

Description

technical field [0001] The invention relates to the field of real-time communication, data transmission, communication protocol and computer application, in particular to a real-time communication method based on Socket. Background technique [0002] With the continuous development of the global informatization process, the network is also developing rapidly. For the purpose of dealing with various affairs efficiently and quickly, more and more industries use local area networks for their work. With the help of the internal LAN, the information flow can be simplified, the speed of information exchange can be improved, and work efficiency can be improved. However, with the expansion of the scale of information data and the increase of data transmission volume, more and more applications are running on the LAN, such as knowledge base, web conferencing, database applications, and data synchronization and backup. , The requirements for processing power are getting higher and h...

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/06H04L29/08H04L9/06H04L12/58
CPCH04L9/0631H04L51/04H04L63/0435H04L67/104H04L69/162
Inventor 李章维宋焦朋魏遥姚飞周晓根张贵军
Owner ZHEJIANG UNIV OF TECH
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