CN103475497B - A kind of flow control method of finite-state automata and system - Google Patents

A kind of flow control method of finite-state automata and system Download PDF

Info

Publication number
CN103475497B
CN103475497B CN201310412504.XA CN201310412504A CN103475497B CN 103475497 B CN103475497 B CN 103475497B CN 201310412504 A CN201310412504 A CN 201310412504A CN 103475497 B CN103475497 B CN 103475497B
Authority
CN
China
Prior art keywords
module
control module
request
reserved
user
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.)
Active
Application number
CN201310412504.XA
Other languages
Chinese (zh)
Other versions
CN103475497A (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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech Information 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201310412504.XA priority Critical patent/CN103475497B/en
Publication of CN103475497A publication Critical patent/CN103475497A/en
Application granted granted Critical
Publication of CN103475497B publication Critical patent/CN103475497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of flow control method of finite-state automata, the key message of the process control system of finite-state automata recording user session or event in memory database, in information, comprise the current treatment state of current session or event, each module request processing thread works alone, receive at processing threads after the processing request or result of each module, carry out this business in memory database and use reading and analyzing of information, judge current treatment state, and next step handling process, process again the encapsulation of request message and send to next step treatment system. the method of the invention is by customizing different state values to the input and output of system modules, processing threads is undertaken then upgrading instant session status after analyzing and processing by the immediate status to when pre-treatment session, and then the flow scheduling control of realization to whole system, at the bottom of the each module coupling degree of described tupe, the function of intermodule is well defined, and complexity is low.

Description

A kind of flow control method of finite-state automata and system
Technical field
The flow control method and the system that the present invention relates to a kind of finite-state automata, belong to the communication technologyField.
Background technology
Current charge system mostly adopts the tupe of serial; The charging tupe of this serial,Each module coupling degree is high, and intermodule function delimited indefinite, and complexity is high;
User uses session request/mono-event request of business to start to carry out from entering charge systemMessage parse, calculation expense, preferential, fee, the handling process of the serials such as in detail single output, a moduleThe output of processing based on previous module; Tupe is single, and this serial process mode confinementThe exception handling of system; The imperfection of exception handling is large on the processing impact of whole system, veryTo causing system cannot continue operation.
Summary of the invention
Technical problem to be solved by this invention is,, intermodule high for the each module coupling degree of prior artFunction is divided the deficiency indefinite, complexity is high, provides a kind of by the instant shape to when pre-treatment sessionState carries out then upgrading instant session status after analyzing and processing, and then the flow scheduling of degree of realization whole systemThe flow control method of the finite-state automata of controlling.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of flow process of finite-state automataControl method, specifically comprises the following steps:
Step 1: act on behalf of adapter and initiate DCC message initial request to control module;
Step 2: control module is initiated user's account week to the life cycle management module being normally connected with itPhase inquiry request;
Step 3: life cycle management module is to control module feedback message, and control module judges Life CycleWhether the state of period management module feedback is normal, if so, carry out step 4; Otherwise, by corresponding shapeState feeds back to acts on behalf of adapter;
Step 4: control module is initiated the request of application rate to computing engines module, and receives computing enginesThe user profile that module is returned and corresponding rate information;
Step 5: control module judges according to user profile whether user activates, as activated, walksRapid 6; Otherwise, apply for activating and process, finish;
Step 6: control module is to processing reserved module promotion expenses reservation request;
Step 7: judge whether the reservation request that the reserved module of processing is returned is reserved successfully; As reserve successfully,Carry out step 8; Otherwise control module sends reserved failed rollback request to reservation management module, finishes;
Step 8: control module is initiated user to reservation management module and submitted request to;
Step 9: judge that the message user that reservation management module feeds back to control module submits to request whether to holdGo successfully, if so, carry out step 10; Otherwise, control module by session management do reserved rollback andWritten document, finishes;
Step 10: control module is initiated spanned file request to detailed single administration module;
Step 11: judge that control module receives message that detailed single administration module returns whether for successfully, asFruit is carry out step 12; Otherwise control module, by session management written document, finishes;
Step 12: control module is deleted this request message and solid expense request related news, finishes.
The invention has the beneficial effects as follows: the method for the invention is by the input and output to system modulesCustomize different state values, processing threads is by carrying out analyzing and processing to the immediate status when pre-treatment sessionAfter then upgrade instant session status, and then realize flow scheduling control to whole system, institute of the present inventionAt the bottom of stating the each module coupling degree of tupe, the function of intermodule is well defined, and complexity is low.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described step 2 specifically comprises the following steps:
Step 2.1: judge whether control module is normally connected with life cycle management module, if normalConnect, carry out step 2.2; Otherwise control module acquiescence is returned to request to act on behalf of adapter;
Step 2.2: control module is initiated the request of user's account cyclic polling to life cycle management module.
Further, if judge user's un-activation in described step 5, apply for activating and process, concreteComprise the following steps:
Step 5.1: control module sends activation request to life cycle management module;
Step 5.2: whether what judge that life cycle management module turns back to control module is that user activates intoMerit information, if activate successfully, carry out step 5.3; Otherwise control module is returned to acting on behalf of adapterReturn the failed rollback request that activates;
Step 5.3: control module initiates to calculate solid expense request to the solid computing module that takes, admittedly take computing moduleProcess request, after calculating, return to control module.
Further, described step 8 control module is being submitted the same of request to reservation management module initiation userTime, control module is initiated requested fee reservation request to processing reserved module; Step 8 specifically comprises followingStep:
Step 8.1: control module is being submitted request to reservation management module initiation user;
Step 8.2: control module is initiated requested fee reservation request to processing reserved module;
Step 8.3: control module receives to be processed after the reserved successful information of reserved module, control moduleTo acting on behalf of the reserved successful information of adapter feedback, and jump to step 1.
By the newly-built control module of mode of finite-state automata; Control system based on3gpp-Diameter protocol message carries out scheduling controlling and the transmission of messages between each system;
The process control system of finite-state automata is recording user session or event in memory databaseKey message, in information, comprise the current treatment state of current session or event, each module request processingThread works alone, and receives after the processing request or result of each module, in carrying out at processing threadsIn deposit data storehouse, this business used reading and analyzing of information, judges current treatment state, and next stepHandling process, then process the encapsulation of request message and send to next step treatment system.
Another object of the present invention is, high for the each module coupling degree of prior art for prior art,Intermodule function is divided indefinite, deficiency that complexity is high, provides a kind of by when pre-treatment sessionImmediate status carries out then upgrading instant session status after analyzing and processing, and then the stream of degree of realization whole systemThe process control system of the finite-state automata of journey scheduling controlling.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of flow process of finite-state automataControl system, comprise act on behalf of adapter, control module, life cycle management module, computing engines module,Process reserved module, reservation management module and detailed single administration module;
The described adapter of acting on behalf of is for initiating DCC message initial request to control module;
Described control module is initiated user's account cycle to the life cycle management module being normally connected with itInquiry request; Control module judges whether user activates, unactivated, applies for activating; SharpLive, control module is initiated requested fee reservation request to processing reserved module;
Described life cycle management module is to control module feedback message, and control module judges life cycle pipeWhether the state of reason module feedback is normal, undesired, and corresponding states is fed back to and acts on behalf of adapter;
Described computing engines module receives the request rate request that control module is initiated, and feedback user informationWith corresponding rate information to control module;
The reserved module of described processing is for reservation request application; As reserve unsuccessfully, control module is to provided pipeReason module sends reserved failed rollback request; As reserve successfully, control module is initiated to reservation management moduleUser submits request to;
The reservation request that described reservation management module sends for receiving control module, and feed back to control mouldWhether the message of piece is to reserve successfully, as reserve unsuccessfully, and control module is done reserved rollback by session managementAnd written document; If reserved successfully, control module is initiated spanned file request to detailed single administration module;
Described detailed single administration module receives the spanned file request that control module is initiated, and anti-to control moduleWhether feedback asks successfully, if failure, control module is by session management written document; Control module is deletedThis time request message and the solid request related news that take, finish.
The invention has the beneficial effects as follows: system of the present invention is by the input and output to system modulesCustomize different state values, processing threads is by carrying out analyzing and processing to the immediate status when pre-treatment sessionAfter then upgrade instant session status, and then realize flow scheduling control to whole system, institute of the present inventionAt the bottom of stating the each module coupling degree of tupe, the function of intermodule is well defined, and complexity is low.
On the basis of technique scheme, the present invention can also do following improvement.
Further, whether just described control module also judges and control module and life cycle management moduleNormal connection, if normally do not connected, control module acquiescence is returned to request to act on behalf of adapter; If normalConnect, control module is initiated the request of user's account cyclic polling to life cycle management module.
Further, also comprise solid expense computing module, if described control module judges user's un-activation, controlMolding piece sends activation request to life cycle management module; Judge that life cycle management module turns back to controlMolding piece whether be that user activates successful information, if activated unsuccessfully, control module is to acting on behalf of adapterReturn to the failed rollback request that activates; If activate successfully, control module is initiated meter to the solid computing module that takesCalculate admittedly and take request, process request admittedly take computing module, after calculating, return to control module.
Further, described control module, in submitting request to reservation management module initiation user, is controlledMolding piece is initiated requested fee reservation request to processing reserved module; Control module receives to process and reservesAfter the reserved successful information of module, control module is to acting on behalf of the reserved successful information of adapter feedback, under waitInferiorly act on behalf of adapter request.
Brief description of the drawings
Fig. 1 is the flow control method of a kind of finite-state automata described in the specific embodiment of the invention 1Flow chart;
Fig. 2 is the process control system of a kind of finite-state automata described in the specific embodiment of the invention 2Structured flowchart;
Fig. 3 is the flow control method of a kind of finite-state automata described in the specific embodiment of the invention 3Status Change sequential chart.
In accompanying drawing, the list of parts of each label representative is as follows:
1, act on behalf of adapter, 2, control module, 3, life cycle management module, 4, computing engines mouldPiece, 5, process reserved module, 6, reservation management module, 7, detailed single administration module, 8, the solid calculating mould that takePiece.
Detailed description of the invention
Below in conjunction with accompanying drawing, principle of the present invention and feature are described, example is only for explaining thisInvention, is not intended to limit scope of the present invention.
As shown in Figure 1, the flow process control of a kind of finite-state automata described in the specific embodiment of the invention 1Method processed, specifically comprises the following steps:
Step 1: act on behalf of adapter and initiate DCC message initial request to control module;
Step 2.1: judge whether control module is normally connected with life cycle management module, if normalConnect, carry out step 3; Otherwise control module acquiescence is returned to request to act on behalf of adapter;
Step 3: control module is initiated the request of user's account cyclic polling to life cycle management module.
Step 4: life cycle management module is to control module feedback message, and control module judges Life CycleWhether the state of period management module feedback is normal, if so, carry out step 5; Otherwise, by corresponding shapeState feeds back to acts on behalf of adapter;
Step 5: control module is initiated the request of application rate to computing engines module, and receives computing enginesThe user profile that module is returned and corresponding rate information;
Step 6: control module judges according to user profile whether user activates, as activated, walksRapid 7; Otherwise, apply for activating and process, finish;
Step 7: control module is to processing reserved module promotion expenses reservation request;
Step 8: judge whether the reservation request that the reserved module of processing is returned is reserved successfully; As reserve successfully,Carry out step 9; Otherwise control module sends reserved failed rollback request to reservation management module, finishes;
Step 9: control module is initiated user to reservation management module and submitted request to;
Step 10: judge that the message user that reservation management module feeds back to control module submits to request whether to holdGo successfully, if so, carry out step 11; Otherwise, control module by session management do reserved rollback andWritten document, finishes;
Step 11: control module is initiated spanned file request to detailed single administration module;
Step 12: judge that control module receives message that detailed single administration module returns whether for successfully, asFruit is carry out step 13; Otherwise control module, by session management written document, finishes;
Step 13: control module is deleted this request message and solid expense request related news, finishes.
If judge user's un-activation in described step 6, apply for activating and process, specifically comprise followingStep:
Step 6.1: control module sends activation request to life cycle management module;
Step 6.2: whether what judge that life cycle management module turns back to control module is that user activates intoMerit information, if activate successfully, carry out step 5.3; Otherwise control module is returned to acting on behalf of adapterReturn the failed rollback request that activates;
Step 6.3: control module initiates to calculate solid expense request to the solid computing module that takes, admittedly take computing moduleProcess request, after calculating, return to control module.
Described step 9 control module, in submitting request to reservation management module initiation user, is controlledModule is initiated requested fee reservation request to processing reserved module; Step 9 specifically comprises the following steps:
Step 9.1: control module is being submitted request to reservation management module initiation user;
Step 9.2: control module is initiated requested fee reservation request to processing reserved module;
Step 9.3: control module receives to be processed after the reserved successful information of reserved module, control moduleTo acting on behalf of the reserved successful information of adapter feedback, and jump to step 1.
As shown in Figure 2, the flow process control of a kind of finite-state automata described in the specific embodiment of the invention 2System processed, comprises and acts on behalf of adapter 1, control module 2, life cycle management module 3, computing engines mouldPiece 4, processing reserved module 5, reservation management module 6 and detailed single administration module 7;
The described adapter 1 of acting on behalf of is for initiating DCC message initial request to control module 2;
Described control module 2 is initiated user's account week to the life cycle management module 3 being normally connected with itPhase inquiry request; Control module 2 judges whether user activates, unactivated, applies for activating;Activated, control module 2 is initiated requested fee reservation request to processing reserved module 5;
Described life cycle management module 3 is to control module 2 feedback messages, and control module 2 judges lifeWhether the state that cycle management module 3 is fed back is normal, undesired, corresponding states is fed back to agency suitableOrchestration 1;
Described computing engines module 4 receives the request rate request that control module 2 is initiated, and feedback userInformation and corresponding rate information are to control module 2;
The reserved module 5 of described processing is for reservation request application; As reserve unsuccessfully, control module 2 is in advanceStay administration module 6 to send reserved failed rollback request; As reserve successfully, control module 2 is to reservation managementModule 6 is initiated user and is submitted request to;
The reservation request that described reservation management module 6 sends for receiving control module 2, and feed back to controlWhether the message of molding piece 2 is to reserve successfully, as reserve unsuccessfully, and control module 2 is done by session managementReserved rollback and the lower solid list in detail that takes; If reserved successfully, control module 2 is initiated to detailed single administration module 7The lower solid single request in detail that takes;
Described detailed single administration module 7 receives lower solid expense single request in detail that control module 2 is initiated, and to controlModule 2 is fed back the solid expense single success in detail that whether falls, if failure, control module 2 falls solid by session managementTake detailed monofile; If success, deletes this session identification and solid expense request associated session, finish.
Whether described control module 2 also judges and control module 2 normal with life cycle management module 3Connect, if normally do not connected, control module 2 is given tacit consent to request is returned and acted on behalf of adapter 1; If justNormal connection, control module is initiated the request of user's account cyclic polling to life cycle management module 3.
Also comprise solid expense computing module 8, if described control module 1 judges user's un-activation, control mouldPiece 1 sends activation request to life cycle management module 3; Judge that life cycle management module 3 turns back toControl module 2 whether be that user activates successful information, if activated unsuccessfully, control module 2 is to agencyAdapter 1 returns to the failed rollback request that activates; If activate successfully, control module 2 is taken calculating to solidModule 8 is initiated to calculate admittedly and is taken request, processes request admittedly take computing module 8, returns to control module after calculating2。
Described control module 2 is initiating in user submits request to, to control mould to reservation management module 6Piece 2 is initiated requested fee reservation request to processing reserved module 5; Control module 2 receives to process and reservesAfter the reserved successful information of module 5, control module 2 is reserved successful information to acting on behalf of adapter 1 feedback,Waiting for next time acts on behalf of adapter 1 and asks.
As shown in Figure 3, flow process control has defined a state to each event, triggers shape by eventThe change of state:
The session status of definition:
Session status Session status value Reply state implication
WAIT_AM_USER_STATUS_CCA “0” Return to subscriber lifecycle state Deng AM
WAIT_ABM_ROLLBACK_CCA “9” Return to rollback CCA state Deng ABM
WAIT_ABM_GETBACK_CCA “10” Return to extra money CCA state Deng ABM
WAIT_ABM_COMMIT_CCA “5” Return to Deng ABM the CCA state of submitting to
WAIT_ACCOUNT_RESERVE_CCA “4” Return to reservation request CCA state Deng AC
WAIT_AM_ACTIVE_CCA “1” Return to Deng AM the CCA state that activates
WAIT_RF_RATE_CCA “2” Return to Deng RF the rate CCA state of calculating
WAIT_RF_BILLING_CCA “3” Return to calculation expense CCA state Deng RF
WAIT_PA_NEXT_CCR “8” Deng the next CCR solicited status of PA
WAIT_FIX_RATE_CCA “6” Admittedly take message status Deng calculation
NEED_WRITE_RATE_FILE “11” Deng landing ticket under session management
NEED_WRITE_FIX_FILE “12” Deng writing solid expense file
NEED_WRITE_GETBACK_FILE “13” Deng extra money file under session management
NEED_ROLLBACK_OPR “14” Do rolling back action Deng session management
NEED_COMMIT_OPR “15” Do submit operation Deng session management
WAIT_CGF_WRITEOFF_CCA “20” Return to lower detailed single CCA state Deng CGF
NEED_WRITE_FILE_WRITEOFF “21” Fall single in detail Deng session management
VF_CALL_TYPE_02 “22” The called ticket state of call forwarding
FIX_WAIT_ACCOUNT_RESERVE_CCA “7” Return to the reserved CCA state of solid expense Deng AC
NEED_DEFAULT_CCA_ORP “16” 10 return after acquiescence CCA, wait next CCR state
The definition of table 1. session status
Realization flow
As shown in Figure 3, be the flow process of a kind of finite-state automata described in the specific embodiment of the invention 3Control method Status Change sequential chart, implementation is as follows:
1, act on behalf of adapter system (PA) and initiate DCC message initial request to control system (CF),First CF initiates user's account cyclic polling to life cycle management system (AM), and now session shape is setState is: WAIT_AM_USER_STATUS_CCA waits for that AM returns. If CF is connected with AM extremely,Acquiescence returns to PA. Juxtaposition session status is NEED_DEFAULT_CCA_ORP. The session of subsequent requestThe request that the session status that is identified to data base querying is NEED_DEFAULT_CCA_ORP, directly returnsReturn to PA, not mutual with follow-up system.
2, CF receives after AM performance message, according to the session identification of AM return messages in data roadInquire about corresponding session information, if state is WAIT_AM_USER_STATUS_CCA, processing shouldAsk. The result of returning according to AM determines whether need to ask to computing engines system (RF). AM returnsReuse state is abnormal, directly returns to PA, and return code is corresponding status information; Otherwise AM returnsReturn User Status normal, CF initiates the request of request rate to RF, and juxtaposition session status is:WAIT_RF_RATE_CCA。
3, CF receive session identification that RF returns to data base querying to session status beWAIT_RF_RATE_CCA, continues to process this request, otherwise filters this time request. RF returns to user to be hadDetermine ordering information but and return to corresponding rate information, CF judges whether user is excited users, notThe user who activates needs to activate. If user is for activating, CF initiates activation request to AM, puts session statusFor WAIT_AM_ACTIVE_CCA.
4, CF receives after the activation request return messages of AM initiation, obtains number according to request markBe denoted as WAIT_AM_ACTIVE_CCA according to the session status in storehouse and process, do not process otherwise filter.AM returns to user and activates success message, and CF need to initiate to calculate solid to constant expense computing system (FIX)Take request, juxtaposition session status is: WAIT_FIX_RATE_CCA. If the User Status that AM returns isActivate unsuccessfully, CF returns to request for to activate unsuccessfully to PA, and juxtaposition session status is:WAIT_ABM_ROLLBACK_CCA. If AM returns to User Status for activating, CF is to provided pipeReason system (AC) is initiated requested fee reservation request, puts session status and is:WAIT_ACCOUNT_RESERVE_CCA。
5, CF receives the message that FIX returns, if according to the session identification returning in databaseThe session status inquiring is normal process of WAIT_FIX_RATE_CCA, otherwise filters this time request.Reserve unsuccessfully if AC returns, CF returns to PADCC message user and reserves unsuccessfully, simultaneously CF toABM initiates reserved failed rollback request, session status is set and is: WAIT_ABM_ROLLBACK_CCA. AsReally, AC returns and reserves successfully, and CF initiates user to reservation management system (ABM) and submits request to, establishesPutting session status is: WAIT_ABM_COMMIT_CCA. It is pre-that while CF initiates this session request to ACStay the amount of money, juxtaposition session status is: WAIT_ACCOUNT_RESERVE_CCA.
6, CF receives after ABM return messages, arrives data according to CF according to the session identification returningLibrary inquiry User Status is WAIT_ABM_COMMIT_CCA, continues to process this request otherwise filters this timeRequest. CF receives after the reserved submission of ABM success message, and CF asks to the lower solid list in detail that takes of CGF initiationAsk, putting session status is WAIT_CGF_WRITEOFF_CCA.
If ABM returns to reserved failure information, putting session status is NEED_WRITE_RATE_FILE,Do reserved can rolling and lower solid expense list in detail by session management.
CF receives after the information that AC returns, according to the session identification returning to data base querying user shapeState is WAIT_ACCOUNT_RESERVE_CCA, continues to process otherwise this time asks to filter and do not process.CF receives AC and reserves successfully and to return to PA user after request and reserve successfully, puts session status and isWAIT_PA_NEXT_CCR, waits for next PA request.
7, CF receives after the message that detailed single management system (CGF) returns, according to the session of returningBeing identified to inquiring user state in database is that WAIT_CGF_WRITEOFF_CCA continues to process, otherwiseDo filtration treatment. CF receives the solid expense single success in detail that falls if of message that CGF returns, deletes this timeSession identification and the solid request associated session that takes. If CGF falls single failed in detail, put session status and be:NEED_WRITE_FILE_WRITEOFF, falls to admittedly taking detailed monofile by session management with CF.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, not all in the present inventionSpirit and principle within, any amendment of doing, be equal to replacement, improvement etc., all should be included in thisWithin bright protection domain.

Claims (8)

1. a flow control method for finite-state automata, is characterized in that, specifically comprises followingStep:
Step 1: act on behalf of adapter and initiate DCC message initial request to control module;
Step 2: control module is initiated user's account week to the life cycle management module being normally connected with itPhase inquiry request;
Step 3: life cycle management module is to control module feedback message, and control module judges Life CycleWhether the state of period management module feedback is normal, if so, carry out step 4; Otherwise, by corresponding shapeState feeds back to acts on behalf of adapter;
Step 4: control module is initiated the request of application rate to computing engines module, and receives computing enginesThe user profile that module is returned and corresponding rate information;
Step 5: control module judges according to user profile whether user activates, as activated, walksRapid 6; Otherwise, apply for activating and process, finish;
Step 6: control module is to processing reserved module promotion expenses reservation request;
Step 7: judge and process message that reserved module returns whether for successfully; As reserve successfully, carry outStep 8; Otherwise control module sends reserved failed rollback request to reservation management module, finishes;
Step 8: control module is initiated user to reservation management module and submitted request to;
Step 9: judge that message that reservation management module feeds back to control module is whether for successfully, if so,Carry out step 10; Otherwise control module is done reserved rollback and written document by session management, finishes;
Step 10: control module is initiated spanned file request to detailed single administration module;
Step 11: judge that control module receives message that detailed single administration module returns whether for successfully, asFruit is carry out step 12; Otherwise control module, by session management written document, finishes;
Step 12: control module is deleted this request message, finishes.
2. the flow control method of a kind of finite-state automata according to claim 1, its featureBe, described step 2 specifically comprises the following steps:
Step 2.1: judge whether control module is normally connected with life cycle management module, if normalConnect, carry out step 2.2; Otherwise control module acquiescence is returned to request to act on behalf of adapter;
Step 2.2: control module is initiated the request of user's account cyclic polling to life cycle management module.
3. the flow control method of a kind of finite-state automata according to claim 2, its featureBe, if judge user's un-activation in described step 5, apply for activate process, specifically comprise withLower step:
Step 5.1: control module sends activation request to life cycle management module;
Step 5.2: whether what judge that life cycle management module turns back to control module is that user activates intoMerit information, if activate successfully, carry out step 5.3; Otherwise control module is returned to acting on behalf of adapterReturn the failed rollback request that activates, finish;
Step 5.3: control module initiates to calculate solid expense request to the solid computing module that takes, admittedly take computing moduleProcess request, after calculating, return to control module and finish.
4. according to the flow process controlling party of a kind of finite-state automata described in claim 1-3 any oneMethod, is characterized in that, described step 8 control module is being submitted request to reservation management module initiation userTime, control module is initiated requested fee reservation request to processing reserved module; Control module receivesProcess after the reserved successful information of reserved module, control module is reserved successfully letter to acting on behalf of adapter feedbackBreath, and jump to step 1.
5. a process control system for finite-state automata, comprise act on behalf of adapter, control module,Life cycle management module, computing engines module, the reserved module of processing, reservation management module and detailed single tubeReason module;
The described adapter of acting on behalf of is for initiating DCC message initial request to control module;
Described control module is initiated user's account cycle to the life cycle management module being normally connected with itInquiry request; Control module judges whether user activates, unactivated, applies for activating; SharpLive, control module is initiated requested fee reservation request to processing reserved module;
Described life cycle management module is to control module feedback message, and control module judges life cycle pipeWhether the state of reason module feedback is normal, undesired, and corresponding states is fed back to and acts on behalf of adapter;
Described computing engines module receives the request rate request that control module is initiated, and feedback user informationWith corresponding rate information to control module;
The reserved module of described processing is for reservation request application; As reserve unsuccessfully, control module is to provided pipeReason module sends reserved failed rollback request; As reserve successfully, control module is initiated to reservation management moduleUser submits request to;
Described reservation management module is submitted request to for the user who receives control module transmission, and to controlling mouldWhether piece feedback asks successfully, and as failure, control module is done reserved rollback and written document by session management;If success, control module is initiated spanned file request to detailed single administration module;
Described detailed single administration module receives the spanned file request that control module is initiated, and anti-to control moduleWhether feedback asks successfully, if failure, control module is by session management written document; If success, controlMolding block delete is request message this time, finishes.
6. the process control system of a kind of finite-state automata according to claim 5, its featureBe, described control module also judges and control module and whether life cycle management module normally connectsConnect, if normally do not connected, control module acquiescence is returned to request to act on behalf of adapter; If normally connected,Control module is initiated the request of user's account cyclic polling to life cycle management module.
7. the process control system of a kind of finite-state automata according to claim 6, its featureBe, also comprise solid expense computing module, if described control module judges user's un-activation, control moduleSend activation request to life cycle management module; Judge that life cycle management module turns back to control moduleWhether be that user activates successful information, if activated unsuccessfully, control module is returned sharp to acting on behalf of adapterFailed rollback request alive; If activate successfully, control module initiates to calculate solid expense to the solid computing module that takesRequest, processes request admittedly take computing module, returns to control module after calculating.
8. according to the flow process control system of a kind of finite-state automata described in claim 5-7 any oneSystem, is characterized in that, described control module is initiating to reservation management module in user submits request to,Control module is initiated requested fee reservation request to processing reserved module; Control module receives to be processed in advanceStay after the reserved successful information of module, control module, to acting on behalf of the reserved successful information of adapter feedback, is waited forAct on behalf of adapter request next time.
CN201310412504.XA 2013-09-11 2013-09-11 A kind of flow control method of finite-state automata and system Active CN103475497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310412504.XA CN103475497B (en) 2013-09-11 2013-09-11 A kind of flow control method of finite-state automata and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310412504.XA CN103475497B (en) 2013-09-11 2013-09-11 A kind of flow control method of finite-state automata and system

Publications (2)

Publication Number Publication Date
CN103475497A CN103475497A (en) 2013-12-25
CN103475497B true CN103475497B (en) 2016-06-15

Family

ID=49800209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310412504.XA Active CN103475497B (en) 2013-09-11 2013-09-11 A kind of flow control method of finite-state automata and system

Country Status (1)

Country Link
CN (1) CN103475497B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137379A (en) * 2011-03-02 2011-07-27 华为技术有限公司 Method and device for controlling charging flow
CN102149066A (en) * 2010-02-08 2011-08-10 华为技术有限公司 Charging adjustment method and device as well as charging system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7624436B2 (en) * 2005-06-30 2009-11-24 Intel Corporation Multi-pattern packet content inspection mechanisms employing tagged values

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102149066A (en) * 2010-02-08 2011-08-10 华为技术有限公司 Charging adjustment method and device as well as charging system
CN102137379A (en) * 2011-03-02 2011-07-27 华为技术有限公司 Method and device for controlling charging flow

Also Published As

Publication number Publication date
CN103475497A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN101132289B (en) Integrated billing method, billing system, application server and integrated billing system
CN103136276A (en) System, method and device of verification of data
CN107194810A (en) Asset allocation system and method
WO2019019447A1 (en) Annuity data processing method and device, server and storage medium
WO2020042878A1 (en) Calendar event reminder interaction method and system for smart terminal, and smart terminal
CN103475496B (en) A kind of guarantee conforming method and system of multi-node service
CN103475497B (en) A kind of flow control method of finite-state automata and system
CN113112344A (en) Business processing method, device, storage medium and computer program product
CN101616393B (en) Method, system and device for setting rechargeable card
CN101431744B (en) Method for asynchronous payment arrival of mobile phone account
CN110428294A (en) Parking lot electronic invoice method for pushing, server and storage medium
CN109523231A (en) A kind of water resource tax information management system
CN115208834A (en) Service flow limiting method based on database storage process design
CN101183957B (en) Online charging method, system and equipment
CN112070471B (en) Subscription information processing method and device, electronic equipment and storage medium
CN112651685A (en) Automatic replenishment method and system for value-added tax electronic invoice
US20230306423A1 (en) Apparatuses and methods for immediate payment response
CN111325599A (en) Order data processing method, device, equipment and storage medium
CN117437076B (en) Account checking method, device, equipment and medium based on account checking code
CN111161048B (en) Application method and device for automatic posting of fund collection
CA2993249C (en) Method and system for changing certificate issuing bank of electronic certificate
CN113919835A (en) Business processing method, device, storage medium and computer program product
CN106155816A (en) The mutual exclusion processing method and processing device of task
CN117455471A (en) Comprehensive management method and system for full life cycle on bank collection and payment service line
CN111429125A (en) Account management method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant