Method for realizing on-line communication of 500 thousands of users through completion port technology

A technology of communication and technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as increasing hardware costs, and achieve fast processing speed, stable operation, and good performance

Inactive Publication Date: 2012-07-11
QINGDAO PENGHAI SOFT CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is to say, the premise of ensuring multi-user concurrency is to increase hardware costs for long links

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
  • Method for realizing on-line communication of 500 thousands of users through completion port technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0019] The implementation method of this embodiment includes the following steps:

[0020] 1. Use IOCP technology to establish a Socket server, which is a communication server of middleware;

[0021] 2. The maximum number of simultaneous online Socket Clients supported by the Socket server is MaxConnectionNumber, which can be 10, 100, 1000 or 10000;

[0022] 3. Allocate read and write memory space for each Socket Client. The value of this space is ClientMemorySize (unit: byte), assuming the value is 1024;

[0023] 4. Establish a Socket Client simulation program, link the IOCP server, and communicate. The steps for one communication are:

[0024] a. Socket Client connects to the IOCP server;

[0025] b. Socket Client sends a data packet, which is smaller than ClientMemorySize;

[0026] c. Socket Client receives data packets;

[0027] d. Socket Client closes the link with the IOCP server;

[0028] 5. Multiple Socket Client simulation programs can be opened at the same time, which can simulate...

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 technical field of computer control, and relates to a method for realizing on-line communication of 500 thousands of users through I/O completion port technology. The method comprises the following steps: a Socket service terminal, actually a communication service terminal of a middle ware, is built according to the IOCP (Input/Output Completion Port) technology; the maximal number of on-line socket clients supported by the Socket service terminal at the same time is Max Connection Number; a read-write memory space is distributed to each socket client, the Socket Client simulation programs are built and connected with an IOCP server for communication; a plurality of Socket Client simulation programs are opened simultaneously so as to simulate the communication between the plurality of Socket Clients and the IOCP Server; and the successful communication of each Socket Client at each time represents an online user, and the required overall time is 8-12 minutes when the 500 thousands of users are counted to be successful in communication. Therefore, the method provided by the invention has the advantages of simple technological process, reliable theory, large information processing amount, high processing speed, good performance and access time conservation, and improves the network utilization efficiency.

Description

Technical field: [0001] The invention belongs to the technical field of electronic communication computer control, and relates to a method for realizing simultaneous online communication of multiple users in the Windows 2003 Server system, in particular to a method for realizing online communication of 500,000 users with full port (IOCP) technology, which is suitable for enterprise internal Establish a service connection between the network and the generalized Internet. Background technique: [0002] In the current IT industry, as a communication solution between the enterprise's internal network and the generalized Internet, the connection method is divided into long links and short links. Long link means that multiple data packets can be sent continuously on a TCP connection. During the TCP connection maintenance period, if no data packets are sent, both parties need to send detection packets to maintain the connection. Generally, you need to do online maintenance by yourself; ...

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): H04L12/56H04L29/06
Inventor 于忠清栾少春袁斌王恒刚刘伟国王艳青许刚
Owner QINGDAO PENGHAI SOFT CO LTD
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