CN102004715A - Communication processing method and system of state machines - Google Patents

Communication processing method and system of state machines Download PDF

Info

Publication number
CN102004715A
CN102004715A CN 201010532012 CN201010532012A CN102004715A CN 102004715 A CN102004715 A CN 102004715A CN 201010532012 CN201010532012 CN 201010532012 CN 201010532012 A CN201010532012 A CN 201010532012A CN 102004715 A CN102004715 A CN 102004715A
Authority
CN
China
Prior art keywords
state machine
entity
processor
incident
copy
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
Application number
CN 201010532012
Other languages
Chinese (zh)
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.)
Ruijie Networks Co Ltd
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN 201010532012 priority Critical patent/CN102004715A/en
Publication of CN102004715A publication Critical patent/CN102004715A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides communication processing method and system of state machines. The method comprises the following steps of: creating corresponding state machines with respective state machine attributes in various processors according to the correlation of the state machines in a distributed system; and processing according to communication affairs between the respective state machine attributes and the state machines. The system comprises a creating module and an affair processing module, wherein the creating module is used for creating corresponding state machines with the respective state machine attributes in the processors according to the correlation of the state machines in the distributed system, and the affair processing module is used for processing according to communication affairs between the state machine attributes of the state machines and the state machines. The invention can transplant the state machines in an integrated system to the distributed system without changing the logic of the state machines in the integrated system to realize the collaborative operation among the state machines in the distributed system.

Description

