Socket communication method and apparatus based on TCP/IP and analog visual simulation system
A socket communication and visual simulation technology, applied in the transmission system, electrical components, etc., can solve the problem of unreliable data transmission, cannot guarantee the reliability of data transmission, cannot guarantee whether the data is received or whether it is received correctly, etc. question
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0039] Please refer to image 3 , image 3 It is a flow chart of a TCP / IP-based socket communication method provided by the first embodiment of the present invention, the method is applied to a simulated scene simulation system, and the simulated scene simulation system includes a virtual image display device and a simulation server , the virtual image display device refers to the device used for virtual image display in the simulated visual simulation system of the ship. In this embodiment, the virtual image display device is a computer, and the simulation server is used to provide the The virtual image shows the server on which the device provides services.
[0040] In this embodiment, the method is executed with the simulation server as the running subject, and the method specifically includes the following steps:
[0041] Step S110: the simulation server acquires a simulation server socket library, and creates a simulation server socket according to the simulation server...
no. 2 example
[0055] Please refer to Figure 4 , Figure 4 A flow chart of a TCP / IP-based socket communication method provided by the second embodiment of the present invention, the method is applied to a simulated scene simulation system, and the simulated scene simulation system includes a virtual image display device and a simulation server , the method is executed with the emulation server as the running subject, and the method specifically includes the following steps:
[0056] Step S210: The virtual image display device acquires a device socket library, and creates a device socket corresponding to the simulation server according to the device socket library.
[0057] Step S220: Send a connection request to the simulation server according to the device socket.
[0058] Step S230: Obtain the socket corresponding to the connection request sent by the simulation server.
[0059] Step S240: Communicate with the emulation server according to the socket corresponding to the connection req...
no. 3 example
[0062] Please refer to Figure 5 , Figure 5 An interactive flowchart of a TCP / IP-based socket communication method provided by the third embodiment of the present invention, the method is applied to a simulated scene simulation system, and the simulated scene simulation system includes a virtual image display device and a simulated scene simulation system. server, the method specifically includes the following steps:
[0063] Step S310: the simulation server acquires a simulation server socket library, and creates a simulation server socket according to the simulation server socket library.
[0064] Step S320: Bind the created emulation server socket to the local IP address and local port.
[0065] Step S330: Set the emulation server socket to a listening mode, and wait for a connection request sent by the virtual image display device.
[0066] Step S340: The virtual image display device acquires a device socket library, and creates a device socket corresponding to the sim...
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