CN108319505A - Network data communication system and method based on IOCP mechanism combinations pond fragment - Google Patents
Network data communication system and method based on IOCP mechanism combinations pond fragment Download PDFInfo
- Publication number
- CN108319505A CN108319505A CN201711365005.4A CN201711365005A CN108319505A CN 108319505 A CN108319505 A CN 108319505A CN 201711365005 A CN201711365005 A CN 201711365005A CN 108319505 A CN108319505 A CN 108319505A
- Authority
- CN
- China
- Prior art keywords
- module
- network
- event
- data
- pond
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/52—Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F9/522—Barrier synchronisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5061—Partitioning or combining of resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/50—Indexing scheme relating to G06F9/50
- G06F2209/5011—Pool
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention relates to a kind of network data communication systems based on IOCP mechanism combinations pond fragment, it is characterised in that:It includes that network event monitors module, network connection respond module, network event preprocessing module, client object piece pond scheduler module, Memory slice pond scheduler module, network event request scheduling module, network event respond module, service request callback module and data transmission blocks, the invention can avoid causing multi-thread concurrent to become the case where single thread executes because resource is seized, fundamentally improves system performance, efficiently uses advantage caused by multinuclear, multithreading.
Description
Technical field
The present invention relates to field of computer technology, and in particular to one kind being based on IOCP (I/O Completion Port) machine
Network data communication system and method for the system in conjunction with pond fragment.
Background technology
In server programming, in order to reduce overhead, improving performance as far as possible, it will usually the money that will frequently use
Source is created as a resource pool, when module initialization, all resources is distributed from physical machine memory, are being used
When, the dynamic access from resource pool is placed into using being in resource pool, so as to avoid frequent distribution/release physical
The relevant operation of machine memory reduces overhead.
However, during practice, for the thread of relevant resource pool operation, generally not one, but it is more
A thread concurrently operates the resource pool, therefore, will there is a situation where resources to seize, the method for solving the problems, such as this is,
The resource pool is locked, limiting synchronization only allows a thread to operate the resource pool, to ensure resource pool
The correctness of data and the stability of system.The disadvantages are that other threads will be allowed to be in resource contention and blocked state, adding
Lock this in a flash, high performance multi-thread concurrent has reformed into the single threaded operation of low performance, to limit system entirety
Performance.
Invention content
The purpose of the present invention is to provide a kind of network data communication system based on IOCP mechanism combinations pond fragment and sides
Method.The system and method be avoided that because resource is seized cause multi-thread concurrent performance decline the case where, fundamentally improve
System performance efficiently uses advantage caused by multinuclear, multithreading.
To achieve the above object, the network data communication system based on IOCP mechanism combinations pond fragment designed by the present invention
System, it is characterised in that:It includes that network event monitors module, network connection respond module, network event preprocessing module, client
Hold object piece pond scheduler module, Memory slice pond scheduler module, network event request scheduling module, network event respond module, industry
Request callback module of being engaged in and data transmission blocks, wherein network event monitors the client access events communication ends connection of module
The client access events communication ends of network connection respond module, the network data that network event monitors module receive and dispatch event communication
The network data transmitting-receiving event communication end of end connection network event preprocessing module, the client object of network connection respond module
Source communications end connects the client object source communications end of client object piece pond scheduler module, network connection respond module
The network event for instantiating client object data reception event delivery operation output end connection network event monitoring module is monitored
Input terminal;
The memory source of the memory source communication ends connection Memory slice pond scheduler module of the network event respond module is logical
Believe that the network thing that operation output end connection network event monitors module is delivered at end, the data reception event of network event respond module
Part monitors input terminal;
The memory source communication ends of the memory source communication ends connection Memory slice pond scheduler module of network connection respond module,
The memory source communication ends of the memory source communication ends connection Memory slice pond scheduler module of network event preprocessing module, network thing
The network data of part preprocessing module receives the network number of event scheduling request output end connection network event request scheduling module
Input terminal, the network event of network event request scheduling module is asked to distribute end connection network event response according to event scheduling is received
The network event input terminal of module, the network data solicited message output end connection service request readjustment of network event respond module
There is network request output end, the data to send for the network data solicited message input terminal of module, service request callback module
The network response data output end at the data input pin connection business end of module, the data of the data transmission blocks send output
End connection network event monitors the action listener input terminal of module.
A kind of network data communication method based on IOCP mechanism combinations pond fragment using above system, feature exist
In it includes the following steps:
Step 1:The network event monitors client access events and network data transmitting-receiving in module monitoring internet
Event, and the client access events listened to are sent to network connection respond module, the network data listened to is received and dispatched
Event is sent to network event preprocessing module;
Step 2:The network connection respond module is according to the client access events received from client object piece pond
Client object example is obtained in scheduler module, and is mapped with the client object of access, and the access client is formed
Instance objects;Network connection respond module is taken out according to the entity object of the client newly accessed from the scheduler module of Memory slice pond
Corresponding memory source, and deliver primary network and receive operation to network event monitoring module, wait for arriving for data reception event
Come;
Step 3:The network event preprocessing module sends event according to the data of arrival, corresponding to the transmission event
Transmission buffering area discharge and complete data to Memory slice pond scheduler module and send event, meanwhile, network event pretreatment
The data reception event is forwarded to network event request scheduling resume module by module according to the data reception event of arrival;Institute
The response that data transmission blocks ask network of relation according to operation layer is stated, by the related data of response, is sent and is informed
Network event monitors the monitoring that module sends this data state;
Step 4:The data reception event received is distributed network event and responds mould by network event request scheduling module
Block, network event respond module obtain corresponding memory according to the data reception event received from the scheduler module of Memory slice pond
Resource, and be delivered to network event and monitor module to carry out a data receiver delivery operation, to monitor the client
Subsequent data reception event arrival;The corresponding memory source of data reception event is also passed through industry by network event respond module
Business request callback module is given to operation layer and parses and handle.
It is often the case that multiple threads correspond to a resource pool, when multi-thread concurrent, to ensure data atom
Property, interlocked operation can be done to the resource pool, i.e., only allow a thread accesses in synchronization, then, remaining thread can then wait
It can just go to access this resource pool after waiting for that the thread accesses are complete and closing, it, then can be because since remaining thread is likely to enter wait state
Wait state and reduce processing capacity.
The strategy of this programme is that multiple threads correspond to a piece pond scheduler module, are divided into the piece pond scheduler module several
Resource pool, when multiple threads access resource pool simultaneously, piece pond scheduler module can be into may uniformly allow multiple threads to be visited respectively
It asks different resource pools, seizes/competition/caused by multi-thread access resource pool in this way, just having evaded and wait for phenomenon, to improve
System processing power.
Resource pool is carried out fragment by the present invention, i.e., a resource pool is divided into N number of pond piece, N is generally equal to the resource pool
The number of threads operated for per thread, is all equivalent to after carrying out pond fragment and has a privately owned money
Source pond, in the case of most, it will it avoids causing multi-thread concurrent to become the case where single thread executes because resource is seized, from
It fundamentally improves system performance, efficiently use advantage caused by multinuclear, multithreading.During multi-thread concurrent, by upper
It states pond fragment thought reduction resource seize, compete, after the stand-by period, multithreading more can be fully used, to improve system
Event handling ability and data forwarding capability, and then promote the overall performance of operation system.
Description of the drawings
Fig. 1 is the structure diagram in the present invention.
Wherein, 1-network event monitor module, 2-network connection respond modules, 3-network event preprocessing modules,
4-client object piece pond scheduler modules, 5-Memory slice pond scheduler modules, 6-network event request scheduling modules, 7-networks
Event response module, 8-service request callback modules, 9-data transmission blocks.
Specific implementation mode
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail:
Network data communication system based on IOCP mechanism combinations pond fragment as described in Figure 1, it is characterised in that:It includes
Network event monitors module 1, network connection respond module 2, network event preprocessing module 3, client object piece pond scheduling mould
Block 4, Memory slice pond scheduler module 5, network event request scheduling module 6, network event respond module 7, service request adjust back mould
Block 8 and data transmission blocks 9, wherein the client access events communication ends connection network connection that network event monitors module 1 is rung
The client access events communication ends of module 2, the network data transmitting-receiving event communication end that network event monitors module 1 are answered to connect net
The network data transmitting-receiving event communication end of network event preprocessing module 3, the client object resource of network connection respond module 2 are logical
Believe the client object source communications end of end connection client object piece pond scheduler module 4, the example of network connection respond module 2
Change client object data reception event delivers the network event monitoring input that operation output end connection network event monitors module 1
End;
The memory source of the memory source communication ends connection Memory slice pond scheduler module 5 of the network event respond module 7
The data reception event of communication ends, network event respond module 7 delivers the net that operation output end connection network event monitors module 1
Network action listener input terminal;
The memory source communication of the memory source communication ends connection Memory slice pond scheduler module 5 of network connection respond module 2
End, the memory source communication ends of the memory source communication ends connection Memory slice pond scheduler module 5 of network event preprocessing module 3,
The network data of network event preprocessing module 3 receives event scheduling request output end connection network event request scheduling module 6
Network data receive event scheduling input terminal, the network event of network event request scheduling module 6 asked to distribute end connection net
The network event input terminal of network event response module 7, the network data solicited message output end connection of network event respond module 7
The network data solicited message input terminal of service request callback module 8, service request callback module 8 are exported with network request
End, the network response data output end at the data input pin connection business end of the data transmission blocks 9, the data send mould
The data of block 9 send the action listener input terminal that output end connection network event monitors module 1.
In above-mentioned technical proposal, the network event monitors module 1 and is used to monitor the client access events in internet
Event is received and dispatched with network data, and the client access events listened to are sent to network connection respond module 2, will be listened to
Network data transmitting-receiving event be sent to network event preprocessing module 3.Above-mentioned event is generally divided into three kinds:Access events, one
Server in a new user's connection;Data reception event, with user orientation server transmission data;Data send event, server
To user's transmission data.
In above-mentioned technical proposal, the network connection respond module 2 be used for according to the client access events that receive from
Client object example is obtained in client object piece pond scheduler module 4, and is mapped with the client object of access, is formed
The instance objects of the access client;Network connection respond module 2 be additionally operable to according to the entity object of client newly accessed from
Corresponding memory source is taken out in Memory slice pond scheduler module 5, and delivers primary network and receives operation to network event monitoring mould
Block 1 waits for the arrival of data reception event.Above-mentioned client instance refers to a kind of abstractdesription to specific client end/user,
In the process of programming, the relevant operation for client's example is this means that be directed to the operation of a certain client/user.Visitor
Family end/user and client instance object are the relationships mapped one by one.
In above-mentioned technical proposal, the network event preprocessing module 3 is used to send event according to the data of arrival, by this
Transmission buffering area (memory source) release corresponding to transmission event completes data to Memory slice pond scheduler module 5 and sends thing
Part, meanwhile, the network event preprocessing module 3 is additionally operable to the data reception event according to arrival, by the data reception event
It is forwarded to the processing of network event request scheduling module 6.
In above-mentioned technical proposal, the response that the data transmission blocks 9 are used to ask network of relation according to operation layer will
The related data of response send the monitoring that simultaneously informing network action listener module 1 sends this data state.
In above-mentioned technical proposal, network event request scheduling module 6 is for distributing the data reception event received
Network event respond module 7, network event respond module 7 are used to be dispatched from Memory slice pond according to the data reception event received
Corresponding memory source is obtained in module 5, and is delivered to network event and monitors module 1 to carry out a data receiver delivery
Operation, so as to monitor the client subsequent data reception event arrival;Network event respond module 7 is additionally operable to connect data
The corresponding memory source of receipts event is given to operation layer by service request callback module 8 and parses and handle.
The major function that network event monitors module 1 is to monitor all network events, includes connection, the data of client
Transmitting-receiving, client disconnect etc. a series of network events.
The major function of network connection respond module 2 is to handle the client newly connected, is taken from client object piece pond
Go out a client object resource, it is associated with new client, and be attached on completing port, to monitor the client
Subsequent network event.
The major function of client object piece pond scheduler module 4 is to safeguard a client object memory pool, is to reduce
System constantly application, releasing memory corelation behaviour, to improve system performance, meanwhile, in conjunction with pond fragment thought, resource is carried out
Effectively scheduling, further increases system performance.
The major function of Memory slice pond scheduler module 5 is to safeguard a memory pool, constantly applied with reducing system, discharge in
The corelation behaviour deposited, to improve system performance, meanwhile, in conjunction with pond fragment thought, resource is effectively dispatched, is further carried
High system performance.
The major function of network event preprocessing module 3 is the transmission of processing data, data receiver, client three kinds of nets of disconnection
Network event.When client disconnects, related resource is discharged into resource piece pond.Data are sent, then are done directly.For number
According to the event of reception, then by the event transmission to network event request scheduling module.
The function of network event request scheduling module 6 is the related data to receiving, and according to fragment thought, is reduced to thing
Lock when part is asked competes the time, to better scheduling events processing module, promotes the performance of event handling.
The major function of network event respond module 7 is to call industry to related data after getting corresponding network data
Business module relevant interface is parsed, and after completing parsing, goes to service request callback module.
The major function of service request callback module 8 is after completing the parsing of network, according to the data packet after parsing, to call
The response interface for the corresponding data packet that Business Logic is realized, is completed network request.
A kind of network data communication method based on IOCP mechanism combinations pond fragment using above system, feature exist
In it includes the following steps:
Step 1:The network event monitors client access events and network data transmitting-receiving in the monitoring of module 1 internet
Event, and the client access events listened to are sent to network connection respond module 2, the network data listened to is received and dispatched
Event is sent to network event preprocessing module 3;
Step 2:The network connection respond module 2 is according to the client access events received from client object piece pond
Client object example is obtained in scheduler module 4 (a network user (object existing for entity) one calculating of abstract chemical conversion
" class " this " class " in term represents a network user or a certain machine, a certain individual), and with the client of access
End (corresponding with client access events) object is mapped, and the instance objects of the access client are formed;Network connection is rung
Module 2 is answered to take out corresponding memory source from Memory slice pond scheduler module 5 according to the entity object of the client newly accessed, and
It delivers primary network and receives operation to network event monitoring module 1, wait for the arrival of data reception event;
Step 3:The network event preprocessing module 3 sends event according to the data of arrival, and the transmission event institute is right
The transmission buffering area answered, which is discharged to Memory slice pond scheduler module 5, completes data transmission event, meanwhile, the network event is located in advance
Module 3 is managed according to the data reception event of arrival, which is forwarded at network event request scheduling module 6
Reason;The response that the data transmission blocks 9 ask network of relation according to operation layer is sent the related data of response
And informing network action listener module 1 sends this data the monitoring of state;
Step 4:The data reception event received is distributed network event and responds mould by network event request scheduling module 6
Block 7, network event respond module 7 obtain according to the data reception event received from Memory slice pond scheduler module 5 corresponding
Memory source, and be delivered to network event and monitor module 1 to carry out a data receiver delivery operation, to monitor the visitor
The arrival of the subsequent data reception event at family end;Network event respond module 7 is also by the corresponding memory source of data reception event
Operation layer is given to by service request callback module 8 to parse and handle.
The present invention is applied under windows environment, based on the IOCP mechanism that the system is provided, in network data
When, in conjunction with pond fragment thought, it is achieved it, to provide the network data transmission side of highly reliable high concurrent, high-throughput
Method.This method is suitable for many service servers under windows environment, typically has:Signal server, data forwarding service
Device, media server etc.
The content that this specification is not described in detail belongs to the prior art well known to professional and technical personnel in the field.
Claims (7)
1. a kind of network data communication system based on IOCP mechanism combinations pond fragment, it is characterised in that:It includes network event
Monitor module (1), network connection respond module (2), network event preprocessing module (3), client object piece pond scheduler module
(4), Memory slice pond scheduler module (5), network event request scheduling module (6), network event respond module (7), service request
Callback module (8) and data transmission blocks (9), wherein the client access events communication ends that network event monitors module (1) connect
The client access events communication ends of network connection respond module (2) are connect, network event monitors the network data transmitting-receiving of module (1)
Event communication end connects the network data transmitting-receiving event communication end of network event preprocessing module (3), network connection respond module
(2) the client object source communications end of client object source communications end connection client object piece pond scheduler module (4),
The instantiation client object data reception event of network connection respond module (2) delivers operation output end connection network event prison
The network event of module (1) is listened to monitor input terminal;
The memory source of the memory source communication ends connection Memory slice pond scheduler module (5) of the network event respond module (7)
Communication ends, the data reception event of network event respond module (7) deliver operation output end connection network event and monitor module (1)
Network event monitor input terminal;
The memory source communication of the memory source communication ends connection Memory slice pond scheduler module (5) of network connection respond module (2)
End, the memory source communication of the memory source communication ends connection Memory slice pond scheduler module (5) of network event preprocessing module (3)
End, the network data of network event preprocessing module (3) receive event scheduling request output end and connect network event request scheduling
The network data of module (6), which receives event scheduling, asks input terminal, the network event of network event request scheduling module (6) to distribute
The network event input terminal of end connection network event respond module (7), the network data request letter of network event respond module (7)
Cease the network data solicited message input terminal of output end connection service request callback module (8), service request callback module (8) tool
There are network request output end, the network response data output at the data input pin connection business end of the data transmission blocks (9)
The data at end, the data transmission blocks (9) send the action listener input that output end connection network event monitors module (1)
End.
2. the network data communication system according to claim 1 based on IOCP mechanism combinations pond fragment, it is characterised in that:
The network event monitors module (1) for monitoring client access events and network data transmitting-receiving event in internet, and
The client access events listened to are sent to network connection respond module (2), the network data listened to is received and dispatched into event
It is sent to network event preprocessing module (3).
3. the network data communication system according to claim 1 based on IOCP mechanism combinations pond fragment, it is characterised in that:
The network connection respond module (2) is used for according to the client access events that receive from client object piece pond scheduler module
(4) client object example is obtained in, and is mapped with the client object of access, and the example pair of the access client is formed
As;Network connection respond module (2) is additionally operable to according to the entity object of client newly accessed from Memory slice pond scheduler module (5)
It is middle to take out corresponding memory source, and deliver primary network and receive operation to network event monitoring module (1), wait for data receiver
The arrival of event.
4. the network data communication system according to claim 1 based on IOCP mechanism combinations pond fragment, it is characterised in that:
It is characterized in that:The network event preprocessing module (3) is used to send event according to the data of arrival, by the transmission event institute
Corresponding transmission buffering area, which is discharged to Memory slice pond scheduler module (5), completes data transmission event, meanwhile, the network event
Preprocessing module (3) is additionally operable to the data reception event according to arrival, which is forwarded to network event request
Scheduler module (6) processing.
5. the network data communication system according to claim 1 based on IOCP mechanism combinations pond fragment, it is characterised in that:
The related data of response is sent out in the response that the data transmission blocks (9) are used to ask network of relation according to operation layer
Send simultaneously monitoring of the informing network action listener module (1) to this data transmission state.
6. the network data communication system according to claim 1 based on IOCP mechanism combinations pond fragment, it is characterised in that:
Network event request scheduling module (6) is used to the data reception event received distributing network event respond module (7), net
Network event response module (7) is used to be obtained from Memory slice pond scheduler module (5) according to the data reception event received and correspond to
Memory source, and be delivered to network event and monitor module (1) and deliver operation to carry out data receiver, to monitor
The arrival of the subsequent data reception event of the client;Network event respond module (7) is additionally operable to correspond to data reception event
Memory source operation layer is given to by service request callback module (8) parses and handle.
7. a kind of network data communication method based on IOCP mechanism combinations pond fragment using system described in claim 1,
It is characterized in that, it includes the following steps:
Step 1:The network event monitors client access events and network data transmitting-receiving thing in module (1) monitoring internet
Part, and the client access events listened to are sent to network connection respond module (2), the network data listened to is received and dispatched
Event is sent to network event preprocessing module (3);
Step 2:The network connection respond module (2) is according to the client access events received from client object piece pond tune
It spends and obtains client object example in module (4), and mapped with the client object of access, form the access client
Instance objects;Network connection respond module (2) is according to the entity object of client newly accessed from Memory slice pond scheduler module (5)
It is middle to take out corresponding memory source, and deliver primary network and receive operation to network event monitoring module (1), wait for data receiver
The arrival of event;
Step 3:The network event preprocessing module (3) sends event according to the data of arrival, corresponding to the transmission event
Transmission buffering area discharge to Memory slice pond scheduler module (5) complete data send event, meanwhile, the network event is located in advance
Module (3) is managed according to the data reception event of arrival, which is forwarded to network event request scheduling module (6)
Processing;The response that the data transmission blocks (9) ask network of relation according to operation layer carries out the related data of response
Send the monitoring that simultaneously informing network action listener module (1) sends this data state;
Step 4:The data reception event received is distributed network event respond module by network event request scheduling module (6)
(7), network event respond module (7) acquisition pair from Memory slice pond scheduler module (5) according to the data reception event received
The memory source answered, and be delivered to network event and monitor module (1) to carry out a data receiver delivery operation, to supervise
Listen the arrival of the subsequent data reception event of the client;Network event respond module (7) is also corresponding by data reception event
Memory source is given to operation layer by service request callback module (8) and parses and handle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365005.4A CN108319505A (en) | 2017-12-18 | 2017-12-18 | Network data communication system and method based on IOCP mechanism combinations pond fragment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365005.4A CN108319505A (en) | 2017-12-18 | 2017-12-18 | Network data communication system and method based on IOCP mechanism combinations pond fragment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108319505A true CN108319505A (en) | 2018-07-24 |
Family
ID=62893097
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711365005.4A Pending CN108319505A (en) | 2017-12-18 | 2017-12-18 | Network data communication system and method based on IOCP mechanism combinations pond fragment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108319505A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109742A (en) * | 2019-05-09 | 2019-08-09 | 重庆八戒电子商务有限公司 | A kind of method and device that the distributed task scheduling based on zookeeper is coordinated |
CN113761424A (en) * | 2021-04-09 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Webpage rolling positioning method, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593131A (en) * | 2008-05-28 | 2009-12-02 | 国际商业机器公司 | Realize the method and apparatus of threading operation based on object pool |
CN102097859A (en) * | 2010-09-02 | 2011-06-15 | 广东省电力调度中心 | Power grid dispatching intelligentized and instruction informationized working platform |
US20120260262A1 (en) * | 2011-04-07 | 2012-10-11 | Microsoft Corporation | Messaging interruptible blocking wait with serialization |
CN102761469A (en) * | 2011-04-27 | 2012-10-31 | 阿里巴巴集团控股有限公司 | Allocation method and device for resource pool |
CN106844041A (en) * | 2016-12-29 | 2017-06-13 | 华为技术有限公司 | The method and internal storage management system of memory management |
-
2017
- 2017-12-18 CN CN201711365005.4A patent/CN108319505A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593131A (en) * | 2008-05-28 | 2009-12-02 | 国际商业机器公司 | Realize the method and apparatus of threading operation based on object pool |
CN102097859A (en) * | 2010-09-02 | 2011-06-15 | 广东省电力调度中心 | Power grid dispatching intelligentized and instruction informationized working platform |
US20120260262A1 (en) * | 2011-04-07 | 2012-10-11 | Microsoft Corporation | Messaging interruptible blocking wait with serialization |
CN102761469A (en) * | 2011-04-27 | 2012-10-31 | 阿里巴巴集团控股有限公司 | Allocation method and device for resource pool |
CN106844041A (en) * | 2016-12-29 | 2017-06-13 | 华为技术有限公司 | The method and internal storage management system of memory management |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110109742A (en) * | 2019-05-09 | 2019-08-09 | 重庆八戒电子商务有限公司 | A kind of method and device that the distributed task scheduling based on zookeeper is coordinated |
CN110109742B (en) * | 2019-05-09 | 2020-04-28 | 重庆八戒电子商务有限公司 | Zookeeper-based distributed task coordination method and device |
CN113761424A (en) * | 2021-04-09 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Webpage rolling positioning method, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7076545B2 (en) | Load balancing the servicing of received packets | |
CN106209482A (en) | A kind of data center monitoring method and system | |
CN105337755B (en) | The system of the method and processing business of client/server server and its processing business | |
CN110825535A (en) | Job scheduling method and system | |
CN109300217A (en) | Queuing management method, computer storage medium, queuing server and system | |
CN103617088A (en) | Method, device and processor of device for distributing core resources in different types of threads of processor | |
CN105955807A (en) | System and method for processing task | |
CN109800261A (en) | Dynamic control method, device and the relevant device of double data library connection pool | |
CN110445700A (en) | Master-slave communication system and method and terminal equipment | |
CN114461668A (en) | MYSQL database query method and device based on thread pool | |
CN108319505A (en) | Network data communication system and method based on IOCP mechanism combinations pond fragment | |
CN111722944B (en) | NIO-based AIRT-ROS communication method and system | |
CN109727595A (en) | A kind of software design approach of speech recognition server | |
US10135944B2 (en) | Processing a unit of work | |
CN107479966B (en) | Signaling acquisition method based on multi-core CPU | |
WO2020098266A1 (en) | Abnormal response method and device | |
CN109669979A (en) | The processing method and processing device of data, storage medium | |
CN114064309A (en) | Cable service data processing method and device based on processing priority | |
CN106570011A (en) | Distributed crawler URL seed distribution method, dispatching node, and grabbing node | |
CN109889406A (en) | For managing method, apparatus, equipment and the storage medium of network connection | |
US9705698B1 (en) | Apparatus and method for network traffic classification and policy enforcement | |
CN102693434B (en) | Communication apparatus and method for interface layer of radio frequency identification device | |
CN110827108B (en) | Information searching method, searching request control method and system | |
CN115412500B (en) | Asynchronous communication method, system, medium and equipment supporting load balancing strategy | |
CN103501245B (en) | Network-event processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180724 |