Network transmission method for TCP/IP protocol based on Windows

一种网络传输、IP协议的技术,应用在TCP/IP协议的网络传输领域,能够解决无法高效地解决数据处理问题等问题,达到解决大并发连接处理阻塞、减轻负担的效果

Active Publication Date: 2014-06-18
XIAN AEROSPACE PROPULSION TESTING TECHN INST
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention proposes a network transmission method based on the TCP / IP protocol of Windows, which solves various data processing problems that cannot be efficiently solved in the existing network transmission method

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to solve the problem that various data processing cannot be efficiently solved in the existing network transmission methods, this application proposes the use of the AcceptEx asynchronous connection mechanism, and the use of data receiving threads (I / O worker threads) and data processing threads (worker threads) during data transmission. A Windows-based TCP / IP protocol network transmission method in a separate way. The following is attached image 3 , 4 , 6-b describes the method in detail.

[0036] A network transmission method based on the TCP / IP protocol of Windows, specifically comprising the following steps:

[0037] Step 1) The application layer calls the operating system function of the kernel layer;

[0038] Specifically: this step is to use the efficient IO data processing capability of the operating system, and the application layer calls the IOCP system function of the operating system to interact with the kernel layer to realize efficient network...

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 belongs to the field of software development and design, and particularly relates to a network transmission method for a TCP / IP protocol based on Windows. The method comprises the following steps that (1), the operating system function of an inner core layer is called by an application layer; (2), the application layer is in butt joint with the inner core layer; (3), signals of a network port are detected by the inner core layer; (4), data transmission is carried out. Few threads can be used for processing a large number of client connections in the connection processing process by adopting an AcceptEx asynchronous connecting mechanism. Meanwhile, burdens of the I / O operation are greatly relieved through the mode of separating a data receiving thread (an I / O work thread) and a data processing thread (a worker thread) in the data transmission process, and the problem of large concurrent connection processing blocking is solved.

Description

technical field [0001] The invention belongs to the field of software development and design, and in particular relates to a network transmission method based on the Windows TCP / IP protocol. Background technique [0002] The TCP / IP protocol is a common network protocol for the current wide area network and local area network. During the design and coding process of the network data transmission software based on the windows operating system, the designer can use a variety of transmission methods (such as conventional multi-threaded socket blocking design, asynchronous Choose the I / O multiplexing mechanism WSAAsynSelect, complete the port network method I / O Completion Port, etc.), use various existing frameworks (such as MFC, .NET FCL, etc.) or controls, but no matter how you choose, the traditional blocking / The asynchronous selection mechanism cannot be compared with the high-performance completion port mechanism. Moreover, among the many network data transmission methods ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/06
Inventor 许广柱李双军唐云龙章萌
Owner XIAN AEROSPACE PROPULSION TESTING TECHN INST
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