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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0035] The present invention will be further described below in conjunction with the accompanying drawings.
[0036] refer to figure 1 and figure 2 , a method for real-time communication based on Socket, comprising 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) Choose TCP / IP network communication protocol, TCP protocol provides virtual circuit and transmission service for data process, IP protocol is responsible for providing service for data network layer;
[0039] 3) Introduce P2P technology, adopt the combination of 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 receiver ob...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com