CN102111451A - Reactor mode-based distributed multi-task cooperative processing network system and method - Google Patents

Reactor mode-based distributed multi-task cooperative processing network system and method Download PDF

Info

Publication number
CN102111451A
CN102111451A CN2011100503276A CN201110050327A CN102111451A CN 102111451 A CN102111451 A CN 102111451A CN 2011100503276 A CN2011100503276 A CN 2011100503276A CN 201110050327 A CN201110050327 A CN 201110050327A CN 102111451 A CN102111451 A CN 102111451A
Authority
CN
China
Prior art keywords
task
reactor
module
network system
distributed
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.)
Granted
Application number
CN2011100503276A
Other languages
Chinese (zh)
Other versions
CN102111451B (en
Inventor
杨昆
申兴文
严营
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Gongjin Communication Technology Co Ltd
Original Assignee
Shanghai Gongjin Communication Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Gongjin Communication Technology Co Ltd filed Critical Shanghai Gongjin Communication Technology Co Ltd
Priority to CN201110050327.6A priority Critical patent/CN102111451B/en
Publication of CN102111451A publication Critical patent/CN102111451A/en
Application granted granted Critical
Publication of CN102111451B publication Critical patent/CN102111451B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a reactor mode-based distributed multi-task cooperative processing network system, which comprises a plurality of reactors used for realizing multi-path cooperative event separation and distribution processing, wherein the reactors are connected with one another by a network, and each reactor is provided with at least one independent central processing unit (CPU). The invention also relates to a method for realizing multi-task processing based on a reactor mode by utilizing the network system. In the method, after the reactors divide received task messages into various types of events, allocate the events to corresponding CPUs for processing, and feed task processing results back to the network according to event processing results returned by the CPUs. By the reactor mode-based distributed multi-task cooperative processing network system and the reactor mode-based distributed multi-task cooperative processing network method provided by the invention, a great calculated amount, high extendibility, higher cost performance for hardware cost and system performance, and calculation indexes which cannot be achieved by a conventional centralized system can be achieved.

Description

Distributed multitask collaborative process network system and method based on the reactor pattern
Technical field
The present invention relates to the network system field, task particularly in enormous quantities is handled the network system field, specifically is meant distributed multitask collaborative process network system and method based on the reactor pattern.
Background technology
Along with informationization technology is more and more universal, existing centralized service solution can not adapt to public's requirement more and more higher to the informationization technology service.Traditional centralized service solution as shown in Figure 1, same task is handled through decomposing by thread A, B, C.In visit to shared resource, need the lock contention, avoid data destroyed.Then when thread A, B and C need shared resource visited simultaneously, can only take the lock visit by one, all the other two are in wait state; On monokaryon list cpu server, because the operation of three threads all finished by a CPU, so the waste of resource is not obvious.But at present, multi-core CPU is more and more general, on the server of the many CPU of multinuclear, because thread A, B, C can have separate processor, adopts this centralized service solution will cause the free time waste of two other CPU computing capability.
Therefore, centralized service solution in the past is because the restriction of separate unit server hardware bottleneck of performance, it is more and more difficult to make that current large-scale service solves by centralized solution merely, and the existing multitask solution that is based upon on the monokaryon list CPU also can not adapt to new situation.
At present, this field is needed badly a kind of big and possess the distributed multi-task parallel cooperation solution of excellent extensibility at service function complexity, operand, it can pass through rational network topology layout, reasonably the service distribution formula is disposed, and makes the number of servers of its deployment and the service ability that provides that linear matching relationship can be arranged.
Reactor is a kind of separates for the incident multichannel efficiently and assignment provides extendible object-oriented framework.Reactor is in order to provide one group of senior programming abstract, and it has simplified the design and the realization of event driven Distributed Application, also the multichannel of some different types of incidents is separated being integrated in the wieldy event handler.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art, provide a kind of based on the reactor pattern, controlled message route, controlled task is decomposed and is distributed, complicated service function can be provided, operand is big, and possesses the distributed multitask collaborative process network system and the processing method based on the reactor pattern of excellent extensibility.
In order to realize above-mentioned purpose, the distributed multitask collaborative process network system based on the reactor pattern of the present invention has following formation:
This network system comprises a plurality of incidents separation and the reactor of distributing processing in order to the realization duplex cooperation, and described each reactor interconnects by network, and each reactor all has at least one independently central processing unit CPU.
In this distributed multitask collaborative process network system, described reactor comprises that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, and described transceiver module also connects network.
In this distributed multitask collaborative process network system, described event processing module comprises at least one event response processor.
In this distributed multitask collaborative process network system, described event response processor is the central processing unit CPU of corresponding single transaction.
In this distributed multitask collaborative process network system, described reactor is that arithmetic element, service escape unit, task resolving cell, message routing unit or task converge the unit, wherein, described arithmetic element is handled computing in order to the task message that this collaborative process network system is received, and, result is returned described task converge the unit according to the routing iinformation that comprises in the task message.
In this distributed multitask collaborative process network system, described service escape unit is to give other reactor by the task message of this collaborative process network configuration processing and by forwarded in order to the task message escape that this collaborative process network system is received.
In this distributed multitask collaborative process network system, described task resolving cell resolves into each independently subtask message and give other reactor by forwarded in order to the main task message that will receive.
In this distributed multitask collaborative process network system, described message routing unit is routed on the corresponding arithmetic element in order to the loading condition of subtask message according to described each arithmetic element, and sets up the request message route and reply the message route.
In this distributed multitask collaborative process network system, described task converges the unit and converges in order to the task result that will return and be the service processing result.
The present invention also provides a kind of and utilizes described network system to realize that this method may further comprise the steps based on the method for the multitasking of reactor pattern:
(1) described reactor receives task message from network;
(2) described reactor is divided into all kinds of incidents with the task message of receiving;
(3) described reactor is handled the CPU that each incident is assigned to correspondence;
(4) described reactor obtains the transaction result that CPU returns;
(5) described reactor according to the transaction result to network-feedback task result.
In the method for this realization based on the multitasking of reactor pattern, described reactor comprises that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, described transceiver module also connects network, and described step (2) specifically may further comprise the steps:
(21) described coupling routing module is made Synchronous Processing with received mission bit stream;
(22) described coupling routing module is complementary mission bit stream and incident, and the information task of being sent to is distributed module.
In the method for this realization based on the multitasking of reactor pattern, described step (3) specifically may further comprise the steps:
(31) task is distributed the corresponding affairs of incident generation that module is mated according to information;
(32) task is distributed module and incident is sent to described event processing module according to its corresponding affairs is handled.
In the method for this realization based on the multitasking of reactor pattern, described event processing module comprises at least one event response processor, and described step (32) is specially:
(32-1) task is distributed module incident is sent to its corresponding event response processor according to its corresponding affairs;
(32-2) the received incident of described event response processor processing;
(32-3) described event response processor is distributed module with the result task of being sent to.
In the method for this realization based on the multitasking of reactor pattern, described event response processor is the CPU of corresponding single affairs, and described step (32-2) also specifically may further comprise the steps:
(32-2a) this event response processor is divided into each subevent with this incident, and each subevent is sent to other event response processor;
(32-2b) other event response processor is handled each subevent, and returns the subevent result to this event response processor;
(32-2c) this event response processor is according to the subevent result processing events that is obtained.
In the method for this realization based on the multitasking of reactor pattern, described transceiver module is that transceiver module is handled in asynchronous unblock, and step of a plurality of tasks (1) and step (6) run on described asynchronous unblock simultaneously and handle transceiver module.
The distributed multitask collaborative process network system and the processing method based on the reactor pattern of this invention have been adopted, because this network system comprises a plurality of reactors that separate and distribute processing in order to the incident that realizes duplex cooperation, each reactor interconnects by network, and all has at least one independently central processing unit CPU.When utilizing this network system to carry out the multitask collaborative process, after described reactor is divided into all kinds of incidents with the task message of receiving, be redistributed to corresponding CPU and handle, the transaction result that reactor returns according to CPU is to network-feedback task result.Thereby can provide a kind of based on the reactor pattern, has controlled message route, controlled task is decomposed and is distributed, complicated service function can be provided, operand is big, and the distributed multitask collaborative process network system that possesses excellent extensibility adopts this network system can obtain better cost performance on hardware cost and systematic function, and can reach parameter that existing integrated system is beyond one's reach.
Description of drawings
The schematic diagram of centralized service solution in Fig. 1 prior art.
Fig. 2 is the structural representation of the distributed multitask collaborative process network system based on the reactor pattern of the present invention.
Fig. 3 is the structural representation based on reactor in the distributed multitask collaborative process network system of reactor pattern of the present invention.
Fig. 4 is the flow chart of steps of utilizing described network system realization based on the method for the multitasking of reactor pattern of the present invention.
Fig. 5 utilizes the schematic diagram of network system realization of the present invention based on first embodiment of method of the multitasking of reactor pattern.
Fig. 6 utilizes the schematic diagram of network system realization of the present invention based on second embodiment of method of the multitasking of reactor pattern.
Fig. 7 utilizes the schematic diagram of network system realization of the present invention based on the 3rd embodiment of method of the multitasking of reactor pattern.
Utilize the structural representation of reactor in Fig. 8 distributed multitask collaborative process network system based on the reactor pattern of the present invention as task decomposition and message route.
Embodiment
In order more to be expressly understood technology contents of the present invention, describe in detail especially exemplified by following examples.
See also shown in Figure 2ly, be the structural representation of the distributed multitask collaborative process network system based on the reactor pattern of the present invention.
In one embodiment, this network system comprises a plurality of incidents separation and the reactor of distributing processing in order to the realization duplex cooperation, and described each reactor interconnects by network, and each reactor all has at least one independently central processing unit CPU.Wherein, described reactor as shown in Figure 3, comprise that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, and described transceiver module also connects network.Described event processing module comprises at least one event response processor.This event response processor is the central processing unit CPU of corresponding single transaction.
A kind of preferred embodiment in, described reactor is that arithmetic element, service escape unit, task resolving cell, message routing unit or task converge the unit.
Wherein, described arithmetic element is handled computing in order to the task message that this collaborative process network system is received, and according to the routing iinformation that comprises in the task message, result is returned described task converge the unit.
Described service escape unit is to give other reactor by the task message of this collaborative process network configuration processing and by forwarded in order to the task message escape that this collaborative process network system is received.
Described task resolving cell resolves into each independently subtask message and give other reactor by forwarded in order to the main task message that will receive.
Described message routing unit is in order to the loading condition of subtask message according to described each arithmetic element, be routed on the corresponding arithmetic element, and set up the request message route and reply the described task of message route and converge the unit and converge in order to the task result that will return and be the service processing result.
The present invention also provides a kind of and utilizes described network system to realize that in one embodiment, this method may further comprise the steps as shown in Figure 4 based on the method for the multitasking of reactor pattern:
(1) described reactor receives task message from network;
(2) described reactor is divided into all kinds of incidents with the task message of receiving;
(3) described reactor is handled the CPU that each incident is assigned to correspondence;
(4) described reactor obtains the transaction result that CPU returns;
(5) described reactor according to the transaction result to network-feedback task result.
In a kind of more preferably execution mode, described reactor comprises that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, described transceiver module also connects network, and described step (2) specifically may further comprise the steps:
(21) described coupling routing module is made Synchronous Processing with received mission bit stream;
(22) described coupling routing module is complementary mission bit stream and incident, and the information task of being sent to is distributed module.
In a kind of further preferred embodiment, described step (3) specifically may further comprise the steps:
(31) task is distributed the corresponding affairs of incident generation that module is mated according to information;
(32) task is distributed module and incident is sent to described event processing module according to its corresponding affairs is handled.
In a kind of preferred execution mode, described event processing module comprises at least one event response processor, and described step (32) is specially:
(32-1) task is distributed module incident is sent to its corresponding event response processor according to its corresponding affairs;
(32-2) the received incident of described event response processor processing;
(32-3) described event response processor is distributed module with the result task of being sent to.
A kind of further preferred embodiment in, described event response processor is the CPU of corresponding single affairs, described step (32-2) also specifically may further comprise the steps:
(32-2a) this event response processor is divided into each subevent with this incident, and each subevent is sent to other event response processor;
(32-2b) other event response processor is handled each subevent, and returns the subevent result to this event response processor;
(32-2c) this event response processor is according to the subevent result processing events that is obtained.
In another preferred embodiment, described transceiver module is that transceiver module is handled in asynchronous unblock, and step of a plurality of tasks (1) and step (6) run on described asynchronous unblock simultaneously and handle transceiver module.
In actual applications, distributed multitask collaborative process network system based on the reactor pattern of the present invention adopts existing blade server and Ethernet topology to dispose, adopt multi-modal distributed multitask cooperation solution to make up the hardware platform of large-scale service system, and adopt the arithmetic element of language developments such as C++ or JAVA based on the reactor pattern.
When utilizing the distributed multitask collaborative process network system based on the reactor pattern of the present invention, as shown in Figure 2, same task is distributed to corresponding reactor processing through the form of decomposing with message, the one or more event handlers of registration come a class or multiclass message are handled on each reactor; Because not to the fighting for of shared resource, and each reactor has independent CPUs, then the assignment of multitask and carry out the computing capability that can effectively utilize CPU.When a plurality of tasks are finished, message is all returned on the reactor of distributing task at first, and task is carried out and finished.Each reactor can move the subtask of a plurality of multiclass simultaneously, and the failure of single reactor subtasking or unusual can not cause the execution performance of overall task to seriously influence.
As shown in Figure 3, the basic composition of reactor comprises: transceiver module, coupling routing module, task are distributed module, event handler module.Transceiver module receives message and sends message, and asynchronous unblock is handled, and can receive and dispatch multiple messages simultaneously.The coupling routing module is done Synchronous Processing with the message of asynchronous receiving-transmitting, with message and event matches, is routed on corresponding " task ", and the response message of task result is matched on other reactor.Task is distributed the event establishment affairs of module to producing, and affairs is distributed on the processor of correspondence and is carried out, and repeatedly messaging produces incident and scheduling events processor repeatedly in affairs.The event handler module is for handling the minimum logical block of subtask, and event handler only is responsible for response events, carries out calculation task, not responsible transaction management.In logic, a reactor under the physical environment can be arranged to the virtual event handler in another reactor.
As shown in Figure 5, the distributed multitask collaborative process network system based on the reactor pattern of the present invention is used to realize the embodiment of a cluster of mathematical operation, and it shows the actual motion effect of distributed multitask cooperation solution.Portal server externally provides interface service, receives the calculation task of " 4+ (5 * 6)-(18 ÷ 3) ", at first divides and tasks " adding " arithmetic element (arithmetic element a: reactor of physics actual deployment); " add " arithmetic element and earlier " 5 * 6 " multiplication subtask is given the processing of " taking advantage of " arithmetic element, " taking advantage of " arithmetic element returns 30 synchronously; " add " arithmetic element and calculate 4+30=34, " 34-(18 ÷ 3) " subtraction subtask is given " subtracting " arithmetic element again and handle, " subtracting " arithmetic element hands over " removing " arithmetic element to handle " 18 ÷ 3 " division subtask again; " remove " arithmetic element return results 6, " subtracting " arithmetic element is calculated 34-6=28, returns; " add " arithmetic element final calculation result 28 returned to portal server, portal server can with result of calculation by the request language conversion and return to service requester.
As shown in Figure 6, it is and an embodiment of same computing request shown in Figure 5 that this example has been showed another effect of " mathematical operation cluster " task resolution." add " arithmetic element subtraction subtask " 5 * 6-18 ÷ 3 " friendship " is subtracted " the arithmetic element processing, " subtracting " arithmetic element is transferred to " taking advantage of " and " removing " arithmetic element respectively with " 5 * 6 " and " 18 ÷ 3 " subtask and is handled; " subtract " arithmetic element and calculate 30-6=24, and return to " adding " arithmetic element according to two unit return results; " add " arithmetic element and calculate 4+24=28, and return results is given portal server.
This embodiment compares with Fig. 5, task is decomposed with to distribute order different, " subtracting " arithmetic element, " 5 * 6 " and " 18 ÷ 3 " subtask is transferred to the process that " taking advantage of " and " removing " arithmetic element handles respectively is to carry out in the synchronization, so compared to Fig. 5, the computing of Fig. 6 embodiment has been lacked a message and has been sent a reply the cycle, has just saved the running time of general assignment.
As shown in Figure 7, this example has illustrated an application that recursive function is found the solution, and " F function " and " adding " arithmetic element are born the processor active task of self separately as can be seen, decomposes and the message communication by the subtask, has finished distributed computing; When the needs portal server provides responsible calculation function external, can well reuse existing arithmetic element like this.
By above three embodiment, distributed as can be seen multitask cooperation solution, compare multitask solution in the past, good expandability is arranged, there is the huge space that promotes on the performance, when the cpu load of " adding " arithmetic element arrives the hardware bottleneck, can in cluster, several " adding " arithmetic elements of multi-section administration come load.
In the present invention, solve complicated huge task, on the scheme implementation details, also exist different with scheme of the prior art divided by distributed reaction heap pattern multitask cooperation scheme.
In general scheme, the subtask sends by after other arithmetic element processing, is that former road is returned, and as shown in Figure 5 and Figure 6, request and response message are to occur in pairs; And under the actual scene of reality, exist the situation that the subtask result does not need former road to return, and for example: the subtask request is Areq → Breq → Creq, it can be Cres → Bres → Ares that the subtask result is returned, and also can be Cres → Ares.
In distributed multitask cooperation solution, the decomposition of task and message route are the keys that promotes whole cluster performance.As shown in Figure 5 and Figure 6, same calculation task can have two kinds of task is olations, carries out route, two different execution performances for two kinds.And in the embodiment shown in fig. 7,, the evitable interacting message of a lot of bases is arranged between " F function " and " adding " arithmetic element so if n is a very big number, and in Fig. 7 embodiment, can select better task decomposing scheme, improve whole runnability.
In order further to promote the cluster overall performance, as shown in Figure 8, each reactor also can increase and is defined as service escape unit, task resolving cell, message routing unit, task and converges unit etc. except that defining the arithmetic element role before in the cluster.Message communication is to each other carried out on the network link layer, can select agreements such as TCP, can add proprietary protocol information such as message serial number, task code clerk, affairs code clerk in the message, to meet the requirement of cluster multitask load.Is accessible task requests in the cluster by service escape unit with extraneous service request escape; The task resolving cell resolves into each independently subtask then according to built-in syntax rule with main task, and this is olation can produce different subtask set according to the difference of task type; The message routing unit is responsible for subtask message being routed on the corresponding arithmetic element according to each arithmetic element loading condition in the cluster, and sets up correct request message route and reply the message route; Task converges the unit and then the task result that different time points, nonidentity operation unit return is converged, the termination affairs, and return the service processing result and give portal server; Arithmetic element is independently minimum subtask processing unit, can not rely on other unit and independently dispose, and the routing iinformation according in the request message returns result.
The distributed multitask collaborative process network system and the processing method based on the reactor pattern of this invention have been adopted, because this network system comprises a plurality of reactors that separate and distribute processing in order to the incident that realizes duplex cooperation, each reactor interconnects by network, and all has at least one independently central processing unit CPU.When utilizing this network system to carry out the multitask collaborative process, after described reactor is divided into all kinds of incidents with the task message of receiving, be redistributed to corresponding CPU and handle, the transaction result that reactor returns according to CPU is to network-feedback task result.Thereby can provide a kind of based on the reactor pattern, has controlled message route, controlled task is decomposed and is distributed, complicated service function can be provided, operand is big, and the distributed multitask collaborative process network system that possesses excellent extensibility adopts this network system can obtain better cost performance on hardware cost and systematic function, and can reach parameter that existing integrated system is beyond one's reach.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (15)

1. distributed multitask collaborative process network system based on the reactor pattern, it is characterized in that, described network system comprises a plurality of reactors that separate and distribute processing in order to the incident that realizes duplex cooperation, described each reactor interconnects by network, and each reactor all has at least one independently central processing unit CPU.
2. distributed multitask collaborative process network system according to claim 1, it is characterized in that, described reactor comprises that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, and described transceiver module also connects network.
3. distributed multitask collaborative process network system according to claim 2 is characterized in that described event processing module comprises at least one event response processor.
4. distributed multitask collaborative process network system according to claim 3 is characterized in that described event response processor is the central processing unit CPU of corresponding single transaction.
5. according to each described distributed multitask collaborative process network system in the claim 1 to 4, it is characterized in that, described reactor is that arithmetic element, service escape unit, task resolving cell, message routing unit or task converge the unit, wherein, described arithmetic element is handled computing in order to the task message that this collaborative process network system is received, and, result is returned described task converge the unit according to the routing iinformation that comprises in the task message.
6. distributed multitask collaborative process network system according to claim 5, it is characterized in that described service escape unit is to give other reactor by the task message of this collaborative process network configuration processing and by forwarded in order to the task message escape that this collaborative process network system is received.
7. distributed multitask collaborative process network system according to claim 5 is characterized in that, described task resolving cell resolves into each independently subtask message and give other reactor by forwarded in order to the main task message that will receive.
8. distributed multitask collaborative process network system according to claim 5, it is characterized in that, described message routing unit is in order to the loading condition of subtask message according to described each arithmetic element, be routed on the corresponding arithmetic element, and set up the request message route and reply the message route.
9. distributed multitask collaborative process network system according to claim 5 is characterized in that, described task converges the unit and converges in order to the task result that will return and be the service processing result.
10. one kind is utilized the described network system of claim 1 to realize it is characterized in that based on the method for the multitasking of reactor pattern described method may further comprise the steps:
(1) described reactor receives task message from network;
(2) described reactor is divided into all kinds of incidents with the task message of receiving;
(3) described reactor is handled the CPU that each incident is assigned to correspondence;
(4) described reactor obtains the transaction result that CPU returns;
(5) described reactor according to the transaction result to network-feedback task result.
11. realization according to claim 10 is based on the method for the multitasking of reactor pattern, it is characterized in that, described reactor comprises that transceiver module, coupling routing module, task distribute module, event processing module, described transceiver module is distributed module by described coupling routing module and task in regular turn and is connected described event processing module, described transceiver module also connects network, and described step (2) specifically may further comprise the steps:
(21) described coupling routing module is made Synchronous Processing with received mission bit stream;
(22) described coupling routing module is complementary mission bit stream and incident, and the information task of being sent to is distributed module.
12. realization according to claim 11 is characterized in that based on the method for the multitasking of reactor pattern described step (3) specifically may further comprise the steps:
(31) task is distributed the corresponding affairs of incident generation that module is mated according to information;
(32) task is distributed module and incident is sent to described event processing module according to its corresponding affairs is handled.
13. realization according to claim 12 is characterized in that based on the method for the multitasking of reactor pattern described event processing module comprises at least one event response processor, described step (32) is specially:
(32-1) task is distributed module incident is sent to its corresponding event response processor according to its corresponding affairs;
(32-2) the received incident of described event response processor processing;
(32-3) described event response processor is distributed module with the result task of being sent to.
14. realization according to claim 13 is characterized in that based on the method for the multitasking of reactor pattern described event response processor is the CPU of corresponding single affairs, described step (32-2) also specifically may further comprise the steps:
(32-2a) this event response processor is divided into each subevent with this incident, and each subevent is sent to other event response processor;
(32-2b) other event response processor is handled each subevent, and returns the subevent result to this event response processor;
(32-2c) this event response processor is according to the subevent result processing events that is obtained.
15. according to each described realization in the claim 11 to 14 based on the method for the multitasking of reactor pattern, it is characterized in that, described transceiver module is that transceiver module is handled in asynchronous unblock, and step of a plurality of tasks (1) and step (6) run on described asynchronous unblock simultaneously and handle transceiver module.
CN201110050327.6A 2011-03-02 2011-03-02 Reactor mode-based multi-task processing method Active CN102111451B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110050327.6A CN102111451B (en) 2011-03-02 2011-03-02 Reactor mode-based multi-task processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110050327.6A CN102111451B (en) 2011-03-02 2011-03-02 Reactor mode-based multi-task processing method

Publications (2)

Publication Number Publication Date
CN102111451A true CN102111451A (en) 2011-06-29
CN102111451B CN102111451B (en) 2014-03-19

Family

ID=44175477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110050327.6A Active CN102111451B (en) 2011-03-02 2011-03-02 Reactor mode-based multi-task processing method

Country Status (1)

Country Link
CN (1) CN102111451B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523169A (en) * 2011-12-31 2012-06-27 南京大学 Parallelization method based on 2D-Mesh multi-core network architecture
CN103577263A (en) * 2013-11-07 2014-02-12 广东电网公司佛山供电局 Power quality data real-time collection method and device
CN104580367A (en) * 2014-12-08 2015-04-29 北京锐安科技有限公司 Network data synchronization method and system based on reactor mode
CN107580197A (en) * 2017-08-15 2018-01-12 移康智能科技(上海)股份有限公司 Task processing method, electronic equipment and computer-readable recording medium
CN111124693A (en) * 2018-11-01 2020-05-08 烟台翼顺电子科技有限公司 YSTEC-CS1 multitask instant synchronous processing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724584A (en) * 1994-02-28 1998-03-03 Teleflex Information Systems, Inc. Method and apparatus for processing discrete billing events
CN1602467A (en) * 2001-12-14 2005-03-30 皇家飞利浦电子股份有限公司 Data processing system having multiple processors, a task scheduler for a data processing system having multiple processors and a corresponding method for task scheduling
CN101667165A (en) * 2009-09-28 2010-03-10 中国电力科学研究院 Bus sharing method and device for distributed multi-master CPUs
CN101741850A (en) * 2009-12-25 2010-06-16 北京邮电大学 Multitask concurrent executive system and method for hybrid network service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5724584A (en) * 1994-02-28 1998-03-03 Teleflex Information Systems, Inc. Method and apparatus for processing discrete billing events
CN1602467A (en) * 2001-12-14 2005-03-30 皇家飞利浦电子股份有限公司 Data processing system having multiple processors, a task scheduler for a data processing system having multiple processors and a corresponding method for task scheduling
CN101667165A (en) * 2009-09-28 2010-03-10 中国电力科学研究院 Bus sharing method and device for distributed multi-master CPUs
CN101741850A (en) * 2009-12-25 2010-06-16 北京邮电大学 Multitask concurrent executive system and method for hybrid network service

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102523169A (en) * 2011-12-31 2012-06-27 南京大学 Parallelization method based on 2D-Mesh multi-core network architecture
CN103577263A (en) * 2013-11-07 2014-02-12 广东电网公司佛山供电局 Power quality data real-time collection method and device
CN104580367A (en) * 2014-12-08 2015-04-29 北京锐安科技有限公司 Network data synchronization method and system based on reactor mode
CN104580367B (en) * 2014-12-08 2018-03-20 北京锐安科技有限公司 A kind of network data synchronizing method and system based on reactor patterns
CN107580197A (en) * 2017-08-15 2018-01-12 移康智能科技(上海)股份有限公司 Task processing method, electronic equipment and computer-readable recording medium
CN111124693A (en) * 2018-11-01 2020-05-08 烟台翼顺电子科技有限公司 YSTEC-CS1 multitask instant synchronous processing system

Also Published As

Publication number Publication date
CN102111451B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN107566153B (en) Self-management micro-service implementation method
CN102111451B (en) Reactor mode-based multi-task processing method
CN101587639B (en) City bus information management and dispatch decision support system based on network
CN110266771A (en) Distributed intelligence node and distributed swarm intelligence system dispositions method
CN103229146A (en) Computer cluster arrangement for processing computation task and method for operation thereof
CN104239555B (en) Parallel data mining system and its implementation based on MPP
CN1331052C (en) Method and apparatus for managing resource contention in a multisystem cluster
CN103777950B (en) Gridding method for resolving AOS (Advanced Orbiting System) telemetering data
JP2011516998A (en) Workload scheduling method, system, and computer program
Zhou et al. Research of the FP-Growth Algorithm Based on Cloud Environments.
Li et al. Research on distributed architecture based on SOA
Malik et al. Optimistic synchronization of parallel simulations in cloud computing environments
CN106161520A (en) Big market demand platform and exchange method based on it
Liu et al. Reliability modelling and optimization for microservice‐based cloud application using multi‐agent system
CN101304410A (en) Intelligent information platform for distributed WEB
CN115562846A (en) Resource scheduling method and device and computing node
Rossant et al. Playdoh: a lightweight Python library for distributed computing and optimisation
Liu et al. KubFBS: A fine‐grained and balance‐aware scheduling system for deep learning tasks based on kubernetes
CN105227616A (en) A kind of method of remote sensing satellite Ground Processing System task dynamic creation and distribution
Qiu et al. Design and application of data integration platform based on web services and XML
Zhang et al. A distributed computing framework for All-to-All comparison problems
CN101977165A (en) Message transmission method and message bus system in cloud mode
CN100464303C (en) Method of implementing distribution type operation logical calculation in structure software system
Karbowski et al. jPar-a simple, free and lightweight tool for parallelizing Matlab calculations on multicores and in clusters.
CN107872527B (en) LVC integrated remote cloud service system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant