CN108920176A - A kind of transaction flow configuration method and device - Google Patents

A kind of transaction flow configuration method and device Download PDF

Info

Publication number
CN108920176A
CN108920176A CN201810679244.5A CN201810679244A CN108920176A CN 108920176 A CN108920176 A CN 108920176A CN 201810679244 A CN201810679244 A CN 201810679244A CN 108920176 A CN108920176 A CN 108920176A
Authority
CN
China
Prior art keywords
transaction
data
transaction flow
configuration file
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810679244.5A
Other languages
Chinese (zh)
Other versions
CN108920176B (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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN201810679244.5A priority Critical patent/CN108920176B/en
Publication of CN108920176A publication Critical patent/CN108920176A/en
Application granted granted Critical
Publication of CN108920176B publication Critical patent/CN108920176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Library & Information Science (AREA)
  • Stored Programmes (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of transaction flow configuration methods and device, this method to include:According to transaction business type, transaction flow corresponding with the transaction business type is configured, generates transaction flow configuration file;Transaction request is received, transaction flow configuration file corresponding with the transaction request is called;Based on the transaction flow configuration file, transaction flow corresponding with the transaction request is executed.The present invention is due to carrying out the execution of transaction flow or customized based on the transaction flow configuration file that configures to transaction flow, only it need to call or modify that transaction flow configuration file can it is not necessary to modify program codes, so as to neatly change or customized transaction flow, and then improve development efficiency.

Description

A kind of transaction flow configuration method and device
Technical field
The present invention relates to business treatment technique fields, more particularly to a kind of transaction flow configuration method and device.
Background technique
Along with the arriving of big data, the business processing flow in various industries also becomes to become increasingly complex.For example, Certain in banking system borrows approval system after a loan application examination & approval pass through to personal letter, is notified that interface transaction modules obtain Business datum in local data base, it is total by row inner joint according to business need and interface specification tissue interface formatted data Line sequentially calls a series of connected transaction of serial core banking systems, completes the foundation of related loan data.It is specifically related to To transaction flow may include:Establish or safeguard customer information data, establish loan account, customer credit line, guarantee etc. Deng.
Similar to the transaction flow of above-mentioned complexity, a variety of transaction may be related to and called, business function is just able to achieve Energy.The defect of the implementation of existing this transaction flow is mainly reflected in:Since transaction flow is hard by programmed logic Coding is realized, when so that business demand and external interface changing, program is both needed to modify and compile, and program structure is multiple Miscellaneous, modification and difficulty of test to program are larger, efficiency is lower, higher to developer's skill requirement, therefore cannot achieve pair The flexible customized and modification of transaction flow, so that development efficiency is lower.
Summary of the invention
It is directed to the above problem, the present invention provides a kind of transaction flow configuration method and device, realizes in transaction flow Without changing program code when configuration, the purpose of development efficiency is improved.
To achieve the goals above, the present invention provides following technical solutions:
A kind of transaction flow configuration method, including:
According to transaction business type, transaction flow corresponding with the transaction business type is configured, transaction flow is generated and matches Set file;
Transaction request is received, transaction flow configuration file corresponding with the transaction request is called;
Based on the transaction flow configuration file, transaction flow corresponding with the transaction request is executed.
Optionally, further include:
It modifies to the transaction flow configuration file, obtains target transaction procedure configuration files;
Based on the target transaction procedure configuration files, transaction flow corresponding with the transaction request is executed, wherein The transaction flow derives from the target transaction procedure configuration files.
Optionally, described that transaction flow corresponding with the transaction business type is configured according to transaction business type, it is raw At transaction procedure configuration files, including:
According to transaction business type, transaction flow corresponding with the transaction business type is determined;
The data process method of the transaction flow is analyzed, extracts and obtains general data processing method, In, the data processing method is that transaction flow uses when configuring;
Preset data in the transaction flow is generated in a manner of variable in memory, built-in variable data pool is obtained, In, the built-in variable data pool is accessed by name variable, realizes and internal variable data is drawn in transaction flow configuration With and operation, the preset data include business datum, parsing returned packet data and customized number in the database According to one of or it is a variety of;
The data conversion format and interface call definition of data call will be carried out in the transaction flow with external data source It is configured, generates message configuration file, wherein the message configuration file is used in transaction flow configuration, to number of ports According to the conversion process of format group packet and unpacking.
Optionally, when generating the message configuration file, further include:
Obtain derived data;
Modification processing is carried out to the derived data, obtains target data;
The target data is stored to preset memory locations.
Optionally, further include:
It according to state machine principle, generates and executes frame, the execution frame is for parsing the transaction flow configuration text Part controls the execution of transaction flow based on analysis result.
A kind of transaction flow configuration device, including:
Configuration unit, for configuring transaction flow corresponding with the transaction business type according to transaction business type, Generate transaction flow configuration file;
Call unit calls transaction flow configuration file corresponding with the transaction request for receiving transaction request;
Execution unit executes transaction flow corresponding with the transaction request for being based on the transaction flow configuration file Journey.
Optionally, further include:
Unit is modified, for modifying to the transaction flow configuration file, obtains target transaction process configuration text Part;
Second execution unit executes corresponding with the transaction request for being based on the target transaction procedure configuration files Transaction flow, wherein the transaction flow derive from the target transaction procedure configuration files.
Optionally, the configuration unit includes:
Subelement is determined, for determining transaction flow corresponding with the transaction business type according to transaction business type Journey;
Data mart modeling subelement is analyzed for the data process method to the transaction flow, and it is general to extract acquisition Data processing method, wherein the data processing method be transaction flow configure when use;
Built-in variable data pool generate subelement, for by the preset data in the transaction flow in a manner of variable Memory generates, and obtains built-in variable data pool, wherein accesses the built-in variable data pool by name variable, realization is being handed over Reference and operation when easy process configuration to internal variable data, the preset data include the business in database Data, parsing one of returned packet data and self-defining data or a variety of;
Message configures subelement, for turning the data for carrying out data call in the transaction flow with external data source It changes format and interface call definition is configured, generate message configuration file, wherein the message configuration file is for handing over When easy process configuration, to the conversion process of interface data format group packet and unpacking.
Optionally, the message configuration subelement further includes:
Data acquisition subelement, for obtaining derived data;
Data mart modeling subelement obtains target data for carrying out modification processing to the derived data;
Data storage subunit operable, for storing the target data to preset memory locations.
Optionally, further include:
Frame generation unit is executed, for generating and executing frame, the execution frame is for solving according to state machine principle The transaction flow configuration file is analysed, controls the execution of transaction flow based on analysis result.
Compared to the prior art, the present invention provides a kind of transaction flow configuration method and devices, according to transaction business class Type configures transaction flow corresponding with transaction business type, generates configuration file;When receiving transaction request, according to calling Corresponding transaction flow configuration file modifies that execution can be completed is corresponding with transaction request to configuration file Transaction flow.Due to carrying out the execution of transaction flow based on the transaction flow configuration file configured to transaction flow or ordering System, only need to call or modify transaction flow configuration file can be it is not necessary to modify program code, so as to neatly change or customized Transaction flow, and then improve development efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The embodiment of the present invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to the attached drawing of offer.
Fig. 1 is a kind of flow diagram of transaction flow configuration method provided in an embodiment of the present invention;
Fig. 2 is the machining state schematic diagram of finite state machine provided in an embodiment of the present invention;
Fig. 3 is a kind of stateful transaction schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of the built-in variable data pool provided in the embodiment of the present invention;
Fig. 5 is message format configurationization schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of transaction flow configuration device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
Term " first " and " second " in description and claims of this specification and above-mentioned attached drawing etc. are for area Not different objects, rather than for describing specific sequence.Furthermore term " includes " and " having " and their any changes Shape, it is intended that cover and non-exclusive include.Such as contain the process, method, system, product of a series of steps or units Or equipment is not set in listed step or unit, but may include the step of not listing or unit.
Provide a kind of transaction flow configuration method in embodiments of the present invention, referring to Fig. 1, this method may include with Lower step:
S11, according to transaction business type, configure transaction flow corresponding with the transaction business type, generation transaction flow Journey configuration file.
Different transaction business types can correspond to different transaction flows, design and hand over after transaction business type has been determined When easy process, together each transaction flow working process assembling combination completed according to certain rules to friendship with logic The customized configuration of easy process, generates transaction flow configuration file.
The universal method, interior that transaction flow configuration file needs to use data mart modeling is generated in embodiments of the present invention Portion data variable pond and message configuration file additionally provide a kind of transaction flow configuration side in another embodiment of the invention Method, including:
According to transaction business type, transaction flow corresponding with the transaction business type is determined;
The data process method of the transaction flow is analyzed, extracts and obtains general data processing method, In, the data processing method is that transaction flow uses when configuring;
Preset data in the transaction flow is generated in a manner of variable in memory, built-in variable data pool is obtained, In, the built-in variable data pool is accessed by name variable, realizes and internal variable data is drawn in transaction flow configuration With and operation, the preset data include business datum, parsing returned packet data and customized number in the database According to one of or it is a variety of;
The data conversion format and interface call definition of data call will be carried out in the transaction flow with external data source It is configured, generates message configuration file, wherein the message configuration file is used in transaction flow configuration, to number of ports According to the conversion process of format group packet and unpacking.
It should be noted that by the logic analysis to data processing, it is based on versatility requirement, conclude and abstract is dissolved Reusable processing method provides operation set for transaction flow customized development.It, can be by matching during transaction flow executes It sets being generated in a manner of variable in memory from database, parsing returned packet or self-defining data, forming one can share Built-in variable data pool, can quote and operate built-in variable in subsequent transaction high efficient and flexible by way of variable name Data.Method by designing message format configuration file matches top set pair referring to data conversion, realizes the lattice to interface data Formula group packet and unpacking conversion process.
S12, transaction request is received, calls transaction flow configuration file corresponding with the transaction request;
S13, it is based on the transaction flow configuration file, executes transaction flow corresponding with the transaction request.
When receiving transaction request, which is parsed, calls corresponding transaction flow configuration file, It, can be based on to transaction flow configuration file if the transaction flow configuration file is unable to satisfy the use of current transaction flow Modification, which is realized, executes corresponding transaction request.
The embodiment of the invention also includes:
It modifies to the transaction flow configuration file, obtains target transaction procedure configuration files;
Based on the target transaction procedure configuration files, transaction flow corresponding with the transaction request is executed, wherein The transaction flow derives from the target transaction procedure configuration files.
The present invention provides a kind of transaction flow configuration methods, according to transaction business type, configuration and transaction business type Corresponding transaction flow generates configuration file;When receiving transaction request, matched according to the corresponding transaction flow of calling Setting file or modifying to configuration file can be completed execution transaction flow corresponding with transaction request.Due to based on pair The transaction flow configuration file that transaction flow configures carries out the execution or customized of transaction flow, only need to call or modify friendship Easy procedure configuration files so as to neatly change or customized transaction flow, and then can be improved it is not necessary to modify program code Development efficiency.
A kind of execution frame is additionally provided in embodiments of the present invention, including:
It according to state machine principle, generates and executes frame, the execution frame is for parsing the transaction flow configuration text Part controls the execution of transaction flow based on analysis result.
It is mainly reflected in the establishment to procedure configuration files since transaction is customized, in a general execution frame control Under system, finite state machine definition is explained, realize specific execution and control to transaction flow.For example, referring to finite state machine (FSM) a kind of general flow control mechanism is realized in design principle, design.FSM describes limited machining state and state Between transformational relation, can be according to processing as a result, transfer executes corresponding another machining state.Referring to fig. 2, Fig. 2 finite state The machining state of machine.
Referring to fig. 2, it should be noted that after state machine is initial, initially enter state A, state A executes corresponding processing behaviour After work, if return to r=0, spin, when wherein r represents the current state processing of state machine, the return value of return (return_value);When r=1, into state B;When r=2, state machine terminates.Realize the process block of this treatment mechanism Frame can be arranged and determine the return relationship of state by layout and configuration status, realize and control transaction flow.
Some transaction is mapped to corresponding state machine by type of transaction, defines according to transaction flow, executes corresponding number According to processing.
For example, define transaction flow by sm configuration file, for example, tx7624.sm, tx7626_init.sm and Tx7624_norm.sm is configured with the process flow of tx7624 transaction.
It trades for tx7624, tx7624.sm file configuration can be mapped to by configuration and define " SM_TX7624 " shape State machine when beginning, executes first state " SM7624_ST01.This state machine contains 5 machining state " SM7624_ Whether ST01 " executes to " SM7624_ST05 ", NextState, depending on current state implementing result return_value and The configuration tran_tbl situation of state transition table carries out state transition.
In the state machine control framework of the embodiment of the present invention, the sequence of machining state, branch and loop jump are supported, together When support nested sub-state machine processing.For realizing upper volume transaction, the customizing realization process of transaction flow is described.When It when one loan application amount, need to judge whether this loan applied for amount, if not applying, need to call newly-built amount Transaction, establishes loan limit.If having applied for there is loan, need to inquire original amount, obtains present application quota data, warp Modification and adjustment amount transaction are called, quota data is completed and updates, stateful transaction figure is as shown in Figure 3.
It provides in embodiments of the present invention and takes out reusable processing method, that is, pass through the logic to data processing Analysis is based on versatility requirement, conclude and it is abstract dissolve reusable processing method, provided for customizing develop of transaction flow Operation set.It may include the assignment calculating of variable, count and logical expression operation, the operation of database D ML sentence, interface report Text group report, the general operations such as transaction transmission.
It illustrates:
Assignment calculates OP_EXPR
Function:Built-in variable assignment, "+- ×/" arithmetical operation of floating number, character string assignment is supported to connect and take son String
Example 1:A=1;B=2;C=(a+1) * b;
Example 2:A=" RL ";B=" 003 ";C=a+b;
Logical expression OP_CASE
Function:Number and the operation of character string logical expression
Example 1:If (TAS_SQLCODE==0) return (1);
Example 2:If (TAS_SQLCODE==0&&TAS_LNNO==" 002 ") return (1);else return (2);
Database D ML operates OP_DDML
Function:4 class SQL statement of database D ML is supported to execute
Example 1:TAS | SELECT ROWID, a.*FROM TASKLOG a WHERE TASK_SEQNO=:P_SEQNO
Example 2:U01 | UPDATE TASKLOG SET BACSFLG='N', CHGDT=:P_TRANDAT, CHGTM=: P_TRANTIM WHERE TASK_SEQNO=:P_SEQNO
Send data OP_SEND
Function:Interface format group packet is executed, sends and receives operation
Example:2 | fo_dd0410 | --- tissue dd0410 transaction message is sent to GLMS,
And receive GLMS returned data.
Data conversion OP_CONV
Function:Execute formatted data conversion
Example:Fi_dd0410 | --- conversion dd0410 returned data is at built-in variable data.
A kind of built-in variable data pool is additionally provided in embodiments of the present invention, i.e., during trading processing, in order to logical The mode of configuration is crossed, flexible and efficient reference derives from database data, the constant number of interface transaction returned data and setting According to by the way that these data are stored in memory according to KeyValue mode, generation built-in variable data pool passes through hash algorithm It searches, for trading processing operation and maintenance.
For example, with reference to Fig. 4, Fig. 4 is a kind of schematic diagram of the built-in variable data pool provided in the embodiment of the present invention.if (TAS_SQLCODE==0&&TAS_LNNO==" ") return (1);else return(2);Built-in variable can be passed through TAS_SQLCODE, TAS_LNNO are quoted when configuring interface format conversion parameter by variable name in customized transaction flow.
A kind of message format configurationization is additionally provided in embodiments of the present invention to mention by presetting a kind of rule of agreement For general data transfer device, sequence executes the data transfer device of configuration item, realizes data from internal data pond to interface Group packet and the unpacking of transaction format are completed in the mutual conversion of message format.It is message format configurationization schematic diagram referring to Fig. 5.
When executing each conversion configurations item, message conversion processing experienced derived data acquisition, and data modifier is processed, The processing of the target data storage complete paired data content of three data processing stages.
The method that the present invention proposes transaction flow configuration is illustrated with the concrete application scene of loan application below General steps can be:
(1) according to loan application type, control starts corresponding state machine transaction flow example;
(2) according to transaction flow profile instance design configurations file, transaction flow is pushed to execute;
(3) various general process operations are executed, built-in variable data are generated;
(4) it according to configuration definition, realizes interface packets format group packet, sends, unpack conversion process;
(5) according to process design, step (2) to (4) are repeated until completing trading processing.
Entire transaction mainly under the control of Row control (state machine), according to transaction flow configuration definition, executes corresponding Data mart modeling, generate sharable internal data variable, through a series of interface formats conversion and transaction interface call, complete The processing of interface trading function.
The embodiment of the present invention realizes general transaction flow control method and general data mart modeling by configuration mode Method.It realizes and does not have to modification program, quick response flow change, interface variation;Reduce developer's technical requirements, transaction It is realized by configuring;Exploitation investment personnel are reduced, working efficiency and quality are improved.
A kind of transaction flow configuration device is additionally provided in embodiments of the present invention, referring to Fig. 6, including:
Configuration unit 10, for configuring transaction flow corresponding with the transaction business type according to transaction business type Journey generates transaction flow configuration file;
Call unit 20 calls transaction flow configuration text corresponding with the transaction request for receiving transaction request Part;
Execution unit 30 executes transaction corresponding with the transaction request for being based on the transaction flow configuration file Process.
Optionally, further include:
Unit is modified, for modifying to the transaction flow configuration file, obtains target transaction process configuration text Part;
Second execution unit executes corresponding with the transaction request for being based on the target transaction procedure configuration files Transaction flow, wherein the transaction flow derive from the target transaction procedure configuration files.
Optionally, the configuration unit includes:
Subelement is determined, for determining transaction flow corresponding with the transaction business type according to transaction business type Journey;
Data mart modeling subelement is analyzed for the data process method to the transaction flow, and it is general to extract acquisition Data processing method, wherein the data processing method be transaction flow configure when use;
Built-in variable data pool generate subelement, for by the preset data in the transaction flow in a manner of variable Memory generates, and obtains built-in variable data pool, wherein accesses the built-in variable data pool by name variable, realization is being handed over Reference and operation when easy process configuration to internal variable data, the preset data include the business in database Data, parsing one of returned packet data and self-defining data or a variety of;
Message configures subelement, for turning the data for carrying out data call in the transaction flow with external data source It changes format and interface call definition is configured, generate message configuration file, wherein the message configuration file is for handing over When easy process configuration, to the conversion process of interface data format group packet and unpacking.
Optionally, the message configuration subelement further includes:
Data acquisition subelement, for obtaining derived data;
Data mart modeling subelement obtains target data for carrying out modification processing to the derived data;
Data storage subunit operable, for storing the target data to preset memory locations.
Optionally, further include:
Frame generation unit is executed, for generating and executing frame, the execution frame is for solving according to state machine principle The transaction flow configuration file is analysed, controls the execution of transaction flow based on analysis result.
Compared to the prior art, the present invention provides a kind of transaction flow configuration methods, according to transaction in configuration unit Type of service configures transaction flow corresponding with transaction business type, generates configuration file;When receiving transaction request, lead to Call unit and execution unit are crossed according to the corresponding transaction flow configuration file of calling or is modified to configuration file Execution transaction flow corresponding with transaction request can be completed.Due to based on matching to the transaction flow that transaction flow configures The execution or customized that file carries out transaction flow is set, only need to call or modify that transaction flow configuration file can it is not necessary to modify journeys Sequence code so as to neatly change or customized transaction flow, and then improves development efficiency.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with its The difference of his embodiment, the same or similar parts in each embodiment may refer to each other.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion It defends oneself bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, defined herein General Principle can realize in other embodiments without departing from the spirit or scope of the present invention.Therefore, originally Invention is not intended to be limited to the embodiments shown herein, and is to fit to special with principles disclosed herein and novelty The consistent widest scope of point.

Claims (10)

1. a kind of transaction flow configuration method, which is characterized in that including:
According to transaction business type, transaction flow corresponding with the transaction business type is configured, generates transaction flow configuration text Part;
Transaction request is received, transaction flow configuration file corresponding with the transaction request is called;
Based on the transaction flow configuration file, transaction flow corresponding with the transaction request is executed.
2. the method according to claim 1, wherein further including:
It modifies to the transaction flow configuration file, obtains target transaction procedure configuration files;
Based on the target transaction procedure configuration files, transaction flow corresponding with the transaction request is executed, wherein the friendship Easy process derives from the target transaction procedure configuration files.
3. the method according to claim 1, wherein described according to transaction business type, configuration and the transaction The corresponding transaction flow of type of service generates transaction flow configuration file, including:
According to transaction business type, transaction flow corresponding with the transaction business type is determined;
The data process method of the transaction flow is analyzed, extracts and obtains general data processing method, wherein is described Data processing method is that transaction flow uses when configuring;
Preset data in the transaction flow is generated in a manner of variable in memory, obtains built-in variable data pool, wherein logical It crosses name variable and accesses the built-in variable data pool, realize the reference in transaction flow configuration to internal variable data and behaviour Make, the preset data includes in business datum, parsing returned packet data and self-defining data in database It is one or more;
The data conversion format of data call will be carried out with external data source in the transaction flow and interface call definition carries out Configuration generates message configuration file, wherein the message configuration file is used in transaction flow configuration, to interface data lattice The conversion process of formula group packet and unpacking.
4. according to the method described in claim 3, it is characterized in that, further including when generating the message configuration file:
Obtain derived data;
Modification processing is carried out to the derived data, obtains target data;
The target data is stored to preset memory locations.
5. the method according to claim 1, wherein further including:
It according to state machine principle, generates and executes frame, the execution frame is based on for parsing the transaction flow configuration file The execution of parsing result control transaction flow.
6. a kind of transaction flow configuration device, which is characterized in that including:
Configuration unit is generated and is handed over for configuring transaction flow corresponding with the transaction business type according to transaction business type Easy procedure configuration files;
Call unit calls transaction flow configuration file corresponding with the transaction request for receiving transaction request;
Execution unit executes transaction flow corresponding with the transaction request for being based on the transaction flow configuration file.
7. device according to claim 6, which is characterized in that further include:
Unit is modified, for modifying to the transaction flow configuration file, obtains target transaction procedure configuration files;
Second execution unit executes friendship corresponding with the transaction request for being based on the target transaction procedure configuration files Easy process, wherein the transaction flow derives from the target transaction procedure configuration files.
8. device according to claim 7, which is characterized in that the configuration unit includes:
Subelement is determined, for determining transaction flow corresponding with the transaction business type according to transaction business type;
Data mart modeling subelement is analyzed for the data process method to the transaction flow, is extracted and is obtained general number According to processing method, wherein the data processing method is that transaction flow uses when configuring;
Built-in variable data pool generates subelement, for giving birth to the preset data in the transaction flow in memory in a manner of variable At obtaining built-in variable data pool, wherein access the built-in variable data pool by name variable, realize in transaction flow To the reference and operation of internal variable data when configuration, the preset data includes business datum, solution in database Analyse one of returned packet data and self-defining data or a variety of;
Message configures subelement, for will carry out the data conversion format of data call in the transaction flow with external data source It is configured with interface call definition, generates message configuration file, wherein the message configuration file in transaction flow for matching When setting, to the conversion process of interface data format group packet and unpacking.
9. device according to claim 8, which is characterized in that the message configures subelement and further includes:
Data acquisition subelement, for obtaining derived data;
Data mart modeling subelement obtains target data for carrying out modification processing to the derived data;
Data storage subunit operable, for storing the target data to preset memory locations.
10. device according to claim 6, which is characterized in that further include:
Frame generation unit is executed, for generating and executing frame according to state machine principle, the execution frame is described for parsing Transaction flow configuration file controls the execution of transaction flow based on analysis result.
CN201810679244.5A 2018-06-27 2018-06-27 Transaction flow configuration method and device Active CN108920176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810679244.5A CN108920176B (en) 2018-06-27 2018-06-27 Transaction flow configuration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810679244.5A CN108920176B (en) 2018-06-27 2018-06-27 Transaction flow configuration method and device

Publications (2)

Publication Number Publication Date
CN108920176A true CN108920176A (en) 2018-11-30
CN108920176B CN108920176B (en) 2022-01-21

Family

ID=64422734

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810679244.5A Active CN108920176B (en) 2018-06-27 2018-06-27 Transaction flow configuration method and device

Country Status (1)

Country Link
CN (1) CN108920176B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816526A (en) * 2018-12-29 2019-05-28 贝壳技术有限公司 A kind of house prosperity transaction system and its configuration method
CN111190578A (en) * 2019-12-20 2020-05-22 天阳宏业科技股份有限公司 Customizable flow operation development system
CN111343181A (en) * 2020-02-26 2020-06-26 中国邮政储蓄银行股份有限公司 Message processing method and system, data pool and computer readable storage medium
CN111915277A (en) * 2020-08-06 2020-11-10 云账户技术(天津)有限公司 Contract flow management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047896A (en) * 2007-04-11 2007-10-03 华为技术有限公司 Value-added service allocation method and value-added service system based on package
CN106548261A (en) * 2015-09-21 2017-03-29 阿里巴巴集团控股有限公司 A kind of Business Process Control method, device and electronic equipment
CN106779472A (en) * 2017-01-06 2017-05-31 中国银行股份有限公司 Using the method and device of flow template treatment bank different business data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047896A (en) * 2007-04-11 2007-10-03 华为技术有限公司 Value-added service allocation method and value-added service system based on package
CN106548261A (en) * 2015-09-21 2017-03-29 阿里巴巴集团控股有限公司 A kind of Business Process Control method, device and electronic equipment
CN106779472A (en) * 2017-01-06 2017-05-31 中国银行股份有限公司 Using the method and device of flow template treatment bank different business data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816526A (en) * 2018-12-29 2019-05-28 贝壳技术有限公司 A kind of house prosperity transaction system and its configuration method
CN111190578A (en) * 2019-12-20 2020-05-22 天阳宏业科技股份有限公司 Customizable flow operation development system
CN111343181A (en) * 2020-02-26 2020-06-26 中国邮政储蓄银行股份有限公司 Message processing method and system, data pool and computer readable storage medium
CN111343181B (en) * 2020-02-26 2022-08-09 中国邮政储蓄银行股份有限公司 Message processing method and system, data pool and computer readable storage medium
CN111915277A (en) * 2020-08-06 2020-11-10 云账户技术(天津)有限公司 Contract flow management method and device

Also Published As

Publication number Publication date
CN108920176B (en) 2022-01-21

Similar Documents

Publication Publication Date Title
CN108920176A (en) A kind of transaction flow configuration method and device
CN104885078B (en) For the method for the Two-phrase query optimization in MPP data-base cluster
US7827523B2 (en) Query serving infrastructure providing flexible and expandable support and compiling instructions
CN105184575B (en) Transaction system construction method, transaction flow control device and third party transaction platform
CN108346028A (en) A kind of business approval processing method, apparatus and system
CN103064721B (en) First kind object-sharing between a variety of explanatory programming languages
CN106126540B (en) Data base access system and its access method
CN102289375B (en) Code generating method and system
CN104424018B (en) Distributed Calculation transaction methods and device
CN114841326B (en) Operator processing method, device, equipment and storage medium of deep learning framework
Güdemann et al. VerChor: a framework for the design and verification of choreographies
CN109240670A (en) Modular software development methodology, system, equipment and medium
CN112199086A (en) Automatic programming control system, method, device, electronic device and storage medium
CN108876619A (en) Processing method, device, equipment and medium based on block chain intelligence contract
CN109189393A (en) Method for processing business and device
CN102087594A (en) Management method and device for extension point and plugins
CN110189220A (en) A kind of risk analysis decision-making technique, device, system and storage medium
CN109635028A (en) Data query method and device, server and computer readable storage medium
CN110019314A (en) Dynamic data packaging method, client and server-side based on data item analysis
CN107809332A (en) Compound interface configures and compound interface call method, device
CN107947965A (en) Service chaining compiler
CN107330014A (en) The creation method and equipment of a kind of tables of data
CN105718601A (en) Dynamic business integrating model and application method thereof
CN110275703A (en) Assignment method, device, computer equipment and the storage medium of key-value pair data
CN101335651B (en) Simulated testing system and method for expanding terminal by the same system

Legal Events

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