CN108920176B - Transaction flow configuration method and device - Google Patents

Transaction flow configuration method and device Download PDF

Info

Publication number
CN108920176B
CN108920176B CN201810679244.5A CN201810679244A CN108920176B CN 108920176 B CN108920176 B CN 108920176B CN 201810679244 A CN201810679244 A CN 201810679244A CN 108920176 B CN108920176 B CN 108920176B
Authority
CN
China
Prior art keywords
transaction
data
configuration file
transaction flow
flow
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
CN201810679244.5A
Other languages
Chinese (zh)
Other versions
CN108920176A (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

Images

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 transaction flow configuration method and a device, wherein the method comprises the following steps: configuring a transaction flow corresponding to the transaction service type according to the transaction service type, and generating a transaction flow configuration file; receiving a transaction request, and calling a transaction flow configuration file corresponding to the transaction request; and executing the transaction flow corresponding to the transaction request based on the transaction flow configuration file. The invention executes or orders the transaction process based on the transaction process configuration file obtained by configuring the transaction process, and only calls or modifies the transaction process configuration file without modifying program codes, thereby flexibly changing or ordering the transaction process and further improving the development efficiency.

Description

Transaction flow configuration method and device
Technical Field
The invention relates to the technical field of business processing, in particular to a transaction flow configuration method and a transaction flow configuration device.
Background
With the advent of big data, business processing flows in various industries have become more and more complex. For example, after a private credit approval system in a bank system passes a loan application approval, the interface transaction module is informed to acquire service data in a local database, interface format data is organized according to service requirements and interface specifications, a series of related transactions of a bank core system are sequentially called through an inline interface bus, and the establishment of related loan data is completed. The transaction flow specifically involved may include: establishing or maintaining customer information, establishing loan accounts, customer lines, collateral, and the like.
Similar to the complex transaction flow described above, multiple transaction calls may be involved to implement the business function. The disadvantages of the existing implementation of such a transaction flow are mainly reflected in: because the transaction process is realized by the program logic hard code, when the service requirement and the external interface are changed, the program needs to be modified and compiled, the program structure is complex, the modification and test difficulty of the program is high, the efficiency is low, the requirement on the skills of developers is high, and therefore flexible customization and modification of the transaction process cannot be realized, and the development efficiency is low.
Disclosure of Invention
In view of the above problems, the present invention provides a method and an apparatus for configuring a transaction flow, which achieve the purpose of improving development efficiency without changing program codes during the configuration of the transaction flow.
In order to achieve the purpose, the invention provides the following technical scheme:
a transaction flow configuration method, comprising:
configuring a transaction process corresponding to the transaction service type according to the transaction service type to generate a transaction process configuration file;
receiving a transaction request, and calling a transaction flow configuration file corresponding to the transaction request;
and executing the transaction flow corresponding to the transaction request based on the transaction flow configuration file.
Optionally, the method further comprises:
modifying the transaction process configuration file to obtain a target transaction process configuration file;
and executing a transaction process corresponding to the transaction request based on the target transaction process configuration file, wherein the transaction process is derived from the target transaction process configuration file.
Optionally, the configuring, according to the transaction service type, a transaction flow corresponding to the transaction service type, and generating a transaction flow configuration file includes:
determining a transaction process corresponding to the transaction service type according to the transaction service type;
analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
generating preset data in the transaction flow in a memory in a variable mode to obtain an internal variable data pool, wherein the internal variable data pool is accessed through a variable name to realize the reference and operation of the internal variable data during the configuration of the transaction flow, and the preset data comprises one or more of service data, analysis return message data and custom data from a database;
and configuring a data conversion format and an interface calling definition for data calling with an external data source in the transaction flow to generate a message configuration file, wherein the message configuration file is used for converting interface data format packaging and unpacking during transaction flow configuration.
Optionally, when generating the message configuration file, the method further includes:
acquiring source data;
modifying and processing the source data to obtain target data;
and storing the target data to a preset storage position.
Optionally, the method further comprises:
and generating an execution framework according to a state machine principle, wherein the execution framework is used for analyzing the transaction process configuration file and controlling the execution of the transaction process based on an analysis result.
A transaction flow configuration apparatus, comprising:
the configuration unit is used for configuring a transaction process corresponding to the transaction service type according to the transaction service type and generating a transaction process configuration file;
the system comprises a calling unit, a processing unit and a processing unit, wherein the calling unit is used for receiving a transaction request and calling a transaction flow configuration file corresponding to the transaction request;
and the execution unit is used for executing the transaction flow corresponding to the transaction request based on the transaction flow configuration file.
Optionally, the method further comprises:
the modification unit is used for modifying the transaction process configuration file to obtain a target transaction process configuration file;
and the second execution unit is used for executing a transaction flow corresponding to the transaction request based on the target transaction flow configuration file, wherein the transaction flow is derived from the target transaction flow configuration file.
Optionally, the configuration unit includes:
the determining subunit is used for determining a transaction process corresponding to the transaction service type according to the transaction service type;
the data processing subunit is used for analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
the internal variable data pool generating subunit is configured to generate preset data in the transaction flow in an internal memory in a variable manner to obtain an internal variable data pool, where the internal variable data pool is accessed through a variable name to implement reference and operation on the internal variable data during transaction flow configuration, and the preset data includes one or more of service data, analysis return message data, and custom data from a database;
and the message configuration subunit is used for configuring the data conversion format and the interface calling definition for data calling with an external data source in the transaction flow, and generating a message configuration file, wherein the message configuration file is used for performing conversion processing on the interface data format package and the interface data format unpacking during the transaction flow configuration.
Optionally, the packet configuration subunit further includes:
the data acquisition subunit is used for acquiring source data;
the data processing subunit is used for modifying and processing the source data to obtain target data;
and the data storage subunit is used for storing the target data to a preset storage position.
Optionally, the method further comprises:
and the execution frame generating unit is used for generating an execution frame according to a state machine principle, and the execution frame is used for analyzing the transaction flow configuration file and controlling the execution of the transaction flow based on the analysis result.
Compared with the prior art, the invention provides a transaction flow configuration method and a device, which are used for configuring a transaction flow corresponding to a transaction service type according to the transaction service type and generating a configuration file; when a transaction request is received, the execution of the transaction flow corresponding to the transaction request can be completed according to the calling of the corresponding transaction flow configuration file or the modification of the configuration file. Because the execution or the customization of the transaction process is carried out based on the transaction process configuration file obtained by the configuration of the transaction process, the program code does not need to be modified only by calling or modifying the transaction process configuration file, so that the transaction process can be flexibly changed or customized, and the development efficiency is further improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flow chart of a transaction flow configuration method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a processing state of a finite state machine according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a transaction state according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an internal variable data pool provided in an embodiment of the present invention;
fig. 5 is a schematic diagram of message format configuration according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a transaction flow configuration apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not set forth for a listed step or element but may include steps or elements not listed.
In an embodiment of the present invention, a transaction flow configuration method is provided, and referring to fig. 1, the method may include the following steps:
s11, according to the transaction service type, configuring a transaction flow corresponding to the transaction service type, and generating a transaction flow configuration file.
Different transaction service types can correspond to different transaction flows, and when the transaction flows are designed after the transaction service types are determined, the transaction flows are processed, assembled and combined together according to certain rules and logics, customized configuration of the transaction flows is completed, and a transaction flow configuration file is generated.
In an embodiment of the present invention, generating a transaction flow configuration file requires a general method for data processing, an internal data variable pool, and a message configuration file, and in another embodiment of the present invention, there is provided a transaction flow configuration method, including:
determining a transaction process corresponding to the transaction service type according to the transaction service type;
analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
generating preset data in the transaction flow in a memory in a variable mode to obtain an internal variable data pool, wherein the internal variable data pool is accessed through a variable name to realize the reference and operation of the internal variable data during the configuration of the transaction flow, and the preset data comprises one or more of service data, analysis return message data and custom data from a database;
and configuring a data conversion format and an interface calling definition for data calling with an external data source in the transaction flow to generate a message configuration file, wherein the message configuration file is used for converting interface data format packaging and unpacking during transaction flow configuration.
It should be noted that, through the logical analysis of data processing, based on the requirement of generality, the reusable processing method is induced and abstracted, and an operation set is provided for the customized development of the transaction flow. During the execution of the transaction process, the internal variable data can be generated in a memory in a variable mode by configuring the data from a database, the analysis return message or the custom data, a sharable internal variable data pool is formed, and the internal variable data can be efficiently and flexibly quoted and operated in the follow-up transaction in a variable name mode. By designing a message format configuration file, the format package and unpacking conversion processing of interface data is realized by referring to a data conversion configuration top pair.
S12, receiving a transaction request, and calling a transaction flow configuration file corresponding to the transaction request;
and S13, executing the transaction flow corresponding to the transaction request based on the transaction flow configuration file.
When a transaction request is received, the transaction request is analyzed, a corresponding transaction flow configuration file is called, and if the transaction flow configuration file cannot meet the use requirement of the current transaction flow, the corresponding transaction request can be executed based on the modification of the transaction flow configuration file.
The embodiment of the invention also comprises the following steps:
modifying the transaction process configuration file to obtain a target transaction process configuration file;
and executing a transaction process corresponding to the transaction request based on the target transaction process configuration file, wherein the transaction process is derived from the target transaction process configuration file.
The invention provides a transaction flow configuration method, which comprises the steps of configuring a transaction flow corresponding to a transaction service type according to the transaction service type, and generating a configuration file; when a transaction request is received, the execution of the transaction flow corresponding to the transaction request can be completed according to the calling of the corresponding transaction flow configuration file or the modification of the configuration file. Because the execution or customization of the transaction process is carried out based on the transaction process configuration file obtained by the configuration of the transaction process, the program code does not need to be modified only by calling or modifying the transaction process configuration file, so that the transaction process can be flexibly changed or customized, and the development efficiency is improved.
An embodiment of the present invention further provides an execution framework, including:
and generating an execution framework according to a state machine principle, wherein the execution framework is used for analyzing the transaction process configuration file and controlling the execution of the transaction process based on an analysis result.
Because the transaction customization is mainly embodied in the process configuration file compiling, the finite-state machine definition is explained under the control of a general execution framework, and the specific execution and control of the transaction process are realized. For example, a general flow control mechanism is designed and implemented with reference to Finite State Machine (FSM) design principles. The FSM describes a finite number of machining states and the transition relationships between the states, and can transition to execute another corresponding machining state according to the machining result. Referring to fig. 2, fig. 2 is a processing state of the finite state machine.
Referring to fig. 2, it should be noted that, after the state machine is initialized, it first enters into a state a, after the state a performs a corresponding machining operation, if r is returned to 0, it is self-rotated, where r represents a return value (return _ value) returned when the current state of the state machine is machined; when r is 1, entering a state B; when r equals 2, the state machine ends. The program framework for realizing the processing mechanism can realize the control of the transaction flow by arranging and configuring the state and setting and judging the return relationship of the state.
And mapping a certain transaction to a corresponding state machine through the transaction type, and executing corresponding data processing according to the definition of the transaction flow.
For example, the transaction flow is defined by an sm profile, and as an example, tx7624.sm, tx7626_ init. sm and tx7624_ norm. sm configure the process flow of tx7624 transactions.
For TX7624 transactions, the first state "SM 7624_ ST01 is initially executed via the" SM _ TX7624 "state machine that is configured to map to the TX7624.SM file configuration definition. This state machine includes 5 processing states "SM 7624_ ST 01" to "SM 7624_ ST 05", and whether or not the next state is executed, depending on the execution result return _ value of the current state and the configuration tran _ tbl of the state transition table, performs state jump.
The state machine control framework in embodiments of the present invention supports sequential, branching, and looping transitions of the processing states, while supporting nested sub-state machine processing. Taking the implementation of the premium transaction as an example, a customized implementation process of the transaction flow is described. When a loan applies for the credit, it needs to be judged whether the loan applies for the excess, if not, a new credit transaction needs to be called to establish the credit. If credit has been applied, the original credit is required to be inquired to obtain the data of the currently applied credit, and the credit data is updated by calling, modifying and adjusting the credit transaction, and the transaction status diagram is shown in FIG. 3.
The embodiment of the invention provides the processing method capable of abstracting the reusability, namely, the processing method capable of abstracting and abstracting the reusability is obtained through the logic analysis of data processing and based on the universality requirement, and an operation set is provided for the customizing and developing of the transaction flow. The method can comprise the general operations of variable assignment calculation, arithmetic and logic expression operation, database DML statement operation, interface message reporting, transaction sending and the like.
For example, the following steps are carried out:
assignment calculation OP _ EXPR
The functions are as follows: and internal variable assignment, floating point number +/-x/arithmetic operation, character string assignment, connection and substring fetching are supported.
Example 1: a is 1; b is 2; c ═ a +1 × b;
example 2: a ═ RL "; b is 003'; c is a + b;
logic expression OP _ CASE
The functions are as follows: numeric and string logical expression operations
Example 1: if (TAS _ SQLCODE ═ 0) return (1);
example 2: if (1) (TAS _ SQLCODE ═ 0& & TAS _ LNNO ═ 002") -return; else return (2);
database DML operation OP _ DDML
The functions are as follows: support database DML 4 SQL statement execution
Example 1: TAS | SELECT road, a
Example 2: u01| UPDATE TASKLOG SET BACSFLG ═ N', CHGDT ═ P _ TRANDAT, CHGTM ═ P _ TRANTIM WHERE TASK _ SEHN ═ P _ SEHNO
Transmission data OP _ SEND
The functions are as follows: performing interface format packaging, send and accept operations
Example (c): 2 fo _ dd0410| - - -organizing dd0410 transaction messages, sending to GLMS,
and accepts GLMS return data.
Data conversion OP _ CONV
The functions are as follows: performing format data conversion
Example (c): fi _ dd0410| - - - -convert dd0410 back to internal variable data.
The embodiment of the invention also provides an internal variable data pool, namely, during transaction processing, in order to flexibly and efficiently reference data from a database in a configuration mode, interface transaction return data and set constant data are stored in a memory according to a KeyValue mode to generate the internal variable data pool, and the internal variable data pool is searched by a Hash algorithm and used and maintained for transaction processing.
For example, referring to fig. 4, fig. 4 is a schematic diagram of an internal variable data pool provided in an embodiment of the present invention. if (1) (TAS _ SQLCODE ═ 0& & TAS _ LNNO ═ \ ") return; else return (2); the internal variables TAS _ SQLCODE and TAS _ LNNO can be referred by variable names when the transaction flow is customized and interface format conversion parameters are configured.
The embodiment of the invention also provides message format configuration, provides a universal data conversion method by presetting an agreed rule, sequentially executes the data conversion method of the configuration items, realizes the mutual conversion of the data from the internal data pool to the interface message format, and completes the packaging and unpacking of the transaction format. Referring to fig. 5, a schematic diagram of message format configuration is shown.
When each conversion configuration item is executed, the message conversion processing is subjected to source data acquisition, data modification processing and target data storage, and the processing of data contents is completed in three data processing stages.
The following description is given by taking a specific application scenario of loan application as an example, and the overall steps of the method for providing transaction flow configuration according to the present invention may be:
(1) according to the loan application type, corresponding state machine transaction process examples are compared and started;
(2) designing a configuration file according to the transaction flow configuration example, and promoting the execution of the transaction flow;
(3) executing various general machining operations to generate internal variable data;
(4) according to the configuration definition, the conversion processing of packing, sending and unpacking of the interface message format is realized;
(5) and (4) repeating the steps (2) to (4) according to the flow design until the transaction processing is completed.
The whole transaction is mainly controlled by a flow control (state machine), corresponding data processing is executed according to the transaction flow configuration definition, sharable internal data variables are generated, and interface transaction function processing is completed through a series of interface format conversion and transaction interface calling.
The embodiment of the invention realizes a universal transaction flow control method and a universal data processing method in a configuration mode. The method realizes quick response to flow change and interface change without modifying programs; the technical requirements of developers are reduced, and the transaction is realized through configuration; reducing development investment personnel and improving the working efficiency and quality.
In an embodiment of the present invention, there is further provided a transaction flow configuration apparatus, referring to fig. 6, including:
the configuration unit 10 is configured to configure a transaction flow corresponding to a transaction service type according to the transaction service type, and generate a transaction flow configuration file;
the calling unit 20 is configured to receive a transaction request and call a transaction flow configuration file corresponding to the transaction request;
and the execution unit 30 is configured to execute the transaction flow corresponding to the transaction request based on the transaction flow configuration file.
Optionally, the method further comprises:
the modification unit is used for modifying the transaction process configuration file to obtain a target transaction process configuration file;
and the second execution unit is used for executing a transaction flow corresponding to the transaction request based on the target transaction flow configuration file, wherein the transaction flow is derived from the target transaction flow configuration file.
Optionally, the configuration unit includes:
the determining subunit is used for determining a transaction process corresponding to the transaction service type according to the transaction service type;
the data processing subunit is used for analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
the internal variable data pool generating subunit is configured to generate preset data in the transaction flow in an internal memory in a variable manner to obtain an internal variable data pool, where the internal variable data pool is accessed through a variable name to implement reference and operation on the internal variable data during transaction flow configuration, and the preset data includes one or more of service data, analysis return message data, and custom data from a database;
and the message configuration subunit is used for configuring the data conversion format and the interface calling definition for data calling with an external data source in the transaction flow, and generating a message configuration file, wherein the message configuration file is used for performing conversion processing on the interface data format package and the interface data format unpacking during the transaction flow configuration.
Optionally, the packet configuration subunit further includes:
the data acquisition subunit is used for acquiring source data;
the data processing subunit is used for modifying and processing the source data to obtain target data;
and the data storage subunit is used for storing the target data to a preset storage position.
Optionally, the method further comprises:
and the execution frame generating unit is used for generating an execution frame according to a state machine principle, and the execution frame is used for analyzing the transaction flow configuration file and controlling the execution of the transaction flow based on the analysis result.
Compared with the prior art, the invention provides a transaction flow configuration method, which comprises the steps of configuring a transaction flow corresponding to a transaction service type in a configuration unit according to the transaction service type to generate a configuration file; when a transaction request is received, the transaction process corresponding to the transaction request can be executed by calling the corresponding transaction process configuration file through the calling unit and the executing unit or modifying the configuration file. Because the execution or customization of the transaction process is carried out based on the transaction process configuration file obtained by configuring the transaction process, the program code does not need to be modified only by calling or modifying the transaction process configuration file, so that the transaction process can be flexibly changed or customized, and the development efficiency is improved.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (8)

1. A transaction flow configuration method, comprising:
configuring a transaction flow corresponding to the transaction service type according to the transaction service type, and generating a transaction flow configuration file;
receiving a transaction request, and calling a transaction flow configuration file corresponding to the transaction request;
executing a transaction flow corresponding to the transaction request based on the transaction flow configuration file;
the configuring the transaction flow corresponding to the transaction service type according to the transaction service type to generate a transaction flow configuration file comprises the following steps:
determining a transaction process corresponding to the transaction service type according to the transaction service type;
analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
generating preset data in the transaction flow in a memory in a variable mode to obtain an internal variable data pool, wherein the internal variable data pool is accessed through a variable name to realize the reference and operation of the internal variable data during the configuration of the transaction flow, and the preset data comprises one or more of service data, analysis return message data and custom data from a database;
and configuring a data conversion format and an interface calling definition for data calling with an external data source in the transaction flow to generate a message configuration file, wherein the message configuration file is used for converting interface data format packaging and unpacking during transaction flow configuration.
2. The method of claim 1, further comprising:
modifying the transaction process configuration file to obtain a target transaction process configuration file;
and executing a transaction process corresponding to the transaction request based on the target transaction process configuration file, wherein the transaction process is derived from the target transaction process configuration file.
3. The method of claim 1, wherein generating the message profile further comprises:
acquiring source data;
modifying and processing the source data to obtain target data;
and storing the target data to a preset storage position.
4. The method of claim 1, further comprising:
and generating an execution framework according to a state machine principle, wherein the execution framework is used for analyzing the transaction process configuration file and controlling the execution of the transaction process based on an analysis result.
5. A transaction flow configuration apparatus, comprising:
the configuration unit is used for configuring a transaction flow corresponding to the transaction service type according to the transaction service type and generating a transaction flow configuration file;
the system comprises a calling unit, a processing unit and a processing unit, wherein the calling unit is used for receiving a transaction request and calling a transaction flow configuration file corresponding to the transaction request;
the execution unit is used for executing the transaction flow corresponding to the transaction request based on the transaction flow configuration file;
the configuration unit includes:
the determining subunit is used for determining a transaction process corresponding to the transaction service type according to the transaction service type;
the data processing subunit is used for analyzing the data processing logic of the transaction flow, extracting and obtaining a universal data processing method, wherein the data processing method is used when the transaction flow is configured;
the internal variable data pool generating subunit is configured to generate preset data in the transaction flow in an internal memory in a variable manner to obtain an internal variable data pool, where the internal variable data pool is accessed through a variable name to implement reference and operation on the internal variable data during transaction flow configuration, and the preset data includes one or more of service data, analysis return message data, and custom data from a database;
and the message configuration subunit is used for configuring the data conversion format and the interface calling definition for data calling with an external data source in the transaction flow, and generating a message configuration file, wherein the message configuration file is used for performing conversion processing on interface data format packaging and unpacking during transaction flow configuration.
6. The apparatus of claim 5, further comprising:
the modification unit is used for modifying the transaction process configuration file to obtain a target transaction process configuration file;
and the second execution unit is used for executing a transaction process corresponding to the transaction request based on the target transaction process configuration file, wherein the transaction process is derived from the target transaction process configuration file.
7. The apparatus of claim 5, wherein the packet configuration subunit further comprises:
the data acquisition subunit is used for acquiring source data;
the data processing subunit is used for modifying and processing the source data to obtain target data;
and the data storage subunit is used for storing the target data to a preset storage position.
8. The apparatus of claim 5, further comprising:
and the execution frame generating unit is used for generating an execution frame according to a state machine principle, and the execution frame is used for analyzing the transaction flow configuration file and controlling the execution of the transaction flow based on the 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 CN108920176A (en) 2018-11-30
CN108920176B true 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)

Families Citing this family (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
CN111190578B (en) * 2019-12-20 2023-03-21 天阳宏业科技股份有限公司 Customizable flow operation development system
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

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

Also Published As

Publication number Publication date
CN108920176A (en) 2018-11-30

Similar Documents

Publication Publication Date Title
CN108920176B (en) Transaction flow configuration method and device
CN107038042B (en) Service execution method and device
CN108984712A (en) Counting method, equipment and readable storage medium storing program for executing are made based on business scenario
CN110276592B (en) Business process variability modeling method and system for micro-service system
CN111198863A (en) Rule engine and implementation method thereof
CN111026634A (en) Interface automation test system, method, device and storage medium
CN110609755A (en) Message processing method, device, equipment and medium for cross-block chain node
CN115827100A (en) Method and system for merging industrial software microservice
CN108804685B (en) Asset hosting and monitoring task processing method and device
CN110019207B (en) Data processing method and device and script display method and device
CN113987337A (en) Search method, system, equipment and storage medium based on componentized dynamic arrangement
US6198813B1 (en) System and method for providing call processing services using call independent building blocks
CN112307305B (en) Service component pre-processing method, device and equipment
CN111221841A (en) Real-time processing method and device based on big data
CN109857374A (en) The development approach and device of mobile application
CN115348148A (en) Alarm compression processing method for composite condition
CN109189370B (en) Software component generation method, device, equipment and computer readable storage medium
CN111563224A (en) Site self-defining method, system and related device
JPH10240510A (en) Object-oriented design supporting device
CN109388619B (en) Shared data system and shared data method
CN107180107B (en) Method and system for uploading selected files by mobile phone attachment under Ionic framework
CN110489124A (en) Source code executes method, apparatus, storage medium and computer equipment
CN109284097A (en) Realize method, equipment, system and the storage medium of complex data analysis
CN104053135A (en) Method and device for realizing unstructured supplementary service data
CN109636324B (en) Electronic service contract processing method and device

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