Multi-user concurrent insertion device and its method

An access method and access device technology, which are applied to multi-program devices, data exchange through path configuration, etc., can solve problems such as occupation and reduction of processing speed, and achieve improved processing speed, improved processing speed, and avoidance of CPU. and the effect of memory resources

Inactive Publication Date: 2005-01-05
ZTE CORP
View PDF2 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a multi-user concurrent access device and its method, which can realize multiple users concurrently accessing the server through a single thread, thus overcoming the problem of multi-user concurrent access in the prior art. The shortcomings of multi-threading and multi-process in the TCP / IP server occupying unnecessary resources and resulting in a decrease in the overall processing speed of the system

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
  • Multi-user concurrent insertion device and its method
  • Multi-user concurrent insertion device and its method
  • Multi-user concurrent insertion device and its method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] Please refer to figure 1 , The multi-user concurrent access device of the present invention includes: a TCP module 10 , an application layer protocol module 20 , and a message processing module 30 . The TCP module 10 includes a TCP main thread unit 11 , a TCP link management thread unit 12 , and a TCP receiving data thread unit 13 . The TCP main thread unit 11 is used to set up listening; the TCP link management thread unit 12 is used to wait for, receive a connection request from the client, and send the connection request to the application layer protocol module; the TCP receive data thread unit 13. It is used to receive data from the client and send it to the application layer protocol module. The application layer protocol module 20 is used to wait for and receive a connection request and / or data request from the TCP module, and establish a corresponding session for the connection request and / or data request, and to receive data sent by the TCP module, And send th...

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 relates to a multiuser concurrent access device and its method, applied in TCP/IP server. The apparatus comprises: a TCP module, for establishing an interception, waiting for and receiving the connection request that comes from client, and sending said connection request to an application level protocol module, as well as for receiving the data that comes from client, and sending the data to the application level protocol module; an application level protocol module, for waiting for and receiving the connection request that comes from a TCP module and/or a data request, and establishing corresponding sessiones for said connection request and/or data request, as well as for receiving the data transmitted by the TCP module, and sending the data to a message processing module for processing; and a message processing module, for carrying out data processing for the data that comes from the application level protocol module. The invention can implement that a plurality of clients can acess server, at the same time, through a few threads, thus avoiding the consumed CPU and memory resources of the thread switch, and having raised the processing speed.

Description

technical field [0001] The present invention relates to a multi-user concurrent access device and method thereof, in particular to a multi-user concurrent access device and method based on a TCP / IP server. Background technique [0002] In the various existing TCP / IP servers, for multi-user concurrent access, multi-thread or even multi-process mode is often adopted, that is, for each access user request, a thread or process is opened to process the request separately. In the method described in the Chinese Patent Application No. 98125973.1 "Apparatus and Method for Executing Semantic Concurrency Control When Allocating Client Requests in a Server", a thread is used to process each storage request. In the technical solution disclosed in this patent application, when multiple users access the server at the same time, the thread switching consumes a lot of CPU and memory resources, which greatly reduces the processing speed. [0003] In addition, in the US Patent No. 6,301,604 ...

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): G06F9/46H04L12/28
Inventor 张亦刚井文涛田会芹钟建
Owner ZTE CORP
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