CN103745540B - Banking state machine automated processing system and information state automatic switching method - Google Patents
Banking state machine automated processing system and information state automatic switching method Download PDFInfo
- Publication number
- CN103745540B CN103745540B CN201410020542.5A CN201410020542A CN103745540B CN 103745540 B CN103745540 B CN 103745540B CN 201410020542 A CN201410020542 A CN 201410020542A CN 103745540 B CN103745540 B CN 103745540B
- Authority
- CN
- China
- Prior art keywords
- state
- banking
- record
- condition
- nextstate
- 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
Links
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of banking state machine automated processing system and method thereof。Described system includes: state table maintenance unit, prestores the record of the current state corresponding to every banking and NextState in state table;State detection unit, automatically detects the current state of described banking when banking arrives;Record search unit, the described current state according to the described banking that detection draws, described state table is searched corresponding record, and obtains the NextState in described record;And state updating unit, the described current state revising described banking is the NextState in described record。System and method provided by the present invention enables to state, and program is transparent, no longer occurs certain concrete state in on-line program, realizes the configurable of state all through state table;After application program need not be concerned about execution transaction, record can become any state, it is only necessary to is concerned about the operation self performed, and simplifies program, is beneficial to maintenance。
Description
Technical field
The present invention relates to computer application system, more specifically, relate to utilization state machine principle in a kind of Commercial Bank Application System to the method carrying out information state and automatically changing and a kind of banking state machine automated processing system。
Background technology
Impact along with the development of market economy and information technology revolution, the method of service of banking and the means of services face the change that a field depth is carved, banking and information technology merge day by day, and novel modernization business bank computer application system increasingly becomes the core infrastructures of each management and administration of commercial bank and business running and most important competitive tools。
In Commercial Bank Application System, the conversion of all kinds of information states, to process portfolio quite huge, is the key element affecting operation flow, programmed logic。Big multi-application system is that information state is very high with the program degree of coupling。In application system, state is a lot, change between service condition, controls also very complicated, increases by one state, revising a state and relate to face can be very wide。Add the complexity of exploitation, bring very big inconvenience also to maintenance, test。
Present invention utilizes state machine theory。The theoretical initial development of state machine is in Design of Digital Circuit field。Later through development progressively, it has been found that a lot of analyses, design, programming can realize by means of state machine。Processing in random event, state machine has very big advantage。Application system information states is set up a set of directed graph, is made up of a group node and one group of transfer function。State machine is " RUN " by response sequence of events。These nodes are so-called " state " under normal circumstances, and the conversion between state is triggered by sequence of events etc., are likely to also have the restriction of various condition simultaneously。Having at least one in these nodes must be final state。When arriving final state, state machine stops。
Summary of the invention
The present invention is based on the problems referred to above, in conjunction with state machine principle in computer science, design an independent subsystem, the information state related to is carried out topological analysis, pass through parameter configuration, realize the state transparence to program, on-line program no longer occurs certain concrete state, realize the configurable of state all through state table。So, application program just no longer be concerned about performed transaction after record can become what state, have only to be concerned about that what operation (Event) what self perform is, it is operated by code in state table, reads the NextState that should redirect, it is achieved the conversion of application system information state and the automatic dispatching of message processing flow。
Specifically, present invention employs following technical scheme:
A kind of banking state machine automated processing system, this system includes: state table maintenance unit, described state table maintenance unit is the state recording of preset every banking in state table, and described record at least includes: current state that described banking is corresponding and NextState;State detection unit, described state detection unit automatically detects the current state of described banking when banking arrives;Record search unit, the described current state of the described banking that described record search unit draws according to detection, described state table is searched corresponding record, and obtains the NextState in described record;And state updating unit, it is the NextState in described record that described state updating unit revises the described current state of described banking。
As preferred another program, prestoring banking for " handling operation " in described state table, current state is " untreated " and record that NextState is " waiting to check ";When banking arrives for " handling operation ", described in when handling the current state of operation for " untreated ", the described current state handling operation described in amendment is " waiting to check "。
As preferred another program, the described record in described state table also includes: the execution condition of described banking;Described state detection unit automatically detects current state and the execution condition of described banking when banking arrives;The described current state of the described banking that described record search unit draws according to detection and described execution condition, search corresponding record in described state table, and obtain the NextState in described record;The described current state revising described banking with described state updating unit is the NextState in described record。
As preferred another program, prestoring banking for " keep accounts operation " in described state table, execution condition is " sky ", and current state is " untreated " and record that NextState is " not bright ";Prestoring banking in described state table for " keep accounts operation ", execution condition is " successful operation ", and current state is " not bright " and record that NextState is " keeping accounts ";Prestoring banking in described state table for " keep accounts operation ", execution condition is " operation failure ", and current state is " not bright " and record that NextState is " untreated ";When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " untreated ", if the condition of execution be " sky ", the described current state operated that keeps accounts described in amendment is " not bright ";When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " not bright ", if the condition of execution be " successful operation ", the described current state operated that keeps accounts described in amendment is " keeping accounts ";When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " not bright ", if the condition of execution be " operation failure ", the described current state operated that keeps accounts described in amendment is " untreated "。
As preferred another program, the described record in described state table also includes: the trigger condition of described banking and trigger action;Described system also includes: condition trigger control unit, revise after the described current state of described banking is the NextState in described record in described state updating unit, if described condition trigger control unit detects that described trigger condition meets, then perform described trigger action。
As preferred another program, described state table prestores banking for " keep accounts operation ", execution condition is " successful operation ", current state is " not bright ", NextState is " keeping accounts ", trigger condition is " message status is to have beamed back to hold ", and the record that trigger action is " beamed back and just held punching ";Described state table prestores banking for " punching just operates ", execution condition is " operation failure ", and current state is " not bright ", and NextState is " keeping accounts ", trigger condition is message status is " beamed back and held ", and the record that trigger action is " beamed back and just held punching ";When described banking is for " keep accounts operation ", the current state of the described operation that keeps accounts is " not bright ", if the condition of execution is " successful operation ", the described current state operated that keeps accounts described in amendment is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation;When described banking is for " punching just operates ", the current state that described punching is just operating is " not bright ", if the condition of execution is " operation failure ", revising the described current state that described punching just operating is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation。
As preferred another program, in the described record in described state table, also storage has type and the subprogram code of described trigger action;If described condition trigger control unit detects that described trigger condition meets, then perform trigger action according to described trigger action type and subprogram code。
A kind of banking information state automatic switching method, including: described information state pre-sets and is stored in configurable state table;Current state according to event, reads the NextState of described event from described state table;The recording status revising described event is NextState。
As preferred another program, when described event is " handling operation ", and current state is " untreated ", the recording status revising described event is " waiting to check "。
As preferred another program, in described state table, also pre-set and store execution condition;Current state according to described event and the condition of execution, read the NextState of described event from described state table;The recording status revising described event is NextState。
As preferred another program, if described event is " keep accounts operation ", current state is " untreated ", and when the condition of execution is " sky ", the recording status revising described event is " not bright ";If described event is " keep accounts operation ", current state is " not bright ", and when the condition of execution is " successful operation ", the recording status revising described event is " keeping accounts ";If described event is " keep accounts operation ", current state is " not bright ", and when the condition of execution is " operation failure ", the recording status revising described event is " untreated "。
As preferred another program, in described state table, also pre-set and store trigger condition and trigger action;After revising described logout state, if trigger condition meets, then perform trigger action。
As preferred another program, when performing " keep accounts operation " success, when recording status is revised as " keeping accounts ", if described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation;When performing " punching just operates " failure, when recording status is revised as " keeping accounts ", if described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation。
As preferred another program, in described state table, also pre-set and store type and the subprogram code of described trigger action;If described trigger condition meets, then perform trigger action according to described trigger action type and subprogram code。
Analyzing it can be seen that use the system and method in the present invention according to technique scheme, has technique effect useful as follows:
1, state is transparent to program, no longer occurs certain concrete state in on-line program, realizes the configurable of state all through state table;
2, after application program need not be concerned about execution transaction, record can become any state, it is only necessary to is concerned about the operation self performed, and simplifies program, is beneficial to maintenance。
Accompanying drawing explanation
Fig. 1 is that one singly enters the machine that singly does well。
Fig. 2 is that one singly enters to have more state machine (1)。
Fig. 3 is that one singly enters to have more state machine (2)。
Fig. 4 is that a kind of condition triggers state-event machine。
Fig. 5 is according to an embodiment, singly enters and singly goes out business scenario figure。
Fig. 6 is according to an embodiment, one-in, many-out service scene graph。
Fig. 7 is that condition triggers event business scenario figure according to an embodiment。
Fig. 8 is according to an embodiment, hierarchical states machine schematic diagram。
Fig. 9 is the module map according to banking state machine automated processing system of the present invention。
Figure 10 is the flow chart (1) according to banking state machine automated processing system of the present invention。
Figure 11 is the flow chart (2) according to banking state machine automated processing system of the present invention。
Figure 12 is the flow chart (3) according to banking state machine automated processing system of the present invention。
Specific embodiment
In order to make the present invention clearly understand, below we in conjunction with the embodiments, with reference to accompanying drawing, the present invention is described in further detail。
In the example shown,
→ represent path of moving into;
-------→ represent path of moving out;
--→ represent conditional branching。
Classical state machine model conventional in application system of the present invention can be summarized as following 3 kinds。
1, singly enter singly to go out model
What Fig. 1 represented is that one singly enters the machine that singly does well。When current state is S0, NextState is S1。Two dimensional model can be abstracted into, as shown in table 1。
State | Next State |
S0 | S1 |
…… | …… |
Table 1 singly enters singly to go out model
2, singly enter to have more model
What Fig. 2 represented is that one singly enters to have more state machine (1)。During current state S0, if event E1, then jump to S1 state, if event E2, then jump to S2 state。Now two dimensional model is as shown in table 2。
Event | State | NextState |
E1 | S0 | S1 |
E2 | S0 | S2 |
Table 2 singly enters to have more model (1)
What Fig. 3 represented is that another kind singly enters to have more state machine (2)。Current state S0, is event E0 equally, when for condition G1, jumps to state S1, when for condition G2, jump to state S2。Now two dimensional model is as shown in table 3。
Event | Guard | State | NextState |
E0 | G1 | S0 | S1 |
E0 | G2 | S0 | S2 |
Table 3 singly enters to have more model (2)
3, condition triggers event model
What Fig. 4 represented is that a kind of condition triggers state-event machine。Wherein, current state is S0, runs into current event E1, during condition G1, jumps to state S1, if now condition G2 sets up, then and execution action A1。The two dimensional model of its correspondence is as shown in table 4。
Event | Guard | State | NextState | Guard-2 | Action |
E1 | G1 | S0 | S1 | G2 | A1 |
Table 4 condition triggers event model
Below, aforesaid classical state machine is corresponding with the actual scene of the operation system (hereinafter referred to as secondary payment system) in business bank, describe the specific embodiment of the present invention in detail。
Aforesaid state machine two dimensional model is the code table realizing state configuration, is defined as state table in the present invention。
For inter-bank remittance credit business, its basic operation flow is:
First, teller carrying out " handling ", i.e. the front end typing of basic service key element, backstage now carries out the process that keeps accounts。
Then, another teller carry out " checking ", namely key business key element is carried out secondary typing, it is prevented that the typing such as the amount of money, payee account makes mistakes。Handle wrong business for checking middle discovery, retreat to " handling amendment " state, modified after correctly by handling teller, again check, or determined to delete this transaction by handling teller, typing again。
The first step process of keeping accounts is the asynchronous procedure with the system of keeping accounts, and therefore exists because Communication cannot know the situation of the result that keeps accounts (keeping accounts not bright), now requires over the inquiry adjustment that " abnormality processing " step carries out keeping accounts not bright。
Fig. 5 show according to an embodiment, singly enters the business scenario figure singly gone out。This embodiment is the application singly entering singly to go out model in secondary payment system, and namely teller carries out the application that " handling " operates。When current state is untreated, performing to handle operation, call the program of handling, recording status becomes waiting to check。State table respective record is as shown in table 5, now unconditionally limits, and condition one hurdle is empty。
Event | Guard | State | NextState |
Handle | NULL | Untreated | Wait to check |
Table 5 singly enters singly to go out service condition table record
The value of event code Event, it is necessary to appoint in advance, and it is saved in business master meter, for follow-up not clear adjustment/exception handler。It is likely to the corresponding Event of a program, it is also possible to a program can be used two Event or the corresponding same Event of multiple program, miscellaneous service scene combing is clear, draw state diagram, state table also just can configure by state diagram。
Handle in program in this embodiment, concrete operations are performed, when needing to update recording status, it not be used in program and indicate to be updated to which kind of state, but the value and condition Guard according to Event field reads NextState in state table, perform similar following SQL statement, the value of NextState be directly assigned to service condition field:
SELECTNextState
INTOTABLE-NextState
FROM state table
WHEREEvent=' handles ' AND
Guard=' NULL '
MOVETABLE-NextStateTORRM-RETSTS.
For singly entering to have more model, most typical application is no more than preparing before keeping accounts and keeping accounts, and as shown in Figure 6, expression is singly to enter many places business scenario figure。Current state is untreated, and perform to keep accounts operation, and recording status is first updated to not bright (updating the value of this record Event field) simultaneously, calling core to keep accounts, if core returns successfully, more new state is for keep accounts, if core returns unsuccessfully, more new state is untreated。State table respective record is as shown in table 6, wherein represents NextState when preparing before keeping accounts with NULL。
Event | Guard | State | NextState |
Keep accounts | NULL | Untreated | Not bright |
Keep accounts | Success | Not bright | Keep accounts |
Keep accounts | Failure | Not bright | Untreated |
Table 6 one-in, many-out service state table record
Not clear adjustment programme has only to take out the Event value of record, further according to success/failure result that core returns, finds respective record in state table, it is possible to record is updated in NextState field the state of preservation。Therefore, the not clear flow process adjusted will be very clear, not clear state only one of which very simple " not bright ", a lot of not bright state such as similar " pending accounts are not bright ", " keeping accounts not bright ", " reexchanging not bright ", " rushing just not bright " will not be separated, without judging that what current state is, determines to fail to understand the NextState after adjusting with a lot of ifelse as before。
Referring to Fig. 7, expression is that condition triggers event business scenario figure according to an embodiment。When meeting certain condition, it is necessary to perform the business scenario of an action。As shown in FIG., the operation being directed to has two, and one is keep accounts, and one is just rush。
1, report when receiving a debit, perform to keep accounts operation time occur not bright, not clear when adjusting, it has been found that the former successful operation that keeps accounts, under normal circumstances, it should this record is updated to " keeping accounts "。If but now debit receipt have sent, then the necessary communications centre of this record just, and must rush positive success。
2, debit is reported to provide at present and was rushed orthofunction the same day, and punching is just occurring not bright, during not clear adjustment, it has been found that the positive Fail Transaction of former punching, under normal circumstances, it should this record is updated to " keeping accounts "。If but now debit receipt have sent, then the necessary communications centre of this record just, and must rush positive success。
Comprehensive both of these case, for meeting service needed, increase an Event beamed back holding punching just, when not clear adjustment, if receipt sends, then this record Event value is updated to " beamed back and just held punching ", " current state " field " beamed back and just held punching " in reading state table simultaneously, this record traffic state is updated to this value。State table is safeguarded record as shown in table 7。
In specific procedure, when the state table record Action taken out is not empty, judge that whether current message state is consistent with the message status safeguarded in state table, if it is consistent, this record Event value is then updated to the value of Action, and the State value taking out this Action success or failure branch is assigned to the service condition field of this record。
Event | Guard | State | NextState | Message status | Action |
Keep accounts | NULL | Untreated | Not bright | ||
Keep accounts | Success | Not bright | Keep accounts | Beam back and held | Beam back and just held punching |
Keep accounts | Failure | Not bright | Untreated | ||
Punching is just | NULL | Keep accounts | Not bright | ||
Punching is just | Success | Not bright | Just rush | ||
Punching is just | Failure | Not bright | Keep accounts | Beam back and held | Beam back and just held punching |
Beam back and just held punching | Success | Not bright | Just rush | ||
Beam back and just held punching | Failure | Not bright | Not bright |
When table 7 message status " has been beamed back and held ", perform to have beamed back to hold to rush positive state table record
Very limited for current payment system, state and operation, corresponding state diagram is also very simple, limited, thing most basic in the simply state machine theory used。Some system such as foreign currency, records separately a corresponding service condition for one unlike secondary payment system, has many situations about recording separately, and this situation can solve with hierarchical states machine。Situation about also having can trigger event subsequent operation and condition and all be integrated into configuring in state table。
In secondary payment system, some messages complete to keep accounts or not clear adjust after, it is necessary to LINK or START transmits messages program, subprogram etc., and this similar operations can also be maintained in state table, it is achieved configuration, as shown in table 8。
Table 8 performs to beam back to hold and rushes positive expanded configuration state table record
In table 8 shown in Article 2 record, keep accounts successful branch, and ActionType and ActionCode is not empty, now performs the operation safeguarded in state table, it may be assumed that LINKPROG1 program。Article 5 records similar, STARTPROG2 program。
Different situations needs concrete analysis, as required, it is possible to configuration miscellaneous service scene and operation flexibly。
More complicated state machine also includes hierarchical states machine。It refers to nesting in state machine, the upper corresponding several little states of layer state meeting, has again the relation that state changes between these little states, and upper layer state is not affected by the change of this little state。In such as foreign currency system, a message may relate to 4,5 sets and records separately, and any of which a set of entry state is not bright, and message status is all " keeping accounts not bright "。Now " message status " is exactly the upper strata of " entry state ", records separately and has unique entrance and exit between state machine and message status machine, and as shown in Figure 8, concrete scene also needs to concrete analysis to simple state machine diagram。
Fig. 9 show the module map of banking state machine automated processing system, and Figure 10-12 show the flow chart of banking state machine automated processing system。Illustrate below in conjunction with the accompanying drawing method that realizes to the banking state machine automated processing system of the present invention and flow process。
The banking state machine automated processing system of the present invention includes following modules: state table maintenance unit, described state table maintenance unit is the state recording of preset every banking in state table, and described record at least includes: current state that described banking is corresponding and NextState;State detection unit, described state detection unit automatically detects the current state of described banking when banking arrives;Record search unit, the described current state of the described banking that described record search unit draws according to detection, described state table is searched corresponding record, and obtains the NextState in described record;And state updating unit, it is the NextState in described record that described state updating unit revises the described current state of described banking。
Information in state table is arranged according to the every operation flow in financial industry。Such as, prestoring banking for " handling operation " in described state table, current state is " untreated " and record that NextState is " waiting to check "。When banking arrives for " handling operation ", described in when handling the current state of operation for " untreated ", the described current state handling operation described in amendment is " waiting to check "。
It addition, the described record in described state table can also include the execution condition of described banking。Described state detection unit automatically detects current state and the execution condition of described banking when banking arrives;The described current state of the described banking that described record search unit draws according to detection and described execution condition, search corresponding record in described state table, and obtain the NextState in described record;The described current state revising described banking with described state updating unit is the NextState in described record。
Such as, prestoring banking for " keep accounts operation " in described state table, execution condition is " sky ", and current state is " untreated " and record that NextState is " not bright ";Prestoring banking in described state table for " keep accounts operation ", execution condition is " successful operation ", and current state is " not bright " and record that NextState is " keeping accounts ";Prestoring banking in described state table for " keep accounts operation ", execution condition is " operation failure ", and current state is " not bright " and record that NextState is " untreated ";
When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " untreated ", if the condition of execution be " sky ", the described current state operated that keeps accounts described in amendment is " not bright ";
When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " not bright ", if the condition of execution be " successful operation ", the described current state operated that keeps accounts described in amendment is " keeping accounts ";
When described banking is for " keep accounts operation ", described in keep accounts the current state of operation for " not bright ", if the condition of execution be " operation failure ", the described current state operated that keeps accounts described in amendment is " untreated "。
It addition, the described record in described state table can also include trigger condition and the trigger action of described banking。Described automated processing system also includes: condition trigger control unit, revise after the described current state of described banking is the NextState in described record in described state updating unit, if described condition trigger control unit detects that described trigger condition meets, then perform described trigger action。
Such as, described state table prestores banking for " keep accounts operation ", execution condition is " successful operation ", current state is " not bright ", NextState is " keeping accounts ", trigger condition is " message status is to have beamed back to hold ", and the record that trigger action is " beamed back and just held punching ";Described state table prestores banking for " punching just operates ", execution condition is " operation failure ", and current state is " not bright ", and NextState is " keeping accounts ", trigger condition is message status is " beamed back and held ", and the record that trigger action is " beamed back and just held punching ";
When described banking is for " keep accounts operation ", the current state of the described operation that keeps accounts is " not bright ", if the condition of execution is " successful operation ", the described current state operated that keeps accounts described in amendment is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation;
When described banking is for " punching just operates ", the current state that described punching is just operating is " not bright ", if the condition of execution is " operation failure ", revising the described current state that described punching just operating is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation。
Additionally, described record in described state table can also store type and the subprogram code of described trigger action。If described condition trigger control unit detects that described trigger condition meets, then perform trigger action according to described trigger action type and subprogram code。
The present invention is by implementing said system and method, in conjunction with state machine principle in computer science, the information state related to is carried out topological analysis, pass through parameter configuration, realize the state transparence to program, on-line program no longer occurs certain concrete state, realizes the configurable of state all through state table。Such application program just no longer be concerned about performed transaction after record can become what state, have only to be concerned about that what operation (Event) what self perform is, it is operated by code in code table, reads the NextState that should redirect, it is achieved the conversion of application system information state and the automatic dispatching of message processing flow。
The foregoing is only the preferred embodiment of the application, to those skilled in the art, the application can have various modifications and variations。All within present invention spirit and principle, any amendment of making, equivalent replacement, improvement etc., should be included within the protection domain of the application。
Claims (6)
1. a banking state machine automated processing system, this system includes:
State table maintenance unit, described state table maintenance unit is the state recording of preset every banking in state table, and described record at least includes: current state that described banking is corresponding and NextState, and the execution condition of described banking;
State detection unit, described state detection unit automatically detects current state and the execution condition of described banking when banking arrives;
Record search unit, the described current state of the described banking that described record search unit draws according to detection and execution condition, search corresponding record in described state table, and obtain the NextState in described record;And state updating unit, it is the NextState in described record that described state updating unit revises the described current state of described banking;
Wherein, the described record in described state table also includes: the trigger condition of described banking and trigger action;
Described system also includes: condition trigger control unit, revise after the described current state of described banking is the NextState in described record in described state updating unit, if described condition trigger control unit detects that described trigger condition meets, then perform described trigger action。
2. banking state machine automated processing system according to claim 1, wherein:
Described state table prestores banking for " keep accounts operation ", execution condition is " successful operation ", and current state is " not bright ", and NextState is " keeping accounts ", trigger condition is " message status is to have beamed back to hold ", and the record that trigger action is " beamed back and just held punching ";Described state table prestores banking for " punching just operates ", execution condition is " operation failure ", and current state is " not bright ", and NextState is " keeping accounts ", trigger condition is " message status is to have beamed back to hold ", and the record that trigger action is " beamed back and just held punching ";
When described banking is for " keep accounts operation ", the current state of the described operation that keeps accounts is " not bright ", if the condition of execution is " successful operation ", the described current state operated that keeps accounts described in amendment is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation;
When described banking is for " punching just operates ", the current state that described punching is just operating is " not bright ", if the condition of execution is " operation failure ", revising the described current state that described punching just operating is " keeping accounts ", if now described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation。
3. banking state machine automated processing system according to claim 1, wherein:
In described record in described state table, also storage has type and the subprogram code of described trigger action;
If described condition trigger control unit detects that described trigger condition meets, then perform trigger action according to described trigger action type and subprogram code。
4. a banking information state automatic switching method, including:
The information state and execution condition that relate to the event of banking are pre-set and are stored in configurable state table;
Current state according to event and the condition of execution, read the NextState of described event from described state table;
The recording status revising described event is NextState;
In described state table, pre-set and store trigger condition and trigger action;
After revising the recording status of described event, if trigger condition meets, then perform trigger action。
5. information state automatic switching method according to claim 4, wherein:
When performing " keep accounts operation " success, when recording status is revised as " keeping accounts ", if described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation;
When performing " punching just operates " failure, when recording status is revised as " keeping accounts ", if described trigger condition meets " message status is to have beamed back to hold ", then perform " beamed back and just held punching " operation。
6. information state automatic switching method according to claim 4, also includes:
In described state table, pre-set and store type and the subprogram code of described trigger action;
If described trigger condition meets, then perform trigger action according to described trigger action type and subprogram code。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410020542.5A CN103745540B (en) | 2014-01-16 | 2014-01-16 | Banking state machine automated processing system and information state automatic switching method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410020542.5A CN103745540B (en) | 2014-01-16 | 2014-01-16 | Banking state machine automated processing system and information state automatic switching method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103745540A CN103745540A (en) | 2014-04-23 |
CN103745540B true CN103745540B (en) | 2016-06-22 |
Family
ID=50502554
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410020542.5A Active CN103745540B (en) | 2014-01-16 | 2014-01-16 | Banking state machine automated processing system and information state automatic switching method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103745540B (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105447757A (en) * | 2015-11-20 | 2016-03-30 | 中国建设银行股份有限公司 | Method and system for keeping consistency of transaction information |
CN107866807B (en) * | 2016-09-27 | 2020-07-10 | 珠海格力智能装备有限公司 | State machine control method and device and robot control system |
CN107230059A (en) * | 2017-05-26 | 2017-10-03 | 中国建设银行股份有限公司 | The execution method and device of on-line transaction |
CN107315591A (en) * | 2017-06-30 | 2017-11-03 | 上海棠棣信息科技股份有限公司 | A kind of service design method and system |
US11474837B2 (en) | 2018-04-09 | 2022-10-18 | Advanced New Technologies Co., Ltd. | Method and apparatus for efficient programming of electronic payment processing |
CN108764864A (en) * | 2018-04-09 | 2018-11-06 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus and equipment for configuring payment flow, executing payment flow |
CN110097712B (en) * | 2018-07-20 | 2021-05-18 | 深圳怡化电脑股份有限公司 | Equipment state updating method, device, equipment and storage medium |
TWI695328B (en) * | 2019-01-03 | 2020-06-01 | 臺灣銀行股份有限公司 | Guided tandem transaction management and tracking operation system |
CN110335154B (en) * | 2019-07-17 | 2022-03-04 | 中国银行股份有限公司 | Account processing method, device and system based on storage management system |
CN111986406B (en) * | 2020-09-03 | 2022-02-15 | 中国银行股份有限公司 | Data processing method and device based on withdrawal transaction |
CN114792233A (en) * | 2021-01-25 | 2022-07-26 | 腾讯科技(深圳)有限公司 | Data processing method and device, computer equipment and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1093186A (en) * | 1993-03-29 | 1994-10-05 | 三上科技股份有限公司 | Financial document printing and disposal system |
CN101873334A (en) * | 2009-04-24 | 2010-10-27 | 同济大学 | State-driven executable service flow execution method |
CN102176266A (en) * | 2011-01-24 | 2011-09-07 | 武汉大学 | Visual behavior early warning prompting method and system for automatic teller machine (ATM) bank card |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4549702B2 (en) * | 2004-03-10 | 2010-09-22 | 富士通株式会社 | Transaction degeneration processing method of automatic transaction apparatus, system thereof and operation server thereof |
-
2014
- 2014-01-16 CN CN201410020542.5A patent/CN103745540B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1093186A (en) * | 1993-03-29 | 1994-10-05 | 三上科技股份有限公司 | Financial document printing and disposal system |
CN101873334A (en) * | 2009-04-24 | 2010-10-27 | 同济大学 | State-driven executable service flow execution method |
CN102176266A (en) * | 2011-01-24 | 2011-09-07 | 武汉大学 | Visual behavior early warning prompting method and system for automatic teller machine (ATM) bank card |
Non-Patent Citations (1)
Title |
---|
第2章 系统的需求分析与总体设计;曹瀚文;《银行前置系统报文交换控制子系统的设计与实现》;20130320;9-21 * |
Also Published As
Publication number | Publication date |
---|---|
CN103745540A (en) | 2014-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103745540B (en) | Banking state machine automated processing system and information state automatic switching method | |
CN108647049B (en) | Configurable system, method, equipment and storage medium based on rule engine | |
CN109542428A (en) | Method for processing business, device, computer equipment and storage medium | |
CN108600148B (en) | Transaction message processing method and device | |
CN108876610A (en) | Intelligent contract implementation method, user equipment, storage medium and device | |
CN108846660B (en) | Method and system for identifying abnormal fund | |
CN112559300B (en) | Fault cause determining system, method and device | |
WO2021239090A1 (en) | Credit granting processing method, apparatus, device and system | |
CN101405730A (en) | Technology for supplying a data warehouse while ensuring consistent data view | |
CN108876406A (en) | Customer service behavior analysis method, device, server and readable storage medium storing program for executing | |
CN105426238A (en) | Control method of equipment background instruction management system based on memory | |
CN101504753A (en) | Packet processing method, apparatus and system | |
CN100437482C (en) | Developing platform of application software, generating method and operation platform and operation method | |
CN103902270A (en) | Dynamic business building, managing and processing methods and dynamic business system | |
CN111680998A (en) | Payment routing method, computing device and computer-readable storage medium | |
CN109544344B (en) | Block chain transaction processing method and equipment based on DAG | |
CN101553794B (en) | Rehosting method which convert mainframe system into open system | |
CN106156956A (en) | A kind of bank data processing job scheduling system and method thereof | |
CN109785047A (en) | Order method for pushing, device, computer equipment and the storage medium of financial product | |
JP2015500537A (en) | Security information interaction system, apparatus and method based on extended parameter collection | |
US20070067238A1 (en) | System and method for transferring information between financial accounts | |
CN102541855B (en) | Information data handling system and method | |
CN104881491A (en) | Software development system based on big data platform | |
CN110335142B (en) | System for realizing intelligent transfer service based on joint loan | |
US11403279B1 (en) | Electronic device and method for building a remake of a transaction-processing 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |