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

Inactive Publication Date: 2017-06-13
长江涪陵航道管理处
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This service does not guarantee the reliability of data transmission. Data may be lost or duplicated during transmission, and data cannot be guaranteed to be received in sequence. Therefore, data transmission is not reliable, and data transmission between devices is also unreliable. There is no reliability, so it is impossible to guarantee whether the data sent by the client to the server is received or whether it is received correctly

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
  • Socket communication method and apparatus based on TCP/IP and analog visual simulation system
  • Socket communication method and apparatus based on TCP/IP and analog visual simulation system
  • Socket communication method and apparatus based on TCP/IP and analog visual simulation system

Examples

Experimental program
Comparison scheme
Effect test

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...

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 socket communication method and apparatus based on TCP / IP and an analog visual simulation system, and belongs to the field of data communication. The method comprises the following steps: obtaining a simulation server socket library by a simulation server, and creating simulation server sockets according to the simulation server socket library; binding the created simulation server sockets on the local IP address and a local port; setting the simulation server sockets as a monitoring mode, and waiting for a connection request sent by a virtual image display device; receiving the connection request sent by the virtual image display device, and sending the sockets corresponding to the connection request to the virtual image display device according to the connection request; and performing communication with the virtual image display device according to the sockets corresponding to the connection request. Therefore a reliable communication connection can be established through the sockets to improve the reliability and accuracy of the data communication between the virtual image display device and the simulation server.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a socket communication method and device based on TCP / IP and a simulated scene simulation system. Background technique [0002] With the rapid development of modern computer technology, communication technology and other related technologies, the visualization of information has become a new application development direction, and the scene roaming technology based on virtual reality has become a current research hotspot. [0003] Informatization and network technology have been widely used in modern ship design. Modern ships have been equipped with various advanced equipment. The complexity and automation of ships are getting higher and higher. Operators must undergo strict training and Continuously learning all kinds of new knowledge and operating procedures of new equipment, only by mastering the constantly innovative ship operation and driving technology as soon as possible, ...

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/06
CPCH04L69/162H04L67/131
Inventor 郭义浩曹泽渊商蕾张劲松段原昌吴丹祝孟伟
Owner 长江涪陵航道管理处
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