The communication processing method of state machine and system
Technical field
The present invention relates to the communication technology, relate in particular to a kind of communication processing method and system of state machine.
Background technology
Cooperative processing system between the state machine can comprise integrated system and distributed system.Wherein, integrated system refers to a plurality of terminals of main frame band, terminal does not possess data-handling capacity, the computing all processor on main frame is carried out, when example of a plurality of state machine controls, all state machines are all worked on a processor, are illustrated in figure 1 as the model structure synoptic diagram of integrated system of the prior art.And distributed system is for integrated system, it is for supporting the software systems of distributed treatment, be the system that on the interconnected multiprocessor architecture of communication network, executes the task, it needs the multiprocessor co-ordination, accomplish a task jointly, be illustrated in figure 2 as the model structure synoptic diagram of distributed system of the prior art.And in distributed system, may occur that a plurality of state machines of example needs are controlled, a plurality of state machine is in the situation that is mutually related between operation, the state machine on the different processors.As shown in Figure 2, state machine 1,2,3,4 operation on processor 1,2,3,4 respectively, and have event communication between state machine 2,3,4 and the state machine 1.Therefore, relate between a plurality of state machines communication issue and between the state machine on the different processor problem of setting up of corresponding relation.
In the distributed system in the prior art, when two associated state machines operate on the different processor, can't use application programming interface (the Application ProgrammingInterface on the uniprocessor; Hereinafter to be referred as: API) method of calling.Then, the API Calls between the peering state machine is converted to interacting message, to adapt to the message communication between the multiprocessor usually by revising the programmed logic mechanism of state machine Service Control Unit of living in.
This shows, this API Access mode from uniprocessor is converted to the method for the interacting message mode between the multiprocessor in the prior art, need redesign to revise the programmed logic of business unit, it may influence the service logic of original system, and need test again the whole service unit even the total system that comprise programmed logic, the method of prior art not only workload is big, and the potential impact that can bring some to be difficult to assess.
Summary of the invention
The invention provides a kind of communication processing method and system of state machine, need to redesign the huge defective of workload that update routine logic etc. causes in the prior art in order to solve, need not to change the logic of state machine in the integrated system, state machine in the integrated system is transplanted in the distributed system, is realized the cooperative work between the state machine in the distributed system.
The invention provides a kind of communication processing method of state machine, comprising:
Manage throughout in the device to create according to the incidence relation of each state machine in the distributed system and have the corresponding state machine of state machine attribute separately;
State machine attribute according to each described state machine is handled the incident of communicating by letter between the state machine.
The invention provides a kind of communication processing system of state machine, comprising:
Creation module is used for managing throughout in the device to create according to the incidence relation of each state machine of distributed system to have the corresponding state machine of state machine attribute separately;
Event processing module is used for according to the state machine attribute of each described state machine the incident of communicating by letter between the state machine being handled.
The communication processing method of state machine of the present invention and system, have the corresponding state machine of state machine attribute separately by managing throughout according to the incidence relation of each state machine in the distributed system to create in the device, the incident of communicating by letter between the state machine is handled accordingly according to the state machine attribute of each state machine.The present invention has separately by establishment, and the state machine of attribute is set to the state machine that has incidence relation in the distributed system in the processor, realization need not to change the logic of state machine in the integrated system, just the state machine in the integrated system can be transplanted in the distributed system, having solved needs in the prior art to redesign the huge defective of workload that update routine logic etc. causes, and has realized the cooperative work between the state machine in the distributed system.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do one to the accompanying drawing of required use in embodiment or the description of the Prior Art below introduces simply, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the model structure synoptic diagram of integrated system of the prior art;
Fig. 2 is the model structure synoptic diagram of distributed system of the prior art;
Fig. 3 is the process flow diagram of the communication processing method embodiment one of state machine of the present invention;
Fig. 4 is the process flow diagram of the communication processing method embodiment two of state machine of the present invention;
Fig. 5 is the model structure synoptic diagram of distributed system among the communication processing method embodiment two of state machine of the present invention;
Fig. 6 is the event interception synoptic diagram among the communication processing method embodiment two of state machine of the present invention;
Fig. 7 is the state synchronized synoptic diagram among the communication processing method embodiment two of state machine of the present invention;
Fig. 8 is the structural representation of the communication processing system embodiment one of state machine of the present invention;
Fig. 9 is the structural representation of the communication processing system embodiment two of state machine of the present invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 3 is the process flow diagram of the communication processing method embodiment one of state machine of the present invention, and as shown in Figure 3, present embodiment provides a kind of communication processing method of state machine, can specifically comprise the steps:
Step 301 is managed throughout in the device to create according to the incidence relation of each state machine in the distributed system and is had the corresponding state machine of state machine attribute separately.
Present embodiment is specifically related to the communication between the state machine in the distributed system, this step belongs to the initial phase that communicates between the state machine, create according to the incidence relation of each state machine in the distributed system earlier and have the state machine of state machine attribute separately, promptly manage throughout and create corresponding state machine in the device, and dispose its state machine attribute.For the incidence relation of description status machine, can continue referring to above-mentioned distributed system shown in Figure 2, wherein state machine 1,2,3,4 operates in respectively on the processor 1,2,3,4, and state machine 1 and state machine 2,3,4 are interrelated.Because state machine mainly promotes the change of state by incident, then incidence relation herein is meant that state machine 1 and state machine 2,3,4 have the incident contact.For example, state machine 1 is generation incident 2 in operational process, is notified to state machine 2, produces incident 1 again after state machine 2 is handled this incident, promotes state machine 1 change state again.At initial phase, manage device respectively throughout earlier state machine is created, and the configuration state machine attribute.Can defining variable virtual_fsm_flag in the present embodiment represent the state machine attribute of state machine, the value FALSE of this variable correspondence and TRUE represent the different conditions machine attribute of state machine respectively.
Particularly, this step 301 can be specially according to the incidence relation of each state machine in the distributed system manage throughout in the device create corresponding entity state machine and with the copy state machine of described entity state machine associated state machine.The state machine attribute that is indication in the present embodiment is entity state machine or copy state machine on current processor for this state machine.So-called entity state machine is meant that this state machine moves on this processor, handle accordingly by this processor, and the copy state machine is meant that this state machine does not move on this processor, do not receive and handle any incident, only the copy as its corresponding entity state machine in other processors exists.Entity state machine herein and copy state machine are for processor, and the attribute difference of identical state machine in different processing may have two kinds of different roles, therefore need create its corresponding state machine respectively at each processor.
Step 302 is handled the incident of communicating by letter between the state machine according to the state machine attribute of each described state machine.
Finish each state machine creating on the different processor state machine with state machine attribute separately and process after, this step such as intercepts and captures, transmits or directly send at corresponding the processing to the incident of being communicated by letter between each state machine according to the different conditions machine attribute of each state machine in different processor.
Present embodiment provides a kind of communication processing method of state machine, have the corresponding state machine of state machine attribute separately by managing throughout according to the incidence relation of each state machine in the distributed system to create in the device, the incident of communicating by letter between the state machine is handled accordingly according to the state machine attribute of each state machine.Present embodiment has separately by establishment, and the state machine of attribute is set to the state machine that has incidence relation in the distributed system in the processor, realization need not to change the logic of state machine in the integrated system, just the state machine in the integrated system can be transplanted in the distributed system, having solved needs in the prior art to redesign the huge defective of workload that update routine logic etc. causes, and has realized the cooperative work between the state machine in the distributed system.
Fig. 4 is the process flow diagram of the communication processing method embodiment two of state machine of the present invention, and as shown in Figure 4, present embodiment provides a kind of communication processing method of state machine, can specifically comprise the steps:
Step 401, according to the incidence relation of each state machine in the distributed system manage throughout in the device create corresponding entity state machine and with the copy state machine of described entity state machine associated state machine.
Present embodiment has proposed the notion of entity state machine and copy state machine, and then the state machine attribute of indication is meant that state machine is entity state machine or copy state machine on certain processor in the foregoing description.Be the value of above-mentioned zone bit virtual_fsm_flag when being FALSE, the state machine attribute that shows this state machine is the entity state machine, and promptly this state machine is the entity state machine in current processor; If the value of above-mentioned zone bit virtual_fsm_flag is TRUE, the state machine attribute that then shows this state machine is the copy state machine, and promptly this state machine is the copy state machine in current processor.Fig. 5 is the model structure synoptic diagram of distributed system among the communication processing method embodiment two of state machine of the present invention, is illustrated in figure 5 as model example in the distributed system of the present embodiment that makes up at the incidence relation of each state machine in the distributed system among Fig. 2.Wherein, in processor 1, creation state machine 1,2,3,4, state machine 1 is processing events in processor 1, is promoted the state-transition of state machine by incident, and state machine 2,3,4 does not all participate in computing, offer user's the just structure of state machine, therefore, state machine 1 is the entity state machine in processor 1, and state machine 2,3,4 is and state machine 1 associated state machine, and it is the copy state machine in processor 1.In processor 2, creation state machine 1 and 2, state machine 2 are the entity state machine in processor 2, and state machine 1 is associated with state machine 2, and it is the copy state machine in processor 2, and the state machine 1 in the processor 2 is called the copy of state machine 1 in the processor 1.In processor 3, creation state machine 1 and 3, state machine 3 are the entity state machine in processor 3, and state machine 1 is and state machine 3 associated state machines, and it is the copy state machine in processor 3.In processor 4, creation state machine 1 and 4, state machine 4 are the entity state machine in processor 4, and state machine 1 is and state machine 4 associated state machines, and it is the copy state machine in processor 4.This shows that entity state machine and copy state machine are for processor, the state machine attribute difference of identical state machine in different processing may have two kinds of different roles.
Step 402, whether the purpose state machine of judging the reception incident is the copy state machine in the current processor, if then execution in step 403, otherwise execution in step 404.
After the configuration of the establishment of finishing above-mentioned state machine and attribute thereof, when the event communication that carries out between each state machine, can specifically adopt the processing logic of state machine communication in the integrated system.In integrated system, with reference to above-mentioned Fig. 1, in processor 1, generation incident in state machine 1 operational process, by call incident send function with this event notice to state machine 2, promote the operation of state machine 2, then the event communication between the state machine can similar said process in the distributed system in the present embodiment.In the present embodiment, because the copy state machine that all has the entity state machine and be associated with the entity state machine in each processor, then for the user, each processor all can be an integrated system independently.Present embodiment sends function to the incident in the integrated system and makes amendment, after state machine receives incident, whether the purpose state machine of judging earlier the reception incident is the copy state machine in the current processor, whether be TRUE promptly by the zone bit virtual_fsm_flag that judges state machine, if, the entity that then shows this purpose state machine is not on current processor, and then execution in step 403, otherwise execution in step 404.Purpose state machine herein is the state machine of reception incident, and is just convenient for follow-up explanation, do not comprise other special implications.
Step 403, current processor is intercepted and captured processing to described incident, the incident of intercepting and capturing is forwarded on the processor at entity state machine place of described purpose state machine correspondence, the processor at the entity state machine place of purpose state machine correspondence sends to described incident on the entity state machine of described purpose state machine correspondence.
When the purpose state machine that receives incident is copy state machine in the current processor, the entity that shows this purpose state machine is not on current processor, then this incident is intercepted and captured processing, the incident of intercepting and capturing is sent on the processor at entity state machine place of purpose state machine correspondence, call incident by the processor at this entity state machine place again and send function this incident is sent on the entity state machine of purpose state machine correspondence.Fig. 6 is the event interception synoptic diagram among the communication processing method embodiment two of state machine of the present invention, with the state machine in the processor among Fig. 61 and 21 with 2 to communicate by letter be that example describes, in processor 1, when state machine 1 produces incident in operational process, give state machine 2 with this event notice.And through judging, the state machine 2 in the processor 1 is the copy state machine, then this incident is intercepted and captured processing, and this incident is sent to earlier on the communication module in the processor 1.Present embodiment can be transmitted by the communication module and the incident of carrying out of the communication module in the processor 2 that are arranged in the processor 1.Particularly, the communication module in the processor 1 is by the data channel between processor 1 and the processor 2, this incident is forwarded on the processor 2 at entity state machine place of state machine 2 correspondences, can be forwarded to earlier on the communication module in the processor 2.After processor 2 received this incident, the incident of calling sent function, gives entity state machine 2 with this event notice.Because state machine 2 is the entity state machine on processor 2, then this incident can not intercepted and not captured, and directly transfers to state machine 2 and handles.In like manner, if the state machine 2 in the processor 2 to state machine 1 transmission incident, then adopts with the similar process of said process and handles, repeat no more herein.
Step 404, current processor directly send to incident on the entity state machine of purpose state machine correspondence.
When the purpose state machine that receives incident is entity state machine in the current processor, the entity that shows this purpose state machine is on current processor, the incident of directly calling again sends function this incident is sent on the entity state machine of this purpose state machine correspondence, and incident is not intercepted and captured processing.
Further, present embodiment can also may further comprise the steps:
Step 405, when the state in the processor of entity state machine at its place changed, the entity state machine changed message in the processor transmit status of processor to the copy state machine place of described entity state machine correspondence at its place.
In the present embodiment, in order to allow the difference of not perception of upper-layer user copy state machine and entity state machine, present embodiment provides state synchronized mechanism, guarantee the state consistency between copy state machine and the entity state machine, in time the state synchronized of copy state machine is arrived the state of corresponding entity state machine.Finish the processing of incident when the entity state machine, when the state in the processor at its place changes, then, in this Status Change message, can carry the status information after changing of this entity state to the processor transmit status change message at the copy state machine place of this entity state machine correspondence.Fig. 7 is the state synchronized synoptic diagram among the communication processing method embodiment two of state machine of the present invention, as shown in Figure 7, if the state machine 2 in the processor 2 is finished the processing of incident, when jumping to NextState, state machine 2 is encapsulated in its state after changing in the Status Change message and sends to the opposite end processor, promptly the processor 1 to the copy state machine place of state machine 2 sends, and can send to processor 1 by the communication module in the processor 2.
Step 406, the processor at copy state machine place carries out according to the state and the described entity state machine of Status Change message with described copy state machine synchronously.
After the processor at copy state machine place receives Status Change message, be this state after changing with the status modifier of the copy state machine of correspondence, make it state synchronized with the entity state machine according to the state after changing that wherein carries.Continuation is with reference to Fig. 7, and processor 1 is after receiving this Status Change message, and the status modifier of directly inciting somebody to action copy state machine 2 wherein is a state after changing.In like manner, if the state of state machine 1 changes in the processor 1, then equally also can be with on the copy state machine 1 of its state synchronized after changing in the processor 2.
Propose the notion that state machine realizes that communication separates with state machine in the present embodiment, promptly keep in the integrated system logic of state machine constant, the communication in the distributed system between the state machine is as new independently module.Finish above-mentioned steps, after in each processor, disposing the state machine attribute of each state machine, be equivalent to the logic of integrated system is transplanted in the distributed system, the deviser of state machine can only pay close attention to the logic of state machine itself, and needn't consider the difference of integrated system and distributed system.Promptly for each processor, state machine design person only need be concerned about the inside in the frame of broken lines, and the realization of state machine is in full accord in itself and the integrated system.For the user, all on this processor, event communication and integrated system between the state machine are similar for each related state machine, and it can not perceive the difference of distributed system and integrated system.
Present embodiment provides a kind of communication processing method of state machine, have the corresponding state machine of state machine attribute separately by managing throughout according to the incidence relation of each state machine in the distributed system to create in the device, the incident of communicating by letter between the state machine is handled accordingly according to the state machine attribute of each state machine.Present embodiment has separately by establishment, and the state machine of attribute is set to the state machine that has incidence relation in the distributed system in the processor, realization need not to change the logic of state machine in the integrated system, just the state machine in the integrated system can be transplanted in the distributed system, having solved needs to redesign the huge defective of workload that update routine logic etc. causes in the prior art, realize the cooperative work between the state machine in the distributed system at an easy rate, improved work efficiency greatly.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of programmed instruction, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 8 is the structural representation of the communication processing system embodiment one of state machine of the present invention, and as shown in Figure 8, present embodiment provides a kind of communication processing system of state machine, can specifically carry out each step among the said method embodiment one, repeats no more herein.The communication processing system of the state machine that present embodiment provides can specifically comprise creation module 801 and event processing module 802.Wherein, creation module 801 is used for managing throughout in the device to create according to the incidence relation of each state machine of distributed system to have the corresponding state machine of state machine attribute separately.Event processing module 802 is used for according to the state machine attribute of each described state machine the incident of communicating by letter between the state machine being handled.
Fig. 9 is the structural representation of the communication processing system embodiment two of state machine of the present invention, and as shown in Figure 9, present embodiment provides a kind of communication processing system of state machine, can specifically carry out each step among the said method embodiment two, repeats no more herein.Creation module 801 in the communication processing system of the state machine that present embodiment provides can specifically be used for according to the incidence relation of each state machine of distributed system manage throughout in the device create corresponding entity state machine and with the copy state machine of described entity state machine associated state machine.
Particularly, the event processing module 802 in the communication processing system of the state machine that provides of present embodiment can specifically comprise judging unit 812, intercept and capture unit 822 and transmitting element 832.Wherein, judging unit 812 is used for judging whether the purpose state machine of reception incident is the copy state machine of current processor.When intercepting and capturing the unit 822 copy state machine that to be used for when described purpose state machine be current processor, described incident is intercepted and captured processing, the incident of described intercepting and capturing is forwarded on the processor at entity state machine place of described purpose state machine correspondence, described incident is sent on the entity state machine of described purpose state machine correspondence by the processor at the entity state machine place of described purpose state machine correspondence.During entity state machine that it is current processor that transmitting element 832 is used for when described purpose state machine, directly described incident is sent to the entity state machine of described purpose state machine correspondence.
Further, the communication processing system of the state machine that provides of present embodiment can also comprise sending module 901 and synchronization module 902.Wherein, sending module 901 be used for when the entity state machine when the state of the processor at its place changes, the processor transmit status change message to the copy state machine place of described entity state machine correspondence.Synchronization module 902 is used for carrying out synchronously according to the state and the described entity state machine of described Status Change message with described copy state machine.
Particularly, in the communication processing system of the state machine that present embodiment provides, after the 822 pairs of described incidents in intercepting and capturing unit are intercepted and captured processing, the incident of described intercepting and capturing can be sent on the communication module in the described current processor, specifically the incident of described intercepting and capturing is forwarded on the processor at entity state machine place of described purpose state machine correspondence, sends on the entity state machine of described purpose state machine correspondence by the incident of the communication module in the processor at the entity state machine place of described purpose state machine correspondence again described intercepting and capturing by this communication module.
Present embodiment provides a kind of communication processing system of state machine, have the corresponding state machine of state machine attribute separately by managing throughout according to the incidence relation of each state machine in the distributed system to create in the device, the incident of communicating by letter between the state machine is handled accordingly according to the state machine attribute of each state machine.Present embodiment has separately by establishment, and the state machine of attribute is set to the state machine that has incidence relation in the distributed system in the processor, realization need not to change the logic of state machine in the integrated system, just the state machine in the integrated system can be transplanted in the distributed system, having solved needs to redesign the huge defective of workload that update routine logic etc. causes in the prior art, realize the cooperative work between the state machine in the distributed system at an easy rate, improved work efficiency greatly.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. the communication processing method of a state machine is characterized in that, comprising:
Manage throughout in the device to create according to the incidence relation of each state machine in the distributed system and have the corresponding state machine of state machine attribute separately;
State machine attribute according to each described state machine is handled the incident of communicating by letter between the state machine.
2. method according to claim 1 is characterized in that, described incidence relation according to each state machine in the distributed system is managed in the device to create throughout has separately that the corresponding state machine of state machine attribute comprises:
According to the incidence relation of each state machine in the distributed system manage throughout in the device create corresponding entity state machine and with the copy state machine of described entity state machine associated state machine.
3. method according to claim 2 is characterized in that, described state machine attribute according to each described state machine is handled the incident of communicating by letter between the state machine and comprised:
Whether the purpose state machine of judging the reception incident is the copy state machine in the current processor;
When described purpose state machine is copy state machine in the current processor, described incident is intercepted and captured processing, the incident of described intercepting and capturing is forwarded on the processor at entity state machine place of described purpose state machine correspondence, described incident is sent on the entity state machine of described purpose state machine correspondence by the processor at the entity state machine place of described purpose state machine correspondence;
When described purpose state machine is entity state machine in the current processor, directly described incident is sent on the entity state machine of described purpose state machine correspondence.
4. method according to claim 2 is characterized in that, also comprises:
When the state in the processor of entity state machine at its place changes, the processor transmit status change message to the copy state machine place of described entity state machine correspondence;
Carry out synchronously according to the state and the described entity state machine of described Status Change message described copy state machine.
5. the communication processing system of a state machine is characterized in that, comprising:
Creation module is used for managing throughout in the device to create according to the incidence relation of each state machine of distributed system to have the corresponding state machine of state machine attribute separately;
Event processing module is used for according to the state machine attribute of each described state machine the incident of communicating by letter between the state machine being handled.
6. system according to claim 5, it is characterized in that, described creation module specifically be used for according to the incidence relation of each state machine of distributed system manage throughout in the device create corresponding entity state machine and with the copy state machine of described entity state machine associated state machine.
7. system according to claim 6 is characterized in that, described event processing module comprises:
Judging unit is used for judging whether the purpose state machine of reception incident is the copy state machine of current processor;
Intercept and capture the unit, during copy state machine that to be used for when described purpose state machine be current processor, described incident is intercepted and captured processing, the incident of described intercepting and capturing is forwarded on the processor at entity state machine place of described purpose state machine correspondence, described incident is sent on the entity state machine of described purpose state machine correspondence by the processor at the entity state machine place of described purpose state machine correspondence;
When transmitting element, entity state machine that to be used for when described purpose state machine be current processor, directly described incident is sent on the entity state machine of described purpose state machine correspondence.
8. system according to claim 6 is characterized in that, also comprises:
Sending module, be used for when the entity state machine when the state of the processor at its place changes, the processor transmit status change message to the copy state machine place of described entity state machine correspondence;
Synchronization module is used for carrying out synchronously according to the state and the described entity state machine of described Status Change message with described copy state machine.
CN 201010532012 2010-10-29 2010-10-29 Communication processing method and system of state machines Pending CN102004715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010532012 CN102004715A (en) 2010-10-29 2010-10-29 Communication processing method and system of state machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010532012 CN102004715A (en) 2010-10-29 2010-10-29 Communication processing method and system of state machines

