Method and device for configuring transaction process

A technology of transaction process and configuration method, applied in the direction of program files, version control, instruments, etc., can solve problems such as low development efficiency, complex program structure, and high skill requirements of developers, so as to improve development efficiency, flexibly change or customize Effect

Active Publication Date: 2018-11-30
BANK OF CHINA
3 Cites 5 Cited by

AI-Extracted Technical Summary

Problems solved by technology

The defects of the existing implementation of this kind of transaction process are mainly reflected in: since the transaction process is realized by hard-coding the program logic, when the business requirements and external interfaces change, the program needs to be modified and compiled, an...
View more

Method used

Compared with prior art, the present invention provides a kind of transaction process configuration method, in configuration unit, according to transaction business type, configures the transaction process corresponding to transaction business type, generates configuration file; When receiving transaction request , the execution of the transaction process corresponding to the transaction request can be completed by calling the corresponding transaction process configuration file or modifying the configuration file by the calling unit and the execution unit. Since the transaction process is executed or customized based on the transaction process configuration file obtained from the transaction process configuration, it is only necessary to call or modify the transaction process configuration file without modifying the program code, so that the transaction process can be flexibly changed or customized, thereby improving development efficiency.
In this description, each embodiment is described in a progressive manner, and what each embodiment emphasizes is the difference from other embodiments, and the same and similar parts betwe...
View more

Abstract

The invention discloses a method and device for configuring a transaction process, which comprises the following steps of: configuring the transaction process corresponding to a transaction service type according to the transaction service type, and generating a transaction process configuration file; receiving a transaction request and calling the transaction process configuration file corresponding to the transaction request; executing the transaction process corresponding to the transaction request based on the transaction process configuration file. Because the transaction process is executed or customized based on the transaction process configuration file obtained by configuring the transaction process, only the transaction process configuration file needs to be called or modified without modifying the program code, so that the transaction process can be flexibly changed or customized, thereby improving the development efficiency.

Application Domain

FinanceVersion control +1

Technology Topic

Process configurationTransaction service +3

Image

  • Method and device for configuring transaction process
  • Method and device for configuring transaction process
  • Method and device for configuring transaction process

Examples

  • Experimental program(2)

Example

[0080] Example 1: a=1; b=2; c=(a+1)*b;

Example

[0081] Example 2: a = "RL"; b = "003"; c = a+b;
[0082] Logical expression OP_CASE
[0083] Function: Operation of logical expressions of numbers and strings
[0084] Example 1: if(TAS_SQLCODE == 0) return(1);
[0085] Example 2: if(TAS_SQLCODE==0&&TAS_LNNO=="002") return(1); else return(2);
[0086] Database DML operation OP_DDML
[0087] Function: Support database DML 4 types of SQL statement execution
[0088] Example 1: TAS|SELECT ROWID,a.*FROM TASKLOG a WHERE TASK_SEQNO=:P_SEQNO
[0089] Example 2: U01|UPDATE TASKLOG SET BACSFLG='N', CHGDT=:P_TRANDAT, CHGTM=:P_TRANTIM WHERE TASK_SEQNO=:P_SEQNO
[0090] Send data OP_SEND
[0091] Function: perform interface format grouping, send and receive operations
[0092] Example: 2|fo_dd0410|---organize dd0410 transaction messages and send them to GLMS,
[0093] And accept GLMS return data.
[0094] Data conversion OP_CONV
[0095] Function: perform format data conversion
[0096] Example: fi_dd0410|---Convert the returned data of dd0410 into internal variable data.
[0097] In the embodiment of the present invention, an internal variable data pool is also provided, that is, during transaction processing, in order to flexibly and efficiently reference data from the database through configuration, the interface transaction returns data and set constant data, through These data are stored in the memory according to the KeyValue method to generate an internal variable data pool, which is searched through a hash algorithm for use and maintenance in transaction processing.
[0098] For example, see Figure 4 , Figure 4 It is a schematic diagram of an internal variable data pool provided in an embodiment of the present invention. if(TAS_SQLCODE==0&&TAS_LNNO==\"\")return(1); else return(2); Can pass internal variables TAS_SQLCODE, TAS_LNNO, when customizing the transaction process and configuring the interface format conversion parameters, refer to it by the variable name.
[0099] In the embodiment of the present invention, a message format configuration is also provided. By presetting an agreed rule, a universal data conversion method is provided, and the data conversion method of configuration items is executed sequentially to realize data from the internal data pool to the interface. Mutual conversion of message formats, complete package and unpackage of transaction format. See Figure 5 , Is a schematic diagram of the configuration of the message format.
[0100] When each conversion configuration item is executed, the message conversion processing has undergone three data processing stages: source data acquisition, data modification processing, and target data storage to complete the processing of the data content.
[0101] The following takes a specific application scenario of loan application to illustrate the overall steps of the method of transaction flow configuration proposed by the present invention:
[0102] (1) According to the loan application type, start the corresponding state machine transaction process instance;
[0103] (2) Design configuration files according to the transaction process configuration examples to promote the execution of the transaction process;
[0104] (3) Perform various general processing operations to generate internal variable data;
[0105] (4) According to the configuration definition, realize the interface message format grouping, sending, unpacking conversion processing;
[0106] (5) According to the process design, repeat steps (2) to (4) until the transaction processing is completed.
[0107] The entire transaction is mainly under the control of the process control (state machine), according to the transaction process configuration definition, executes corresponding data processing, generates shared internal data variables, and completes the interface transaction function processing through a series of interface format conversions and transaction interface calls .

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

DDR arbitration controller, video cache device and video processing system

InactiveCN111143257AReduce development difficulty and timeImprove development efficiency
Owner:SHENZHEN AOTO ELECTRONICS

Classification and recommendation of technical efficacy words

Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products