Publications (1)

Publication Number Publication Date
CN102004715A true CN102004715A (en) 2011-04-06

Family

ID=43812087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010532012 Pending CN102004715A (en) 2010-10-29 2010-10-29 Communication processing method and system of state machines

Country Status (1)

Country Link
CN (1) CN102004715A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726015A (en) * 2018-12-19 2019-05-07 福建天泉教育科技有限公司 A kind of multiterminal drawing board synchronous method and terminal based on state machine
CN112162798A (en) * 2020-09-17 2021-01-01 中国建设银行股份有限公司 State machine execution method, system, device, computer equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188765A1 (en) * 2001-03-26 2002-12-12 Fong Liana Liyow System and method for dynamic self-determining asynchronous event-driven computation
CN1714342A (en) * 2002-11-20 2005-12-28 诺基亚公司 Concurrent operation of a state machine family
CN1967486A (en) * 2005-11-15 2007-05-23 国际商业机器公司 Method and system for accelerating process in a processing environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020188765A1 (en) * 2001-03-26 2002-12-12 Fong Liana Liyow System and method for dynamic self-determining asynchronous event-driven computation
CN1714342A (en) * 2002-11-20 2005-12-28 诺基亚公司 Concurrent operation of a state machine family
CN1967486A (en) * 2005-11-15 2007-05-23 国际商业机器公司 Method and system for accelerating process in a processing environment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109726015A (en) * 2018-12-19 2019-05-07 福建天泉教育科技有限公司 A kind of multiterminal drawing board synchronous method and terminal based on state machine
CN109726015B (en) * 2018-12-19 2021-05-04 福建天泉教育科技有限公司 Multi-end drawing board synchronization method based on state machine and terminal
CN112162798A (en) * 2020-09-17 2021-01-01 中国建设银行股份有限公司 State machine execution method, system, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109451072A (en) A kind of message caching system and method based on Kafka
CN101887388B (en) Data backup system and method based on memory database
CN101917394B (en) Middleware system for sharing data in mobile phone equipment and working method
CN110113406B (en) Distributed computing service cluster system
CN108390950A (en) A kind of information push method, device and equipment
WO2021088641A1 (en) Data transmission method, data processing method, data reception method and device, and storage medium
CN102467411A (en) Workflow processing and workflow agent method, device and system
CN109274747A (en) Market gateway system and its processing method
WO2020258666A1 (en) Distributed system and data processing method
CN111314212B (en) API gateway based on Netty and plug-in mechanism and control method
CN102143563A (en) Control method, equipment and systems of short message center cluster
CN112416969B (en) Parallel task scheduling system in distributed database
CN105760260A (en) Backup system and backup method
CN1973282A (en) System and method for managing a change to a cluster configuration
CN113938516A (en) Method and system for synchronously realizing transaction processing of heterogeneous system
CN103731328B (en) System and method based on Linux Sharing Memory Realization home gateway data communication
CN107454171A (en) Message service system and its implementation
CN100357889C (en) Method for managing long-distance structural components service cycle with class as unit
CN104219175A (en) Data exchanging and service invocation system and data exchanging and service invocation method
CN102004715A (en) Communication processing method and system of state machines
CN102984739A (en) Breakdown information processing method and processing device
CN102571412B (en) Target machine server of embedded distributed system
CN108337285B (en) Communication system and communication method
CN106571943A (en) Distributed-type configuration cluster capacity-expanding method and device
CN112463167B (en) Bank account dynamic account notification service system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into 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: 20110406